ALV programming for the SAP ABAP Developer Copywrite by Syl …

ALV programming for the SAP ABAP Developer Copywrite by Syl ...Short Description
ALV programming for the SAP ABAP Developer. Copywrite by Syl LaFever 2007. Table of Contents. Introduction. ALV (ABAP List Viewer) is a fantastic tool to …

Website: tidewatersw.net | Filesize: 92kb

Content
ALV programming for the SAP ABAP Developer
Copywrite by Syl LaFever 2007
Table of Contents
Introduction
ALV (ABAP List Viewer) is a fantastic tool to display and manipulate data. This tool is a
collection of function modules which takes the data you develop, and display it to the end user.
He can then sort the data, move columns around, drill down to other transaction, download data,
and otherwise manipulate it. Through this tutorial, you will see many different available ALV
capabilities.
There are many demonstration programs which use ALV (for example, see the BCALV
series of programs). However, none of them approach this tool by giving a step-by-step set of
examples. Additionally, the examples do not use data that the average developer will see. I have
decided to present a series of concepts, programs, and screens which use data that you will find
in any system. The first programs use the material set of data base tables, which are usually
generously populated.Chapter 1: Beginning Concepts
Let’s take a look at writing a very basic ALV program. We will use all of the defaults and see
what ALV gives us automatically.
Program YTSA_ALV_0010.
************************************************************************
* Copyright 11/01/2007 by Syl LaFever *
* Tidewater Software Associates, Inc. *
* Initial Demo of ALV: *
* Build ALV on material table using all defaults *
************************************************************************
REPORT YTSA_ALV_0010.
tables mara.
select-options s_matnr for mara-matnr.
data i_mara like mara occurs 0 with header line.
select * into table i_mara from mara
where matnr > ‘TSA’
and matnr < 'TSB'
and matnr in s_matnr.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_structure_name = 'MARA'
I_grid_title = 'Beginning of ALV Tutorial'
tables
t_outtab = i_mara
exceptions
others = 1.
We will get a screen which displays all of the data in a grid format. See figure 1 below.
With very little technical skill, we have developed a screen presentation of the materials table
(MARA) which the end user can sort, download, etc.
We have taken all of the default settings. This means:
1....

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Mastering SAP NetWeaver XIProgramming
  • Build Flexibility and Control into Your ABAP Programs with Dynamic …
  • Web Programming in ABAP with the SAP Web AS
  • Course Content
  • BC - ABAP Programming
  • RFC Programming in ABAP
  • RFC Programming in ABAP
  • BC400 ABAP Workbench Foundations

  • Related Searches: , , , ,



    Comments

    Leave a Reply