Skip to Content
avatar image
Former Member

Calling one report program from another

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Dec 26, 2007 at 10:22 AM

    Hi,

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

    please reward points,

    regards,

    satish.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2007 at 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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2007 at 10:24 AM

    Hi,

    use submit report

    check help on submit report and find the usefull

    regards,

    siva chalasani.

    reward points if found usefull

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2007 at 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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2007 at 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.....

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2007 at 10:52 AM

    Hi,

    Check the following link:

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

    Regards,

    Bhaskar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2007 at 01:31 PM

    Hi Chetan,

    Press F1 in SUBMIT

    Plzz Reward i it is useful,

    Mahi.

    Add comment
    10|10000 characters needed characters exceeded