Application Development and Automation 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: 
Read only

select-options

Former Member
0 Likes
492

In select-options how to make lower values mandatory in selection screen?

4 REPLIES 4
Read only

Former Member
0 Likes
468

Hi,


TABLES:mara.
SELECT-OPTIONS:matnr FOR mara-matnr OBLIGATORY.

or



TABLES:mara.
SELECT-OPTIONS:matnr FOR mara-matnr.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF screen-name = 'MATNR-LOW'." or screen-name = 'MATNR-HIGH'.
      screen-required = 1.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

rgds,

bharat.

Read only

ak_upadhyay
Contributor
0 Likes
468

Hi,

SELECT-OPTIONS: VBELN FOR VBAP-VBELN OBLIGATORY.

Reward points if useful....

Regards

AK

Read only

Former Member
0 Likes
468

Hi,

Check this code

TABLES: kna1.

SELECT-OPTIONS: kunnr FOR kna1-kunnr.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = 'KUNNR-LOW'.

screen-required = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Reward,if useful.

Thanks,

Chandu

Read only

S0025444845
Active Participant
0 Likes
468

Hi ,

When you say

SELECT-OPTIONS: S_ebeln FOR ekko-ebeln obligatory .

Automatically it makes s_ebeln-low as mandatory field.

And if you dont want the ranges just use

SELECT-OPTIONS: S_ebeln FOR ekko-ebeln no intervals obligatory .

Regards,

Sudha