Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WRF_PRC_BAS - General Purchasing, Seasonal Procurement Messages
Message number: 009
Message text: The selected messages were deleted
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.
WRF_PRC_BAS009
- The selected messages were deleted ?SAP Error Message:
WRF_PRC_BAS009 – The selected messages were deleted
Cause:
This error message typically occurs in SAP Workflow or related processing scenarios when the system attempts to access or process workflow messages (or related workflow objects) that have already been deleted from the database. The message indicates that the workflow messages you are trying to view, process, or act upon no longer exist because they were removed either manually by a user or automatically by a cleanup job.
Common causes include:
SWI1
or SWIA
. SAP_WAPI_WORKITEM_DELETE
) have purged old or completed workflow messages. Verify Message Existence:
Check if the workflow messages still exist in the system using transaction SWI1
(Selection of Workflow Messages) or SWIA
(Work Item Administration). If they are not found, it confirms deletion.
Avoid Accessing Deleted Messages:
Ensure that your workflow or custom programs do not try to access messages that have been deleted. Add checks in your code or workflow logic to verify message existence before processing.
Review Cleanup Jobs:
Check if any workflow cleanup jobs are scheduled or have run recently that might have deleted the messages. You can review jobs like SAP_WAPI_WORKITEM_DELETE
in transaction SM37
.
Restore Messages (if needed):
If the messages were deleted unintentionally and you need to restore them, you may need to restore from a system backup or transport request, but typically workflow messages are transient and not restored.
Adjust Retention Period:
If messages are being deleted too early, consider adjusting the retention period for workflow messages in the system parameters or cleanup job settings.
Check Authorizations:
Sometimes, users may not have the authorization to view certain messages, and the system might show this error. Verify user authorizations related to workflow message display.
Transaction Codes:
SWI1
– Workflow Message Selection SWIA
– Work Item Administration SWI2_FREQ
– Workflow Log SM37
– Job Monitoring (to check cleanup jobs)Tables:
SWWWIHEAD
– Workflow Work Item Header SWWWIRED
– Workflow Work Item Container Data SWWLOGHIST
– Workflow Log HistoryNotes and Documentation:
The error WRF_PRC_BAS009 indicates that the workflow messages you are trying to access have been deleted. To resolve this, verify message existence, avoid processing deleted messages, review cleanup job schedules, and adjust retention settings if necessary.
Get instant SAP help. Sign up for our Free Essentials Plan.
WRF_PRC_BAS008
Subtree does not contain data. Worklist was adjusted accordingly
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WRF_PRC_BAS007
To refresh a subtree, select a single node
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WRF_PRC_BAS010
Selection was cancelled
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WRF_PRC_BAS011
End node was updated
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.