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

create two variant ?

Former Member
0 Likes
348

hi friends ı want to use two variant option in a screen.ı wrote this code,

SELECTION-SCREEN BEGIN OF SCREEN 1060 AS SUBSCREEN .

"emrah 1060 screen create

PARAMETERS: P_VARI1 LIKE DISVARIANT-VARIANT .

PARAMETERS: P_VARI2 LIKE DISVARIANT-VARIANT .

SELECTION-SCREEN END OF SCREEN 1060 .

in main program,

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI1 .

PERFORM REUSE_ALV_VARIANT_F4 USING P_VARI1 .

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI2 .

PERFORM REUSE_ALV_VARIANT_F4 USING P_VARI2 .

2 REPLIES 2
Read only

Former Member
0 Likes
321

sorry, but what is the question?

Read only

Former Member
0 Likes
321

you are using Two parameters for 2 variants. why?

are you showing two Grids.if so you can use..But not able to understand what you are doing..