Alv Grid Control

Páginas: 54 (13454 palabras) Publicado: 12 de marzo de 2013
An Easy Reference for ALV Grid Control

SDN Community Contribution (This is not an official SAP document.)

Disclaimer & Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP willnot be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between thecontent within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

© 2005 SAP AG

1

An Easy Reference for ALV Grid Control
Applies To:
ALV Grid control can be used as of release 4.6C. Besides consider the following official note while utilizing this control:SAP does not guarantee that the methods, events and attributes of this class that are not public will remain unchanged or will be available in future releases. This is why you should not derive the class to access protected objects of the class. Using these objects makes it more difficult to upgrade to subsequent releases.

Summary
Purpose of this tutorial is to provide an easy and quickreference which may be used as a guide while coding to build lists using ALV Grid Control. Actually, there is easy-to-reach information about implementing ALV Grid lists. However, it is generally required to find the information sought in a quicker way. This tutorial handles this, being a condensed source which can be used as a “guide”. It will not deal with the technical infrastructure on which ALVlays. Some of the tables are taken from the online SAP Library which is the most trustable source about the topic. Shortly, this will be a booklet summarizing major capabilities of the ALV Grid Control. To get deep into the ALV Grid control, you can refer to the standard SAP course “BC412 – ABAP Dialog Programming Using EnjoySAP Controls” and the book “Controls Technology”. Also you had betterinspect demo programs. By: Serdar ŞİMŞEKLER Company and Title: Havelsan Inc., SAP Application Developer Date: 24 Oct 2004 Updated on 27 June 2005 Updated on 16 August 2005

Prerequisites
To use ALV Grid Control in a simple manner, it will be sufficient just having experience on dialog programming. However, to make use of more capabilities, it is required some knowledge on objectoriented perspectiveof ABAP programming. A general knowledge on control framework is supposed to exist.

© 2005 SAP AG

2

An Easy Reference for ALV Grid Control

Table of Contents

DISCLAIMER & LIABILITY NOTICE APPLIES TO: SUMMARY PREREQUISITES TABLE OF CONTENTS INTRODUCTION BUILDING BLOCKS GENERAL SCHEME BUILDING FIELD CATALOG STRUCTURE OF A FIELD CATALOG BUILDING FIELD CATALOG MANUALLY BUILDING FIELDCATALOG SEMI-AUTOMATICALLY LAYOUT ADJUSTMENTS PRINTING ADJUSTMENTS EXCLUDING UNWANTED STANDARD FUNCTION BUTTONS NON-EVENT BASED ADDITIONAL FUNCTIONALITIES CHANGING FIELD CATALOG OR LAYOUT AFTER FIRST DISPLAY SETTING SORT CONDITIONS FILTERING MAKING SELECTIONS RETRIEVING AND SETTING SCROLL STATUS INFO COLORING COLORING AN ENTIRE COLUMN COLORING AN ENTIRE ROW COLORING INDIVIDUAL CELLS INSERTINGHYPERLINKS MAKING FIELDS AS DROPDOWN LISTS MANAGING DISPLAY VARIANTS

1 2 2 2 3 5 5 5 12 12 15 16 18 21 22 23 23 24 25 25 27 27 27 28 28 29 31 33

© 2005 SAP AG

3

An Easy Reference for ALV Grid Control
EVENT BASED ADDITIONAL FUNCTIONALITIES GENERAL SCHEME FOR THE EVENT HANDLER CLASS HOTSPOT CLICKING DOUBLE CLICKING PUSHBUTTONS ON THE LIST ADDING YOUR OWN FUNCTIONS OVERRIDING STANDARD...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • CONTROL Y MONITOREO DE SMART GRID
  • Grid
  • Grid
  • Grid
  • Foda Alv
  • Grid gerencial
  • grid gerencial
  • Clusters y grid

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS