2007 Sep 18 7:28 AM
hai ,
what field must be entered in tcode oaer to display logo & where to give the path of logo & how to import standard logo
2007 Sep 18 7:42 AM
) Go to transaction OAOR, give the class name created.
2) Give class type as OT
3) Give some name in object key its like sub folder
Click on create drag down standard doc types will get no. of option chose one.
Click on create drag down standard doc types will get no. of option chose one
By double clicking on screen you can browse the folder where image is located and select
Once the image is selected it will be stored in the folder that is created with object key
2007 Sep 18 11:09 AM
Hi Swathi,
FOR EG:
Go to Tcode OAOR give class name pictures and class type ot and go for execute and u find some logos in that choose what u want and give that name in FM parameter ( i_logo = 'ENJOYSAP_LOGO')
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
i_logo = 'ENJOYSAP_LOGO'
it_list_commentary = top_of_page.
*
if sy-subrc <> 0.
*
endif.
if u want BAck ground also use Parameter in this way
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = w_repid
i_callback_top_of_page = 'TOP_OF_PAGE'
is_layout = wa_layout
it_fieldcat = it_fldcat_head
i_background_id = 'ALV_BACKGROUND'
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
********************************************************
*--alv type declaration
type-pools: slis.
*--type declarations for field catalog for basic report
<b>data: it_fldcat_head type slis_t_fieldcat_alv,
wa_fldcat_head type slis_fieldcat_alv.</b>
data : w_field type slis_fieldcat_alv. "#EC NEEDED
*--type declarations for layout design
data: wa_layout type slis_layout_alv.
<b>*--type declarations for list header on grid
data: top_of_page type slis_t_listheader.</b>
<b>*form comment_build using top_of_page type slis_t_listheader.
*
data: ls_line type slis_listheader.
*
****Header
clear : ls_line.
ls_line-typ = 'H'.
*
LS_LINE-KEY: not used for this type
*
ls_line-info = 'ASSET MASTER DATA LIST'.
append ls_line to top_of_page.
*
****Selection
*
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = 'Key 1'(072).
ls_line-info = 'Asset Records'(071).
append ls_line to top_of_page.
*
****Action
*
clear ls_line.
ls_line-typ = 'A'.
*
LS_LINE-KEY: not used for this type
*
ls_line-info = 'for AS91'(070).
append ls_line to top_of_page.
*
*endform. "comment_build</b>
FORM top_of_page
<b>
*form top_of_page.
*
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
i_logo = 'ENJOYSAP_LOGO'
it_list_commentary = top_of_page.
*
if sy-subrc <> 0.
*
endif.
*
*
*endform. "top_of_page</b>
<b>form list-display.
wa_layout-colwidth_optimize = 'X'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = w_repid
i_callback_top_of_page = 'TOP_OF_PAGE'
is_layout = wa_layout
it_fieldcat = it_fldcat_head
i_background_id = 'ALV_BACKGROUND'
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2.</b>
if sy-subrc <> 0.
endif.
endform. " LIST-DISPLAY
****************************************
check the bold one u have to maintain like this in ur code
*********
Reward points if helpful.
Thanks
Naveen khan
Message was edited by:
Pattan Naveen