|
<< Click to Display Table of Contents >> Navigation: All About ABAP Technique > English > ABAP Report > ALV > ALV Grid > Report (502) - Create Simple ALV Grid Report |
Objective |
|
Transaction Code |
|
Tables |
MARA - General Material Data MAKT - Material Descriptions T006A - Assign Internal to Language-Dependent Unit |
Support |
1.Open SE38
2.Copy Program "YPRACTICE_501" to "YPRACTICE_502"
3.Select All Object

4.Click "
"
5.Copy include program with name "YPRACTICE_502_ALV"

6.Click "
" and then save the program
7.Change Program "YPRACTICE_502"
8.Open Goto > Attributes, and change Title with "502 - Display List of Master Material"
9.Modified Report Declaration
Before
REPORT ypractice_501.
After
REPORT ypractice_502.
10.Double click "YPRACTICE_502_ALV" at this source code bellow
...
TABLES : mara, makt, t006a.
INCLUDE YPRACTICE_502_ALV.
*INCLUDE ypractice_501_alv.
*----------------------------------------------------------------------*
*GLOBAL VARIABLE DECRALATION
*----------------------------------------------------------------------*
TYPES: BEGIN OF ty_header,
...
11.Rename Function name of "REUSE_ALV_LIST_DISPLAY" to "REUSE_ALV_GRID_DISPLAY"
Before
...
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
..
After
...
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
...
12.Activated all Object and run

14.Finished
▪Input Selection

▪Output
