‎2009 Apr 30 4:24 PM
Hi All,
I am using RFC enabled FM using STARTING NEW TASK, We cannot import data from FM back to the program when we use this statement. So I am exporting data into DATA BUFFER in the FM and trying to import data in the main program. Can you please tell me how can I import data from SHARED MEMORY, Below is my code.
call function 'YPMLR_SITEBAL_DETAILS'
starting new task 'ID'
exporting
s_cyl = s_cyl-low
s_lifnr = s_lifnr-low
s_lstyp = s_lstyp-low
tables
s_zlocn = lt_zlocn
gt_zmlr_mld = gt_zmlr_mld
gt_zmlr_lp = gt_zmlr_lp
gt_zmlr_mlp = gt_zmlr_mlp
gt_zmc_loc = gt_zmc_loc.
"IMPORT e_rand_no TO e_rand_no from MEMORY ID 'RAND'.Here is the export statement used in FM,
EXPORT e_rand_no FROM e_rand_no TO DATA BUFFER XSTR.
‎2009 Apr 30 4:41 PM
Hi,
Check this link for Export to database instead of memory..
http://help.sap.com/abapdocu/en/ABAPEXPORT_DATA_CLUSTER_MEDIUM.htm
Import from database instead of memory
‎2009 May 20 12:08 PM