ABAP Programs
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...
ALV Programs
ALV Programs Explained ALV (ABAP List Viewer) Programs are very easy to write when you know few basic facts about...
SAP Utility Programs
SAP Utility Programs Gentran IDoc Data Definition File Generation Tool - Gentran’s mapping tool maps 1 structure to another structure....
Dynamic ALV Generation
* AS : Dynamic ALV generation with data * stored in a table,DB table as input. * Author : Swarna.S....
Simple ALV Report – Details of Y or Z Objects
*&---------------------------------------------------------------------* *& Report Z_OBJECT_TRACKER * *& Author :Swarna.S. *&---------------------------------------------------------------------* *& *& AS: *& Simple ALV report -- Details of Y...
List of Infotypes configured in the SAP system – Simple ALV report
*&-----------------------------------------------------------------------------------------------------------------------* *& Report ZINFOTYPE * *& Author : Swarna.S * *&-----------------------------------------------------------------------------------------------------------------------* *& * *& AS: This program lists all the...
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...
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...
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...
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)....
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....
ABAP FAQs – Series:1
ABAP FAQs Q: Is ABAP program client dependent or independent? A: Independent. Q: What is the diffference between modifications and...
Send email to many users
REPORT Z_SEND_EMAIL_to_Users. TABLES: USR02. DATA: C(15). DATA: SENT LIKE SONV-FLAG. DATA: EMAIL_ID LIKE SOFOLENTI1-OBJECT_ID. DATA: BEGIN OF EMAIL_DATA. INCLUDE...
ABAP program to connect to FTP server
This ABAP program will let you connect to a FTP host. This is done by using the function module FTP_CONNECT...
How to generate a long date like "2 januari 2007" from "20070102".
DATA my_date TYPE DATUM. my_date = '20070502'. DATA wa_dates LIKE TABLE OF T247 WITH HEADER LINE. DATA wa_date LIKE TABLE...