Tuesday, January 18, 2011
In the GUI status of the selection screen set by the system, the application toolbar contains five inactive pushbuttons, to which the function codes FC01 to FC05 are assigned. This statement activates the pushbutton of the function code FC0n, whereby a value between 1 and 5 must be entered for n.
To enable use of the pushbuttons, the statement TABLES must be used to declare an interface work area of the structure SSCRFIELDS from the ABAP Dictionary.
To activate pushbuttons on the selection screen, Please follow the sample program.
To enable use of the pushbuttons, the statement TABLES must be used to declare an interface work area of the structure SSCRFIELDS from the ABAP Dictionary.
To activate pushbuttons on the selection screen, Please follow the sample program.
REPORT ztest_notepad. "This declaration must be there. TABLES: sscrfields. SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME. PARAMETERS: p1(10), p2(10). SELECTION-SCREEN SKIP. SELECTION-SCREEN END OF BLOCK block1. "Add button to application toolbar SELECTION-SCREEN FUNCTION KEY 1. "Will have a function code of 'FC01' INITIALIZATION. "Add displayed text string to buttons MOVE 'Application button' TO sscrfields-functxt_01. *AT SELECTION-SCREEN. AT SELECTION-SCREEN. IF sscrfields-ucomm = 'FC01'. BREAK-POINT. ENDIF.
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
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.