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-option field in dialog programming

Former Member
0 Likes
1,018

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?

6 REPLIES 6
Read only

Former Member
0 Likes
965

This question is already discussed in the forum . Please search.

Br,

Vijay.

Read only

Former Member
0 Likes
965

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

Read only

sridhar_meesala
Active Contributor
0 Likes
965

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.

Read only

venkat_o
Active Contributor
0 Likes
965

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

Read only

Former Member
0 Likes
965

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
965

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