Do you have any question about this error?
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.
/TMF/TOM_API021
- You can only delete run when the status is set as created. ?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: If possible, change the status of the run back to "Created." This may involve canceling or rolling back the run, depending on the specific processes and configurations in your SAP system.
Consult Documentation: Review the SAP documentation or help files related to the specific module you are working with (e.g., SAP TM, SAP S/4HANA) to understand the lifecycle of runs and the implications of changing their status.
Contact Support: If you are unable to change the status or if you are unsure about the implications of doing so, consider reaching out to your SAP support team or consulting with an SAP expert.
Review User Permissions: Ensure that you have the necessary permissions to delete runs and change their statuses. Sometimes, restrictions may be in place based on user roles.
Related Information:
By following these steps, you should be able to address the error and manage the run as needed.
Get instant SAP help. Start your 7-day free trial now.
/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.