Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transfering data from one program to another

Former Member
0 Likes
499

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

3 REPLIES 3
Read only

kiran_k8
Active Contributor
0 Likes
469

Arun,

Search in SDN with keyword EXPORT LIST TO MEMORY.

K.Kiran.

Read only

sachin_jadhav8
Participant
0 Likes
469

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.

Read only

Former Member
0 Likes
469

But export to memory will not be working when we are using background job right?.....