Select Options in Module Pool Program
Select Options in Module Pool Program
HOME BASICS STATEMENT CONTROL BREAK DATABASE QUERY ADVANCE ABAP DOWNLOAD APPLICATION
SUBSCRIBE
Select Options in Module Pool Program LearnSapAbap
2:29 PM YouTube 5K
SLIDEBAR
Step-4 Inside the screen create a sub screen by using the sub screen tool bar. There is no
need to create that sub screen separately.
Discover more Database SAP
Step-5 In the Top Include mention the select option like below:
SAP ERP
TABLES mara.
ABAP Development for SAP HANA
DATA: ok_code TYPE sy-ucomm.
ABAP for Hana
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECT-OPTIONS s_matnr FOR mara-matnr.
SELECTION-SCREEN END OF SCREEN 100.
Step-6 Now write the code in the flow logic of the screen 9000. In PBO we are calling sub
screen 'SEL' which is including the program name with the sub screen number '100'
After that we have to call sub screen 'SEL' at first in the PAI block. If here it is not
declared then the Select Option will remain blank.
Step-7 After that create the GUI status and PF status in the PBO module.
Step-8 Next in PAI module mention the code shown below:
https://www.learnsapabap.com/2017/09/select-options-in-module-pool-program.html 1/3
9/26/25, 12:22 AM Select Options in Module Pool Program - LearnSapAbap
3 0 2
5 4
CASE ok_code. .
WHEN 'BACK'. 4
PERFORM leave.
WHEN 'EXIT'.
PERFORM leave.
WHEN 'CANCEL'.
PERFORM leave.
ENDCASE. SUBSCRIBE
Step-9 Next declare the subroutine in INCLUDE zsandip_f01 and mention the following
code:
Subscribe via Email
Enter email address he Submit
LEAVE TO SCREEN 0.
LEAVE LIST-PROCESSING.
Step-10 Finally create a transaction code (here zsr_mod) and run that by separately.
Layout is as follows (to view large click on the figure): POPULAR POSTS
Extra Programs
4 0 6 0
(to view large click on the figure):
RELATED POSTS
PREVIOUS NEXT
Check Boxes and Push Buttons Simple Table Control
POST A COMMENT
No comments
https://www.learnsapabap.com/2017/09/select-options-in-module-pool-program.html 2/3
9/26/25, 12:22 AM Select Options in Module Pool Program - LearnSapAbap
To leave a comment, click the button below to sign in with Google.
Extra Programs
ABAP For Iteration with Where
condition | For Statement with
Where clause | For syntax with
Where condition
April 25, 2020 Object Oriented ABAP - Events
https://www.learnsapabap.com/2017/09/select-options-in-module-pool-program.html 3/3