‎2010 Jul 02 11:21 AM
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
‎2010 Jul 02 11:23 AM
export the variable from where it is generated . .and IMPORT it in the method where you want to use..
‎2010 Jul 02 11:53 AM
‎2010 Jul 02 11:48 AM
Hey ,
using a IMPORT and EXPORT in methods will guve you ans error.
So what can you do is , create a ztable in datbase and populate the data into it from where it is available and then get that data into other method where you want to use it.
Refer this answered(by me) thread for the same question.
Hope this is helpful.
Regards,
Uma Dave
‎2010 Jul 02 12:08 PM
‎2010 Jul 02 12:13 PM
‎2010 Jul 02 1:41 PM
‎2010 Jul 02 2:30 PM
I think having one attribute would have solved the issue.
Assign it where u r getting value.. and access it in check method.
G@urav
‎2010 Jul 26 1:56 PM