Skip to Content
0
Former Member
Jul 02, 2010 at 10:21 AM

BADI - OBJECTS - how to declare global objects in local method

110 Views

Interface name : IF_EX_ME_PROCESS_REQ_CUST

CLass Name : ZCL_IM_PRPO_MM_BADI_CHECK

it has two methods

PROCESS_ACCOUNT

CHECK

METHOD if_ex_me_process_req_cust~check.

LOOP AT i_items INTO l_item.

ls_item = l_item-item->get_data( ).

ENDLOOP.

endmethod.

METHOD if_ex_me_process_req_cust~process_account.

DATA: re_persistent_data1 TYPE exkn.

CALL METHOD im_account_ref->get_persistent_data

RECEIVING

re_persistent_data = re_persistent_data1.

ENDMETHOD.

QUESTION

re_persistent_data(process_Account) has fields sakto and PSP_PNR.

i need to acccess the field values in

Check Method.

kindly help me with code

please help me with code

Thanks