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

pbm in submit command

Former Member
0 Likes
535

hi all....

i have pbm with submit....

pbm is:

one pgm displays report using some write statements.

whats the pbm is that

i want to diaplay that report in separate pgm using submit.....

is it possible while using submit?

4 REPLIES 4
Read only

bpawanchand
Active Contributor
0 Likes
496

Hi

Yes it is possible to display the result of one report in another report by using submit statement all you have to do is use the function modules

LIST_FROM_MEMORY

WRITE_LIST

DISPLAY_LIST

Regards

Pavan

Read only

Former Member
0 Likes
496

Hello Mohan,

Instead of displaying a list on the screen, you can store it in ABAP memory using the EXPORTING LIST TO MEMORY addition in the SUBMIT statement:

SUBMIT... AND RETURN EXPORTING LIST TO MEMORY.

This statement stores the list in ABAP memory, allowing the calling program to access it once the called program has finished. You must use the AND RETURN addition in this case. You cannot use the additions EXPORTING LIST TO MEMORY and TO SAP-SPOOL together.

The function group SLST provides function modules for accessing the saved list, including for example:

LIST_FROM_MEMORY

WRITE_LIST

DISPLAY_LIST

Hope you find it useful

Regards

Indu.

Read only

Former Member
0 Likes
496

Hi,

Check this link,it may help you,

http://www.sapdevelopment.co.uk/reporting/rep_submit.htm

Regards,

Sujit

Read only

0 Likes
496

Hi,

its possible to decalre the submit statement.

SUBMIT 'PROGRAM NAME' VIA SELECTION-SCREEN.

thanks

sriram.