SAP Database

SAP Certification, Ebooks, PDF’s, Articles, News, Tips and Tricks
Bookmark : Del.icio.us | Digg it | StumbleUpon

Online Resources on Certification, Learning, Ebooks, PDF's, Programs, Articles, Tips & Tricks, CBT's and News on SAP.

SAP Forums
SAP Forums - Get your SAP Issues resolved.
Write on this blog - Showcase your talent and make your ideas reach thousands.

ALV Grid Control

Written by rajivsharma.sap on May 2nd, 2008 | Filed under: SAP General

An easy reference for ALV Grid Control.

Download from Rapidshare or Mediafire.

Course Overview

Table of Contents

Purpose………………………………………………………………………………………………………….1
Prerequisites…………………………………………………………………………………………………..1
A. Introduction……………………………………………………………………………………………….1
B. Building Blocks…………………………………………………………………………………………..1
B.1. General Scheme……………………………………………………………………………………..2
B.2. Building Field Catalog……………………………………………………………………………7
B.2.1. Structure of a Field Catalog………………………………………………………………7
B.2.2. Building Field Catalog Manually………………………………………………………9
B.2.3. Building Field Catalog Semi-Automatically……………………………………..10
B.3. Layout Adjustments……………………………………………………………………………..12
B.4. Printing Adjustments…………………………………………………………………………….14
B.5. Excluding Unwanted Standard Function Buttons……………………………………..15
C. Non-Event Based Additional Functionalities……………………………………………..16
C.1. Changing Field Catalog or Layout after First Display……………………………….16
C.2. Setting Sort Conditions…………………………………………………………………………16
C.3. Filtering………………………………………………………………………………………………17
C.4. Making Selections………………………………………………………………………………..18
C.5. Retrieving and Setting Scroll Status Info…………………………………………………19
C.6. Coloring………………………………………………………………………………………………19
C.6.1. Coloring an Entire Column……………………………………………………………..20
C.6.2. Coloring an Entire Row…………………………………………………………………..20
C.6.3. Coloring Individual Cells………………………………………………………………..21
C.7. Inserting Hyperlinks……………………………………………………………………………..22
C.8. Making Fields as Dropdown Menus……………………………………………………….23
C.9. Managing variants………………………………………………………………………………..24
D. Event Based Additional Functionalities……………………………………………………..25
D.1. General Scheme for the Event Handler Class…………………………………………..26
D.2. Hotspot Clicking………………………………………………………………………………….28
D.3. Double Clicking…………………………………………………………………………………..29
D.4. Pushbuttons On The List……………………………………………………………………….29
D.5. Adding Your Own Functions…………………………………………………………………30
D.6. Overriding Standard Functions………………………………………………………………32
D.7. Context Menus…………………………………………………………………………………….32
D.8. About printing……………………………………………………………………………………..33
D.9. Making ALV Grid Editable…………………………………………………………………..34
D.10. Controlling Data Changes……………………………………………………………………35
D.11. Linking F1 Help to Fields……………………………………………………………………36
D.12. Linking F4 Help to Fields……………………………………………………………………37
E. A Piece of Troubleshooting………………………………………………………………………..3

Random Posts



Leave a Reply

  • Sponsers

  • AMAZON Books


Warning: stristr() [function.stristr]: Empty delimiter in /home/shiras/public_html/wp-content/plugins/wassup/wassup.php on line 2093