10-13-2008 7:03 PM
Hi,
Is it possible to update/override any values at the PO item level in the method POST of the Badi ME_PROCESS_PO_CUST?
I tried with the below code, but it was not updating anything. I could update with process_item method but just checking whats wrong with the below code in POST method.
data: Header type MEPOHEADER,
items type PURCHASE_ORDER_ITEMS,
item like line of items,
itemdata type MEPOITEM,
l_flag type c.
CALL METHOD im_header->get_data
receiving
re_data = header.
CALL METHOD im_header->get_items
receiving
re_items = items.
loop at items into item.
CALL METHOD item-item->get_data
receiving
re_data = itemdata.
itemdata-mwskz = 'XX'.
itemdata-txz01 = 'sample text changed'.
CALL METHOD item-item->set_data
EXPORTING
im_data = itemdata.
endloop.
Thanks in Advance
Somesh
10-15-2008 4:19 PM
09-08-2020 5:54 AM
I have similar issue where I need to set item details in POST method by using SET_DATA method.Please share me how we can find the solution for this.