06-07-2011 7:33 AM
Hi Experts,
I was testing the bapi BAPI_ALM_ORDER_MAINTAIN for creating Orders and managed to execute the BAPI successfully. I got the below message:-
Order %xxxxxxxxxxx was saved with the number xxxxxxxxxx and notification xxxxxxxxxx
But when i check the same in IW33 it says the 'Order does not exist'. Please advise on this.
06-07-2011 11:47 AM
Are you executing the BAPI_TRANSACTION_COMMIT function module after the main BAPI is executed? If not try executing both the BAPI simultaniously.
Regards,
Dinakar.
06-07-2011 1:04 PM
Hi,
You have to pass update tables along with data tables. Read the documentation of this BAPI.
The update structure for IT_HEADER
Value range
' '= Do not update field
'X' = Update field
Default
If the structure is left empty, then all filled values (that is, values that are not initial) are updated.
06-08-2011 7:01 AM
Thanks Dinakar & Rajan for your replies. I finally ran the BAPI_TRANSACNTION_COMMIT in the test sequence along with the Order BAPI and the order was updated in the database level.
Thank you!