12-26-2007 10:14 AM
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.
12-26-2007 10:22 AM
Hi,
using submit command we can call another report in a report.
please reward points,
regards,
satish.
12-26-2007 10:23 AM
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
12-26-2007 10:24 AM
Hi,
use submit report
check help on submit report and find the usefull
regards,
siva chalasani.
reward points if found usefull
12-26-2007 10:24 AM
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.
12-26-2007 10:24 AM
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.....
12-26-2007 10:52 AM
Hi,
Check the following link:
http://sap-img.com/abap/how-to-call-one-report-to-another.htm
Regards,
Bhaskar
12-29-2007 1:17 PM
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.
12-29-2007 1:31 PM