Sie sind auf Seite 1von 56

INFOTYPE

CREATION
2/6/2013 1

Training will cover


Concept of Info types

Info type Structures


Creation of info type Enhancement of info type

2/6/2013

Infotype
Definition Units of information. OR

Infotype is a collection of Logical and Business related


Characteristics of an object or person.

2/6/2013

Uses of Infotype
To group related data fields
Name DOB Nationality Marital Status Street City Pin code State

Personal Data INFOTYPES Addresses

2/6/2013

Uses of Info type


Maintaining Employee Information by Date

2/6/2013

Info type Numbers

Four digit number nnnn


Unique identification 9000 to 9999 reserved for customer infotypes

2/6/2013

Naming Conventions
Naming conventions for Info types

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

2/6/2013

Definition of Infotype within the Data Dictionary


Each infotype nnnn requires at least two structures and one table: Structure PSnnnn
Structure PSnnnn contains all of the info type data fields.

Structure Pnnnn
Structure Pnnnn contains infotype key fields and all of the data fields from structure PSnnnn .

Transparent table PAnnnn and/or transparent table PBnnnn

2/6/2013

Transparent 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 8 customer name range.

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.

2/6/2013

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:
Name of include MPnnnn10 The include contains The PROGRAM statement and the declaration of common data objects PBO modules for the screens PAI modules for the screens subroutines

MPnnnn20 MPnnnn30 MPnnnn40

2/6/2013

10

Infotype-specific Includes
The system also inserts INCLUDE statements in the main program for the following includes:
Name of include Use FP50PPSB Declaration of common data objects This 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. Declaration of common data objects

MPPDAT00

MPPERS00
MPPIRC00 MPPREF00
2/6/2013

Standard infotype modules


Definition of infotype return codes Definition of two data objects that contain the number of reference personnel numbers in structure P0031 or P0121 11

Infotype Screens
Each infotype has at least three screens:

An initial screen (1000) A single screen (2000) A list screen (3000)

2/6/2013

12

Initial Screens
Initial screen is used as technical interface Screen 1000 is used for all infotypes Processed in background. Performs general initialization procedures

2/6/2013

13

Single Screen - Preview

2/6/2013

14

Initial Screens - Preview

2/6/2013

15

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.

2/6/2013

16

Single Screen - Preview

2/6/2013

17

List Screen
Enables to list all records in infotype Screen 3000 is used for list screen

2/6/2013

18

List Screen - Preview

2/6/2013

19

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.

No overlapping but time gaps are permitted.

Overlapping and and time gaps are permitted.

2/6/2013

20

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.

Only one record may exist, valid from 01/01/1800 to 12/31/9999. Splitting is not permissible, but may be deleted.

The time constraint varies depending on the subtype.

Refers to time management infotypes.

2/6/2013

21

Infotype Characteristics
The following tables must be maintained for each infotype: Name of table T582A Task Basic infotype characteristics (database tables, single screen, list screen, time constraint, dialog module, and so on) T582S T77ID Infotype short texts Name of data field structure (PSnnnn)

2/6/2013

22

Creating PA infotypes
Transaction code PM01.

2/6/2013

23

Creating PA infotypes PM01

2/6/2013

24

Creating PA infotypes Maintain Structure

2/6/2013

25

Single Screens
After Creation of Structure Save, Check & Activate. Click on Back button.

2/6/2013

26

Creating PA infotypes Maintain Structure

2/6/2013

27

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

2/6/2013

28

Creating PA infotypes Infotype Table

2/6/2013

29

Creating PA infotypes Infotype Table

2/6/2013

30

Creating PA infotypes Infotype Table

2/6/2013

31

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.

2/6/2013

32

Creating PA infotypes Infotype Table

2/6/2013

33

Creating PA infotypes Infotype Table

2/6/2013

34

Creating PA infotypes Infotype Table (Primary Key)

2/6/2013

35

Creating PA infotypes Preview

2/6/2013

36

Enhancement of PA Infotype

Go to TCode : PM01
Enter the infotype number. Choose Enhance infotype Tab.

2/6/2013

37

Enhancing a Single Screen PM01

2/6/2013

38

Enhancing a Single Screen Maintain Structure

2/6/2013

39

Global network of innovation

Enhancing a Single Screen Screen Preview

Enhanced Field

2/6/2013

40

Enhancing PA Infotype CI INCLUDE


Only those PA Tables can be Enhanced, having structure CI Include

CI_P0000

2/6/2013

41

Creating HRP info types


Transaction code PPCI. (Personnel Planning Infotype Copier)

2/6/2013

42

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

2/6/2013

43

Creating HRP info types

2/6/2013

44

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

2/6/2013

45

Creating HRP info types

2/6/2013

46

Creating HRP info types

2/6/2013

47

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

2/6/2013

48

Creating HRP info types

2/6/2013

49

Creating HRP info types

2/6/2013

50

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

2/6/2013

51

Creating HRP info types

2/6/2013

52

Creating HRP info types


After Creation of Infotype Maintain the Following Details using TCode: OOIT Time Constraint Infotype Per Object Type

2/6/2013

53

Creating HRP info types

2/6/2013

54

Creating HRP info types


Now you can see the infotype using TCode : PP01 Based on the Object Type the infotype is Displayed

2/6/2013

55

Thank You

2/6/2013

56

Das könnte Ihnen auch gefallen