‎2009 Oct 27 5:10 AM
Hi Experst
Can any one suggest how to create select options in Module pool
Thanks
Surendra Reddy
‎2009 Oct 27 5:18 AM
‎2009 Oct 27 5:21 AM
‎2009 Oct 27 5:22 AM
Hi,
Just create a selection screen in the TOP include like this
SELECTION-SCREEN BEGIN OF SCREEN 1001.
SELECT-OPTIONS: s_vkorg FOR vbak-vkorg.
SELECTION-SCREEN END OF SCREEN 1001.
You can also create a selection screen as a subscreen
SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
SELECT-OPTIONS: s_vkorg FOR vbak-vkorg.
SELECTION-SCREEN END OF SCREEN 1001.
For this, create a screen 1000, define a subscreen area and call the subscreen 1001 in the flow logic of 1000 as
"In PAI
CALL SUBSCREEN <subscreen_area> INCLUDING <sy-cprog> '1001'.
"In PBO
CALL SUBSCREEN <subscreen_area>.
If you want it on a Layout screen, then you could create two I/O fields, name them as SO_VBELN-LOW and SO_VBELN-HIGH.
Define RANGES for these and then use them as select options.
‎2009 Oct 27 5:49 AM
Hi Nitwick ,
Thanks for Reply
i did the same thing but it thorows some error
Error when generating the selection screen "<Sub screen no>" of report
can u please give some suggestion
Thanks
Surendra Reddy
‎2009 Oct 27 6:10 AM
‎2009 Oct 27 1:11 PM
‎2009 Dec 30 3:53 AM
Dear Sir,
Can you tell me how u inserted in select-options in module pool.
Regards,
Pradeep
‎2009 Dec 30 6:50 AM
Dear Pradeep
Please take a look at below code
jus copy this and execute it create a select options in Module pool
SELECTION-SCREEN BEGIN OF SCREEN 100 .
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS S_VBELN FOR VBAP-VBELN.
PARAMETER P_WERKS LIKE VBAP-WERKS.
SELECT-OPTIONS S_ERDAT FOR VBAP-ERDAT.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN END OF SCREEN 100.
Thanks
Surendra