Application Development and Automation 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: 
Read only

run program with variant

Former Member
0 Likes
3,714

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,992

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,992

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

Regards,

Kanchan

Read only

Former Member
0 Likes
1,992

hai create a variant for ur program save them

and execute throught variant (shift + F6)

regards

afzal

Read only

Former Member
0 Likes
1,992

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

Read only

Former Member
0 Likes
1,992

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

Read only

Former Member
0 Likes
1,993

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

Read only

matt
Active Contributor
0 Likes
1,992

Create a report transaction for the program through SE93, and specify your variant in the "start with variant" field.

matt