‎2009 Oct 23 4:27 AM
Hi,
I had an requirement in which i need to transfer the data from one program to another for background processing.
The code i wrote is as below..
SUBMIT ZSDREPORT AND RETURN
WITH S_FKDAT IN S_FKDAT
WITH P_RLIST = P_RLIST
WITH P_SLIST = P_SLIST USER SY-UNAME VIA JOB V_JOBNAME NUMBER V_JOBCOUNT.
I had used job_open,job_close, that is working fine by creating backgroud job. But in the report "ZSDREPORT"
iam not getting the values of select option and parameters inside "Intialization" part and the it is not going to "START-OF-SELECTION." also . Please help.
Regards,
Arun.
Edited by: Arun Rajan on Oct 23, 2009 11:28 AM
‎2009 Oct 23 4:59 AM
Arun,
Search in SDN with keyword EXPORT LIST TO MEMORY.
K.Kiran.
‎2009 Oct 23 6:32 AM
Hello,
first U export whatever u want from ZSDREPORT TO MEMORY ID SAY 'AJ1'.
Then Import those In main programme.
Eg ,
FREE MEMORY ID 'AJ1'.
SUBMIT ZAJPUR_GRNBASED1 WITH matnr = zmseg-matnr
WITH lifnr = zmseg-lifnr
WITH budat IN zfbdt
EXPORTING LIST TO MEMORY AND RETURN.
IMPORT totamt rate qty FROM MEMORY ID 'AJ1'.
Hope this will help u,
Regards ,
SACHIN.
‎2009 Oct 23 8:13 AM
But export to memory will not be working when we are using background job right?.....