cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi for inserting new items in outbound delivery

zach2015
Explorer
0 Kudos
4,081

Hi Everyone,,,

The business process is that I need to add new items with no reference to sto into outbound delivery by bapi

I used bapi_outb_delivery_change for this but didnt succeed with that .

(the item can be added to the outbound delivery manually if im not using the bapi )

Could some one tell me what am I’m doing wrong or is there another bapi that I can use

for updating the items

Im inserting values in the folowing parameters At the bapi_outb_delivery_change

Header data , likp- vbeln

Delivery - likp vbeln

Item data - delivery _numb , deliv_item, material_dlv_qty, fact_unit_nom , fact_unit_denom

item_data_spl - deliv_numb, deliv_item , stge_loc

Best Regrds

ZACK

Accepted Solutions (0)

Answers (3)

Answers (3)

zach2015
Explorer
0 Kudos

Hi again

issu is solved so Im writing to the ones that will search How to insert package item with no refernce to oudbound delivery

I used CLASS CL_IM_SD_DELIVERY_IN

Method

IF_EX_LE_SHP+DELIVERY_PROC-SAVE_DOCUMENT_PREPARE

and dont forget to do updkz = i when inserting the item

ZACK

zach2015
Explorer
0 Kudos

Hi Fausto

Thank you very much for your answer , I did my investigation on this bapi , and it seemed that this bapi is only for updating items that already

exist in the outbound delivery and not for inserting new items

Im trying to insert items in bapi_Deliveryprocessing _exec but with no success until now. it can only insert items that are related to sto or an sd order and I need to insert packaging material without NO Reference ..

Do you know about other bapi that I can use?

Regards

ZACK

former_member330246
Active Contributor
0 Kudos

Zack,

did you ckeck this link?

Thank you, FM

former_member330246
Active Contributor
0 Kudos

Hello Zack,

a. Check this WIKI with details about this BAPI:

b. There is a available documentation in SE37

  • Open BAPI_OUTB_DELIVERY_CHANGE) > Click Ctrl+F4 to open the BAPI documentation

c. Did you execute the BAPI_TRANSACTION_COMMIT to commit your update correct?

Inform if it works,

FM