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 - Layout for header and item level data

Former Member
0 Likes
1,022

Experts,

A program extracts complete sales order details (including item level data) in ALV format. Now, during display, if anyone changes the layout to have only header level fields, I would like the duplicate records created by item data to go away. Would you know how to accomplish this?

Any help would be rewarded with points.

UV

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
825

Hello,

Try to create a button on the PF-STATUS, name it as "only header info" and when clicking on the button take the internal table, sort it and then delete adyacent duplicates.

Bye

Hope this helps!!!

Bye

Gabriel P-

Experts,

A program extracts complete sales order details (including item level data) in ALV format. Now, during display, if anyone changes the layout to have only header level fields, I would like the duplicate records created by item data to go away. Would you know how to accomplish this?

Any help would be rewarded with points.

UV

4 REPLIES 4
Read only

Former Member
0 Likes
826

Hello,

Try to create a button on the PF-STATUS, name it as "only header info" and when clicking on the button take the internal table, sort it and then delete adyacent duplicates.

Bye

Hope this helps!!!

Bye

Gabriel P-

Read only

0 Likes
825

Thanks Gabriel.

Is there a way to do it as in std. report VA05 (without buttons)?

UV

Read only

0 Likes
825

Hello,

You can do it instead of adding a button on the ALV, on the selection screen add a radiobutton asking what information is required.

Header Information

Detailed Information

Or something like that

Bye

Gabriel P

Read only

Former Member
0 Likes
825

hi check the function module..

REUSE_ALV_HIERSEQ_LIST_DISPLAY

regards,

venkat