ich habe eine Checkbox, die wenn X eine Selektoption aktivieren soll. Umgekehrt analog. Das ein-/ausblenden funzt aber nicht... Was mache ich falsch?
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS: p_mat AS CHECKBOX USER-COMMAND p_mat DEFAULT 'X'.
SELECT-OPTIONS: so_matnr FOR gs_zplan-matnr.
SELECTION-SCREEN END OF BLOCK b2.
*======================================================================*
* AT SELECTION-SCREEN ON p_mat. *
*======================================================================*
AT SELECTION-SCREEN ON p_mat.
LOOP AT SCREEN.
IF screen-name(8) EQ 'SO_MATNR'.
IF p_mat IS NOT INITIAL.
screen-input = 1.
ELSE.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.