‎2008 May 21 5:49 AM
Dear experts:
can anyone tell me how to use [BAPI_BUS2054_CREATE_MULTI] this function..when i used , the wbs is still not created, although the message tells me create sucessfully.
below is my step:
first: CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
second: CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
when there is sucess message, i use [ CALL FUNCTION 'BAPI_PS_PRECOMMIT'
] instead of commit work else CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'..
can anyone help me to workout this issue.
monson
‎2008 May 21 5:54 AM
‎2008 May 21 5:55 AM
Hi,
When you use BAPI BAPI_BUS2054_CREATE_MULTI , it should be called with these BAPIs and this order only.
1. BAPI_PS_INITIALIZATION "Initilize
2. BAPI_BUS2054_CREATE_MULTI ( to create WBS )
3. BAPI_BUS2054_SET_STATUS "Release WBS ( only if you want to REL )
4. BAPI_PS_PRECOMMIT "Precommit
5. BAPI_TRANSACTION_COMMIT "Commit
Please let me know if you are using these bapis in these order
Regards,
Jagadish
‎2021 Feb 24 11:43 AM
‎2008 May 21 5:56 AM
‎2008 May 21 5:56 AM
Hi,
You can use BAPI_BUS2054_SET_STATUS in a list of WBS elements to revoke a system status and a user status respectively, as well as to set a system status and a user status respectively.
When you use BAPI BAPI_BUS2054_CREATE_MULTI , it should be called with these BAPIs and this order only.
1. BAPI_PS_INITIALIZATION "Initilize
2. BAPI_BUS2054_CREATE_MULTI ( to create WBS )
3. BAPI_BUS2054_SET_STATUS "Release WBS ( only if you want to REL )
4. BAPI_PS_PRECOMMIT "Precommit
5. BAPI_TRANSACTION_COMMIT "Commit
Reward If Helpfull,
Naresh
‎2008 May 21 6:52 AM
Dear:
I just try to use this in your order, but when it process[BAPI_TRANSACTION_COMMIT ], the system occurs short dump..
but if i don't use [BAPI_TRANSACTION_COMMIT ], the database is not updated.
thanks in advance.
Monson