09-30-2008 8:45 AM
Hi expert,
I've a simply report program (se38), there's a checkbox.
My problem is:
when I change the checkbox ( X or space ), I would that some other field
to became un-modificable.
so my code is:
AT SELECTION-SCREEN OUTPUT.
IF pa_reimp = 'X'.
loop at screen.
screnn-input = 0.
modify
etc etc
ENDIF.
But not run, it run only if you press F8, and not when you click on the checkbox.
How I can make it ??
tks, a lot,
bye.
09-30-2008 8:54 AM
Hi,
When ever you want to trigger something after giving some input at the back end there should be a code to trigger reading your input which you give for your case USER-COMMAND which has to be to fullfill your task.
Cheers!!
09-30-2008 8:50 AM
Hi Roberto,
Declare the check box using USER-COMMAND .
Parameters: p_chk AS CHECKBOX USER-COMMAND abc .
Cheers,
Mandeep
09-30-2008 8:52 AM
Hi,
try this:
PARAMETERS: P1 DEFAULT 'X' as checkbox USER-COMMAND DUMMY.
PARAMETERS: VAL1(10) MODIF ID DI1.
*
AT SELECTION-SCREEN OUTPUT.
*
LOOP AT SCREEN.
IF SCREEN-GROUP1 EQ 'DI1' AND P1 = 'X'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
*
ENDLOOP.
Regards, Dieter
09-30-2008 8:54 AM
Hi,
When ever you want to trigger something after giving some input at the back end there should be a code to trigger reading your input which you give for your case USER-COMMAND which has to be to fullfill your task.
Cheers!!
10-13-2008 10:08 AM