05-25-2007 10:02 AM. Hi, Go thropugh the standard program BCALV_GRID_03 on how to handle the Double click event. Within a method, the predicate expression IS SUPPLIED can be used to check whether an actual parameter was assigned to the return value when the call was made. 29. It's certainly true that not all SAP code (whether procedural or object oriented) is well written. Codes are there in the attributes tab of the class CL_GUI_ALV_GRID: There's more to ABAP than procedural programming. Rating: --- (out of 5) In the ABAP Objects, it's often useful to be able to access attributes which for some reason, the SAP developers have made private! This can be handled with the Enhancement Framework available in later versions of the ABAP stack. Apr 2, 2013 · When we use an editable ALV, some fields must have a custom Search Help. * Internal Tables DATA: BEGIN OF IALV OCCURS 0, MATNR TYPE MARA-MATNR, MAKTX TYPE MAKT-MAKTX, END OF IALV . If you want to add the standard program status toolbar and menu to the programa and that those interact with the OO ALV grid, you will have to maintain the lik yourself in the AT USER-COMMAND module like performed in REUSE_ALV_GRID_DISPLAY_LVC. *structure for t582a tbale. Nov 28, 2023 · Inheritance in SAP ABAP: It is an important pillar of OOPS in SAP ABAP which deals with inheriting the property from parents to children. Click ABAP Object Pattern radio button. Use Pattern button to create object for docking container. In order to understand the following code it is essential that the reader know the basics of object oriented programming such as Class ,Object ,Method and of course the syntax of ABAP programming. Object orientation (OO), also know as the object-oriented paradigm, is a programming model that unites data and functions in objects. In May 2000, SAP changed ABAP with release 4. Object Oriented ABAP is a mandatory skill for every ABAPer, for every latest technology like ABAP On HANA, ODATA, Webdynpro , Workflow etc OOPS ABAP is a main prerequisite. Populate internal table. Get your ALV up and running in no time using this collection of shorts snippets covering most of the basic requirements. The code i used to implement top of page for OO ALV is as below but when you proceed to print out the report, it doesn't print out the header as the list output doesn't show the header. select vbeln posnr matnr netwr waerk from vbap. TOP-OF-PAGE [DURING LINE-SELECTION]. REPORT ZHEF_ABAP_OBJECTS_EXAMPLE1. On the first screen, we have some buttons like post data, simulate posting, refresh all. 11-24-2008 3:36 AM. 2008. and of course there will be more of sap features by using this programming approach . It stands for Advanced Business Application Programming and is used to create programs and applications that are used to manage data within the SAP system. Create a button on toolbar . Oct 5, 2018 · Dear Experts, I have now almost 8-9 years of sap abap and have been using core abap and also OOPS many at times. CALL METHOD e_grid->check_changed_data . Here all methods have a fixed functionality and no instance specific task is required. I have created an ALV report using the OOPS Concept, i. Aug 10, 2017 · ABAP Object-Oriented Examples 51) The ABAP List viewer (ALV) Grid Control is a tool that you can use to display non-hierarchical lists in a standardized form. The method shown in the blog will work in SAP GUI and Webgui (program launched from Fiori Launchpad). All rights reserved. See full list on data-flair. Jan 11, 2018 · ALV is created by a set of standard function modules provided by SAP. Jul 21, 2016 · Hi all experts, I deloped one sales report. ALV is created by a set of standard function modules provided by SAP. METHODS: do_something RETURNING VALUE(zrv_text) TYPE string. A try block is placed around the code that might generate an exception. Quick Reference. For precise details of the relevant ABAP statements, refer to the corresponding keyword documentation in the ABAP Editor. *. Syntax. DATA: G_GRID TYPE REF TO CL_GUI_ALV_GRID. Jun 29, 2023 · STEP1: Use tcode SE38. IMPORTING. MVC enables us to split view and business logic code. create object for that class. for complete course access visit https://www. I've been developing in ABAP since 1997. * Adding attributes, methods and events, raising an event. OOALV also included in the course. But i added one user defined field 'status' in my final table declaration. In the redefined method, the implementation of the direct superclass can be called using super->meth. my requirement is when ever i double click on purchase order i has to goto transaction ME23. Filtering of records. ABAP provides powerful data manipulation capabilities, allowing you to work with database tables, internal tables, and data structures. This is always the case in functional method calls. Totals and Sub-totals. Download the report output to Excel/HTML. This reference is then stored in the reference variable on the left-hand side of the assignment. OOPS ALV CONCEPTS +. ABAP CROSS APP +. However, it is worth keeping the option of polymorphism open: A constructor expression with the casting operator CAST performs a down cast or an up cast for the argument dobj and creates a reference variable of the static type type as a result. It is the underlying technology of SAP’s traditional Business Suite, SAP’s flagship solution SAP S/4HANA, and other forthcoming A constructor expression with the instance operator NEW creates an anonymous data object or an instance of a class. By using static classes, you restrict your polymorphism options, which are actually provided by object-oriented programming. Encapsulation is a mechanism of bundling the data and the functions SAP NetWeaver AS ABAP Release 750, ©Copyright 2016 SAP AG. This programming strategy involves multiple individual “objects” interacting with one another, allowing programs to grow more complex with the use of ABAP design patterns and other OOP practices. SET HANDLE <local class object name>->edit_dat FOR obj_grid. Can some help me to add a link to the PO Numbers to Call transaction. What Are The Uses Of Alv Reports? Ans: Sorting of records. DATA: ALV_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER, ALV_GRID TYPE REF TO CL_GUI_ALV_GRID, Each class has a predefined method called constructor. Mar 13, 2012 · 03-13-2012 3:30 PM. use the changed value update the other value. Generally for a event to be triggered we follow these steps: 1. I have compared the field catalog and all. Compare the procedural and object oriented approaches and understand the benefits of classes, objects, inheritance, and polymorphism. ABAP Code - Bad to Better. define a method for a particular event in that class and then implement that class. May 18, 2018 · Object Oriented programming in ABAP - Simple example 1. a) True b) False Ans) a) The ABAP List viewer (ALV) Grid Control is a tool that you can use to display non-hierarchical lists in a standardized form. Nov 28, 2023 · Features of SAP ABAP. com/master-object-oriented-programming-in-sap-abap/WhatsApp us at +1-251-727-9273 We are best in providing material and documentation for all concepts including sample programs along with coding part. 12-25-2023 7:43 AM. *Include for ALV styles. * I am Fresher/Want to start career in ABAP I am Functional - Looking to enhance ABAP Debugging skill 1-5Years 5-10Years 10-20Years 20+Years Which Course you are looking for? * Choose ABAP OOPS ABAP Ale idoc ABAP on hana Adobe forms Odata Workflow Debugging Mastery ABAP for Functional No any course - but want to part of your email list to get Frequently Asked SAP OOPS ABAP Interview Questions And Answers. We can re-use model class for different types of interfaces. and refresh the grid using the refresh_table_display method. 11-22-2008 4:26 PM. Since it is the fourth-generation language, hence also known as ABAP/4. May 25, 2007 · METHOD handle_hotspot. An object’s features or attributes are used to describe its state, whereas behaviors or methods indicate the actions performed by an object in SAP ABAP. Also I have changed the code to return value. The redefinition is valid for the subclasses of the redefined class until the method is redefined again. Without the addition PUBLIC, the statement makes the local Jan 10, 2008 · The latest version, ABAP Objects, is object-oriented programming. ABAP is the core programming language that is used in SAP ERP software. 08-07-2014 9:35 AM. 1) Concept of class and Object. simplilearni SAP Blogs | The Best Run Businesses Run SAP Mar 9, 2024 · These interview questions will also help in your viva (orals) Report a Bug. No Pre-Requistic Required. Encapsulation is an Object Oriented Programming (OOP) concept that binds together data and functions that manipulate the data, and keeps both safe from outside interference and misuse. 2) Global class and Local Class. REPORT zalv_styles. On the one hand, you cannot redefine static methods. STEP3: Save as local object or if we have any package then mention the name of package and click on SAVE button. e. 07-18-2023 7:47 AM. Oct 3, 2019 · ABAP - OO ABAP [2023] - Part 1 - Introduction to classes and objects with New SyntaxABAP, ABAP, ABAP4, OO ABAP, ABAP certification sap ABAP training, introd Source Code from this session: https://github. The Original Price of the Course is $99, But If you join now it is only $19, This Offer is Valid until this month end till 30-09-2015. "Display order call method t_alv->get_selected_rows. 3. The result of the expression is the memory address of the newly created instance. how to create Create OOPS ALV REPORT (Header information EKKO) using CL_ SALV_TABLE. Requirement is once we post the data and refresh and press on back button, the initial selection screen . >>The price will go up from $29 to $129 on September 30th so join now and save $100<<. Set the PF-STATUS (SAVE, BACK, EXIT and CANCEL button). I have taken a scenario of displaying the PO (Header and Item) data for a vendor by creating event driven interactive CLASS class DEFINITION DEFERRED [PUBLIC]. 6C, allowing for object-oriented programming (OOP). TABLES: MARA. ABAP Objects support object-oriented programming. Introduction: -. CLASS DOG DEFINITION. Within the implementation of every instance method, an implicitly created local reference variable called me is available, which points to the instance in which the method is currently being executed. The ABAP Objects is a complete set of object-oriented statements, which has been introduced into the ABAP language. Assuming we have a field called BWTAR in our alv table GT_OUT. ABAP data objects. However, the abstraction process implies that you do not have direct access to an object at runtime. 7 steps to create OOPS ALV. CL_GUI_ALV_GRID don't use program statuses but a toolbar for those function. Without explicit declaration, the instance constructor assumes the parameter interface of the direct superclass, and calls it implicitly. Sep 27, 2021 · Handling events means response by the application to the action or that occurrence. In the implementation of lcl_event_handler-> indide the perform handle_hotspot_click -> call the transaction va03. 05. TYPE-POOLS : slis. On click of the particular PO Number i want to call transaction ME23N and open the particular Purchase order Clicked. Similar to methods, events can be instance or static. In this blog post, we'll explore the use of interfaces in SAP ABAP and how they support OOP programming. The static methods usage can be seen in CL_ABAP_CHAR_UTILITIES. This is an update to the 10 year old ABAP Object Oriented eLearning series. Call screen in which you want to display the list. once i checked with break point that column heading is coming correctly but once i use cl_salv_table to display report the column heading is not coming but the v Dec 11, 2019 · Custom Button, Select All, DeSelect All & Filter option in OOPS ALV – Using CL_GUI_ALV_GRID December 11, 2019 Manish Shankar ABAP One comment This post describes about how to add Custom button in ALV Toolbar using Class CL_GUI_ALV_GRID. This simple rule provides practical access to object-oriented programming that results in programs that are more robust and more easily maintainable than if you use procedural ABAP, and without a prolonged object-oriented design phase. There are 2 type of containers: docking and custom. The example above, uses a NEW # ( ) expression on the right hand side of a value assignment. Thanks & Regards sunee Master SAP OO ABAP Objects with real-world examples. As an example, when ALV is displayed and user clicks on something, event is triggered by the user’s action and the event handler simply responds to the user action i. Its working fine. OR you register the event using set hanlderas. Enter the name of program then click on CREATE button. In this, the child class inherits the property of the parent class. $79. It is a high-level programming language, which is developed and maintained by the SAP AG Software Company for the development of SAP applications. 2. Oct 18, 2022 · So these were basic examples of ,how to write an abap report by applying MVC pattern. It represents a physical entity, such as a person Feb 14, 2008 · This section contains explains how to work with events in ABAP Objects. ABAP is a procedural and object-oriented programming language. Oct 13, 2021 · Interface and inheritance - Creating the Singleton (s) First, I want to have uniformity in calling the solution. What started as an update to improve the video resolution also turned into modernizing the tooling and ABAP syntax used to teach the basic Object Oriented concepts. When declaring a class, as few components as possible must be declared in the public section and these public components must be designed with care. Matthew Billingham. CLASS-DATA: TYPE_OF_ANIMAL (10) TYPE C VALUE 'Dog'. , using Custom Container. you can use the data_changed event, have a local class for event handling, in the implementation you will get the changed values from the changed protocol. handles the event of the user action. Nov 14, 2007 · The Business Object Repository (BOR) allows you to create SAP Business Objects for internal and external use. call SET HANDLER event_alvgrid->handle_hotspot FOR fn_alvgrid. zapyard. ABAP (Advanced Business Application Programming) i. The procedural programming model is based on the modularization of programs in classic processing blocks (event blocks, dialog modules, function modules, and subroutines). But frankly,when it comes to understanding a code of ano Jul 17, 2008 · Populated the sort table for ALV with this field and enable subtotal display for it. Aug 7, 2014 · Back button working in oops ALV. w_variant-report = sy-repid. Data encapsulation led to the important OOP concept of data hiding. SAP ABAP - Encapsulation. Apr 11, 2008 · hi, Process to create ALV with OOPs: Step 1: Create a container. Dec 14, 2023 · Learn about object orientation in SAP ABAP, a domain-specific programming language for ERP systems. ENDINTERFACE. The result is a reference variable that points to the new object. May 24, 2010 · For OOPs ALV , For the screen where you have defined the container for ALV, IN PAI call this method. Feb 3, 2014 · CALL METHOD <local class object name>->edit_data. SAP ABAP WORKFLOW +. To create a new instance of a class, you use the NEW operator. 03-07-2016 1:28 PM. my output haveing purchase order coloum. In ABAP Objects, the class conceptually supersedes the classic Jan 26, 2022 · Get all the notes and recordings of this course here - https://www. Changing the order of the columns in the report. ABAP does a really nice job of abstracting the instantiation process so creating an object is a breeze. Hi Experts, We are using cl_salv_table=>factory ( ) for diaplaying alv report and post data to sap. training Feb 26, 2023 · SAP ABAP is an object-oriented programming language that supports many OOP concepts, including encapsulation, inheritance, and polymorphism. 6-hour course. Q2. SAP ABAP ON HANA . ABAP Acronyms. appending corresponding fields of table t_vbap. Then you call the method. Object orientation (or, more correctly, object-oriented programming) is a problem-solving method that represents the real world in a series of software objects. com/SAP-samples/abap-oo-basics/tree/main/src/zabap_oo_patternsContest Validation for this session: https://deve ABAP - Keyword Documentation → ABAP - Reference → User Dialogs → Classic Lists → Event Blocks for Lists → TOP-OF-PAGE . ABAP - Debugging. * Methods with examples of Importing and Exporting parameters. TYPE-POOLS: SLIS, ICON. could you please any one help me how to solve this in opps . codeREPORT ZTEST1234_ALV_TOP MESSAGE-ID ZZ . The Object-Oriented Language Extension. This allows objects to be accessed within classes. Within Fiori projects, frontend and backend development can be split and MVC enables us to share tasks. ISBN 978-1-59229-994-2. TYPES : BEGIN OF ty_table, infty TYPE infty, pnnnn TYPE pnnnn_d, zrmkz TYPE dzrmkz, zeitb TYPE dzeitb, dname TYPE dianm, edynr TYPE Jul 4, 2013 · Hi abap gurus, I'm having a small doubt regarding events in class cl_gui_alv_grid_display. It supports structured programming principles and object-oriented programming concepts. If you're ready to leap into the world of object-oriented programming (OOP) and ABAP Objects—or are already there and just need a refresher—then this is the book you've been looking for. Code is based on class CL_FDT_XL_SPREADSHEET which can be instantiated using the file name and excel file in XSTRING variable. register the event by using set_handler. On the other hand, access is not possible using reference variables (the other “pillar” of polymorphism). Triggering Events. The operator NEW works in the same way as the statement CREATE DATA dref TYPE dtype, where Functional methods are allowed as actual parameters of methods, which enables the option of nesting method calls in an operand position. SAP's original business model for R/3 was developed before the idea of an object-oriented model was widespread. The Interface is one of the critical tools for implementing these concepts in SAP ABAP. Object-oriented programming is based on a progamming model in which data and functions are unified in objects. PUBLIC SECTION. This approach will also work with OData. There's more to ABAP than procedural programming. me is handled like a local constant, which means that the value of me cannot be modified in an instance method. Hide the unwanted columns from the report. E-book formats: EPUB, PDF, online. Available. if you want a detail sample program with steps explained, then i can mail it to you if you can give me your email id. If you do not have an SAP ID, you can create one for free from the login page. This document is to show how to make a simple interactive report in OOPS by using event 'HOTSPOT_CLICK' present in standard sap class 'CL_GUI_ALV_GRID'. May 22, 2008 · HI ALL, Iam displaying the alv output using oops. STEP2: Write the description of the program or class. ALV stands for ABAP List Viewer. ls_fcat-fieldname = 'BWTAR'. As this extra field contains constant value for all the records so subtotal on it is equivalent to total for rest of the fields. when 'SHOW'. The content of the attributes specifies the state of the object. Effect. The values of the F. u will get an idea about the alv with oops. SAP OO-ABAP is object oriented programming approach to ABAP developed by SAP and traditional approach is now becoming obsolete, Every one who learned abap and who are learning abap should learn the object Jan 23, 2008 · SAP Managed Tags: 01-24-2008 4:00 AM. 28. Class Attributes. 21. So I define an interface that states what operation should be used: INTERFACE: zlif_interface. Jan 28, 2008 · ABAP Objects supports object-oriented programming. Sep 5, 2007 · vbeln. Hide total line display in ALV by passing appropriate value in the Layout structure. Click on SAVE button. 1) What is SAP ABAP? SAP is a type of software known as ERP (Enterprise Resource Planning) that large company use to manage their day to day affairs. SAP ABAP runtime has supported object oriented programming approach, form a long time ago . If you're ready to leap into the world of object-oriented programming (OOP) and ABAP Objects—or are already there and just need a refresher—then Dec 29, 2006 · Go to slis package and check for programs starting with bcalv. ALL BASIC ABAP TOPICS +. Sep 9, 2013 · Static methods can be used as Utilities to achieve a common task across other codes that might not even need the various instance specific activities. Keep TYPE as EXCUTABLE. * Display Item details in ALV call screen 200 starting at 8 5. Reference variables can also be defined, which can then be used to create and address objects. IAM VERY NEW TO OPPS ABAP. The remaining language scope of ABAP mainly supports procedural ABAP is a hybrid programming language that supports both a procedural and an object-oriented programming model. SAP will run applications written using ABAP/4, the earlier ABAP version, as well as applications using ABAP Objects. Let's describe the simple way to add a custom Search Help to a specific field of an ALV using OOPS. ABAP – Coding order of different segments of Program (Guidelines) ABAP - Compare outside-in implementation of web services in ABAP. 01-04-2020 1:24 PM. 4. Dec 30, 2019 · ABAP code to upload XLSX file to SAP using ABAP. This course is based on Complete ABAP where we have explained below mentioned concepts from very scratch level. REPORT ZTEST. Go to SE38. endloop. ABAP - Data Change Tracker for Custom Tables. To save the edited values to database table code in the PAI of the screen. Nov 30, 2023 · What is an Object in SAP ABAP: An object is a type of variable with unique traits and actions. The Self-Reference me. Create Custom Container from layout lab. INCLUDE <cl_alv_control>. By declaring this explicitly, the interface of the method constructor can be defined specifically for a class, and its functions can be implemented. Nov 22, 2020 · The following code is written in SAP ABAP(Advanced Business Application Programming) which is the proprietary language of SAP. Assuming a block will raise an exception, a method catches an exception using a combination of Try & catch keywords. Please find the complete code below. The following can be specified for type : A non-generic data type dtype. et_index_rows = t_selected_rows. SAP ABAP WEBDYNPRO Application Development +. But when ever you want a have methods behaviors. any object type (class or interface) including the fully generic ABAP Stands for Advanced Business Application Programming. Bundle. Jun 4, 2008 · ALV is developed using OOPS(custom container) see this i hope this wil help u. This variant of the statement CLASS is used to make the class class known, regardless of the location of the actual definition of the class in the program. Create a program. so, there are many of SAP features using this programming approach , such as : BADI , Reporting (ALV Grid OOP) , Webdynpro and so on . Click Call Method radio button. And also create toolbar . ABAP - Keyword Documentation → ABAP - Reference → Processing Internal Data → Jul 18, 2023 · Call transaction in ALV Report Using OOPS. An object is a pattern or a class instance. Click Create object radio button. Declaring ABAP Object Oriented Programming Tutorials - ERPDB Oct 5, 2018 · It seems when you say OO technology is a let down, you're only complaining about SAP standard code that uses OOps. The rest of the ABAP language is primarily intended for structured programming, where data is stored in a structured form in database tables and function Ready to dive deeper into ABAP? Discover ABAP on HANA and SAP S/4HANA, utilize ABAP objects with object-oriented programing (OOP), explore BRF+, and more! ABAP technology is the solid longtime foundation for SAP’s solution portfolio. Else as you are using OOPS ALV then you can pass the value to the parameter: IT_TOOLBAR_EXCLUDING of the method SET_TABLE_FOR_FIRST_DISPLAY. SAP Managed Tags: ABAP Development. REPORT z_alv_demo_total_text. Jun 28, 2021 · 55 Kudos. Learn object-oriented programming in ABAP from scratch, including concepts like inheritance, interfaces, and polymorphism. SAP OOPS ABAP Interview Questions and Answers Q1) What is OOPS ABAP? Ans: Object orientation (OO), or to be more precise, object-oriented programming, is a problem-solving method in which the software solution reflects objects in the real world. This site uses cookies and related technologies, as described in our privacy statement, for purposes that may include site operation, analytics, enhanced user experience, or advertising. It does not introduce a declaration part and must not be ended using ENDCLASS . The three visibility sections form the basis for the important feature of encapsulation in ABAP Objects. REPORT ZRICH_0006. Nov 24, 2008 · 5 REPLIES. The object model for the SAP List Viewer (ALV) is an object-oriented encapsulation of SAP’s much older ALV tool. To mark this page as a favorite, you need to log in with your SAP ID. In my report i am displaying the Purchase Orders. We are saving in local object. ABAP exception handling is built up on 3 keywords, RAISE, TRY, CATCH. The redefined method accesses the private components of the redefined class and not any private components of the same name in the superclass. Report is getting printed , but one particular field is getting printed down one step in the output comparing the other fields. Its proven robustness, scalability and extensibility makes it the platform of choice for running mission-critical business processes. ALV gives us a standard List format and user interface to all our ABAP reports. The public components of global classes may not be changed once the class has been released. Mar 7, 2016 · Simple event handling in ABAP OOPS. Learn how to use object orientation in SAP ABAP, a programming language for SAP applications. Aug 8, 2021 · Exceptions provide a way to transfer control from one part of a program to another. Jul 27, 2020 · Follow the steps to create an OOPS ALV in SAP ABAP: Create an object of class CL_GUI_CUSTOM_CONTAINER and class CL_GUI_ALV_GRID. where vbeln = wa_vbak-vbeln. Attributes are internal data objects of any ABAP data type within a class. SAP code was often a pain to understand there when it was all procedural. At fieldcat, we need to set this field editable and with F4: CLEAR ls_fcat. define a class for event handling. Feb 3, 2009 · The function codes for OOPs ALV will also be the same. Dec 25, 2023 · Create a OOPS ALV REPORT with interactive event. so as SAP Developer you have to Apr 6, 2009 · Instantiating and Using Objects. "<refrence of class CL_GUI_ALV_GRID>. Jan 4, 2020 · ALV output using oops abap. Description. Object-oriented programming (OOP) is becoming increasingly popular among software developers, and ABAP is a language developed specifically for the SAP software suite. Once a class is defined, you can create instances of that class in your programs. Find out the key principles, pillars, examples, and benefits of OOP in SAP ABAP. I understand Abap OOPS particularly plays an exemplary role when it comes to code reusability,inheritence,polymorphism,overriding. Today class CL_SALV_TABLE remains widely used for displaying simple, two-dimensional ALV grids. To trigger an event, a class must · Declare the event in its declaration part · Trigger the event in one of its methods. Below is my Code. May 27, 2008 · Hi, Include start-of-selection event in the code. To use encapsulation appropriately, do the following: Keep the number of public components of a class as small Jan 12, 2020 · From this video you can learn How to display single/multiple sap abap internal table as alv output. *Type ppols for alv. 470 pages, 2nd, updated and revised edition 2016. If we click on button on the toolbar generate alv report (Item information EKPO). Call method of class CL_GUI_ALV_GRID and pass the required parameters. Step 4: Call the method of grid set_table_for_first_display to display the output. 99. Sep 1, 2009 · Accessing private attributes in ABAP Objects. Effect This statement defines an event block whose event is raised by the ABAP runtime environment when a list is May 21, 2008 · Here is a very simple example. NOT_A_BABY. Addition: DURING LINE-SELECTION. What is a Widening Cast ? Answer: The widening cast is, as with inheritance, the opposite of the narrowing cast: Here it is used to retrieve a class reference from an interface reference. the internal table t_selected_rows contains indexes of the rows selected. type can be specified as: any non-generic data type dtype or the fully generic data type data. CALL METHOD e_grid->get_selected_rows. The parent class is also known as the Base class or Super class and the child class is known as Derived class or Sub class. * Prepare fieldcatlog. Give Instance as o_grid and Class/Interface as cl_gui_alv_grid and Method as set_table_for_first_display. ad od rv bg qh be by kn be bi