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: 

HEADER TEXT IN ALV

Former Member
0 Kudos

hi all,

I am unable to get the header in my alv report.

can any body let me know where it went wrong.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

How are you trying to get the header on the ALV? Are you talking about the text that needs to be printed on the top of the page ?

If you need that then create a subroutine say TOP_OF_PAGE and assign it to the parameter i_callback_top_of_page of the function module REUSE_ALV_GRID_DISPLAY and in the subroutine call the function module REUSE_ALV_COMMENTARY_WRITE.

Populate the internal table with the contents to be displayed and pass to the function module.

Make sure to pass the program name in the parameter i_callback_program of the fm REUSE_ALV_GRID_DISPLAY.

Regards,

Sachin

4 REPLIES 4

Former Member
0 Kudos

Hello,

How are you trying to get the header on the ALV? Are you talking about the text that needs to be printed on the top of the page ?

If you need that then create a subroutine say TOP_OF_PAGE and assign it to the parameter i_callback_top_of_page of the function module REUSE_ALV_GRID_DISPLAY and in the subroutine call the function module REUSE_ALV_COMMENTARY_WRITE.

Populate the internal table with the contents to be displayed and pass to the function module.

Make sure to pass the program name in the parameter i_callback_program of the fm REUSE_ALV_GRID_DISPLAY.

Regards,

Sachin

0 Kudos

Thanks Sachin,

Its get resolved.

Danish
Explorer
0 Kudos

Hi Ravi,

Can you copy your code here so i can see where exactly you went wrong.

Cordially,

Danish

Former Member
0 Kudos

Hi Danish,

I have worked with ALV Grid report in that I have displayed text in the header and Logo.

my issue is already resolved then also I am asking you for future reference what I was asking is is it possible that can I display logo of my client using BLOCKED ALV

thanks and regards