Docsity

Understanding SAP Systems: Units of Work, Transactions, and ABAP Programs, Slides of Business Policy and Regulation

Partial preview of the text

Download Understanding SAP Systems: Units of Work, Transactions, and ABAP Programs and more Slides Business Policy and Regulation in PDF only on Docsity!

Introduction to ABAP

and SAP Structure

What is the UOW?

 SAP operates around the concept of a Unit of Work (UOW)  Every transaction code you execute completes a unit of work  It‟s atomic (cannot be divided). That is, a transaction completes entirely or it does not!  A unit of work (transaction code) corresponds to a program (term used loosely)

Organization of

the SAP System (1)

 It‟s big  Use the Object Navigator to look at all of the SAP objects (SE80)  All sorts of tools to look up and edit applications  Typical „drill-down‟ interface

 My example will look at transaction code VA01 – create sales order

Organization of

the SAP System (2)

 You have all of the source code and can see / change / enhance how the system works  All code is written in a language called ABAP or more recently some Java

ABAP Program Attributes

(Package)

 Use Local Package $TMP for our work

The Object Navigator

 It‟s a navigator to all SAP „objects‟ (SE80)  The „Application Hierarchy‟ is at the top and contains packages

Object Navigator

(Lookup Example 2)

 Which contains the program SAPMV45A (Sales Order Processing)

Object Navigator

(Lookup Example 3)

 And the transaction code VA01 is bound to this program SAPMV45A  SE93 is used to look up a program based on the transaction code

Object Navigator

(Lookup Example 4)

 Screen 101 from the Object Navigator is the first screen to create a sales order

Object Navigator

(Lookup Example 5)

 Which when run gives us a screen simulation

How do we Customize?

 We modify SAP programs via „enhancement sections‟ and other means  We create custom programs  We copy entire transaction codes and „make our own

Enhancement Sections

 They are entry points into SAP programs that allow us to add our own code before or after some SAP task executes

Review

(A First ABAP Program -1)

 Create a program

Review

(A First ABAP Program -2)

 Edit the program statements