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: 

Dynamic Top Of Page

Former Member
0 Kudos

Hi all,

I have a report in which there are three buttons on the ALV which I am getting as output.

The issue is user needs description of the button which he has clicked as top of page.

How can I do this?

1 ACCEPTED SOLUTION

former_member195402
Active Contributor
0 Kudos

Hi Yash.

To display header information you can use an easy-splitter-container. Put your header document information into the top-left-container and your grid data into bottom-right-container.

After a button is pressed, event user_command is pressed, where you can refresh your header document data.

There should be some samples here in SCN.

Regards,

Klaus

6 REPLIES 6

davis_raja
Active Participant
0 Kudos

Use SY-UCOMM to get the button you have clicked, then give the description based on the button clicked.

0 Kudos

I have used grid display function module  just for once.

I am refreshing the ALV through a method.

But dont have the idea how I can dynamically display the top of page.

0 Kudos

Solved. Added code on the sy-ucomm event for particular top of page.

former_member195402
Active Contributor
0 Kudos

Hi Yash.

To display header information you can use an easy-splitter-container. Put your header document information into the top-left-container and your grid data into bottom-right-container.

After a button is pressed, event user_command is pressed, where you can refresh your header document data.

There should be some samples here in SCN.

Regards,

Klaus

0 Kudos

Hi Yash,

I forgot to say, that you can also try function module REUSE_ALV_COMMENTARY_WRITE. I don't know, if a refresh will be successful, but it's more easy to do.

Regards,

Klaus

0 Kudos

Thanks a lot Klaus Babl 🙂