‎2009 Jun 16 10:56 AM
hi All,
I am using BAPI_OUTB_DELIVERY_CHANGE to update serial numbers. i am executing this directly in se37 giving delivery number alone in import parameters header_data, header_control and delivery.
and giving delivery numer, item no and random serial no in tables ITEM_SERIAL_NO. when i execute it is not throwing any errors. how ever the delivery is not updated with the serial no's.Return parameters is also nor showing any values.
Any pointers to solve this would be appreciated.
Regards,
Sreekanth.
‎2009 Jun 16 11:20 AM
Hi,
You may not be able to update any thing by simply executing the FM since no COMMIT is performed.
use this FM in report followed by FM BAPI_TRANSACTION_COMMIT. this will update the table.
Hope it gives you some idea.
Regards,
Bhanu
‎2009 Jun 16 11:51 AM
Hi,
You need to use BAPI_TRANSACTION_COMMIT just after BAPI_OUTB_DELIVERY_CHANGE .
Mark WAIT = 'X' in the IMPORT parameter of BAPI_TRANSACTION_COMMIT.
For testing if it is working or not:
Goto SE37 --> click on FUNCTION MODULE --> TEST -->TEST SEQUENCES
First give BAPI_OUTB_DELIVERY_CHANGE and then BAPI_TRANSACTION_COMMIT.
Click on EXECUTE. Execute BAPI_OUTB_DELIVERY_CHANGE then 'BACK' and then BAPI_TRANSACTION_COMMIT with proper data.
Goto the transaction from where you can check entry has been created or not.
Regards
‎2009 Jun 19 3:18 PM
‎2009 Nov 25 5:24 AM
Hi Sreekanth Reddy ,
I am facing the same problem.
I want to know how did you solved it.
Is there any config reqrd or any flag to be checked/unchecked...
please suggest me....
Thanks
RK
‎2015 Oct 23 1:18 PM
Hi Sreekanth,
I am facing same problem.
Please guide me.
Thank you in Advance.!
Regards
Ashutosh
‎2021 Dec 20 1:38 PM
Hello all,
You can use this parameter to update serial numbers
FM = WS_DELIVERY_UPDATE
Importing parameters
VBKOK_WA- VBELN
COMMIT-X
IF_DATABASE_UPDATE-1
IF_ERROR_MESSAGES_SEND_0-X
IT_SERNR_UPDATE- RFBEL(delivery number),RFPOS(item),SERNR
IF_LATE_DELIVERY_UPD-X
Thanks,
surya