Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Display

Former Member
0 Kudos
67

Hi Experts,

Is it possible to display data horrizontally in an alv report. I mean to say that the field headings are at the top and the data is being shown from top to bottom, however I require the fields to be at the left hand side of the display and the data to be displayed horizontally.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
51

Define an internal table structure with the first column CHAR(30) for the titles, then subsequent columns of appropriate type for data values. Fill the table in the way you want the data to show in the report, and then display the ALV with no headings on columns and with the first column as a "Key" so it does not scroll.

If different formats of data need to go in a single column position, define it as type CHAR of appropriate length, and WRITE the different values to it with appropriate formatting.

You lose a lot of the functionality of the ALV (Sorts, Totals, etc) but get the layout you want. Also cannot display a lot of data due to number of columns / width restrictions.

Andrew

2 REPLIES 2

Former Member
0 Kudos
52

Define an internal table structure with the first column CHAR(30) for the titles, then subsequent columns of appropriate type for data values. Fill the table in the way you want the data to show in the report, and then display the ALV with no headings on columns and with the first column as a "Key" so it does not scroll.

If different formats of data need to go in a single column position, define it as type CHAR of appropriate length, and WRITE the different values to it with appropriate formatting.

You lose a lot of the functionality of the ALV (Sorts, Totals, etc) but get the layout you want. Also cannot display a lot of data due to number of columns / width restrictions.

Andrew

0 Kudos
51

Hi Andrew, thankx for useful info, however this is my first alv report. Can u provide me sample code to support ur view.

Regards,

Tushar Gupta