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: 

SUBSCREEN AREA FIELD VALUE

former_member719641
Participant
0 Kudos
453

In my module pool screnn there is a subscreen named "V_SUB".

I have defined a screen like this and successully called it: -

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
select-options: s_plant for V_PLANT DEFAULT '1000' TO '1000' NO INTERVALS.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 100.

It does not show the value. When I remove 'NO IINTERVAL' IT SHOWS.

How to show the value with 'no interval.' ?

1 ACCEPTED SOLUTION

367

Hey.

When you use "NO INTERVALS" you can't specify the "TO" operator because your select-options won't have the HIGH field, just the LOW.

Just use "DEFAULT":

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
select-options: s_plant for V_PLANT DEFAULT '1000' NO INTERVALS.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 100.
2 REPLIES 2

368

Hey.

When you use "NO INTERVALS" you can't specify the "TO" operator because your select-options won't have the HIGH field, just the LOW.

Just use "DEFAULT":

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF LINE.
select-options: s_plant for V_PLANT DEFAULT '1000' NO INTERVALS.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 100.

367

Thanks a lot. It's working.