Professional Documents
Culture Documents
Agenda Day 1
Basics of SAP HR and Why ABAP HR
Logical Databases
PA (Personnel Administration) - Overview
Structure of Database Tables in PA
Infotypes Overview
Topic List
Basics of SAP HR and Why ABAP HR
Logical Databases
PA (Personnel Administration) - Overview
Structure of Database Tables in PA
Infotypes Overview
Why ABAP HR ?
Basics of SAP HR
contd
HR as a Function- HR LC
Acquire
Strategize and Plan
2. Staff Acquisition
Right Person
Sustain
3. Organization
and Position
Management
4. Compensation Management
5. Benefits
Management Performing
1. HR
Strategy
Well
and
Appropriately
Compensated
8. Travel Management
Separate
3. Separation Management
Timely
Retirement
Processing
Organisational Management
Master data
HR
Time Management
Payroll Accounting
HR Structures
Enterprise structure.- Client, Company code, PA, PSA
Organizational structure Org Unit, Position, Job, Task
Personnel structure.-Emp Group, Emp Sub-Group.
Payroll accounting Area
Organizational Unit
Organizational Structure
Position
S
Job
C
S
Personnel Structure
S
C
S
Independant
Contractant ext.
Intrimaire
External
Active
Retiree
Hourly Worker
Monthly worker
Executive
Manager
Senior Manager
Student
Executive
Manager
Senior Manager
Employee
Hourly Worker
Monthly worker
Executive
Manager
Senior Manager
Student
Enterprise Structure
WT01
1000
WT02
WT03
WT04
1100
1101
1003
Company Code
Expatri
KAR
AP
Administration
Sorti
Hourly Worker
Monthly worker
Executive
Manager
Senior Manager
Student
Legal
Quality
NDEL
WB
Sales
Mkt
Finance
Engineering
Personnel Area
HR
Personnel Sub-Area
Enterprise Structure
Organizational Structure
Organizational
Unit (O)
Incorporates
Job
(C)
Describes
Is described by
Is managed by
Position
(S)
Holder
person
(P)
External
Pensioner
Active
Active
Workforce
Student
Manager
Basics of SAP HR
contd
Topic List
LDB
contd
What is a LDB ?
Logical databases are special ABAP programs that retrieve data and
make it available to application programs. The most common use of
logical databases is still to read data from database tables and linking
them to executable ABAP programs while setting the program contents
Logical databases contain Open SQL statements that read data from
the database. You do not therefore need to use SQL in your own
programs
A logical database can read the lines of these tables one after the other
into an executable program in a sequence which is normally defined by
the hierarchical structure
LDB
contd
LDB
3 Components of an LDB
STRUCTURE
The structure defines the data view of
the logical database.
SELECTIONS
The selections define a selection
screen, which forms the user interface
of the executable programs that use
the logical database.
DATABASE PROGRAM
The database program contains the
ABAP statements used to read the
data and pass it to the user of the
logical database.
contd
LDB
Structure of Logical Database
. contd
LDB
contd
LDB
contd
LDB
contd
LDB
Events in an LDB
GET Event
contd
LDB
contd
DEMO
Structure of DB tables in PA
Logical Structures and Database Tables in PA
Logical structures
Pnnnn
KEY fields
Database tables
Screen
fields
PAnnnn
PBnnnn
Qnnnn
Data fields
PSnnnn
Selection
fields PNP
PERNR
PCLn
Infotypes Overview
What is an Infotype ?
When to use Infotype ?
Where are Infotypes present ?
How is Infotype beneficial ?
PA0002
MANDT
PAKEY
PSHD1
PS0002
PSKEY
PSHD1
PS0002
"Actions
"Personal Data
"Addresses
GET PERNR.
PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA.
WRITE...
ENDPROVIDE.
END-OF-SELECTION.
Infotype
loop
Infotype
loop
Employee
loop
JANUARY - APRIL
MAY - AUGUST
Ms Y
SEPTEMBER - DECEMBER
SAP AG 1999
Data
Selection
Org.
Assignment
Org.
Assignment
January
December
January
December
January
December
Data selection
Person selection
INFOTYPES: ...
GET PERNR.
PROVIDE...
WRITE...
SAP AG 1999
PAnnnn
Sort Order
...
GET PERNR.
...
SAP AG 1999
PerNo. Pers.area
Name
1909
1910
1899
Sam Hawkins
David Lindsay
Karl May
1000
1000
1100
JOIN INFOTYPES
JOIN / CODING
JOIN / SUBTYPES
PROJECTION
PROJECTION / CODING
Topic List
Basics of SAP HR and Why ABAP HR
Logical Databases
PA (Personnel Administration) - Overview
Structure of Database Tables in PA
Infotypes Overview
Any Questions?
Thank you