Application Development 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: 

checkbox in selection screen

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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!!

4 REPLIES 4

Former Member
0 Kudos

Hi Roberto,

Declare the check box using USER-COMMAND .

Parameters: p_chk AS CHECKBOX USER-COMMAND abc .

Cheers,

Mandeep

Former Member
0 Kudos

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

Former Member
0 Kudos

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!!

Former Member
0 Kudos

tks