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

commit after BAPI_PROCORDCONF_CREATE_HDR

Former Member
0 Likes
590

Hi guys,

Im using BAPI_PROCORDCONF_CREATE_HDR to confirm the process order... but sometimes, it does confirmation sometimes not...

I put commit work and wait after calling this bapi.

Is it ok to put another commit work for database consistency?

Thanks a lot!

Rgds,

Mark

1 ACCEPTED SOLUTION
Read only

gabriel_braun
Explorer
0 Likes
461

Hi,

In the documentation of the function you will find this note:

Note that a COMMIT WORK has to be executed directly after calling up this BAPI. That is, if you are using a sequence of BAPIs that change data, you cannot execute one single COMMIT WORK after the last BAPI.

If this does occur, the second BAPI is terminated because a chain of calls of this kind is prevented technically.

Regards

Gabriel

2 REPLIES 2
Read only

gabriel_braun
Explorer
0 Likes
462

Hi,

In the documentation of the function you will find this note:

Note that a COMMIT WORK has to be executed directly after calling up this BAPI. That is, if you are using a sequence of BAPIs that change data, you cannot execute one single COMMIT WORK after the last BAPI.

If this does occur, the second BAPI is terminated because a chain of calls of this kind is prevented technically.

Regards

Gabriel

Read only

0 Likes
461

Hi Gab,

Thanks a lot for your immediate response... I've already read that but i dont get it...

does this mean that I have to do to commit work in order for this bapi to work consistently with the database update?

Thanks a lot!