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
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
Object Oriented ALV – Classic OO Approach
Steps need to follow to create OOALV Create Screen Insert Custom Container UI element. Create Module. Create instance for Custom Container and add instance to ALV. Get data from tables Set data to ALV *&———————————————————————* *& Report ZOOALV_TEST_1 *& *&———————————————————————* *& *& *&———————————————————————* REPORT zooalv_test_1. TYPES : BEGIN OF ty_mara, matnr TYPE matnr, mtart TYPE … Continue reading Object Oriented ALV – Classic OO Approach
Understanding ADBC: Dynamic Database Connectivity in ABAP
ADBC ADBC methods enable the transmission of database-specific SQL commands to a database system and facilitate processing of the results for establishing and managing database connections. While Native SQL statements provide solely static access to the Native SQL interface, ADBC allows for an object-oriented and dynamic approach to access. ABAP Database Connectivity (ADBC) is an … Continue reading Understanding ADBC: Dynamic Database Connectivity in ABAP