Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Successfully created WBS using BAPI_PROJECT_MAINTAIN with out return messag

Former Member
0 Likes
457

Hi Experts,

Using Batch job I am creating a WBS elements using BAPI_PROJECT_MAINTAIN and successfully created but the bapi is not returing any message. and i am using BAPI_TRANSACTION_COMMIT also.But not every time this happen without any return message,In my case suppose the upload file have 4 set of project with wbs ,when i run some time it returns message for all four sets but some time it returns message for 2 or 3 sets only and for remaining no message but successfully created and updated.

What is proble in this and how to overcome in this issue. anyone can suggest me to rectify this issue.

Thanks,

Regards.

Deesanth

Hi Experts,

Using Batch job I am creating a WBS elements using BAPI_PROJECT_MAINTAIN and successfully created but the bapi is not returing any message. and i am using BAPI_TRANSACTION_COMMIT also.But not every time this happen without any return message,In my case suppose the upload file have 4 set of project with wbs ,when i run some time it returns message for all four sets but some time it returns message for 2 or 3 sets only and for remaining no message but successfully created and updated.

What is proble in this and how to overcome in this issue. anyone can suggest me to rectify this issue.

Thanks,

Regards.

Deesanth

1 REPLY 1
Read only

Former Member
0 Likes
407

Hi,

Before using BAPI_TRANSACTION_COMMIT, please use function module BAPI_PS_PRECOMMIT to get the message.

Regards,

Danish.