Monday, December 20, 2010
Define Selection-screen as subscreen and call that subscreen in the flow logic of the Screen.
Steps to get SELECT-OPTIONS in module pool programs.
Steps to get SELECT-OPTIONS in module pool programs.
- Start one dialog program with SAPZ_TEST.
- Place the below code in the TOP include of the dialog program.
TABLES mara. SELECTION-SCREEN BEGIN OF SCREEN 2100 AS SUBSCREEN. SELECT-OPTIONS: matnr FOR mara-matnr. SELECTION-SCREEN END OF SCREEN 2100.
- Create one screen 2000 .
- Go to Layout of the screen and Define subscreen area on the screen and Name it as g_subscreen. Place the below code in the Flow logic of the screen.
PROCESS BEFORE OUTPUT. CALL SUBSCREEN g_subscreen INCLUDING 'SAPMZ_TEST' '2100'. PROCESS AFTER INPUT. CALL SUBSCREEN g_subscreen.
- Activate all.
- Create Transaction code for the dialog program SAPZ_TEST.
- Execute the transaction code. You will see the select-option like we see on Selection-screen.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
1.what is the differnce between refresh and clear and reset?.
ReplyDelete2. what is the differnce between update and modify?