SAP HR ABAP – FAQS – 2

Infotypes is special way to store the HR data rather than using standard tables. Infotypes will have three structures PAKEY, PSHD1, PSnnnn [ nnnn is Infotype number]. PAKEY(Key fields) and PSHD1(Control Fields) is same for all the Infotypes. Fields in the PSnnnn structure depends on the Infotype uses, like 0000- Actions will the fields specific to action of an employee 0002-Personal Data will have fields specific to the personal data fields(name, DOB, etc..) of an employee.

What is PAKEY structure, PSHD1 structure and what type of fields it contains?

PAKEY is the key field’s structure and it is same for all the PA Infotypes. It has different fields as below

PERNR – Employee Number

SUBTY – Subtypes are subdivisions of Infotypes.

OBJPS –The object identification indicator is used to differentiate records with the same

number in Infotype 0021 Family Member/Dependents.
SPRPS – The lock indicator for HR master data can be used to lock and unlock data records. It

can be used to guarantee double control, that is, at least two users are involved in

writing an active data record to the database. One of the users creates a locked infotype

record. Another user unlocks this record by activating it.
ENDDA – Valid to date
BEGDA – Valid from date
SEQNR –The sequential number differentiates Infotype records with the same key and the time

constraint ’3′. Unlike the personnel object identification, it is automatically assigned by

the system.

PSHD1 is another basic structure that is the same for all Personnel Administration Infotypes. It includes the date the record was changed (AEDTM), the name of the person making the change (UNAME), and information on whether the administrator created plain text for this infotype (ITXEX).

Why do we require Infotypes for HR module?

As all other modules uses standard SAP tables concept to store the data. HR module uses the new and different concept to store the data i.e., Infotypes. Data is scattered b/n Infotypes by depending above the type of data and this makes to easily access similar data of all employees at one stretch by minimizing the retrieval time. As HR data is totally time dependant and have more number records to save and retrieve for a particular purpose.

What are the transaction codes to create the Infotypes?

PM01

What is the process to enhance the Infotype?

Go to PM01, enhance IT tab and provide the Infotype number for which you require to enhance, click on create all button(you can create individually structure, module pool program also). It will take you to the CI_nnnn structure, provide the fields you want to add – activate.

Importance of PA20, PA30 and PA40?

PA20 – Display HR Master Data

PA30 – Maintain HR Master Data

PA40 – Personnel Actions

How can we decide whether we can enhance the standard Infotype or not?

You can enhance all the Infotypes provide CI_nnnn is there in the structure.

What is PS structure?

PS Structures have basic data fields of an employee in every Infotype. These data fields will vary for every Infotype and included in respective Infotype to hold the data.