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 Question

former_member188001
Active Participant
0 Likes
766

Hello all,

I have ALV Grid output using FM REUSE_ALV_GRID_DISPLAY.

The list I am getting is eg.

Order AdSpec BUnit PDate

10001 1 CLSOTHFRZ 06/30/2009

10001 1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

10003 1 CLSOTHFRZ 06/30/2009

10003 1 CLSOTHFRZ 06/30/2009

10004 1 CLSOTHFRZ 06/30/2009

My requirement is to get the list as below.

Order AdSpec BUnit PDate

10001 1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

10003 1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

10004 1 CLSOTHFRZ 06/30/2009

Let me know how to achieve this.

Regards,

Salil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
734

Best to handle this with a display variant.

Rob

Hello all,

I have ALV Grid output using FM REUSE_ALV_GRID_DISPLAY.

The list I am getting is eg.

Order AdSpec BUnit PDate

10001 1 CLSOTHFRZ 06/30/2009

10001 1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

10003 1 CLSOTHFRZ 06/30/2009

10003 1 CLSOTHFRZ 06/30/2009

10004 1 CLSOTHFRZ 06/30/2009

My requirement is to get the list as below.

Order AdSpec BUnit PDate

10001 1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

10002 1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

10003 1 CLSOTHFRZ 06/30/2009

1 CLSOTHFRZ 06/30/2009

10004 1 CLSOTHFRZ 06/30/2009

Let me know how to achieve this.

Regards,

Salil

5 REPLIES 5
Read only

Former Member
0 Likes
734

as per my understanding Field catalog can not be changed dynamically. If you want to display records in different formats then you need to have char field in the fieldcatalog and data internal table.

Read only

0 Likes
734

In the list given above, the only requirement is, I want the Unique Orders to show. Currently it shows me the duplicate orders as well.

Can we achieve this using layout ?

Read only

Former Member
0 Likes
735

Best to handle this with a display variant.

Rob

Read only

0 Likes
734

Rob,

I am submitting a background job and then sending an email with the list converted to pdf as an attachment.

Can we do this using a display variant even for background job ?

Read only

0 Likes
734

You can pick a display variant in the program, but running ALV grids in the background may not give good results. Maybe try an ALV list instead.

Rob