04-22-2010 7:01 AM
hi expets,
i am using badi 'ME_REQ_POSTED ' for some requirement but i need to capture the doc no posted in this badi and store it in a variable and use it for further processing in a bdc , can anybody help me out for this , i am new to abap objects .
thanks
reagrds
04-22-2010 12:29 PM
I think that you migth simply export it to SAP/ABAP memory while you are in the BAdI and later import it back from the point you need that for further processing.
Regards
Marcin
04-22-2010 12:29 PM
I think that you migth simply export it to SAP/ABAP memory while you are in the BAdI and later import it back from the point you need that for further processing.
Regards
Marcin
04-23-2010 9:54 AM
HI marcin,
thanks for reply byt can u plz elaborate how to use import export in object oriented environment , and moreover i want to have complete int table to be exported and imnported.
can u plz help me out
thanks
regards
sarabjit
04-23-2010 9:59 AM
This is used in same way as in classic approach. You can export/import entire table as well.
"in BADI
EXPORT mem_tab = "pass your table here
TO MEMORY ID 'ZMY_MEM_ID'.
"in other program
data: itab type table of ....
IMPORT mem_tab = itab
FROM MEMORY ID 'ZMY_MEM_ID'.
"here you have your ITAB with data inside
Regards
Marcin