Skip to Content
0
Former Member
Jul 30, 2007 at 04:46 PM

How to get field data from a TYPE REF TO Method import parameter?

833 Views

Hi Good People

I’m trying to add an additional check to a purchase order item through a Badi implementation by using a ME_PROCESS_PO_CUST definition with method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

I’m debugging the Purchase Order program but I don’t have any clue on how to deal with the IM_ITEM importing parameter which this method uses..

This parameter is of type TYPE REF TO and it contains a reference value on debugging mode. How can I get normal item data (material number, material group, plant, etc) from this parameter, so I can perform my checks later on?

Many Thanks

Nuno Natividade