Skip to Content
author's profile photo
Former Member

submit syntex doubt

hi,

what is the purpose of this syntex could u plz explain

SUBMIT zreport USING SELECTION-SET 'VARIANT1'

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • author's profile photo
    Former Member
    Oct 11, 2007 at 01:42 PM

    This is to get variant of submit program

    SUBMIT REPORT01

    VIA SELECTION-SCREEN

    USING SELECTION-SET 'VARIANT1'

    AND RETURN.

    SUBMIT REPORT01

    VIA SELECTION-SCREEN

    USING SELECTION-SET 'VARIANT1'

    USING SELECTION-SETS OF PROGRAM 'REPORT00'

    AND RETURN.

    Effect

    Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00.

    Message was edited by:

    Vasu G

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 11, 2007 at 01:42 PM

    well it calls a specific program zreport, and tells it to use the stored variant 'VARIANT1'.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 11, 2007 at 01:43 PM

    SUBMIT REPORT01

    VIA SELECTION-SCREEN

    USING SELECTION-SET 'VARIANT1'

    USING SELECTION-SETS OF PROGRAM 'REPORT00'

    AND RETURN.

    Effect

    Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 11, 2007 at 01:48 PM

    hi,

    The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which calls another report. Can only execute reports of type '1'.

    <b>

    SUBMIT zreport USING SELECTION-SET 'VARIANT1' </b>

    USING SELECTION-SET <var>This option tells the system to start the called program with the variant <var>.

    follow this link for more information along with sample code...

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm

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

    regards,

    AshokReddy

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 11, 2007 at 02:01 PM

    Hi.

    Variant1 is the varaint of the calling program.IN selection screen of the program, you can save a varaint accordingly so that same variant's value will be used.

    Regards

    Sudheer

    Add comment
    10|10000 characters needed characters exceeded