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

Variant Setting

Former Member
0 Likes
569

How to set any variant as default to selection screen?

4 REPLIES 4
Read only

Former Member
0 Likes
528

Hi,

<b>

1.Go to the selection screen of the particular report.

2.Give ur inputs for select-options and parameters.

3.And click SAVE button, it will take u to the variant screen.

4.Give the name of the variant and save.</b>

That's it.

Reward points if found useful.

<i>Regards,

Sathya Rajkumar.</i>

Read only

0 Likes
528

Hi ,

When you click on save it will take you to variant screen.

Give varianat name and meaning of it. It will save as default.

Regards,

Bhra

Read only

Former Member
0 Likes
528

hi

as said above u can creat a varients list

if u want to put one varient has default u can do this by assigning that job to background or

when u creat a t code at that time also u can assign the varient name which u want to be dafault

reward if use full

Read only

Former Member
0 Likes
528

try this code:

INITIALIZATION.

IF sy-slset IS INITIAL.

CALL FUNCTION 'RS_SUPPORT_SELECTIONS'

EXPORTING

report = sy-cprog " program name

variant = 'YOU_VARIANT_NAME' "variant name

EXCEPTIONS

variant_not_existent = 0

variant_obsolete = 0

OTHERS = 0.

ENDIF.