cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a selections mandatory

Former Member
0 Kudos

Hi ,

I tried to make a select-options mandatory by given the Obligatory as part of select-options

But first label only show as mandatory .

HOw to make the second filed also mandatory ?

plz give some help

thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Venkat,

    I suppose you want to make both the intervals as mandatory for a select option..  Try the below sample code..

TABLES : VBAK.

SELECT-OPTIONS : S_VBAK FOR VBAK-VBELN OBLIGATORY.

INITIALIZATION.

   LOOP AT SCREEN.

     IF SCREEN-NAME = 'S_VBAK-HIGH'.

       SCREEN-REQUIRED = '1'.

       MODIFY SCREEN.

     ENDIF.

   ENDLOOP.


Regards,

Raghu

Former Member
0 Kudos

Thanks Raghu for given such help.

Former Member
0 Kudos

Hi,

we can do mandatory input fields through module pool.

can you elaborate your requirement.

Former Member
0 Kudos

Please elaborate the issue and provide screenshot if possible.

Which screen are you facing the issue?

Are you trying using Screen Modifications?