Skip to Content
0
Former Member
Jun 26, 2009 at 10:20 AM

How to set the user status in WBS element

540 Views

Hi,

My requirement is to set the WBS user status programatically in Tcode CJ20N.

I am using a BAPI - BAPI_BUS2054_SET_STATUS and the documentation of this BAPI says to use BAPI_PS_PRECOMMIT & BAPI_TRANSACTION_COMMIT after call to BAPI.

My problem is when i call this BAPI, it throws an error in the return (export) parameter says, "Error in processing, Function was not executed". I am passing the WBS element and the code for undo the user status and the code for set the user status.

Please let me know, where i am wrong .

Regards,

V Kumar