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: 

How to include a flag

Former Member
0 Kudos

Hi

How to include a flag in the selection screen for a patricular field.

Thanks,

Mahi.

3 REPLIES 3

Former Member
0 Kudos

Hi

Define a parameter as check box

Regads

MD

former_member195383
Active Contributor
0 Kudos

define a check box as a parameter.

PARAMETERS: ch_chk AS CHECKBOX USER-COMMAND chk.

then under

AT SELECTION-SCREEN OUTPUT.

u can write your code for necessary validations as:

IF ch_chk NE 'X'.

:

:

:

ENDIF.

HOPE it helps..

former_member182426
Active Contributor
0 Kudos

hi,

just declare a global variable of type c.

and in selection screen event check out your parameter is initial or not.

if it is initial..

change flag eq 'X' / ' '.

endif.

CHANGING FLAG depends upon ur logic.

Regards,

Shankar.