Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Implementing BADI ME_PROCESS_PO_CUST ??

Hi All,

I want to implement BADI ME_PROCESS_PO_CUST to Z_ME_PROCESS_PO_CUST. Under this I need to use method CHECK to validate the header Level EKGRP (Purchasing Group) with the Info Record item Level EKGRP (Purchasing Group). If both are different, then I need to throw message with setting parameter CH_FAILED = 'X'.

Now my question is I can get the header level EKGRP by IMPORTING parameter IM_HEADER (IF_PURCHASE_ORDER_MM) has a method GET_DATA which returns the header data (structure MEPOHEADER). But to get the Item level info records EKGRP I will call method IM_HEADER->GET_ITEMS to retrieve PO item level data. Can you please tell me how to get the info record data from there and how to go ahead further??

Thnks,

Raghu Posani

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question