You are on page 1of 3

ALV - Consistency Check

By Agnihotro Sinha

Problem:

Often for our ALV Programs output, we initially get a short dump or no data display or dump during sorting
and rearrangement of columns. These things generally results from wrong design of Field catalog, Layout
or Sorting Tables.

Tracking the error and rectifying the code definitely takes some good amount of efforts incase its a complex
ALV Report.

Solution:

SAP provides quite a simple and convenient way to trace out these errors and eases the task of debugging
by providing a detailed description of the errors and probable solutions.

To use this, press SHIFT + (Double Right Click) on any empty section of the ALV output screen of the
Report as shown below in the output of the sample Report:

The below SAP standard analysis screen opens up. This screen gives a detailed technical report of the
ALV Grid control used in the Report program.
It has different tabs for FieldCatalog, Layout, Sort etc. which when clicked gives individual analysis report.

Example sample:

The example here displays 3 errors in the Report program in the initial display. This screen basically shows
a summary of errors initially. When the buttons for Fcat or Layout are clicked above, individual errors are
displayed then.

The short description of these errors is available along with a long description of selected errors.

Also it displays in tabular format the detailed design of the Fcat, Layout and other tables used to build up
the ALV display. For example, below table shows how I have build my layout in the program.

You might also like