-
12 Apr 2016 12:33 am Syed Aleem Abbas Best Answer
DifferenceOO-ALV and ALV with Function modules are:
1. We have n number of events availabel in the classes when compared to ALV with function modules.
2. We can display more than one ALV grid data on a single screen in OO-ALV. But in normal ALV it is not possible.
3. We can control the size of ALV grid through custome container. we can not control the size of the ALV with function modules.
4. we can place different UI elements(check box, radio button, drop down...) with OO-ALV but we can't through ALV with function modules.
5. In OO-ALV using object oriented methods and classes(data secure), but normal ALV using function modules.
FAQs
What is the difference between alv and oops alv? ›
In Normal ALV we use Function mnodule and in OOPs we use classes and methods. In Normal ALV we cannot place grids on screens but in OOALV we can place grids on screens. we can insert logos in OOPS ALV. identifies the location where we r goinh to display.
What is the difference between normal report and ALV report in SAP? ›An ALV displays the output directly in the form of a grid or a list. ie,in a tabular format with the required field names as headings. while in a normal report,user has to design and format his output in a list or table fashion,which is a tedious process.
Can more than 1 ALV grid data be displayed using Oops ALV? ›We can display more than one ALV grid data on a single screen in OO-ALV. But in normal ALV it is not possible. 3. We can control the size of ALV grid through custome container.
How many types of ALV reports are there? ›Using ALV, we can have three types of reports: There are some function modules which will enable to produce the above reports without much effort. All the definitions of internal tables, structures and constants are declared in a type-poolcalled SLIS.
What are the benefits of Oops alv compared to normal 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. identifies the location where we r goinh to display.
What is oops alv in SAP abap? ›ALV. ABAP List Viewer is used to enhance the readability and functionality of any report output. We can develop ALV using different ways like using type pool SLIS or using the class Cl_GUI_ALV_GRID.
What is a normal ALV report? ›An ALV displays the output directly in the form of a grid or a list. ie,in a tabular format with the required field names as headings. while in a normal report,user has to design and format his output in a list or table fashion,which is a tedious process.
How to create alv using oops in ABAP? ›The class that is used for creating ALV report using the Object-oriented ABAP is CL_SALV_TABLE. CL_SALV_TABLE uses the static method FACTORY to create the instance of ALV. This is known as Factory method design pattern. After creating the instance, the instance method DISPLAY is used to display the ALV output.
How many columns can be displayed in alv? ›It should be 99, so if u have more than 99 colunms, the ALV'll show the first 99 colunm and hide the others. Anyway it can decide which colunm to be displayed by setting the parameter NO_OUT in catalog table. It should be 99, so if u have more than 99 colunms, the ALV'll show the first 99 colunm and hide the others.
What is the difference between ALV grid display and ALV list display? ›ALV LIST is Display Only. ALV Grid Can Be made EDITABLE for entry purpose. In alv grid, these options are possible, but not in alv list.
What is the difference between interactive and ALV reports? ›
Interactive reports display output in rows nd column where as alv is Abap List Viewer used to enhance the performance of reports.
How many secondary lists can we create in an ALV? ›we can create 20 secondary and one basic list.
How to display more than 255 characters in alv? ›While scheduling the job in Background, the screen where you enter the ABAP program name & variant, click on PRINT SPECIFICATIONS & LAYOUT. Select a suitable layout which has a width of more than 255 char. Save & then check. Available layouts can also be checked in SPAD.
Why do we use alv in ABAP? ›The SAP List Viewer (ALV) is an integrated element of the ABAP Objects programming environment . It allows application developers to quickly implement the display of structured datasets by providing three different ALV tools, one each for the display of: Simple and two-dimensional tables.
How to display data in an alv report? ›To display data in an ALV report, you need an internal table which is called the output table to provide data for the ALV. The internal table can be based on a structure in the ABAP dictionary or a user-defined structure in the report.
How to display alv using oops? ›The class that is used for creating ALV report using the Object-oriented ABAP is CL_SALV_TABLE. CL_SALV_TABLE uses the static method FACTORY to create the instance of ALV. This is known as Factory method design pattern. After creating the instance, the instance method DISPLAY is used to display the ALV output.
What is the difference between Ooabap and ABAP? ›OO ABAP (ABAP Objects) is a superset of normal ABAP. ABAP Objects supports most normal ABAP statements (it's almost downward compatible) and also ads all object orientation language elements, providing for example class definitions, object instantiation, inheritance.
What is the difference between Reuse_alv_list_display and Reuse_alv_grid_display? ›both REUSE_ALV_LIST_DISPLAY,REUSE_ALV_GRID_DISPLAY are same but the o/pstructure is different. in REUSE_ALV_GRID_DISPLAY we can give the title but in list it is not possible. in GRID editiing rows is possible whereas in list it is not possible.
What is the difference between table control and ALV grid? ›Table control only allows maximum of 999 records at a time where as this limitation is not there in ALV. Also,a main feature of ALV Grid is that it contains a standard set of functions. These functions extend beyond the functions of a table control.