2011 Mar 02 12:31 PM
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
2011 Mar 02 12:41 PM
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
2011 Mar 02 12:44 PM
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
2011 Mar 02 12:53 PM
Use addition NO-EXTENSION as well. Then this will prevent multiple selections.
Regards
Marcin
2011 Mar 02 1:09 PM
Hi Marcin,
I need the Extensions, so i cannot do away with it.
Rgds,
Diana
2011 Mar 02 1:30 PM
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
2011 Mar 02 1:38 PM
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
2011 Mar 02 1:46 PM
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
2011 Mar 02 1:48 PM
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
2011 Mar 02 1:49 PM
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
2011 Mar 02 2:00 PM
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
2011 Mar 02 2:02 PM
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
2011 Mar 02 2:04 PM
Hi Marcin,
I am talking about the same pop-up that you have attached. It is not coming.
Diana
2011 Mar 02 2:31 PM
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
2011 Mar 02 2:50 PM
2016 Jul 13 9:00 AM
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.