0% found this document useful (0 votes)
23 views1 page

Resume Tips

OOPS ALV has major advantages over simple ALV, allowing placement of grids on screens. Logos can be inserted in OOPS ALV by using predefined global classes like CL_GUI_ALV_TREE_SIMPLE and CL_GUI_CUSTOM_CONTAINER to identify the location for display. The LOGO->'CREATE_REPORT_HEADER' method is called to display the logo in the grid control by passing the logo name.

Uploaded by

Venkatt Pendyala
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views1 page

Resume Tips

OOPS ALV has major advantages over simple ALV, allowing placement of grids on screens. Logos can be inserted in OOPS ALV by using predefined global classes like CL_GUI_ALV_TREE_SIMPLE and CL_GUI_CUSTOM_CONTAINER to identify the location for display. The LOGO->'CREATE_REPORT_HEADER' method is called to display the logo in the grid control by passing the logo name.

Uploaded by

Venkatt Pendyala
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Major advantages of OOPS ALV instead of Simple ALV.Can we insert logo OOPS ALV.

In ALV we cannot place grids on screens but in OOALV we can place grids on screens. we can insert logos in OOPS ALV. see the code below 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

You might also like