Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_OUTB_DELIVERY_CREATENOREF

Former Member
0 Likes
1,764

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

1 REPLY 1
Read only

Former Member
837

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.