Skip to Content
0
Former Member
Dec 06, 2008 at 07:13 AM

BAPI_PS_PRECOMMIT not working properly

1945 Views

Hi all,

I am trying to release a WBS element by calling the BAPI's in the following sequence:

BAPI_PS_INITIALIZATION

BAPI_BUS2054_SET_STATUS

BAPI_PS_PRECOMMIT

BAPI_TRANSACTION_COMMIT

But BAPI_TRANSACTION_COMMIT gives me a dump saying that precommit

was not executed properly.

I went into debugging and saw that precommit_ok flag is set to 'N' but it should be set to 'Y'.

Please tell me why this is happening.

Thanks and regards,

Nishant