HR ABAP INFOTYPE
-
Upload
vinayistha -
Category
Documents
-
view
203 -
download
32
description
Transcript of HR ABAP INFOTYPE
04/11/23 1
INFOTYPE CREATION
04/11/23 2
Training will cover
♠ Concept of Info types
♠ Info type Structures
♠ Creation of info type
♠ Enhancement of info type
04/11/23 3
Infotype
Definition
♠ Units of information.
OR
Infotype is a collection of Logical and Business related
Characteristics of an object or person.
04/11/23 4
Uses of Infotype
♠ To group related data fields
Personal Data
NameDOBNationalityMarital Status
AddressesStreetCityPin codeState
INFOTYPES
04/11/23 5
Uses of Info type
♠ Maintaining Employee Information by Date
04/11/23 6
Info type Numbers
♠ Four digit number nnnn
♠ Unique identification
♠ 9000 to 9999 reserved for customer infotypes
04/11/23 7
Naming Conventions
♠ 0000 to 0999 – HR Master data / Applicant data
♠ 1000 to 1999 – Organizational Management
♠ 2000 to 2999 – Time data
♠ 4000 to 4999 – Applicant data
♠ 9000 to 9999 – Customer defined
Naming conventions for Info types
04/11/23 8
Definition of Infotype within the Data Dictionary
Each infotype nnnn requires at least two structures and one table:
♠ Structure PSnnnnStructure PSnnnn contains all of the info type data fields.
♠ Structure PnnnnStructure Pnnnn contains infotype key fields and all of the
data fields from structure PSnnnn .
♠ Transparent table PAnnnn and/or transparent table PBnnnnTransparent table PAnnnn is required if you want to use an infotype within Personnel Administration.
If you want to use an infotype within Recruitment, transparent table PBnnnn is required.
In accordance with the distribution of infotype name ranges, objects P9nnn , PS9nnn , PA9nnn and PB9nnn are assigned to the customer name range.
04/11/23 9
Infotype Module Pool
♠ A module pool should be used with each infotype.
♠ The name of the program is MPnnnn00.
♠ Where P stands for Human Resources.
♠ nnnn is the four-digit infotype number.
04/11/23 10
Infotype-specific Includes
The main program only contains INCLUDE statements. If you create the main program using transaction PM01 Dialogs in HR, the system also creates the following four includes:
subroutinesMPnnnn40
PAI modules for the screensMPnnnn30
PBO modules for the screensMPnnnn20
The PROGRAM statement andthe declaration of common data objects
MPnnnn10
The include containsName of include
04/11/23 11
Infotype-specific Includes
The system also inserts INCLUDE statements in the main program for the following includes:
Definition of two data objects that contain the number of reference personnel numbers in structure P0031 or P0121
MPPREF00
Definition of infotype return codesMPPIRC00
Standard infotype modulesMPPERS00
Declaration of common data objectsMPPDAT00
Declaration of common data objectsThis data area is used as a buffer for imported infotype records and maintenance information. The variables specified in this area are used as export or import parameters when the infotype dialog module is accessed.
FP50PPSB
UseName of include
04/11/23 12
Infotype Screens
Each infotype has at least three screens:
♠ An initial screen (1000)♠ A single screen (2000)♠ A list screen (3000)
04/11/23 13
Initial Screens
♠ Initial screen is used as technical interface
♠ Screen 1000 is used for all infotypes
♠ Processed in background.
♠ Performs general initialization procedures
04/11/23 14
Single Screen - Preview
04/11/23 15
Initial Screens - Preview
04/11/23 16
Single Screens
♠ Its an interface between the system and the user.
♠ It enables to create, display or maintain data records.
♠ Screen 2000 is used for single screen.
04/11/23 17
Single Screen - Preview
04/11/23 18
List Screen
♠ Enables to list all records in infotype
♠ Screen 3000 is used for list screen
04/11/23 19
List Screen - Preview
04/11/23 20
Infotype Time Constraint
A time constraint indicates whether more than one infotype record may be available at one time.
The following time constraint indicators are permissible:
1 No overlapping and no gaps.
2 No overlapping but time gaps are permitted.
3 Overlapping and and time gaps are permitted.
04/11/23 21
Other Possible Time Constraint
A Only one record may exist, valid from 01/01/1800 to 12/31/9999.
Splitting and deletion is not permissible.
B Only one record may exist, valid from 01/01/1800 to 12/31/9999.
Splitting is not permissible, but may be deleted.
T The time constraint varies depending on the subtype.
Z Refers to time management infotypes.
04/11/23 22
Infotype Characteristics
The following tables must be maintained for each infotype:
Name of table Task
T582A Basic infotype characteristics
(database tables, single screen, list screen, time constraint, dialog module, and so on)
T582S Infotype short texts
T77ID Name of data field structure (PSnnnn)
04/11/23 23
Creating PA infotypes
Transaction code
‘PM01’.
04/11/23 24
Creating PA infotypes – PM01
04/11/23 25
Creating PA infotypes – Maintain Structure
04/11/23 26
Single Screens
♠ After Creation of Structure Save, Check & Activate.
♠ Click on Back button.
04/11/23 27
Creating PA infotypes – Maintain Structure
04/11/23 28
Single Screens
♠ Click on All Button on PM01 TCode
♠ Click on Infotype Characteristics Button.
♠ Click on Change Button.
♠ To add the Customized Infotype in The list , Click on New Entries Button
04/11/23 29
Creating PA infotypes – Infotype Table
04/11/23 30
Creating PA infotypes – Infotype Table
04/11/23 31
Creating PA infotypes – Infotype Table
04/11/23 32
Single Screens
♠ Back to the PM01 Screen
♠ Click on ALL Button, Then SAP Automatically creates
♠ PA9nnnn Table
♠ MP9nnnn00 Module Pool Program
♠ Dialog Module RP_9nnnn
♠ All the Technical Attributes are updated automatically.
04/11/23 33
Creating PA infotypes – Infotype Table
04/11/23 34
Creating PA infotypes – Infotype Table
04/11/23 35
Creating PA infotypes – Infotype Table (Primary Key)
04/11/23 36
Creating PA infotypes – Preview
04/11/23 37
Enhancement of PA Infotype
♠ Go to TCode : PM01
♠ Enter the infotype number.
♠ Choose Enhance infotype Tab.
04/11/23 38
Enhancing a Single Screen – PM01
04/11/23 39
Enhancing a Single Screen – Maintain Structure
04/11/23 40
Enhancing a Single Screen – Screen PreviewGlobal networkof innovation
Enhanced Field
04/11/23 41
Enhancing PA Infotype – CI INCLUDE
Only those PA Tables can be Enhanced, having structure CI Include
CI_P0000
04/11/23 42
Creating HRP info types
Transaction code
♠ ‘PPCI’.
(Personnel Planning Infotype Copier)
04/11/23 43
Creating HRP info types
We can create the following kinds of info types:
♠ Language-dependent field info types ♠ Language-independent field info types ♠ Language-dependent table info types ♠ Language-independent table info types
♠ We can also specify whether an info type is country-specific or not
04/11/23 44
Creating HRP info types
04/11/23 45
Creating HRP info types
♠ Start the Data Dictionary (SE11)
♠ Select the Radio button Data Type Enter the HRI9nnn ( Where 9nnn is info type no).
♠ Click on Create Button, and Create the required Structure
♠ Save , Check and Activate the Structure
04/11/23 46
Creating HRP info types
04/11/23 47
Creating HRP info types
04/11/23 48
Creating HRP info types
♠ Go to T Code : PPCI
Enter Info the details
♠ Info type : 9nnn ♠ Info type name : xxxxx
Click on Create, it will display Extended screen
04/11/23 49
Creating HRP info types
04/11/23 50
Creating HRP info types
04/11/23 51
Creating HRP info types
♠ Here you can select Field info type / Table Info Type
♠ Language Dependent/ Independent
♠ Country Specific / not
♠ After selecting these options click on Create Button
04/11/23 52
Creating HRP info types
04/11/23 53
Creating HRP info types
After Creation of Infotype Maintain the Following Details using TCode: OOIT
♠ Time Constraint
♠ Infotype Per Object Type
04/11/23 54
Creating HRP info types
04/11/23 55
Creating HRP info types
♠ Now you can see the infotype using TCode : PP01
♠ Based on the Object Type the infotype is Displayed
04/11/23 56
Thank You