Application Development 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: 

How To Skip Report of Submit Program

Former Member
0 Kudos

Hello All,

I am submitting a Report program from a Program and should return to the calling program after processing.

I have used SUBMIT program WITH Parameters

AND RETURN .

with this syntax, report of the submit program is displayed first, followed by the report of main program. I do not want the list of submit program to be displayed. How can I skip the same? Please advice.

Thanks in advance,

Pallavi.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Use a ([SUBMIT - list_options|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm#&ABAP_ADDITION_3@3@])

SUBMIT report WITH parameters EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FREE_MEMORY'.

Regards,

Raymond

7 REPLIES 7

Former Member
0 Kudos

Instead of using subit statement use call transaction ..

And use SET/GET parameter..........now you able to skip..

Regards

Ajit

0 Kudos

use the statement CALL TRANSACTION ' VL02N' AND SKIP FIRST SCREEN

raymond_giuseppi
Active Contributor
0 Kudos

Use a ([SUBMIT - list_options|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm#&ABAP_ADDITION_3@3@])

SUBMIT report WITH parameters EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FREE_MEMORY'.

Regards,

Raymond

Former Member
0 Kudos

Hi Pallavi,

Use SUBMIT Program EXPORTING LIST TO MEMORY

AND RETURN.

To use this data of the submitted report follow below process.

Than once you return to ur main program CALL FUNCTION 'LIST_FROM_MEMORY'

than to conver this list to text format CALL FUNCTION 'LIST_TO_ASCI'

Finally dont forget to use CALL FUNCTION 'LIST_FREE_MEMORY'.

Regards,

Ganesh.

Edited by: Ganesh Lathi on Oct 4, 2011 1:45 PM

Former Member
0 Kudos

Hi,

Can you elaborate why are you submitting the program when you dont want to display the output ?

Are you using the output of the submit program in the calling program if yes then you can use the list option in SUBMIT i.e EXPORTING LIST TO MEMORY.

This will export list to memory and you can get the list data from memory using FM LIST_FROM_MEMORY.

Regards,

Madhukar Shetty

Former Member
0 Kudos

Hi,

Try this,



    SUBMIT zarxreport USING SELECTION-SCREEN '1000'
                      WITH SELECTION-TABLE it_rsparams[]
                      AND RETURN.

Regards,

Danish.

0 Kudos

Hello all,

Adddition of EXPORTING LIST TO MEMORY has solved my issue... I had to use the data in the main program but didnt want the list to be displayed.

Cheers,

Pallavi.