SlideShare a Scribd company logo
1 of 72
ABAP Programming Overview
ABAP Course Outline
   Chapter   1   :
                Introduction to ABAP
   Chapter   2   :
                List Processing in ABAP
   Chapter   3   :
                Open SQL & Internal Table
   Chapter   4   :
                Event-driven Programming &
                Selection Screen
   Chapter 5 : Modularization & Catch Statement
   Chapter 6 : Message, Debugging, File Transfer and
                Type Group
ABAP Chapter 1
   Introduction to SAP Architecture
   ABAP Overview
   Data Object in ABAP
SAP System : 3 Tier Client/Server
SAP GUI           SAP GUI         SAP GUI   Presentation
                                            Server




                             SAP
                             Application
                             Server



                             DB Server
SAP SYSTEM (3 Tier Architecture)
                                       SAP GUI            SAP GUI

Presentation Layer
(Windows based)



                        SAP Instance
Application Layer
                                              Dispatcher                         M
(Windows Server/UNIX)
                         Request                                           SAP Buffer
                          Queue
                                                                         (Shared Mem)

                                   D      D      B    V      S      E
                                                                                 G



                                                                        Oracle
Database Layer
                                                                        Informix
(Windows Server/UNIX)
                                                                        DB2
                                   Database Server
                                                                        MS SQL Server
                                                                        MaxDB
Dialog Processing
SAP System : Dialog Processing
                                    SAP GUI

                                                                            Report zpsm1.

                                 Request                                    Tables customers.
                                              List                          Select single * from
                                   Generate
                                1   10
                                                                             customers where id = 1.
                                   Screen(List)
Application Server       Send Request                                       Write: / customers-name.


Store request
to queue3                    Dispatcher
                Send         2     Search for                  SAP Buffer
                List
                  9                free WP
   Request                         Check Program in                                7
                                                                 Program
    Queue Send request             Program Buffer
                                       5                                        Execute
           to WP
              4                                                                 ABAP
                                                                Table
                  D          D        D …            D                          stateme
                                                                                nt
                                                                        …

                         8                                 6

                         SQL                             Load&Gen
Database Server          Request                         Program
Dialog Work Process Architecture
   Dialog Work Process             Local Memory

                                      Memory Space
         TaskHandler


        ABAP Processor
                                      List buffer

      DYNPRO Processor


          DB Interface
               Result Set Memory




                    Database Server
ABAP Programming Overview
ABAP Overview
           MOVE …      IF ...
DATA ...
                         WHILE...

 WRITE ...              SEARCH ...


      *Comment...        SELECT ...

             DO ...   LOOP AT ...
ABAP

Advanced
Business
Application
Programming
ABAP Feature

   Declaring data with various types and structure
   Operational elements for data manipulation
   Control elements for controlling the program
    flow
   Event elements for reacting to external events
ABAP

   Operating/Database system-independent
    programming
   ABAP contains a subset of SQL called Open SQL
    for comfortable database access for various
    database
ABAP Programming

   ABAP Report
   Dialog Programming(Transaction)
ABAP Program : Report

Report Program
: attribute type 1
(executable)
                             Reading
                                          Data




                                       Database

                      Reading data
Types of ABAP Report

1


                    3




                1. Report Listing
    4           2. Drill-down Report
                3. Control-break Report
                4. ALV Report
ABAP Program : Dialog Program

Dialog Program
: attribute type M
(Module Pool)
                       Reading
                                      Data



                       Writing

                                   Database

                 Reading and changing data
Dialog Program : Transaction
ABAP Programming
How to create ABAP program


Transaction Code : SE38
Transaction : SE38
Program Attribute
ABAP Editor
The Structure of the Language
   Each statement must end with a period



    DATA tmp TYPE I.
    WRITE ‘Hello World’. WRITE ‘OK’.
Literal

DATA tmp TYPE I.           Text Literal
WRITE ‘Hello World’.
WRITE ’10’. Text Literal
MOVE 9 TO tmp.
         Numeric Literal
Chained Statements
   Successive statements that have the same string
    segment can be combined to form a single
    chained statement
   To do so, you specify the identical starting
    segment once and conclude it with a colon (:),
    the remaining segments are then listed,
    separated by commas (,) and concluded with a
    period (.)
   At runtime, a chained statement is treated like
    an equivalent sequence of individual ABAP
    statements
Chained Statements

WRITE ‘Hello World’.
WRITE ‘OK’.
              =
WRITE: ‘Hello World’, ‘OK’.

DATA tmp1 TYPE I.
DATA tmp2 TYPE C.
            =
DATA: tmp1 TYPE I,
       tmp2 TYPE C.
Chained Statement


MOVE sy-subrc TO tmp1.
MOVE sy-subrc TO tmp2.
MOVE sy-subrc TO tmp3.
         =
MOVE sy-subrc TO: tmp1,
                    tmp2,
                    tmp3.
Chained Statement


PERFORM cal_1 USING a1 a2.
PERFORM cal_1 USING a3 a4.
            =
PERFORM cal_1 USING: a1 a2,
                       a3 a4.
Comments


* This is full line comment
WRITE ‘Hello World’. “ Write   data (partial line comment)
WRITE ‘Test’.
ABAP Command : Case Sensitivity
   ABAP command is not case sensitive



     WRITE ‘Hello World’.
     WriTe ‘Hello World’.
     wRiTE ‘Hello World’.
Data Objects in ABAP
Data Objects in ABAP
Memory Space
   Variable                 Structure



  Table Structure                       Internal Table



 Constants          <Field-symbols>
Variable
Variable

   Variables can be declared at any point in a program

   Variables can be up to 30 characters in length
        REPORT ZTEST.
        DATA firstname TYPE STRING.
        firstname = ‘John’.
Predefined ABAP Data Types
Type      Description       Initial Value   Length
C         Character         Space           1 – 65535

D         Date              ‘00000000’      8 characters

F         Floating Point    0.0             8 bytes

I         Integer           0               4 bytes

N         Numeric Text      ‘0’             1 – 65535

P         Packed Decimal    0               1 – 16 bytes

T         Time              ‘000000’        6 characters

X         Hexadecimal       ’00’            1 – 65535

String    Variable-length   Space           Variable

xstring   Variable-length   Blank string    Variable
          Hexadecimal
Defining Variable with DATA Statement



* Syntax
DATA var[( length )] [Type type ] [Decimals number ].

DATA var LIKE Table-Field [VALUE initial value ].
Defining Variable with DATA Statement

* Data Declaration
DATA: tmp(10) TYPE C,
        tmp1      TYPE I,
        tmp2(8) TYPE P DECIMALS 2 VALUE ‘1.50’.
DATA: tmp3(5) TYPE N,
        tmp4.
Defining Variable with DATA Statement


* Data Declaration
DATA customerno LIKE customers-id.
DATA matnr LIKE mara-matnr.




    DATA customerno TYPE customers-id.
    DATA matnr TYPE mara-matnr.
ABAP Predefined Data Types

           ABAP Predefined Data Types


        Complete Types     Incomplete Types
(I,F,D,T,STRING and XSTRING) (C,N,P and X)
Variable

   Data Type C,N and X length between 1 – 65535
    (Default 1) DATA tmp(10) TYPE C.
   Data Type P length between 1 – 16 (Default 8) and
    decimals length between 0 – 31 DATA tmp(5) TYPE P DECIMALS 2.
   Data Type I value between – 231 to 231 – 1
    or –2,147,483,648 to 2,147,483,647
                                                DATA tmp TYPE I.
                                                tmp = 1000000.
Data type N

data tmp(5) type N.
tmp = ‘Xca9yy23K6’.
ABAP Error
 ABAP Error
Syntax         Runtime
 Error          Error


     User Runtime      System Runtime
         Error              Error




              Cannot Allocate    Time Exceed
                  Space          (10 Minutes)
User Runtime Error

DATA result TYPE i.
result = 10 / 0.
System Runtime Error : Space Allocation
System Runtime Error : Time Exceed
Non-elementary Type


* Data Declaration
TYPES tname(30) TYPE c.
DATA: customer_name TYPE tname,
        firstname TYPE tname.
Value Assignment

* Value assignment
DATA: name1(30),
        first_num TYPE I,
        next_num    TYPE I.
MOVE ‘XXXX’ TO name1.
MOVE 5 TO first_num.
COMPUTE next_num = first_num + 5.
name1 = ‘SAP’.
ADD 1 TO next_num.
Value Assignment

* Value assignment
DATA: tmp1 TYPE i,
        tmp2 TYPE i.
tmp1 = tmp2 = 10.
งการให้สร้างตัวแปรชื่อ firstname และ lastname โดยให้ค่าชื่อของค
แปร firstname และนามสกุลของคุณให้กับตัวแปร lastname พร้อมท
ข้อมูล firstname กับ lastname ออกมาที่หน้าจอ



                     ABAP Practice
Structure
Structure


* Syntax
DATA BEGIN OF < structure name >.
DATA field1.
DATA field2.
   …
   …
DATA END OF < structure name >.
Structure
                   wa

* Syntax            id       name   city
                    00000000
DATA BEGIN OF wa.
DATA id LIKE customers-id .
DATA name LIKE customers-name .
DATA city LIKE customers-city .
DATA END OF wa.
MOVE 9 TO wa-id.
WRITE wa-id.
Defining Structure (Include Structure)


* Include Structure
DATA BEGIN OF wa.
    INCLUDE STRUCTURE customers.
DATA tel(7).
DATA END OF wa.
Defining Structure

* LIKE option
DATA wa LIKE customers.
wa-id = 1.
wa-name = ‘John’.
WRITE: wa-id, wa-name.
ารให้สร้าง Structure ชือ myname โดยมีฟิลด์ firstname และ lastn
                       ่
 ค่าชื่อของคุณกับฟิลด์ firstname และนามสกุลของคุณให้กับฟิลด์ la
ทั้งแสดงค่าข้อมูลของ Structure ที่ชื่อ myname ทั้งฟิลด์ firstname
ame ออกมาที่หน้าจอ


                      ABAP Practice
Constants
Constants


* Constant variable
CONSTANTS max_no TYPE I VALUE 999.
DATA counter TYPE I VALUE max_no.
WRITE: max_no, counter.
Constants Using Example


* Constant variable
CONSTANTS ctext(11) TYPE C VALUE ‘Hello World’.
WRITE ctext.
WRITE ctext.
WRITE ctext.
WRITE ctext.
WRITE ctext.
System Fields
        The system fields (structure syst) are filled by
         the runtime environment. You can use them
         to query the system status in an ABAP
         program
        You should access them only for reading
            sy-datum   = Current date of application server
 syst-      sy-uzeit   = Current time of application server
datum       sy-datlo   = Current date of SAP GUI
            sy-timlo   = Current time of SAP GUI
            sy-mandt   = Current client logon
            sy-subrc   = Return value of ABAP statement
ABAP System Fields : Structure SYST (SE11)
DATE


* Fixed Length 8
* Include Representation ‘YYYYMMDD’
DATA today TYPE D.
today = sy-datum.
WRITE today.
today = ‘19991231’.
WRITE today.
TIME



* Fixed Length 6
* Format ‘HHMMSS’
DATA times TYPE T.
times = sy-uzeit.
WRITE times.
                HHMMSS
MOVE Statement


DATA wa LIKE customers.
DATA vender LIKE customers.
wa-id = ‘1234’.
wa-name = ‘Test#1’.
MOVE wa TO vender. “vender = wa.
WRITE: wa-id, vender-name.
MOVE-CORRESPONDING Statement

DATA: begin of wa1,
      f1,f2,f4,
      end of wa1.
DATA: begin of wa2,
      f2,f1,f3,
      end of wa2.
…
MOVE-CORRESPONDING wa1 TO wa2.
WRITE: wa1-f1,wa2-f1 .
Field-symbols
Field-symbols

Data: name(4) Value ‘Test’,
        num   Type I Value 10,
        today Type D Value ‘19980429’.
Field-symbols <temp>.
Assign name To <temp>.
Write <temp>.
Assign num To <temp>.
Write <temp>.
Assign today To <temp>.
Write <temp>.
Field-symbols : UNASSIGN

data: name(4) Value ‘Test’,
field-symbols <temp>.
assign name To <temp>.
write <temp>.
unassign <temp>.
CLEAR Statement

atement sets a field to an initial value appropriate fo
                 CLEAR <data object>.


   Example:
              DATA tmp type i value 9.
              tmp = 10.
              CLEAR tmp.
CLEAR Structure


DATA wa like customers.
…
CLEAR wa.
ABAP Report : Program Structure

Report ztest.
*Data objects declaration
data ...
data begin of ...
*Program Logic(Data objects processing)
…
write ….
ABAP Practice

More Related Content

What's hot

SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptxKeshavaMurthy74
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDIAmit Khari
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.docKranthi Kumar
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questionstechie_gautam
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionaryvkyecc1
 
Technical Overview of CDS View – SAP HANA Part I
Technical Overview of CDS View – SAP HANA Part ITechnical Overview of CDS View – SAP HANA Part I
Technical Overview of CDS View – SAP HANA Part IAshish Saxena
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionarySmartGokul4
 
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdfSAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdfsubbulokam
 
SAP MDG PRESENTATION
SAP MDG PRESENTATIONSAP MDG PRESENTATION
SAP MDG PRESENTATIONEraedgeElearn
 
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide Kellton Tech Solutions Ltd
 

What's hot (20)

SAP Flexible workflows.pptx
SAP Flexible workflows.pptxSAP Flexible workflows.pptx
SAP Flexible workflows.pptx
 
SAP Smart forms
SAP Smart formsSAP Smart forms
SAP Smart forms
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 
SAP Fiori ppt
SAP Fiori pptSAP Fiori ppt
SAP Fiori ppt
 
Module pool programming
Module pool programmingModule pool programming
Module pool programming
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questions
 
SAP BW Introduction.
SAP BW Introduction.SAP BW Introduction.
SAP BW Introduction.
 
SAP Overview
SAP Overview SAP Overview
SAP Overview
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionary
 
Technical Overview of CDS View – SAP HANA Part I
Technical Overview of CDS View – SAP HANA Part ITechnical Overview of CDS View – SAP HANA Part I
Technical Overview of CDS View – SAP HANA Part I
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionary
 
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdfSAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
SAP S_4HANA Migration Cockpit - Migrate your Data to SAP S_4HANA.pdf
 
SAP Landscape
SAP Landscape SAP Landscape
SAP Landscape
 
SAP MDG PRESENTATION
SAP MDG PRESENTATIONSAP MDG PRESENTATION
SAP MDG PRESENTATION
 
SAP for Beginners
SAP for BeginnersSAP for Beginners
SAP for Beginners
 
SAP data archiving
SAP data archivingSAP data archiving
SAP data archiving
 
Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide Transition to SAP S/4HANA System Conversion: A step-by-step guide
Transition to SAP S/4HANA System Conversion: A step-by-step guide
 

Viewers also liked

Sap abap ppt
Sap abap pptSap abap ppt
Sap abap pptvonline
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Panduka Bandara
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Tablesapdocs. info
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Groupsapdocs. info
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAPsapdocs. info
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsGaruda Trainings
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screensapdocs. info
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infosapdocs. info
 
Step by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPStep by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPnityaabap
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answersUttam Agrawal
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overviewsapdocs. info
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!sapdocs. info
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Tablesapdocs. info
 
HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/sapdocs. info
 
HR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.infoHR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.infosapdocs. info
 
0105 abap programming_overview
0105 abap programming_overview0105 abap programming_overview
0105 abap programming_overviewvkyecc1
 
Abap package concept
Abap package conceptAbap package concept
Abap package conceptTobias Trapp
 

Viewers also liked (20)

Sap abap ppt
Sap abap pptSap abap ppt
Sap abap ppt
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1
 
SAP ABAP Material
SAP ABAP MaterialSAP ABAP Material
SAP ABAP Material
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Group
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screen
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 
Step by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPStep by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAP
 
07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answers
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Table
 
HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/
 
HR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.infoHR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.info
 
0105 abap programming_overview
0105 abap programming_overview0105 abap programming_overview
0105 abap programming_overview
 
Abap package concept
Abap package conceptAbap package concept
Abap package concept
 

Similar to ABAP Programming Overview: List Processing, Open SQL, Event-Driven Programming

03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)saifee37
 
03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)saifee37
 
Abap programming overview
Abap programming overview Abap programming overview
Abap programming overview k kartheek
 
Oracle Apps Technical Manual
Oracle Apps Technical ManualOracle Apps Technical Manual
Oracle Apps Technical ManualHossam El-Faxe
 
Sap abap online corse content
Sap abap online corse contentSap abap online corse content
Sap abap online corse contentkrajesh0011
 
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...IndicThreads
 
Cowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис ТрофімовCowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис ТрофімовSigma Software
 
SAP ABAP Online Training by SVR Experts
SAP ABAP Online Training by SVR ExpertsSAP ABAP Online Training by SVR Experts
SAP ABAP Online Training by SVR ExpertsSVRTechnologies
 
Processing massive amount of data with Map Reduce using Apache Hadoop - Indi...
Processing massive amount of data with Map Reduce using Apache Hadoop  - Indi...Processing massive amount of data with Map Reduce using Apache Hadoop  - Indi...
Processing massive amount of data with Map Reduce using Apache Hadoop - Indi...IndicThreads
 
Apache spark - Architecture , Overview & libraries
Apache spark - Architecture , Overview & librariesApache spark - Architecture , Overview & libraries
Apache spark - Architecture , Overview & librariesWalaa Hamdy Assy
 
Cowboy Dating with Big Data or DWH Evolution in Action, Борис Трофимов
Cowboy Dating with Big Data or DWH Evolution in Action, Борис ТрофимовCowboy Dating with Big Data or DWH Evolution in Action, Борис Трофимов
Cowboy Dating with Big Data or DWH Evolution in Action, Борис ТрофимовSigma Software
 
SAP ABAP Course Curriculum
SAP ABAP Course Curriculum SAP ABAP Course Curriculum
SAP ABAP Course Curriculum Faculties Online
 
Windows Azure Design Patterns
Windows Azure Design PatternsWindows Azure Design Patterns
Windows Azure Design PatternsDavid Pallmann
 

Similar to ABAP Programming Overview: List Processing, Open SQL, Event-Driven Programming (20)

03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)
 
03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)
 
Abap programming overview
Abap programming overview Abap programming overview
Abap programming overview
 
R3arch
R3archR3arch
R3arch
 
Oracle Apps Technical Manual
Oracle Apps Technical ManualOracle Apps Technical Manual
Oracle Apps Technical Manual
 
Oracle apps-technical-tutorial
Oracle apps-technical-tutorialOracle apps-technical-tutorial
Oracle apps-technical-tutorial
 
Sap abap online corse content
Sap abap online corse contentSap abap online corse content
Sap abap online corse content
 
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
 
Cowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис ТрофімовCowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис Трофімов
 
SAP ABAP Online Training by SVR Experts
SAP ABAP Online Training by SVR ExpertsSAP ABAP Online Training by SVR Experts
SAP ABAP Online Training by SVR Experts
 
Sap abap
Sap abapSap abap
Sap abap
 
Ta3
Ta3Ta3
Ta3
 
Ratnadip Mysap.Ppt
Ratnadip Mysap.PptRatnadip Mysap.Ppt
Ratnadip Mysap.Ppt
 
Processing massive amount of data with Map Reduce using Apache Hadoop - Indi...
Processing massive amount of data with Map Reduce using Apache Hadoop  - Indi...Processing massive amount of data with Map Reduce using Apache Hadoop  - Indi...
Processing massive amount of data with Map Reduce using Apache Hadoop - Indi...
 
Apache spark - Architecture , Overview & libraries
Apache spark - Architecture , Overview & librariesApache spark - Architecture , Overview & libraries
Apache spark - Architecture , Overview & libraries
 
9P Overview
9P Overview9P Overview
9P Overview
 
Cowboy Dating with Big Data or DWH Evolution in Action, Борис Трофимов
Cowboy Dating with Big Data or DWH Evolution in Action, Борис ТрофимовCowboy Dating with Big Data or DWH Evolution in Action, Борис Трофимов
Cowboy Dating with Big Data or DWH Evolution in Action, Борис Трофимов
 
SAP ABAP Course Curriculum
SAP ABAP Course Curriculum SAP ABAP Course Curriculum
SAP ABAP Course Curriculum
 
Windows Azure Design Patterns
Windows Azure Design PatternsWindows Azure Design Patterns
Windows Azure Design Patterns
 
Sap architecture
Sap architectureSap architecture
Sap architecture
 

More from sapdocs. info

SAP PM Master Data Training Guide
SAP PM Master Data Training GuideSAP PM Master Data Training Guide
SAP PM Master Data Training Guidesapdocs. info
 
SAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training NotesSAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training Notessapdocs. info
 
Variant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's GuideVariant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's Guidesapdocs. info
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginnerssapdocs. info
 
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.infoSAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.infosapdocs. info
 
SAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.infoSAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.infosapdocs. info
 
ABAP Basico para Consultores Funcionales
ABAP Basico para Consultores FuncionalesABAP Basico para Consultores Funcionales
ABAP Basico para Consultores Funcionalessapdocs. info
 
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)sapdocs. info
 
SAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSSAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSsapdocs. info
 
SAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHSSAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHSsapdocs. info
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Documentsapdocs. info
 
SAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infoSAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infosapdocs. info
 
SAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project DocumentationSAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project Documentationsapdocs. info
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guidesapdocs. info
 
SAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for BeginnersSAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for Beginnerssapdocs. info
 
SAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for BeginnersSAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for Beginnerssapdocs. info
 
SAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for BeginnersSAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for Beginnerssapdocs. info
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infosapdocs. info
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infosapdocs. info
 
SAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.infoSAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.infosapdocs. info
 

More from sapdocs. info (20)

SAP PM Master Data Training Guide
SAP PM Master Data Training GuideSAP PM Master Data Training Guide
SAP PM Master Data Training Guide
 
SAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training NotesSAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training Notes
 
Variant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's GuideVariant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's Guide
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginners
 
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.infoSAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
 
SAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.infoSAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.info
 
ABAP Basico para Consultores Funcionales
ABAP Basico para Consultores FuncionalesABAP Basico para Consultores Funcionales
ABAP Basico para Consultores Funcionales
 
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)
 
SAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSSAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHS
 
SAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHSSAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHS
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Document
 
SAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infoSAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.info
 
SAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project DocumentationSAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project Documentation
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guide
 
SAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for BeginnersSAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for Beginners
 
SAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for BeginnersSAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for Beginners
 
SAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for BeginnersSAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for Beginners
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.info
 
SAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.infoSAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.info
 

Recently uploaded

Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 

Recently uploaded (20)

prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 

ABAP Programming Overview: List Processing, Open SQL, Event-Driven Programming

  • 2. ABAP Course Outline  Chapter 1 : Introduction to ABAP  Chapter 2 : List Processing in ABAP  Chapter 3 : Open SQL & Internal Table  Chapter 4 : Event-driven Programming & Selection Screen  Chapter 5 : Modularization & Catch Statement  Chapter 6 : Message, Debugging, File Transfer and Type Group
  • 3. ABAP Chapter 1  Introduction to SAP Architecture  ABAP Overview  Data Object in ABAP
  • 4. SAP System : 3 Tier Client/Server SAP GUI SAP GUI SAP GUI Presentation Server SAP Application Server DB Server
  • 5. SAP SYSTEM (3 Tier Architecture) SAP GUI SAP GUI Presentation Layer (Windows based) SAP Instance Application Layer Dispatcher M (Windows Server/UNIX) Request SAP Buffer Queue (Shared Mem) D D B V S E G Oracle Database Layer Informix (Windows Server/UNIX) DB2 Database Server MS SQL Server MaxDB
  • 7. SAP System : Dialog Processing SAP GUI Report zpsm1. Request Tables customers. List Select single * from Generate 1 10 customers where id = 1. Screen(List) Application Server Send Request Write: / customers-name. Store request to queue3 Dispatcher Send 2 Search for SAP Buffer List 9 free WP Request Check Program in 7 Program Queue Send request Program Buffer 5 Execute to WP 4 ABAP Table D D D … D stateme nt … 8 6 SQL Load&Gen Database Server Request Program
  • 8. Dialog Work Process Architecture Dialog Work Process Local Memory Memory Space TaskHandler ABAP Processor List buffer DYNPRO Processor DB Interface Result Set Memory Database Server
  • 10. ABAP Overview MOVE … IF ... DATA ... WHILE... WRITE ... SEARCH ... *Comment... SELECT ... DO ... LOOP AT ...
  • 12. ABAP Feature  Declaring data with various types and structure  Operational elements for data manipulation  Control elements for controlling the program flow  Event elements for reacting to external events
  • 13. ABAP  Operating/Database system-independent programming  ABAP contains a subset of SQL called Open SQL for comfortable database access for various database
  • 14. ABAP Programming  ABAP Report  Dialog Programming(Transaction)
  • 15. ABAP Program : Report Report Program : attribute type 1 (executable) Reading Data Database  Reading data
  • 16. Types of ABAP Report 1 3 1. Report Listing 4 2. Drill-down Report 3. Control-break Report 4. ALV Report
  • 17. ABAP Program : Dialog Program Dialog Program : attribute type M (Module Pool) Reading Data Writing Database  Reading and changing data
  • 18. Dialog Program : Transaction
  • 20. How to create ABAP program Transaction Code : SE38
  • 24. The Structure of the Language  Each statement must end with a period DATA tmp TYPE I. WRITE ‘Hello World’. WRITE ‘OK’.
  • 25. Literal DATA tmp TYPE I. Text Literal WRITE ‘Hello World’. WRITE ’10’. Text Literal MOVE 9 TO tmp. Numeric Literal
  • 26. Chained Statements  Successive statements that have the same string segment can be combined to form a single chained statement  To do so, you specify the identical starting segment once and conclude it with a colon (:), the remaining segments are then listed, separated by commas (,) and concluded with a period (.)  At runtime, a chained statement is treated like an equivalent sequence of individual ABAP statements
  • 27. Chained Statements WRITE ‘Hello World’. WRITE ‘OK’. = WRITE: ‘Hello World’, ‘OK’. DATA tmp1 TYPE I. DATA tmp2 TYPE C. = DATA: tmp1 TYPE I, tmp2 TYPE C.
  • 28. Chained Statement MOVE sy-subrc TO tmp1. MOVE sy-subrc TO tmp2. MOVE sy-subrc TO tmp3. = MOVE sy-subrc TO: tmp1, tmp2, tmp3.
  • 29. Chained Statement PERFORM cal_1 USING a1 a2. PERFORM cal_1 USING a3 a4. = PERFORM cal_1 USING: a1 a2, a3 a4.
  • 30. Comments * This is full line comment WRITE ‘Hello World’. “ Write data (partial line comment) WRITE ‘Test’.
  • 31. ABAP Command : Case Sensitivity  ABAP command is not case sensitive WRITE ‘Hello World’. WriTe ‘Hello World’. wRiTE ‘Hello World’.
  • 33. Data Objects in ABAP Memory Space Variable Structure Table Structure Internal Table Constants <Field-symbols>
  • 35. Variable  Variables can be declared at any point in a program  Variables can be up to 30 characters in length REPORT ZTEST. DATA firstname TYPE STRING. firstname = ‘John’.
  • 36. Predefined ABAP Data Types Type Description Initial Value Length C Character Space 1 – 65535 D Date ‘00000000’ 8 characters F Floating Point 0.0 8 bytes I Integer 0 4 bytes N Numeric Text ‘0’ 1 – 65535 P Packed Decimal 0 1 – 16 bytes T Time ‘000000’ 6 characters X Hexadecimal ’00’ 1 – 65535 String Variable-length Space Variable xstring Variable-length Blank string Variable Hexadecimal
  • 37. Defining Variable with DATA Statement * Syntax DATA var[( length )] [Type type ] [Decimals number ]. DATA var LIKE Table-Field [VALUE initial value ].
  • 38. Defining Variable with DATA Statement * Data Declaration DATA: tmp(10) TYPE C, tmp1 TYPE I, tmp2(8) TYPE P DECIMALS 2 VALUE ‘1.50’. DATA: tmp3(5) TYPE N, tmp4.
  • 39. Defining Variable with DATA Statement * Data Declaration DATA customerno LIKE customers-id. DATA matnr LIKE mara-matnr. DATA customerno TYPE customers-id. DATA matnr TYPE mara-matnr.
  • 40. ABAP Predefined Data Types ABAP Predefined Data Types Complete Types Incomplete Types (I,F,D,T,STRING and XSTRING) (C,N,P and X)
  • 41. Variable  Data Type C,N and X length between 1 – 65535 (Default 1) DATA tmp(10) TYPE C.  Data Type P length between 1 – 16 (Default 8) and decimals length between 0 – 31 DATA tmp(5) TYPE P DECIMALS 2.  Data Type I value between – 231 to 231 – 1 or –2,147,483,648 to 2,147,483,647 DATA tmp TYPE I. tmp = 1000000.
  • 42. Data type N data tmp(5) type N. tmp = ‘Xca9yy23K6’.
  • 43. ABAP Error ABAP Error Syntax Runtime Error Error User Runtime System Runtime Error Error Cannot Allocate Time Exceed Space (10 Minutes)
  • 44. User Runtime Error DATA result TYPE i. result = 10 / 0.
  • 45. System Runtime Error : Space Allocation
  • 46. System Runtime Error : Time Exceed
  • 47. Non-elementary Type * Data Declaration TYPES tname(30) TYPE c. DATA: customer_name TYPE tname, firstname TYPE tname.
  • 48. Value Assignment * Value assignment DATA: name1(30), first_num TYPE I, next_num TYPE I. MOVE ‘XXXX’ TO name1. MOVE 5 TO first_num. COMPUTE next_num = first_num + 5. name1 = ‘SAP’. ADD 1 TO next_num.
  • 49. Value Assignment * Value assignment DATA: tmp1 TYPE i, tmp2 TYPE i. tmp1 = tmp2 = 10.
  • 50. งการให้สร้างตัวแปรชื่อ firstname และ lastname โดยให้ค่าชื่อของค แปร firstname และนามสกุลของคุณให้กับตัวแปร lastname พร้อมท ข้อมูล firstname กับ lastname ออกมาที่หน้าจอ ABAP Practice
  • 52. Structure * Syntax DATA BEGIN OF < structure name >. DATA field1. DATA field2. … … DATA END OF < structure name >.
  • 53. Structure wa * Syntax id name city 00000000 DATA BEGIN OF wa. DATA id LIKE customers-id . DATA name LIKE customers-name . DATA city LIKE customers-city . DATA END OF wa. MOVE 9 TO wa-id. WRITE wa-id.
  • 54. Defining Structure (Include Structure) * Include Structure DATA BEGIN OF wa. INCLUDE STRUCTURE customers. DATA tel(7). DATA END OF wa.
  • 55. Defining Structure * LIKE option DATA wa LIKE customers. wa-id = 1. wa-name = ‘John’. WRITE: wa-id, wa-name.
  • 56. ารให้สร้าง Structure ชือ myname โดยมีฟิลด์ firstname และ lastn ่ ค่าชื่อของคุณกับฟิลด์ firstname และนามสกุลของคุณให้กับฟิลด์ la ทั้งแสดงค่าข้อมูลของ Structure ที่ชื่อ myname ทั้งฟิลด์ firstname ame ออกมาที่หน้าจอ ABAP Practice
  • 58. Constants * Constant variable CONSTANTS max_no TYPE I VALUE 999. DATA counter TYPE I VALUE max_no. WRITE: max_no, counter.
  • 59. Constants Using Example * Constant variable CONSTANTS ctext(11) TYPE C VALUE ‘Hello World’. WRITE ctext. WRITE ctext. WRITE ctext. WRITE ctext. WRITE ctext.
  • 60. System Fields  The system fields (structure syst) are filled by the runtime environment. You can use them to query the system status in an ABAP program  You should access them only for reading  sy-datum = Current date of application server syst-  sy-uzeit = Current time of application server datum  sy-datlo = Current date of SAP GUI  sy-timlo = Current time of SAP GUI  sy-mandt = Current client logon  sy-subrc = Return value of ABAP statement
  • 61. ABAP System Fields : Structure SYST (SE11)
  • 62. DATE * Fixed Length 8 * Include Representation ‘YYYYMMDD’ DATA today TYPE D. today = sy-datum. WRITE today. today = ‘19991231’. WRITE today.
  • 63. TIME * Fixed Length 6 * Format ‘HHMMSS’ DATA times TYPE T. times = sy-uzeit. WRITE times. HHMMSS
  • 64. MOVE Statement DATA wa LIKE customers. DATA vender LIKE customers. wa-id = ‘1234’. wa-name = ‘Test#1’. MOVE wa TO vender. “vender = wa. WRITE: wa-id, vender-name.
  • 65. MOVE-CORRESPONDING Statement DATA: begin of wa1, f1,f2,f4, end of wa1. DATA: begin of wa2, f2,f1,f3, end of wa2. … MOVE-CORRESPONDING wa1 TO wa2. WRITE: wa1-f1,wa2-f1 .
  • 67. Field-symbols Data: name(4) Value ‘Test’, num Type I Value 10, today Type D Value ‘19980429’. Field-symbols <temp>. Assign name To <temp>. Write <temp>. Assign num To <temp>. Write <temp>. Assign today To <temp>. Write <temp>.
  • 68. Field-symbols : UNASSIGN data: name(4) Value ‘Test’, field-symbols <temp>. assign name To <temp>. write <temp>. unassign <temp>.
  • 69. CLEAR Statement atement sets a field to an initial value appropriate fo CLEAR <data object>. Example: DATA tmp type i value 9. tmp = 10. CLEAR tmp.
  • 70. CLEAR Structure DATA wa like customers. … CLEAR wa.
  • 71. ABAP Report : Program Structure Report ztest. *Data objects declaration data ... data begin of ... *Program Logic(Data objects processing) … write ….