plz listen carefully sir,in alv reports how i insert logo
into alv grid(if it is tcode 'oaer' )?tell me procedure,
in the same report how insert background logo tell me the
procedure please?
Answer Posted / ashokreddy
hi,
for displaying LOGO in ALV GRID CONTROL, we work with
Predefined global class. CL_GUI_ALV_TREE_SIMPLE. FOR
displaying LOGO. AND we use CL_GUI_CUSTOM_CONTAINTER for
identifies the location where we r goinh to display.
DECLARATIONS;
TYPE-POOLS: SDYDO, SLIS.
DATA: L_LOGO TYPE SDYDO_VALUE," FOR DISPLAYING LOGO
L_LIST TYPE SLIS_T_LISTHEADER. " FOR LIST HEADING
DATA: LOGO TYPE SCRFNAME VALUE 'SLOGO',
CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
LOGO1 TYPE REF TO CL_GUI_ALV_TREE_SIMPLE.
** CREATE INSTANCE FOR ABOVE DEFINED CLASSES IN PBO EVENT
OF SCREEN FLOW LOGIC.
IF CONTAINER IS INITIAL.
CREATE OBJECT CONTAINER EXPORTING CONTAINER_NAME =
LOGO.
CREATE OBJECT LOGO1 EXPORTING I_PARENT = CONTAINER.
*** NOW CALL THE METHOD FOR DISPLAYING LOGO IN GRID CONTROL
CALL METHOD LOGO->'CREATE_REPORT_HEADER'
EXPORTING
I_LIST_COMMENTARY = L_LIST
I_LOGO = ' ' " HERE PASS WHERE LOGO EXISTING.
THE ABOVE METHOD EXISTING
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the function of a data element? : abap data dictionary
If a table that is to be extended contains a long field, we cannot use append structures why? : abap data dictionary
How many types of tables exist and what are they in data dictionary?
Explain what is the difference between primary key and unique key?
1 . how do u design technical documentation in abap ? 2 . what u currently devloped in sap abap ?
What are screen painter and menu painter? : abap hr
What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary
What are the Synchronous and asynchronous methods in bdc ?
What is an update task?
Explain the differences between interactive and drill down reports?
List the various components of the enterprise structure in systems, applications, and products (sap) in human capital management (him)? : sap abap hr
How can I get ascii value of any letter? Is there any function?
how to genernate 21 sencondary index
What are field symbols?
Have you processed BDCs ?