Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: Dynamic Selectionscreen

$
0
0

Hi Jacob,

 

Please paste this code and check

 

REPORT zsample123456.

 

TABLES : pa0001.

 

 

 

PARAMETERS: p_eno      RADIOBUTTON GROUP abc USER-COMMAND xyz,

             p_ename       RADIOBUTTON GROUP abc.

 

 

SELECTION-SCREEN BEGIN OF SCREEN 5555.

SELECT-OPTIONS : s_empno FOR pa0001-pernr.

PARAMETERS: p_org TYPE pa0001-orgeh,

             p_pos type pa0001-plans.

SELECTION-SCREEN END OF SCREEN 5555.

 

SELECTION-SCREEN BEGIN OF SCREEN 5556.

SELECT-OPTIONS : s_ename FOR pa0001-ename.

PARAMETERS: p_persk type pa0001-persk,

             p_persg type pa0001-persg.

SELECTION-SCREEN END OF SCREEN 5556.

 

SELECTION-SCREEN BEGIN OF SCREEN 9999.

PARAMETERS : p_orgeh TYPE pa0001-orgeh.

SELECTION-SCREEN END OF SCREEN 9999.

 

SELECTION-SCREEN BEGIN OF SCREEN 2000.

PARAMETERS : p_plans TYPE pa0001-plans.

SELECTION-SCREEN END OF SCREEN 2000.

 

 

AT SELECTION-SCREEN .

 

   IF p_eno = 'X'.

     CALL SELECTION-SCREEN '5555'.

   ENDIF.

 

     IF p_ename = 'X'.

     CALL SELECTION-SCREEN '5556'.

   ENDIF.

 

 

START-OF-selection.

 

  "Logic


Rgds,

Vijay SR


Viewing all articles
Browse latest Browse all 9236

Trending Articles