Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2796

Re: Regarding using of EXTENSION1 and EXTENSION2 in BAPI_OUTB_DELIVERY_CHANGE

$
0
0

BAPI_OUTB_DELIVERY_CHANGE is one of the more obnoxious BAPI calls I have made to update custom fields.   I had custom fields on LIPS that needed to be updated.   My issue was that Business Function LOG_LE_INTEGRATION was not turned on and that meant that BAdI LE_SHP_DELIVERY_UPDATE was not being called.  This BAdI is crucial for updating LIPS with custom fields from table CT_VBPOK.

 

Steps for Updating Custom Fields on Delivery Line Item

  1. Append structure VBPOK with custom fields
  2. Create enhancement implementation of classic BAdI SMOD_V50B0001.  In method IF_EX_SMOD_V50B0001~EXIT_SAPLV50I_010 you will want to copy the values of your custom fields from Extenson1 or Extension2 to CT_VBPOK.code 1.png
  3. Create enhancement implementation of BAdI LE_SHP_DELIVERY_UPDATE.  NOTE:  Business Function LOG_LE_INTEGRATION must be switched on.  This BAdI will allow you to update LIPS from CT_VBPOK.

 

Below are screen shots of my debugging that helped me figure this out:

 

1.jpg

I found the switch by looking at Enhancement Implementation VL_SFWS_LV50LF14

2.png

 

I then looked in table SFW_SW_BF to find the corresponding Business Function

3.png

 

Then T-code SFWF

4.jpg


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>