ALV GRID CONTROL
A. Introduction
Here is the definition for ALV from SAP Help:
“The ALV Grid control is a flexible tool for displaying lists. The tool provides common list operations as generic functions and can be enhanced by self-defined
options.” The ALV Grid control is used to build non-hierarchical, interactive, and modern-design lists. As a control, it is a component that is installed on the local PC.
The ALV Grid control provides typical list functions as sorting, filtering, summing, etc.,while also gives the opportunity to develop user functions where needed. It presents numerous interfaces like Excel Inplace and Crystal Reports. The wrapper class implemented to encapsulate ALV Grid functionality is “CL_GUI_ALV_GRID”. There is another way to display lists with ALV utilizing “REUSE_ALV...” functions. However, that way is not comprised in this tutorial.
A. Introduction.........................................................1
B. Building Blocks.....................................................1
B.1. General Scheme
B.2. Building Field Catalog
B.2.1. Structure of a Field Catalog
B.2.2. Building Field Catalog Manually
B.2.3. Building Field Catalog Semi-Automatically
B.3. Layout Adjustments
B.4. Printing Adjustments
B.5. Excluding Unwanted Standard Function Buttons
C. Non-Event Based Additional Functionalities ...................................18
C.1. Changing Field Catalog or Layout after First Display
C.2. Setting Sort Conditions
C.3. Filtering
C.4. Making Selections
C.5. Retrieving and Setting Scroll Status Info
C.6. Coloring
C.6.1. Coloring an Entire Column
C.6.2. Coloring an Entire Row
C.6.3. Coloring Individual Cells
C.7. Inserting Hyperlinks
C.8. Making Fields as Dropdown Menus
C.9. Managing variants
D. Event Based Additional Functionalities.................................28
D.1. General Scheme for the Event Handler Class
D.2. Hotspot Clicking
D.3. Double Clicking
D.4. Pushbuttons On The List
D.5. Adding Your Own Functions
D.6. Overriding Standard Functions
D.7. Context Menus
D.8. About printing
D.9. Making ALV Grid Editable
D.10. Controlling Data Changes
D.11. Linking F1 Help to Fields
D.12. Linking F4 Help to Fields
E. A Piece of Troubleshooting...........................................38
Download attached file: You must be Loged in to download file