Application Development and Automation 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: 
Read only

multiple line in alv

Former Member
0 Likes
1,642

hi

I want tio create an ALV report as shown in the below link , please explain me

[http://a.imagehost.org/view/0414/asset]

hi

I want tio create an ALV report as shown in the below link , please explain me

[http://a.imagehost.org/view/0414/asset]

9 REPLIES 9
Read only

Former Member
0 Likes
1,227

Hi,

The ALV display an internal table into a grid. You can have one line of an internal table into the grid line. If you want to display the content of an internal table into more than one line, this could not be efficient strict. Instead of this you can use a tricky point. You will copy your internal table context into an other table

table line 1 -


> table line 1

--> table line 2

--> table line 3

table line 2 -


> table line 1

--> table line 2

--> table line 3

Just to be more clear to you. Imagine that you have the material M1 and the total consuption in month jan08 jan09. Create an internal table that will have the structure

Material / (Line Grouping) / Consumption

Where the (Line Grouping) would be the an internal code for you, whitch you could distinct the data that would come from the same data source into more than one lines.

With Regards

George

Read only

Former Member
0 Likes
1,227

is it possible to do with ALV or Should i go for Classical/Interactive reports

Read only

0 Likes
1,227

How to get three headings in a column as shown in the link using ALV

Read only

0 Likes
1,227

no one knows how to get that

Read only

Former Member
0 Likes
1,227

In a simple ALV list you van have 3 line per each item. You can do this with change layout functionality

Read only

Former Member
0 Likes
1,227

For the line item cou can process with the way that I have show you yesterday. But for the Heading, I do not know any solution. If you do not want to have into one line, you should think the classic list layout (ABAP List) and not the interactive ALV.

With Regards

George

Read only

0 Likes
1,227

Hi,

Try tree display.

Regards,

Surendar Reddy.

Read only

Former Member
0 Likes
1,227

hi,

check the below link. it might help you to solve your problem.

[;

Regards

Sunil

Read only

Former Member
0 Likes
1,227

Hi,

I would use the class "CL_SALV_HIERSEQ_TABLE".

Search for "SALV_DEMO_HIERSEQ_*" to find some examples.