2012 Oct 11 9:38 AM
hi,dear all:
i need to set storage location,batch and quantity when creating DN from STO.
right now im using BAPI_OUTB_DELIVERY_CREATE_STO while i find there is no fields for me to do this.
is there anyone know the solution? very appreciate of your help.
2012 Oct 11 10:03 AM
I had come acroos a similar situation on which I need to update WBS element number from above BAPI while creating from STO, my conclusion is u need to implement BADI defination like :
BADI_DLV_CREATE_STO_EXTIN or
LE_SHP_DELIVERY_PROC
In my case I have implemented BADI - LE_SHP_DELIVERY_PROC and in thid BADI method - SAVE_DOCUMENT_PREPARE i have changed value of ct_xlips WBS element, which updating correctly.
You should be careful for this implementation because this enhancement will trigger for each delivery creation so condition should be write properly.
Regards,
Gagan
2012 Oct 12 2:39 AM
hi,Gagan Choudha. thx for your reply. but i still wonder how u passed value,in your case it is WBS element number, to the BADI - LE_SHP_DELIVERY_PROC ?