Message type: E = Error
Message class: /TMF/TOM_API -
Message number: 021
Message text: You can only delete run when the status is set as created.
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message /TMF/TOM_API021 indicates that you are trying to delete a run (likely a task or job) in the SAP system, but the status of that run is not set to "Created." This means that the run is in a different status, which prevents it from being deleted.
Cause: The error occurs because the system enforces certain rules regarding the lifecycle of runs. Typically, a run can only be deleted if it is in the "Created" status. If the run has progressed to another status (e.g., "In Progress," "Completed," "Failed," etc.), the system will not allow deletion to maintain data integrity and prevent accidental loss of important information.
Solution: To resolve this error, you can take the following steps: Check the Status: Verify the current status of the run you are trying to delete. You can do this by navigating to the relevant transaction or report where the run is listed. Change the Status:
Get instant SAP help. Sign up for our Free Essentials Plan.
/TMF/TOM_API020 As a rectified report run exists, you can't delete this file.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/TMF/TOM_API019 &1 file can't be deleted.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/TMF/TOM_API022 You must send the &2 file first to change the &1 status.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/TMF/TOM_API023 Error to save the log modification at SLG1 transaction.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.