2008 Oct 10 11:40 AM
Hi,
Have used the submit stmt as
" SUBMIT pgm name WITH SELECTION-TABLE rspar_tab
EXPORTING LIST TO MEMORY
AND RETURN."
Now the o/p generated is saved in the memory.In the report which is generated I have to fetch only 2 values based on one field as criteria..How to write the select query.
2008 Oct 10 11:52 AM
Hi,
Have you tried a F1 help on EXPORTING LIST TO MEMORY command?There is a clear explanation for this
LIST_FROM_MEMORY
This is the Function module to get the data from memory to internal table after SUBMIT..EXPORTING LIST TO MEMORY.
Cheers,
Kothand
Hi,
Have used the submit stmt as
" SUBMIT pgm name WITH SELECTION-TABLE rspar_tab
EXPORTING LIST TO MEMORY
AND RETURN."
Now the o/p generated is saved in the memory.In the report which is generated I have to fetch only 2 values based on one field as criteria..How to write the select query.
2008 Oct 10 11:52 AM
Hi,
Have you tried a F1 help on EXPORTING LIST TO MEMORY command?There is a clear explanation for this
LIST_FROM_MEMORY
This is the Function module to get the data from memory to internal table after SUBMIT..EXPORTING LIST TO MEMORY.
Cheers,
Kothand
2008 Oct 10 1:00 PM
hi,
after the submit statement use the LIST_FROM_MEMORY
function module...this function module loads the list from ABAP memory to an internal table of row type ABAPLIST...
after the data has been saved in an internal table u can do selection on the basis of the field...
Edited by: siddharth kumar on Oct 10, 2008 2:01 PM
2008 Oct 10 1:08 PM
Hi,
Have tried the same but the o/p is like
RFCSIZE RFCRECORD
1000 |20202020202020202020202020202020202020202020202020202020202020<
from this how can i fetched my required data
2008 Oct 10 1:12 PM
Try running the returned internal table through funvtion LIST_TO_ASCI.
If you go to the function group, you can find all LIST related function modules.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |