Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Short dump in Bapi 'BAPI_BUS2001_SET_STATUS'

Hi All,

We have written a LSMW to update the status of the WBS element to 'REL' status. For doing this, we are calling the BAPI 'BAPI_BUS2001_SET_STATUS' in the below steps:

1. CALL FUNCTION 'BAPI_PS_INITIALIZATION'.

2. CALL FUNCTION 'BAPI_BUS2001_SET_STATUS'

3. CALL FUNCTION 'BAPI_PS_PRECOMMIT'

4. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

The problem is, during the first record run, the update is successful, but when it processes the second record of the file, the CALL FUNCTION 'BAPI_BUS2001_SET_STATUS' gives a DUMP with the below msg:

Exception condition "NOT_FOUND" raised.

Termination occurred in the ABAP program "SAPLCJDW" - in "CJDW_PRPS_GET".

The main program was "RBDAPP01 ".

Kindly help me resolve this problem.

thanks and regards

Abhishek

Tags:
replied

Abhishek,

That BAPI is for Proj Defn, you need to use BAPI_BUS2054_SET_STATUS for WBS.

Regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question