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

ALV query

Former Member
0 Likes
700

Hi Folks,

I wanted to know is there a way where we can display 2 data in a cell, in ALV Report. I mean if I want to display Price and below Date in one cell. If so, please can also give some example of doing it.

Regards,

Tim

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
665

Hi.

Not in one cell. But you can do it in 2 rows. Will that do ?

If that should do, in the field catalog, set the row_pos = 2 for the date field..

fieldcatalog-row_pos = 2.

Remember 2 reward suitable points if thsi post answered ur question.

Rgds,

Prashanth.

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
665

Hi,

just create a CHAR 20 and use CONCATENATE ...

Read only

0 Likes
665

Hi Frederic

Could you tell me in more detail how do u do it? if I take the CHAR20 and concatenate it will merge the 2 field values in a cell of ALV grid? can u show me the sample code for the same.

Regards,

Tim

Read only

Former Member
0 Likes
666

Hi.

Not in one cell. But you can do it in 2 rows. Will that do ?

If that should do, in the field catalog, set the row_pos = 2 for the date field..

fieldcatalog-row_pos = 2.

Remember 2 reward suitable points if thsi post answered ur question.

Rgds,

Prashanth.

Read only

0 Likes
665

Hi Prasanth,

Thanks for that simple solution. But my requirement is not that simple. I am triyng to look for the situation where I can feed 2 different data in one cell, just one below the other. Is it possible ?

Regards,

Read only

0 Likes
665

To answer your question directly, the answer is no, you can not have 2 rows in a cell of an ALV.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
665

Hi Tim,

No. It is not possible to have 2 data in a single cell.

What I earlier suggested was a work around.. of having it in 2 different rows.

Kindly reward points if this post has answered ur question.

Rgds,

Prashanth.