Ads

SAP ABAP ALV Reports Data Declaration Steps

SAP ABAP ALV Reports Data Declaration Steps

As a ABAP consultant,while learning ALV reports ,you should be start with data declaration steps ,after learning this first step ,you can start creating simple ALV report,here we will learn ,how to declare data in ALV reports code.

Step 1: DATA DECLARATION

Example:

Step 2: Selecting the variants(Optional)

Step 3: (Defining Output Characteristics)

Step 4: (Build up events table)

Step 5: (Report Output list description)

Step 6: (Pass Selection-screen Information)

Step 7: (Deciding Sort Criteria)

Step 8: (Final Step)

Example:

Step 1: ALV Report DATA DECLARATION
Sap standard type pools:  SLIS, KKBLO.
 Sap standard tables types taken from the type pools are: 
SLIS_LAYOUT_ALV,
SLIS_T_FIELDCAT_ALV
SLIS_T_LISTHEADER,
SLIS_T_EVENT,
SLIS_SELFIELD.
 Internal tables to be used in the program declared based on the above table types
DATA:   I_LAYOUT                     TYPE SLIS_LAYOUT_ALV,
            I_FIELDTAB                  TYPE SLIS_T_FIELDCAT_ALV,
            I_HEADING                   TYPE SLIS_T_LISTHEADER,
I_EVENTS                     TYPE SLIS_T_EVENT.


in next class,we will learn more on ALV Reports.

Comments

Popular posts from this blog

BADI Interview Questions in SAP ABAP

Sample SAP ABAP Programming Examples for Practice

Module Pool Programming Interview Questions and Answers in SAP ABAP

Step by Step tutorial on BDC Session Method Program in SAP ABAP

SAP ABAP Interview Questions and Answers for 10 Years Experienced