11-23-2009 5:33 AM
Hi All,
I am trying to create WBS element using BAPI BAPI_BUS2054_CREATE_MULTI. The sequence is as follows:
BAPI_PS_INITIALIZATION
BAPI_BUS2054_CREATE_MULTI
BAPI_PS_PRECOMMIT
The error while creating element is :
Final check of the project definition and the WBS elements: Error
Any pointers on this why I am getting this error and what needs to be done?
Thanks,
Seema
11-23-2009 6:42 AM
Hi Seema,
After the BAPI BAPI_PS_PRECOMMIT you have to call explicitily
COMMIT WORK AND WAIT.
You can have those details in the documentation of the BAPI "BAPI_BUS2054_CREATE_MULTI".
Regards,
Smart Varghese
11-23-2009 7:13 AM
Hi,
I can't call the BAPI for commit as it is giving dump because of error in create and precommit BAPIs.
So any solution for error(mentioned above)?
Regards,
Seema Naharia
11-23-2009 7:32 AM
The only pointer I can give you is some good old fashioned debugging. Start debugging and set a break point at MESSAGE statement and see what has gone wrong and why this error message is issued.
11-23-2009 7:41 AM
Hi Micky,
Thanks for your valuable pointer. But debugging is the first and foremost thing which I am doing for this problem and getting nothing.
Regards,
Seema