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

Select query after the submit stmt

Former Member
0 Likes
839

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
795

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.

4 REPLIES 4
Read only

Former Member
0 Likes
796

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

Read only

Former Member
0 Likes
795

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

Read only

0 Likes
795

Hi,

Have tried the same but the o/p is like

RFCSIZE RFCRECORD

1000 |20202020202020202020202020202020202020202020202020202020202020<

from this how can i fetched my required data

Read only

0 Likes
795

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.