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

BAPI..............

Former Member
0 Likes
358

Hi all,

I am using BAPI_PRODORDCONF_CREATE_TT for confirming production order in mass.

When I execute it, a message is given saying 'Production Order Successfully saved'. But when I check in the production order (in display mode), i am getting a warning message like 'User xyz is processing the production order' & I could see that the order is still not confirmed. I even tried BAPI_TRANSACTION_COMMIT after BAPI_PRODORDCONF_CREATE_TT. But its not working.

Any solution..?

2 REPLIES 2
Read only

Former Member
0 Likes
322

you can try giving the WAIT parameter X in the BAPI_TRANSACTION_COMMIT.

Read only

Former Member
0 Likes
322

It might be that you need to initialize BAPI processing with the function BAPI_PS_INITIALIZATION.

Call the following functions in this order:

1. BAPI_PS_INITIALIZATION

2. BAPI_PRODORDCONF_CREATE_TT

3. BAPI_PS_PRECOMMIT

4. BAPI_TRANSACTION_COMMIT

Success,

Dennis