Skip to Content
avatar image
Former Member

Current release code/indicator in BADI ME_PROCESS_REQ_CUST

Hi all,

I'm working on BADI ME_PROCESS_REQ_CUST on Method PROCESS_HEADER. Could you suggest me to get the current release code or release indicator. My trial returns the processed release code/strategy but I want to get the thing before process (what user choose on screen).

Please help me on this, Thanks in advance.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 21, 2010 at 04:41 AM

    Problem solved.

    data: l_items       type mmpur_requisition_items,
          line_item     type mmpur_requisition_item,
          pr_item       type mereq_item,
          wa_eban       type eban.
        call method im_header->get_items
            re_items = l_items.
      catch cx_sy_ref_is_initial.
    loop at l_items into line_item.
    *-> Get before-process data
      call method line_item-item->get_persistent_data
          re_data = wa_eban.
    *-> Get processed data
      call method line_item-item->get_data
          re_data = pr_item.

    Add comment
    10|10000 characters needed characters exceeded