Skip to Content
0
Former Member
May 07, 2010 at 07:21 AM

How to get values coming from a TYPE REF TO format in BADI

312 Views

Hi Gurus,

I'm not familiar with badi implementation but I found one in our server. Here's the scenario, in RE80 afer clicking the save button, I should get all the updated values for that contract. Now I got the method "IF_EX_RECN_CONTRACT~AFTER_STORE".

There is a declaration like this.

DATA: it_partner type ref to IF_REBP_PARTNER_MNGR.

.

.

.

.

lo_contract ?= io_object. " TYPE REF TO if_reca_bus_object

CHECK ( lo_contract IS BOUND ).

it_partner = lo_contract->GET_PARTNER_MNGR( ).

.

.

.

When I debug it. The value of IT_PARTNER is composed of multiple attributes (OBJECT, CL_RECA_OBJECT, ETC). There a table that I found named MT_LIST under CL_REBP_PARTNER_MNGR attribute. My question is, how can I get the value of this table. When I click into this, the table that is displaying to me is -MT_LIST.

Thanks a lot.