Skip to Content
avatar image
Former Member

How to include a flag

Hi

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

Thanks,

Mahi.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 03, 2008 at 06:38 AM

    Hi

    Define a parameter as check box

    Regads

    MD

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 03, 2008 at 07:03 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 03, 2008 at 07:15 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded