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

Name the abap/4 modularization techniques? : abap modularization

1023


How many types of data classes are there in sap abap? : abap data dictionary

1025


Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?

2001


What is roll area?

976


What are conversion & interface programs in sap?

1085


What are indexes? : abap hr

1054


Explain what are the different functions used in sap script?

1005


What are base tables of an aggregate object?

1056


Explain the different types of view?

965


What are extracts?

953


Mention what is alv programming in abap?

1144


I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.

1803


What is transparent table?

1022


What is difference between float and packed data type?

1103


What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?

1038