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


Please Help Members By Posting Answers For Below Questions

THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM

15761


What are the other modules integrated with om? : sap abap hr

546


what is the t-code to link technical and functional operation?

1976


What does hide statement do?

574


How many primary keys can be created for a table?

618






What are interactive reports?

638


performance tuning concepts

961


Did you create secondary index?

691


What does the ‘suppress dialog’ do?

869


what is abstract classes

878


What is the company code? : sap abap hr

580


when u prefer lsmw?

624


What is the differences between structure and table in data dictionary in abap?

587


What are the events in classical reports?

629


Can you print decimals in type n? What is difference between float and packed data type?

760