‎2006 Aug 07 1:44 PM
Hallo, all.
I want to use BAPI_RESERVATION_CHANGE for deleting last item in documnet and creating new item with similar data. AFAIK I can`t delete and create new item in one session. And, for begining I try to delete old position. I send the folowing parameters:
BAPI2093_RES_ITEM_CHANGE-RES_ITEM = it_main-rsnum.
BAPI2093_RES_ITEM_CHANGE-DELETE_IND = 'X'.
BAPI2093_RES_ITEM_CHANGEX-RESITEM = it_main-rsnum.
BAPI2093_RES_ITEM_CHANGEX-DELETE_IND = 'X'.
FM returm me the result message, that this position was deleted, but... ...when I call transaction MB22, I see, that checkbox `Delete item' isn`t marked...
May be someone knows what`s happend...
Thanks...
‎2006 Aug 07 1:49 PM
hi,
did u use 'BAPI_TRANSACTION_COMMIT' once you are done with 'BAPI_RESERVARTION_CHANGE'. if that was not commited you cannot c teh changes
Theja
‎2006 Aug 07 1:51 PM
Hi ,
YOu have to commit the changes done to the data base tables using the Fm bapi_transaction_commit after the success of the main bapi.
call function 'BAPI_TRANSACTION_COMMIT'.
Regards,
Ravi