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: 

Update Delivery Type in PO creation

sri6666
Active Participant
0 Kudos
286

Hi ABAP Experts,

I am creating PO , Requirement is update Delivery type while create the PO(Shipping Tab).

i wrote the code in BADI -> ME_PROCESS_PO_CUST~PROCESS_ITEM.

_> Get the Line item lw_item = im_item->get_data( ).

-> lw_item-LFRET ='ZZZZ'.

->call method lo_item->set_data

exporting

im_data = lw_item.

i can see the ZZZZ delivery type shipping tab of PO line item, but after save the PO delivery type ZZZZ replace with original one which is earlier one before our code triggered.

Can some one help me , is this correct method to correct the devilry type of item?

If any one facing similler kind of issue help me with solution.

0 REPLIES 0