ABAP Programs

  • ABAP Program using Dynamic Selection Screen

    ABAP Program using Dynamic Selection Screen

    ABAP Program consists of the selection screen, which changes based on the user click on a radio button. The entire selection screen is changed. The F8 button is disabled…

  • ALV Drag and Drop

    ALV Drag and Drop

  • ALV Programs

    ALV Programs

    ALV Programs Explained ALV (ABAP List Viewer) Programs are very easy to write when you know few basic facts about them. There are many Functions modules provided by SAP…

  • ALV hierarchical list display

  • SAP Utility Programs

    SAP Utility Programs Gentran IDoc Data Definition File Generation Tool – Gentran’s mapping tool maps 1 structure to another structure. Typically, 1 structure is an EDI standard which is…

  • Simple ALV Report – Details of Y or Z Objects

    *&———————————————————————* *& Report Z_OBJECT_TRACKER * *& Author :Swarna.S. *&———————————————————————* *& *& AS: *& Simple ALV report — Details of Y or Z objects *& showing lists of all the…

  • List of Infotypes configured in the SAP system – Simple ALV report

    *&———————————————————————————————————————–* *& Report ZINFOTYPE * *& Author : Swarna.S * *&———————————————————————————————————————–* *& * *& AS: This program lists all the infotypes maintained in SAP system * *&———————————————————————————————————————–* REPORT zinfotype…

  • ABAP Program: Sample program for OLE Automation

    REPORT ZSOURCE2801. * Including OLE types INCLUDE OLE2INCL. * Tables and variables for later use TABLES: CUSTOMERS. DATA: APPLICATION TYPE OLE2_OBJECT, WORKBOOK TYPE OLE2_OBJECT, SHEET TYPE OLE2_OBJECT, CELLS TYPE…

  • ABAP Program:Transferring data to a file (presentation server)

    REPORT ZSOURCE2603. * Data declarations for later use PARAMETERS FILENAME(128) DEFAULT ‘c:\users\default\testfile.dat’ LOWER CASE. TABLES CUSTOMERS. DATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100 WITH HEADER LINE. * Get data for…

  • ABAP Program:Reading data from a file

    ABAP Program:Reading data from a file

    REPORT ZSOURCE2602. * Data declarations for later use TABLES CUSTOMERS. PARAMETERS FILENAME(128) DEFAULT ‘/usr/tmp/testfile.dat’ LOWER CASE. DATA: MSG_TEXT(50), ALL_CUSTOMER_NAMES LIKE CUSTOMERS-NAME OCCURS 100 WITH HEADER LINE. * Opening the…

  • ABAP Programs :Using Field Symbols for variable parts of fields

    ABAP Programs :Using Field Symbols for variable parts of fields

    REPORT ZSOURCE2402. DATA: EXTERNAL_RECORD(4000), POSITION TYPE I, LENGTH TYPE N. FIELD-SYMBOLS < ENTRY>. EXTERNAL_RECORD = ‘0005Smith0007Edwards0005Young’. DO. LENGTH = EXTERNAL_RECORD+POSITION(4). IF LENGTH = 0. EXIT. ENDIF. ADD 4 TO…

  • ABAP Program: Dynamic external perform (call back form)

    Here the two programs which are calling dynamically. REPORT ZSOURCE2309. PERFORM EXTFORM IN PROGRAM ZSOURCE2310 USING ‘CALL_BACK_FORM’ SY-CPROG. FORM CALL_BACK_FORM. WRITE / ‘I am the call back form in…