<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The requested URL could not be retrieved</TITLE> <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE> </HEAD><BODY> <H1>ERROR</H1> <H2>The requested URL could not be retrieved</H2> <HR noshade size="1px"> <P> While trying to process the request: <PRE> TEXT http://www.scribd.com/titlecleaner?title=Iteanz_ABAP_ARUNA_PPT.ppt HTTP/1.1 Host: www.scribd.com Proxy-Connection: keep-alive Proxy-Authorization: Basic YWJhcDI6JHkkdGVtNDU= Accept: */* Origin: http://www.scribd.com X-CSRF-Token: 3d915be02d35d853061ad22be754f7c6fbf1a3f9 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 X-Requested-With: XMLHttpRequest Referer: http://www.scribd.co
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The requested URL could not be retrieved</TITLE> <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE> </HEAD><BODY> <H1>ERROR</H1> <H2>The requested URL could not be retrieved</H2> <HR noshade size="1px"> <P> While trying to process the request: <PRE> TEXT http://www.scribd.com/titlecleaner?title=Iteanz_ABAP_ARUNA_PPT.ppt HTTP/1.1 Host: www.scribd.com Proxy-Connection: keep-alive Proxy-Authorization: Basic YWJhcDI6JHkkdGVtNDU= Accept: */* Origin: http://www.scribd.com X-CSRF-Token: 3d915be02d35d853061ad22be754f7c6fbf1a3f9 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 X-Requested-With: XMLHttpRequest Referer: http://www.scribd.co
SAP ABAP/4
www.iteanztechnologies.com
SAP R/3 Architecture R/3 System Service Layers SAP R/3 is SAPs Integrated software solution for client/server and distributed open systems.
www.iteanztechnologies.com
ABAP/4 Programming
ABAP 4 is the programming language used to code SAP R/3. There are three main components of the ABAP 4 language. These are
www.iteanztechnologies.com
ABAP 4 Development Workbench: The development workbench gives access to SAP's development tools. ABAP programmers use the development workbench to write programs in SAP. ABAP 4 Data Dictionary: Definitions of variables and parameters on the other hand are stored in the data dictionary. ABAP 4 Repository Information: Any program developed in ABAP is stored in the R/3 repository.
www.iteanztechnologies.com
ABAP Technologies
Different ABAP technologies are introduced to build business application for different purposes. In the traditional ABAP development, there is a word RICEF-W which stands for o Reports o Interfaces o Conversions o Enhancements o Forms o Workflow.
www.iteanztechnologies.com
Objectives
www.iteanztechnologies.com
The ABAP Dictionary centrally describes and manages all the data definitions used in the system. The ABAP Dictionary is completely integrated in the ABAP workbench.
Purpose:
Data definitions (meta data) are created and managed in the ABAP Dictionary. The most important object types in the ABAP Dictionary are o o o o o o Tables Structures Views Types Data elements Domains Modularization techniques Search helps Lock objects
www.iteanztechnologies.com
Table:
Represent the Database Tables where data actually resides. Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) SAP ABAP data types and lengths.
Data element:
Fields of same semantic meaning can refer to the same data element Contains the field information
Domain:
Describes the technical characteristics of a table field Specifies a value range which describes allowed data values for the fields Ensures consistency
www.iteanztechnologies.com
Types:
A data type is the users view on the data; i.e. the data format at the user interface. You can enter any of the existing data types for the data dictionary, such as ACCP, CHAR, CLNT, or NUMC.
Structure:
Just like user-defined data type.
Search help:
A Search help is a tool to help you search for data records in the system Search help is for F4 help Two types of Search help we have Elementary Search help Collective Search help
www.iteanztechnologies.com
Lock objects:
Simultaneous accessing of the same data record by two users in the SAP system is synchronized by a lock mechanism. Locks are set and released by calling certain function modules. These function modules are generated automatically from the definition of socalled lock objects in the ABAP/4 Dictionary
Function modules :
Enqueue_<obj name> to lock the table dequeue_<obj name> to release the lock
Views:
Views in SAP _ ABAP are used to summarize data which is distributed among several tables . The data of a view is not actually physically stored. The data of a view is instead derived from one or more other tables
www.iteanztechnologies.com
Modularization :
Modularization Improves the Re-usability and Readability of the source code.
Modularization techniques: Function Modules Subroutines Methods (OOABAP) Macros (HR ABAP) Include programs
www.iteanztechnologies.com
Important Transactions
SE11 : Data Dictionary Initial Screen (SE12 Display only) SE13 : ABAP Dictionary : Technical Settings SE14 : Database Utility SE15 : Repository Information System SE16 : Data Browser SE17 : General table Display SE55 : Table View Maintenance SM30 : Table Maintenance
www.iteanztechnologies.com
ABAP Reports
Report is displaying the application data in the required format. Technically speaking report is an executable programming with three stage function. Data Input ( selection Screen ) Data Processing ( Select Statement ) Data Output ( Output data )
Purpose:
It helps to analyze the current situation and for decision making There are 3 type of reports: Classical Interactive ALV Reports (ALV stands for ABAP List Viewer)
www.iteanztechnologies.com
Classical Reports
These are the most simple reports. Programmers learn this one first. It is just an output of data using the Write statement in side a loop. Classical reports are normal reports. These reports are not having any sub reports. INTIALIZATION: This event triggers before selection screen display. AT-SELECTION-SCREEN: This event triggers after processing user input still selection screen is in active mode. START OF SELECTION: Start of selection screen triggers after proceesing selection screen. END-OF-SELECTION : It is for Logical Database Reporting. TOP-OF-PAGE: when the first write statement is trigger this event will trigger.
www.iteanztechnologies.com
Interactive Reports
To displays the secondary list data AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sub list is going to be generated. AT PF: For predefined function keys... AT USER-COMMAND: It provides user functions keys., and to validate the user function keys TOP-OF-PAGE DURING LINE-SELECTION : Top of page event for secondary list. HIDE statement holds the data to be displayed in the secondary list.
www.iteanztechnologies.com
ALV
www.iteanztechnologies.com
Module pool
Module pool:
Its Nothing but Dialog programming.
www.iteanztechnologies.com
Transaction SE80 : Create Dialog Program Create Screen(4 steps) Screen Attribute Screen Layout Flow Logic(PBO,PAI) Define Variable ok_code in Element List Define Data Object in ABAP Work Area at TOP Include(Tables, Data,...) Check and Activate Dialog Program Create Transaction Code
www.iteanztechnologies.com
Transaction Code
Dialog Program
PBO
PAI
www.iteanztechnologies.com
www.iteanztechnologies.com
Smart Forms
Smartform:
SAP Smart Forms is sap new print solution introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms to print the business documents. SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools.
Tcode:
SMARTFORMS
Types of windows:
Main Window Secondary Window Copies Window Final Window .
www.iteanztechnologies.com
www.iteanztechnologies.com
BAPI
BAPI stands for Business Application Programming Interface. It is a precisely defined interface providing access BAPIs can be called within the R/3 System from external application systems and other programs. The Business Object Repository (BOR) is the object-oriented repository in the R/3 System. It contains the SAP business object types and SAP interface types as well as their components, such as methods, attributes and events.
Tcode: SWO1
www.iteanztechnologies.com
Enhancements
Enhancements:
To add our own functionality to the standard SAP s/w with out modifying the original coding. Enhancement use the procedural programming technique to implement the enhancement Implicit Enhancement Explicit Enhancement
BADI:
Business Add-Inns are SAPs enhancement technique which is used after 4.6 version of ECC. BADIs are reusable components, which is developed in OO-ABAP
SE18-> Find the BADI SE19-> Implement the BADI
www.iteanztechnologies.com
Enhancement Overview
Enhancement Approach
Procedural User Exit For SD module Std/: Include (MV45AMZ) Subroutine Implementation Customer Exit Screen Exit Menu Exit FM Exit Locating Exit
objectoriented BADIs
FM Implementation
www.iteanztechnologies.com
Conclusion
This ppt was aimed to cover the fundamentals of the ABAP programming language .
www.iteanztechnologies.com