‎2008 May 21 7:01 AM
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
‎2008 May 21 7:06 AM
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
‎2008 May 21 7:06 AM
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
‎2008 May 21 7:16 AM
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!