Skip to Content
0
Former Member
Jan 07, 2008 at 04:37 PM

HAVE TO Generate IDOC in badi ME_PROCESS_PO_CUST, UNABLE TO READ ITEM DATA

46 Views

ME_PROCESS_PO_CUST "IMPLEMENTING CLASS

IF_EX_ME_PROCESS_PO_CUST " INTERFACE

POST "METHOD

POST HAS TWO PARAMETERS

IM_EBELN

IM_HEADER TYPE REF TO IF_PURCHASE_ORDER_MM

IF_PURCHASE_ORDER_MM "INTERFACE

GET_DATA "METHOD , WORKIG FINE

GET_ITEMS "METHOD

GETI_ITEMS HAS PARAMETER REITEMS

REITEMS IS TABLE TYPE PURCHASE_ORDER_ITEMS

WHICH IS LINE TYPE PURCHASE_ORDER_ITEM

AND THIS LINE TYPE HAS FIELD

ITEM WHICH IS TYPE IF_PURCHASE_ORDER_ITEM_MM

AND AGAIN IN THIS INTERFACE THERE IS METHOD GET_DATA TO GET ITEM DATA.

PLEASE SUGGEST ME HOW TO ACCESS ITEM DATA ,

IF POSSIBLE PLEASE WRITE THE CODE AS I AM VERY POOR AT 'OOPS' AND ITS VERY VERY URGENT.

THANKS AND REGARDS

Edited by: TRY-N-TRY on Jan 7, 2008 6:23 PM