Skip to Content
author's profile photo Former Member
Former Member

run program with variant

i want to run my program always with the same variant how????

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 07:24 AM

    Hi,

    You can set default value using 'default value' in select-options and parameters.

    check the links below

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

    you can also set default variant for a report. check the link below

    http://www.abapcode.info/2008/09/selecting-variants-for-initial-alv-list.html

    regards,

    mani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 06:57 AM

    Set the parameters with default values so that whenever you run the program. It will run for the same variant.

    Regards,

    Kanchan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 07:03 AM

    hai create a variant for ur program save them

    and execute throught variant (shift + F6)

    regards

    afzal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 07:05 AM

    dear sikken,

    If your selection screen input parameters are fixed and its not going to change then instead of varient you can initilised the input parameters in initialization event .

    Cheers

    fareed

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2009 at 07:06 AM

    Hi,

    One way is:

    Run the program by se38, and give input values on selection screen and finally save these values, it will ask name( variant name)and enter name of the variant. with this variant u can excute this program at any time.

    Second way:

    u can give this input values with initialization event also in program.

    By,

    Seshu

    Edited by: seshu yadav on May 25, 2009 9:07 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.