‎2009 Jul 02 8:47 AM
Hi All,
I am running two BAPI one for Good movement and one for order confirmation.
With BAPI 1 table MSEG ,AUFM and AFPO and From BAPI2 Table AFRU are being updated.
I have following scenario in which I am facing problem .
Case 1
BAPI 1 No Error - Commit
BAPI 2 no Error - Commit
Working Fine all table are updated,
CASE 2
BAPI 2 No Error - Committed
BAPI 1 No Error - Committed
Working Fine all table are updated,
CASE 3
BAPI 1 No Error
BAPI 2 No Error Committed
In this Case the Table AFPO is not being updated while all other table updated properly.
CASE 4
BAPI 2 No Error
BAPI 1 No Error Committed
In this Case the Table AFRU is not being updated while all other table updated properly.
Please provide the valuable help.
Regards
Swati
‎2009 Jul 02 9:09 AM
hai swathi r u using commit separately or u using only single commit for both bapis
and please mention which bapis u r using
just bapi1 and bapi2 we cant say what is the problem
regards
m.a
‎2009 Jul 29 10:54 AM
if the second BAPI Fail then I am reversing the document creating by the first BAPI.
BAPI 1 : Create Material document.
BAPI 2 : Good Movement
if BAPI 2 Fail user Reverser document BAPI.
Regards
Swati