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: 

Calling one report program from another

Former Member
0 Kudos

Hi All,

I want to call one report program from another program which i will be creating. So please guide me regarding how is it possible to get the output of one program in the internal table in my own program, which i can use further . Inshort, how one can call one report program from another & store it's output in the inernal table or memory, so that it can be used further in the calling program.

Thanks & Regards,

Chetan.

8 REPLIES 8

Former Member

Hi,

using submit command we can call another report in a report.

please reward points,

regards,

satish.

Former Member
0 Kudos

hi,

by using submit keyword, you can run one report from another one, to get the data of called program into the calling program, you need to use import & Export parameters keywords

regards,

pavan

Former Member
0 Kudos

Hi,

use submit report

check help on submit report and find the usefull

regards,

siva chalasani.

reward points if found usefull

Former Member
0 Kudos

Export the values of the output to an internal table, in the program which you are calling and then Import the same internal table inside your program.

Former Member
0 Kudos

Hi

When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself (see Direct Execution - Reports). When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:

SUBMIT... [VIA SELECTION-SCREEN]

[USING SELECTION-SET <var>]

[WITH <sel> <criterion>]

[WITH FREE SELECTIONS <freesel>]

[WITH SELECTION-TABLE <rspar>].

When you call an ABAP program, you can modify its lists, send them to a spool file instead of the screen, or store them in ABAP memory.

Modifying the List Structure

You can modify the list structure of a called program by using the following additions in the SUBMIT statement:

SUBMIT... [LINE-SIZE <width>] [LINE-COUNT <length>].

If the called program contains no such options in the REPORT statement, the system formats the lists of the called program according to the options in the SUBMIT statement. If, on the other hand, the REPORT statement in the called program does specify a list structure, the additions in the SUBMIT statement are ignored. For further information about these additions, refer to Defining Your Own List Structure.

plzz reward if u found my information usefull to u

plzz dont forget to reward.....

Former Member
0 Kudos

Hi,

Check the following link:

http://sap-img.com/abap/how-to-call-one-report-to-another.htm

Regards,

Bhaskar

0 Kudos

hi..

try this.

http://sap-img.com/abap/how-to-call-one-report-to-another.htm

or

use submit

SUBMIT... VIA SELECTION-SCREEN

USING SELECTION-SET <var>

WITH <sel> <criterion>

WITH FREE SELECTIONS <freesel>

WITH SELECTION-TABLE <rspar>.

or if the programe hv tcode

then use

call transaction keyword.

Former Member
0 Kudos

Hi Chetan,

Press F1 in SUBMIT

Plzz Reward i it is useful,

Mahi.