Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is synchronous update?

971


I just wanted to know that when I am recruiting somebody, I am generating his personal no also. Then I want to give him training also. Now I just want to create 2 scenarios to clear my doubts? : sap abap hr

953


What is example class

1284


A field-groups statement or an insert statement reverses storage space and transfers values. State true or false. : abap modularization

976


What are the steps in a bdc session? : abap bdc

975


What is logo in sap script?

1072


Which objects are independent transport objects? : abap data dictionary

977


What are different abap/4 editors?

1048


When you prefer lsmw?

983


Kindly help me to Know the process of mapping in EDI from R/3 to a convertor(third party which translates IDoc flatfile to EDIFACT /XML / FTP /HTTP ) ?

1980


What is ole?

1084


What are the different types of luws. What are they?

1113


What is asynchronous and synchronous update?

982


How do you find the information on the current screen?

1028


Do we have to migrate all sapscript forms to smart forms?

1022