How to Dispaly logo with interactive ALv,following code shows error
1. Go to Transaction OAER,
2. Give Class Name as PICTURES
3. Class type as OT
4. Object Key as the name of the Object u want to specify
5. Upon execution you would be prompted to give the file path details. Just upload which ever logo u want to display
6. Now you can use the same name in your ALV FM ---I have uploaded logo1.bmp
following code works well but logo is not displaying,why
REPORT ZGKHRALV1 .
TABLES:PA0000.
type-pools:slis.
DATA:ITAB LIKE STANDARD TABLE OF PA0000,
Header TYPE SLIS_T_FIELDCAT_ALV.
SELECT-OPTIONS:P_PERNR FOR PA0000-PERNR.
SELECT * INTO TABLE ITAB FROM PA0000 WHERE PERNR IN P_PERNR.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE1'
I_STRUCTURE_NAME = 'PA0000'
IT_FIELDCAT = header
TABLES
T_OUTTAB = ITAB.
FORM TOP-OF-PAGE1.
data: header type slis_t_listheader,
wa type slis_listheader.
wa-typ = 'S'.
wa-info = text-h04.
append wa to header.
wa-typ = 'S'.
write sy-datum to wa-info mm/dd/yyyy.
concatenate text-h03 wa-info into wa-info separated by space.
append wa to header.
wa-typ = 'S'.
concatenate text-h02 sy-uname into wa-info separated by space.
append wa to header.
wa-typ = 'S'.
concatenate text-h01 sy-repid into wa-info separated by space.
append wa to header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = HEADER
I_LOGO = 'LOGO1'.
I_END_OF_LIST_GRID =
endform.