2010 Mar 02 12:18 PM
hi guys,
i need to declare field matnr as select-option range in dialog programming..how can i code it in the module program?
hi guys,
i need to declare field matnr as select-option range in dialog programming..how can i code it in the module program?
2010 Mar 02 12:23 PM
This question is already discussed in the forum . Please search.
Br,
Vijay.
2010 Mar 02 12:26 PM
Hi,
I think its not possible to create a select-option in dialog program screen. I tried this long back and i finally ended up using ' Call Selection-screen <screenno>'. I had only few fields for selection and hence call selection-screen was sufficient to meet the requirement.
Thanks,
Avanish Joshi
2010 Mar 02 12:28 PM
Hi,
Please [Search|http://forums.sdn.sap.com/search.jspa?threadID=&q=selectoptionin+modulepool&objID=c42&dateRange=all&numResults=30&rankBy=10001] in SDN.
Thanks,
Sri.
2010 Mar 02 1:18 PM
Hi Ester, <li>please check the following my Wiki for the same requirement. <b><u>[SELECT-OPTIONS on Dialog programming screen|http://wiki.sdn.sap.com/wiki/display/ABAP/SELECT-OPTIONSonDialogprogrammingscreen] </u></b> Thanks Venkat.O
2010 Mar 02 1:22 PM
Hi,
Create a selection screen in regular executable program type
SELECTION-SCREEN BEGIN OF SCREEN 500 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE T1.
SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN: END OF SCREEN 500.and call it in module program as
CALL SUBSCREEN SUBSCR3 INCLUDING 'ZPRGNAME' '500'.-Maharshi
Edited by: Maharshi Vyas on Mar 2, 2010 2:24 PM
2010 Mar 02 1:30 PM
This questions has been answered many times (even in february)
- search sdn wiki (2 commented samples at [SELECT-OPTIONS on Dialog programming screen|http://wiki.sdn.sap.com/wiki/display/ABAP/SELECT-OPTIONSonDialogprogrammingscreen] and [Select-Options in Module Pool Programming|http://wiki.sdn.sap.com/wiki/display/ABAP/Select-OptionsinModulePoolProgramming])
- search abap online help ([SELECTION-SCREEN - AS SUBSCREEN |http://help.sap.com/abapdocu_70/en/ABAPSELECTION-SCREEN_SUBSCREEN.htm] with sample at [Selection Screens as Subscreens |http://help.sap.com/abapdocu_70/en/ABENSEL_SCREEN_SUBSCREEN_ABEXA.htm])
Regards,
Raymond
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |