02 ALV Exercises

2
 ECC 6.0 Exercises: ABAP List Viewer SAP Development ABAP Training Capter ! Exercise !.! Create a program that uses REUSE_ALV_LIST_DISPLAY function modue to sho! Airine and "ight Schedue from SCARR #Airine$ and SP"LI #"ight schedue$% &% Popuate the "ied Cataog 'efore caing the A VL List dispa( function modue% )% Dispa( the foo!ing coumns in the output% Exercise !." Create a program that uses REUSE_ALV_*RID_DISPLAY function modue to sho! the content of YC+,CERT ta'e% Structure for YC+,CER T ta'e shoud 'e 'uid !ith the foo!ing fieds-   Carrid  carrname connid cit(from airfrom cit(to airpto arrtime distance distid &% .odif( the program so that the report dispa(s a tite /Concert Information0 as report tite% )% Change the d ispa( position of CDAT E as coumn & and ART IST as coumn )% 1% Do not sho! the coumn .A2SEATS in the output% 3% +ptimi4e !idth of the output co umns% Dec5)667 Page &

description

02 ALV Exercises

Transcript of 02 ALV Exercises

ALV Exercises

ECC 6.0

Exercises: ABAP List Viewer

SAP Development ABAP Training

Chapter 1Exercise 1.1Create a program that uses REUSE_ALV_LIST_DISPLAY function module to show Airline and Flight Schedule from SCARR (Airline) and SPFLI (Flight schedule).1. Populate the Field Catalog before calling the AVL List display function module.

2. Display the following columns in the output.

Exercise 1.2 Create a program that uses REUSE_ALV_GRID_DISPLAY function module to show the content of YCONCERT table. Structure for YCONCERT table should be build with the following fields: Carridcarrnameconnid cityfrom

airfromcityto airpto arrtime

distancedistid

1. Modify the program so that the report displays a title Concert Information as report title.

2. Change the display position of CDATE as column 1 and ARTIST as column 2.

3. Do not show the column MAXSEATS in the output.4. Optimize width of the output columns.

Dec-2008Page 1