Application Development 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: 

How to populate custom fields for Outbound delivery header (LIKP)

Subhankar
Active Contributor
0 Kudos

Hi All,

I have added one field in the structure LIKP using APPEND structure. Now want to populate this field from a batch program. I have delivery number. Is there any API or BAPI. I already tried using the FM BAPI_OUTB_DELIVERY_CHANGE by populating the extension. Is there any another area (EXIT or BADI) where I need to change.

Thanks in advance

Subhankar

2 REPLIES 2

kesavadas_thekkillath
Active Contributor
0 Kudos

I already tried using the FM BAPI_OUTB_DELIVERY_CHANGE by populating the extension

Did it work ?

0 Kudos

Hi Keshav,

No . Nothing was happend.

l_wa_header_data-deliv_numb = '8600007138' .

l_wa_header_control-deliv_numb = '8600007138'.

l_wa_extension1 = 'X'.

append l_wa_extension1 to i_extn1.

l_delivery = '8600007138'.

call function 'BAPI_OUTB_DELIVERY_CHANGE'

exporting

header_data = l_wa_header_data

header_control = l_wa_header_control

delivery = l_delivery

tables

extension1 = i_extn1

return = l_i_return1.

After processing l_i_return1 is coming as blank.

Thanks

Subhankar