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: 

Select-options with No intervals not working on screen

Former Member
0 Kudos
573

Hi experts,

I have created selection screen on Screen 1002. Two select-options were added on them with the 'No Intervals' attribute. This is not working at runtime. I also have a table control just below these 2 select optons. I tried to regenerate everything and check but still it is not working.

Pls help.

Regards,

Diana

15 REPLIES 15

former_member195402
Active Contributor
0 Kudos
282

Hi,

Please check to have designed the selection screen via

SELECTION-SCREEN BEGIN OF SCREEN 1002.

SELECTION-SCREEN END OF SCREEN 1002.

You have to call it with

CALL SELECTION-SCREEN 1002.

Regards,

Klaus

0 Kudos
282

Hi Klaus,

This is exactly how it is getting called. The only problem is that i am not getting the list to enter multiple values. Both the Select-options have this problem.

If i dont give the 'No Intervals' attribute then it works fine. But i do not want the Intervals.

Rgds,

Diana

0 Kudos
282

Use addition NO-EXTENSION as well. Then this will prevent multiple selections.

Regards

Marcin

0 Kudos
282

Hi Marcin,

I need the Extensions, so i cannot do away with it.

Rgds,

Diana

0 Kudos
282

Don't know what you are trying to do then

The only problem is that i am not getting the list to enter multiple values

(...)

But i do not want the Intervals

You don't get second field to enter interval (achieved with NO INTERVAL addtion), but you still have ability to enter multiple values with extension pushbutton.

Regards

Marcin

0 Kudos
282

Marcin,

I am giving the attribute NO INTERVALS since i do not want intervals. But i need the extensions. And these Extensions are not working. The Select-options are on a Screen.

Here is the code snippet:

SELECTION-SCREEN BEGIN OF SCREEN 1002 TITLE text-002.

SELECTION-SCREEN SKIP 2.

SELECT-OPTIONS: s_csi_no FOR ztrack-csi_no NO INTERVALS.

SELECTION-SCREEN SKIP 2.

SELECT-OPTIONS: s_oid FOR ztrack-owner_id NO INTERVALS.

SELECTION-SCREEN END OF SCREEN 1002.

Rgds,

Diana

0 Kudos
282

Diana,

So the only question is what do you mean by not working? Does the popup come when extension pushbutton is pressed? Can you enter data there? Does system fill s_csi_no and s_oid with multiple lines (or with correct SIGN and OPTION value) if such were entered using exension?

Regards

Marcin

0 Kudos
282

Marcin,

This drop-down is not coming at all. And that is my problem. Though the extension button shows, the drop-down to the enter the multiple values is not coming.

Rgds,

Diana

0 Kudos
282

Hello

I have tried the below code and it is giving first selection field without interval and extension. And the second selection field without extension.


data v_matnr type matnr_d.

SELECTION-SCREEN BEGIN OF SCREEN 1002 TITLE text-002.
SELECTION-SCREEN SKIP 2.
SELECT-OPTIONS: s_csi_no FOR v_matnr NO INTERVALS NO-EXTENSION .
SELECTION-SCREEN SKIP 2.
SELECT-OPTIONS: s_oid FOR v_matnr NO INTERVALS.
SELECTION-SCREEN END OF SCREEN 1002.

START-OF-SELECTION.

call SELECTION-SCREEN 1002.

Am not sure what exactly you are trying to do if different.

Regards

Ranganath

0 Kudos
282

I am concerned with what you wrote. It seems we are talking about two different things. There is no drop-down at all anywhere. This is only a popup window like [this|http://dl.dropbox.com/u/3338733/multiple_sel.JPG] where you enter multiple values once extension pushbutton pressed. That's it.

Regards

Marcin

0 Kudos
282

Hi Ranganath,

This is a module pool program. And on the same screen i have a table control also.

In normal reports these attributes work fine, i know. But strangely it is not working this time in this dialog program.

Rgds,

Diana

0 Kudos
282

Hi Marcin,

I am talking about the same pop-up that you have attached. It is not coming.

Diana

0 Kudos
282

Diana,

You said

I have created selection screen on Screen 1002.

Now you are saying

This is a module pool program. And on the same screen i have a table control also.

If you are using dialog program please make sure you adhere to [these steps|http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html]. Screen type however should not affect the usage of extension for select-options. If works fine for sel.screen, should work for normal dynpro.

Regards

Marcin

0 Kudos
282

Thank you, everyone.

The problem is still unsolved.

Rgds,

Diana

Former Member
0 Kudos
282

Had the same problem
this solved it for me

PROCESS BEFORE OUTPUT.

   CALL SUBSCREEN subscreen_1010 INCLUDING sy-repid '1010'.

   MODULE pbo_0100.

PROCESS AFTER INPUT.

   MODULE pai_exit AT EXIT-COMMAND.

   CALL SUBSCREEN subscreen_1010.

   MODULE pai_0100.