Upload
brasantos
View
222
Download
0
Embed Size (px)
Citation preview
8/9/2019 Incluir Logo Alv Grid
1/3
Add Title heading to ALV Grid incluing
image or logo
In order to insert a report headingin to the ALV grid you need to perform the following
steps:
Step 1.Update 'REUSE_ALV_GRI_IS!LA"' #$ %all to in%lude 'top&of&page'
#R$
Step 2.(reate 'top&of&page' #R$
)he *elow %ode also shows you how to add a image to your ALV report+
call function 'REUSE_ALV_GRID_DISPLAY'
exporting i_callback_progra ! g"_repi" i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM i#_la$out ! g"_la$out it_%el"cat ! %el"catalog& i_#a(e ! ')' table# t_outtab ! it_ekko exception# progra_error ! * ot+er# ! ,-.///////////////////////////////////////////////////////////.. 0or 12P/20/PAGE .
.///////////////////////////////////////////////////////////.
. ALV Report 3ea"er .
.///////////////////////////////////////////////////////////.0or top/of/page-.ALV 3ea"er "eclaration#"ata4 t_+ea"er t$pe #li#_t_li#t+ea"er5 6a_+ea"er t$pe #li#_li#t+ea"er5 t_line like 6a_+ea"er/info5 l"_line# t$pe i5 l"_line#c7*89 t$pe c-
. 1itle 6a_+ea"er/t$p ! '3'-
6a_+ea"er/info ! 'E::2 1able Report'- appen" 6a_+ea"er to t_+ea"er- clear 6a_+ea"er-
. Date 6a_+ea"er/t$p ! 'S'- 6a_+ea"er/ke$ ! 'Date4 '- ;2
8/9/2019 Incluir Logo Alv Grid
2/3
l"_line#c ! l"_line#- concatenate '1otal
8/9/2019 Incluir Logo Alv Grid
3/3
Step - "ou will then see a file sele%tion window where you %an sele%t a %ompati*le
image from your !( 6i+e+ +gif7+*mp7+png et%8
Step ! - Enter a des%ription and press the green ti%4+ A message should *e displayed
%onfirming your a%tion
Step " - "ou should now see your image in the E13"SA!_LG7S(REE17 folder
Step # -1ow where,er you use the E13"SA!_LG referen%e su%h as on your ALV
report you should see your new logo+
3ust a note2 there must *e a way to %reate new ones of these rather than %hanging this
e0isting one *ut I am not sure how at the moment+ I tried the %reate *utton *ut doesn5t
seem to do anything2 unless it5s some 4ind of authorisation issue+
Sorted it$I ha,e now wor4ed out how to %reate a new entry within the !I()URES%lass for your images+ )he method is not ,ery o*,ious *ut on%e you 4now now2 it is
,ery easy to do+ See 9EREfor simple step *y step information on how to upload new
ALV header images,ia transa%tion AR
http://www.sapdev.co.uk/reporting/alv/oaor-new-image.htmhttp://www.sapdev.co.uk/reporting/alv/oaor-new-image.htmhttp://www.sapdev.co.uk/reporting/alv/oaor-new-image.htmhttp://www.sapdev.co.uk/reporting/alv/oaor-new-image.htm