‎2008 May 03 7:48 AM
Hi,
I am Calling a BAPI BAPI_OUTB_DELIVERY_CREATENOREF for creating Delivery.My requirement is that i have certain additional fields like Vehicle Type (LIKP-VSART),External Delivery(LIKP-LIFEX) and certain additional Fields which are not there in the standard Importing BAPI Structures.
Is there anyway that i can pass these things to the BAPI.I have also seen EXTENSION_IN in the Tables section of the BAPI.Can it be helpful.
Thanks
‎2010 Jul 07 9:49 AM
Hi,
I have used same FM BAPI_OUTB_DELIVERY_CREATENOREF to create delivery. Parameter EXTENSION_IN used to transfer additional fields. But I did not found any solutions on forum.
I did it by next way:
1) Use BAdI BADI_DLV_CREATE_NOREF_EXTIN to save content of EXTENSION_IN to memory. New function group created with global variable EXTENSION_IN. And new FM created to read and write this variable.
2) Use BAdI LE_SHP_DELIVERY_PROC methods SAVE_DOCUMENT_PREPARE, FILL_DELIVERY_HEADER to update corresponding fields in delivery. Values got using FM that created in step 1. Because LE_SHP_DELIVERY_PROC called every time delivery changed so be careful and do not forget about flag UPDKZ.
Regards, Anton.