Anda di halaman 1dari 2

ALV:ABAP List Viewer Its a replacement for write statements .

In list report the output is generated using write statements . ALV is used to genrate the report in list or grid format using different functio n module. In real time we always use ALV reports no more classical report. ALV reports is of tyhree types 1. Normal ALVs : This is generated using function module REUSE_ALV_GRID_DISPLAY : Output is displayed in grid format REUSE_ALV_LIST_DISPLAY : Output is displayed in LIST format THIS WILL DISPLAY OUTPUT OF ONE INTERNAL TABLE 2. BLOCK ALVs: THOIS IS USED TO DISPLAY OUTPUT FROM MORE THAN ONE INTERNAL TABLE IN BLOCK FORMA T. FMs USED ARE 1.1 REUSE_ALV_BLOCK_LIST_INIT 1.2 REUSE_ALV_BLOCK_LIST_APPEND 1.3 REUSE_ALV_BLOCK_LIST_DISPLAY 3. HIERARCHICAL ALVs THIS IS USED TO DISPLAY THE HEADER AND CORRESPONDING ITEM DETAILS. FM USED IS: REUSE_ALV_HIERSEQ_LIST_DISPLAY TYPE-GROUP: TYPE-GROUP IS ONE OF THE DATA DICTIONARY ELEMNT WHICH IS USED TO STORE DATA DEFI NITION , DATA TYPES GLOBALLY. ANYTHING WHICH IS DEFINED AS TYPE GROUP CAN BE ACCESSED INSIDE ANY PROGRAM USING KEYWORD TYPE-POOLS. Q. WHAT IS TYPE GROUP SLIS? SLIS IS A TYPE GROUP WHICH CONTAINS DATA DEFInITIONS AND DATA TYPES RELATED TO A LV . what is a field catalog? sol: field catalog is used to define the properties of the field like field name , field lenghth, column position etc etc The data type associated with fieldcatalog is SLIS_T_FIELDCAT_ALV - Table Type SLIS_FIELDCAT_ALV - Line Type q.How many ways we can prepare the Field cat? sol.3 ways 1. Automatically 2. Manually 3. Semiautomatically AUTOMATICALLY MEANS BY USING I_STRUCTURE_NAME PARAMTER OF RESUE_ALV_GRID_DISPLAY . THE STRUCTURE NAME WHICH IS PASSED SHOULD BE DEFINED IN THE DD. MANUALLY : NOTE: TO HAVE ANY FIELD ON ALV OUTPUT WE NEED TO SPECIFY ATLEAST THE FIELDNAME ,COLUMN POSITION AND FIELD DESCRIPTION IN THE FIELDCAT.

Anda mungkin juga menyukai