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

Issue in ABAP query

Former Member
0 Likes
501

Hi

I have a doubt regarding ABAP queries . I need to pass the output of an ABAP query to another program . For this i want to know if the output of an ABAP query is stored in some kind of internal table or some other logic is used in that .

Is it possible to send the ABAP query output to a memory structure.

Helpful answers will be suitably rewarded.

Thanks.

HI,

Submit the abap query program in the program in which you want to use the out put of query.

by using the return parameter u will come back to ur main program. and in abap query store ur output to some memory location. and in the main program read that output from same memory location.

Regards,

Azad.

3 REPLIES 3
Read only

Former Member
0 Likes
481

HI,

Submit the abap query program in the program in which you want to use the out put of query.

by using the return parameter u will come back to ur main program. and in abap query store ur output to some memory location. and in the main program read that output from same memory location.

Regards,

Azad.

Read only

Former Member
0 Likes
481

Hi,

program 1:

from select query get the output to internal table

so that with export and import u can attain this

EXPORT t_sflight1 TO MEMORY ID 'SFLI'.

SUBMIT pgm2 AND RETURN.

program2:

IMPORT t_sflight1 FROM MEMORY ID 'SFLI'.

LOOP AT t_sflight1 INTO fs_string1.

where in use the same internal table in both reports

Reward Points If helpful.

Regards,

priya.

Read only

0 Likes
481

Thanks Azad/priya for the reply . but my question is different .