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

Re: Badi implementation ME_PROCESS_PO_CUST

$
0
0

The field 'weunb' is in display and editable in ME22N. The problem is that when I write the code below in method IF_EX_ME_PROCESS_PO_CUST~CHECK. System do not recognize any change and as a result there is no message for user to save.

 


METHOD if_ex_me_process_po_cust~check.

DATA: lv_if_item TYPE REF TO if_purchase_order_item_mm,

           wa_item LIKE LINE OF i_items,

           ls_itm_data TYPE mepoitem.

  LOOP AT i_items INTO wa_item.
  lv_if_item
= wa_item-item.
    CALL METHOD lv_if_item->get_data
   RECEIVING
      re_data
= ls_itm_data.

     clear lt_itm_data-weunb.

     CALL METHOD lv_if_item->set_data

          EXPORTING

            im_data = ls_itm_data.

ENDLOOP.

ENDMETHOD.




Viewing all articles
Browse latest Browse all 9236

Trending Articles