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 Issue

Former Member
0 Likes
347

Hello experts,

My req is regarding Variants.

If user select suppose Variant ='A'.

code 1....

else.

code 2..

endif.

Is this senario possible..how

Aastha

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
327

Pl. try this way


if SYST-SLSET  eq 'A'.
   do this
else
    do that
endif

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
328

Pl. try this way


if SYST-SLSET  eq 'A'.
   do this
else
    do that
endif

Read only

Former Member
0 Likes
327

Hi ,

in AT SELECTION-SCREEN OUTPUT you can check the select-options and parameters value -


data : flaf type c.

AT SELECTION-SCREEN OUTPUT.

IF select_option1 = 10 and select_option1 = 20 .......

flag = 'X'.

else.

flag = ' '.

endif.

START-OF-SELECTION.

iIF flag = 'X'.

code1.

else.

code2.

endif.

Regards

Pinaki