cancel
Showing results for 
Search instead for 
Did you mean: 

How to Hide sub screen elements (select-options) in module pool based on the value in a list box

ABAPDEV
Explorer
0 Kudos
409

I've created three subscreens for select-options input. I want to hide these subscreen options if I select a value in the main screen field. I debugged the program, and it goes to the PBO block of the main screen. The screen does not loop to the subscreen; it only calls the subscreen area in the PAI block. Can I hide these fields using SSCRFIELDS in dialog programming?

Code snippet.
SELECTION-SCREEN BEGIN OF SCREEN 9004 as SUBSCREEN.
SELECT-OPTIONSs_po for lv_po.
SELECTION-SCREEN END OF SCREEN 9004.
*
SELECTION-SCREEN BEGIN OF SCREEN 9005 as SUBSCREEN.
SELECT-OPTIONSs_dc for lv_dec.
SELECTION-SCREEN END OF SCREEN 9005.
*
SELECTION-SCREEN BEGIN OF SCREEN 9006 as SUBSCREEN.
SELECT-OPTIONSs_inv for lv_inv.
SELECTION-SCREEN END OF SCREEN 9006.

View Entire Topic
shais
Participant

AT SELECTION-SCREEN OUTPUT.

ABAPDEV
Explorer
0 Kudos
Thank you It worked