Skip to Content
author's profile photo Former Member
Former Member

ALVs difference

Can anybody giev few points, what is difference between normal ALVs and ALV OOPs.

Regards,

Naseer.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 04, 2007 at 07:29 AM

    Hi,

    In Normal ALV we use Function mnodule and in OOPs we use classes and methods.

    Regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 07:29 AM

    hi,

    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

    reward points if helpful..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.