2008 Jun 16 5:13 AM
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
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.
2008 Jun 16 5:18 AM
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.
2008 Jun 16 6:48 AM
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.
2008 Jun 16 5:21 PM
Thanks Azad/priya for the reply . but my question is different .
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |