BLOCK LIST ALV is is used to display multiple ALV`s on the same screen with blocks. List of Function Modules used for blocked list ALV REUSE_ALV_BLOCK_LIST_INIT: is used to initialize blocked list ALV. REUSE_ALV_BLOCK_LIST_APPEND: is used to add blocked list ALV’s(we can add multiple). REUSE_ALV_BLOCK_LIST_DISPLAY: is used to display blocked list ALV. Dynamic ALV's *&---------------------------------------------------------------------* *& Report ZALV_DYNAMIC_TABLE *& *&---------------------------------------------------------------------* … Continue reading Displaying multiple ALV on the same and Dynamic ALV’s
Important points ALV and ALV events
FM's to remember REUSE_ALV_GRID_DISPLAY. “Display ALV grid format REUSE_ALV_LIST_DISPLAY. “Display ALV List format REUSE_ALV_COMMENTARY_WRITE. “Display Top of page, logo, etc. REUSE_ALV_FIELDCATELOGUE_MERGE. “Used to generate field catalogue REUSE_ALV_EVENTS_GET. “Use events in ALV REUSE_ALV_HEIRARCHY_LIST_DISPLAY. “Display ALV Hierarchy Field Catalog Field catalog is an internal table which is used to pass a list of fields to display in … Continue reading Important points ALV and ALV events
Interactive reports in ABAP
Events in a interactive Report At Line-Selection This event will trigger whenever the user double click on any list line. At User Command This event will trigger whenever user clicks on any custom buttons of the GUI. At PF Status This event will trigger whenever user clicks on any function buttons. Top Of Page During line … Continue reading Interactive reports in ABAP
Tables in ABAP : Standard Sorted and Hashed
We always get confused about the type of internal tables. So ABAP knows the three table types STANDARD, SORTED, and HASHED table. Each of these table types differs in the way they are declared, accessed, and changed during runtime. Lets understand this with the help of an example For the following declaration we use the local type ty_sales_order_item which has … Continue reading Tables in ABAP : Standard Sorted and Hashed
Inner Join and parallel Cursor in ABAP
We will see some examples of inner join and parallel cursor in abap Parallel Cursor Method REPORT ZPARALLEL_CURSOR. DATA: it_ekko TYPE TABLE OF ekko, wa_ekko TYPE ekko, it_ekpo TYPE TABLE OF ekpo, wa_ekpo TYPE ekpo. DATA: lv_tabix TYPE sy-tabix. SELECT * from ekko INTO TABLE it_ekko UP TO 50 ROWS. SELECT * from ekpo INTO … Continue reading Inner Join and parallel Cursor in ABAP
Basics of SAP ABAP Reports : SE38
Events in a classical report Load-of-praogram This event is used to load program into memory for execution and this is the first event in execution sequence. Initialization This event is used to initialize variables, screen default values and other default actions. At Selection-Screen output By using this event we can manipulate dynamic selection-screen changes. At … Continue reading Basics of SAP ABAP Reports : SE38
What does ‘?=’ means in CL_SALV_TABLE class
This ‘?=’ denotes a widening cast operator. In widening cast we assign reference of superclass to reference of subclass. Suppose u have a superclass lcl_vehicle its reference is r_vehicle. abd you have its subclass lcl_car with reference r_car. r_car ?= r_vehicle. ‘?=’ denotes the WIDECASTING Operator in ABAP Object. The assignment of an object reference … Continue reading What does ‘?=’ means in CL_SALV_TABLE class
How to create GUI status and Title bar in ALV reports
For example, we have the below code for ALV and the object is activated, first you need to make sure that the GUI status and titlebar are in capital letters and follow the steps double click on the line which says set pf status 2. A dialog box will appear give a short text 3. … Continue reading How to create GUI status and Title bar in ALV reports