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: 

Displaying the company logo onto alv report

Former Member
0 Kudos

Hi Guys,

I have uploaded my company logo into alv function module using Transaction code OMER , pictures,givving path ....etc...............

Now how can i display that Logo into my report

I'm using Function module "Reuse_alv_commentary_write"

please give me all the parameters and data declarations to display the logo and the concern report details...

Thanx in Advance......

2 REPLIES 2

Former Member
0 Kudos

In your ALV program, you need to have event for TOP_OF_PAGE, and also this works only in case of Grid not in ALV LIST.

Look at the sample code to display LOGO.

call function 'REUSE_ALV_GRID_DISPLAY'

exporting

i_callback_program = i_repid

it_fieldcat = header

is_layout = gt_layout

i_callback_top_of_page = 'TOP-OF-PAGE1'

i_grid_title = xyz

it_sort = gt_sort[]

i_default = 'X'

i_save = 'U'

is_variant = gt_variant

it_events = gt_events

tables

t_outtab = t_output.

-


Form TOP-OF-PAGE1

call function 'REUSE_ALV_COMMENTARY_WRITE'

exporting

it_list_commentary = header

i_logo = 'ENJOYSAP_LOGO'.

ENdform

Former Member
0 Kudos

Hi,

The fallowing link will help you for the declarations and for getting logo.

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=77989234

Regards,

Shirisha