2016 Jun 23 8:41 AM
Hi,
In bapi BAPI_BUS2001_SET_STATUS,
we are able to reset system status. But how do we reset user status?
There is only option to cancel user status.
Thanks in Advance.
2016 Jun 23 9:01 AM
What is your version?
*" IMPORTING
*" VALUE(PROJECT_DEFINITION) LIKE BAPIPR-PROJECT_DEFINITION
*" VALUE(UNDO_SYSTEM_STATUS) LIKE BAPI_SYSTEM_STATUS-SYSTEM_STATUS
*" OPTIONAL
*" VALUE(UNDO_USER_STATUS) LIKE BAPI_USER_STATUS-USER_STATUS
*" OPTIONAL
*" VALUE(SET_SYSTEM_STATUS) LIKE BAPI_SYSTEM_STATUS-SYSTEM_STATUS
*" OPTIONAL
*" VALUE(SET_USER_STATUS) LIKE BAPI_USER_STATUS-USER_STATUS
*" OPTIONAL
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRETURN1
*" TABLES
*" E_RESULT STRUCTURE BAPI_STATUS_RESULT OPTIONAL
Regards,
Raymond
2016 Jun 23 10:45 AM
Hi,
Undo system status will reset system status whereas undo user status will cancel the user status. That is the description of these fields.
2016 Jun 23 2:48 PM
2016 Jun 23 9:30 AM
If i remember well you have to pass the UNDO_USER_STATUS (the status to remove) and the SET_USER_STATUS (to tell SAP which is the new user status).
There are a few FMs / Classes giving you the previous/next status.
2016 Jun 23 10:42 AM
Hi Simone,
I think you have got it wrong.
When we undo a status, the previous status will be updated.
When we undo system status by providing 'REL' to it, the previous system status will be updated.
I have to update user status in the similar way.
2016 Jun 23 10:57 AM
Hi Sriram,
yes, for system status it works as you explained.
For user status i faced the same issue in a project 6-7 months ago and we had to do the "double step" to unset-set user status.