Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

About Infotype

Former Member
0 Kudos

hi experts,

any one can help me to describe what is infotype?

what's the difference between infotype and table?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Infotype(s) are used in the Personnel Management (PA) module primarily. This is where personnel master data is stored. Data is grouped according to subject matter. The Human Resources component aims to enable the user to process employee data in an effective structure in accordance with business requirements. The data structure of infotypes mirrors a logical set of data records. Infotypes can be identified by their four-digit keys, for example, the Addresses infotype (0006). To facilitate reporting on past employee data, infotypes can be saved for specific periods.

Some people use the term HR ABAP to describe the method of managing the infotype data

Steps to create a HR Infotype:

1) Go to Transaction PM01.

2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).

3) Select the 'Employee Infotype' radio button.

4) Select the 'PS Structure Infotype'.

5) Click on Create... A separate table maintenance window appears...

6) Create a PS structure with all the fields you want on the Infotype

7) Save and Activate the PS structure

😎 Go back to the initial screen of PM01.

9) Click on 'All' push button. It takes a few moments.

10) Click on 'Technical Characteristics'. Infotype list screen appears

11) Click on 'Change'(pencil) button

12) Select your Infotype and click on 'Detail' (magnifying glass) button

13) Give 'T591A' as subtype table

14) Give 'T591S' as subtype txt tab

15) Give your subtype field as subtype field

16) Save and come back to PM01 initial screen

17) Click on 'Infotype Characteristics' ... Infotype list screen appears

18) Click on 'Change' (pencil) button

19) Click on 'New Entries'

20) Enter your Infotype number and short text

21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)

22) Save your entries.

23) Now the Infotype is created and ready to use.

24) If you want to change the layout of the Infotype as per your requirement...

25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.

26) In the next screen.. Select 'Layout Editor' and click 'Change'.

27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.

28) Save and activate. (Don't forget to 'Activate at every level)

Subtype Creation :

Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.

Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.

Subty.text tab is T591S and time const tab is T591A.

See:

http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm

HR related site:

http://www.sapdevelopment.co.uk/hr/hrhome.htm

Enhancement of Infotype

Check the following

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-82043038...

Diff between ABAP and Infotype

ABAP is used for customization and modification of SAP applications.

Generally in ABAP the following are done :

1) Table development

2) Date Processin

3) Reprt developing

4) BAPIs /RFC s

5) Data base update

6) Screens development/enhancement

7) Scripts and smart forms.

😎 Function Building

9) Java connectors etc.

Programming done in ABAP may be related to any module of my SAP ERP 2004 like:

HR, FICO.SD,MM,CRM Etc.,

eg:-

A typical fetch statment will look like :

SELECT * from SPFLI into wa_spfli

WHERE CARRID = 'AA'.

ENDSELECT.

You can download ABAP Programming guide from :

http://www.savefile.com/files/155399

ABAP HR is an integral part of ABAP.

HR ABAP Uses :

1) Logical Database (PNP)

2) Programming with Infotypes

3) Processing Time infotypes/Cluster

4) Processing Payroll infotypes/Cluster

The development of ABAP in the area of HR is used to meet the clients requirements according to the functional specifications .They may be in any area of HR like in the areas of :

Time aspects, Pay aspects, OM aspects and Self Services like E-recruitment, ESS etc.,

eg:-

A typical fetch statement from a database/Infotype may look like :

PROVIDE * from p0002 between pn-begda and pn-endda.

ENDPROVIDE.

Where infotype 00002 refers to Personal data, which inturn refers to Table pa0002.

To start off with HR ABAP you can refer :

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_PROGRAMM.pdf

5 REPLIES 5

Former Member
0 Kudos

An infotype is a 'record' or a 'screen' which holds data against an employee or PD object such as a position, org.unit etc.

Eg.

InfoTypes

0000 Events

0001 Org assignment

0002 Personal info

0003 Payroll data

0007 Work time

0008 Basic pay

0014 Reoccurring pay

0015 1 X pay

0027 Cost Center

0041 Event Dates

0057 Membership dues

A table stores values about an infotype and the way it will function. Main program generates internal tables for infotypes at runtime.

Infotypes have an associated database table and a structure .

DIfference between tables and infotypes

Infotype is the FUNCTIONAL WORD

Table is the TECHNICAL WORD

Infotype means logical set of information.

Table means actual physical database table.

Each infotype has a corresponding transparent table.

0 Kudos

hi Mahalakshmi

Thanks for your update, but it is a little abstract, could you please give me an example?

many thanks

Former Member

Former Member
0 Kudos

Hi,

Infotype(s) are used in the Personnel Management (PA) module primarily. This is where personnel master data is stored. Data is grouped according to subject matter. The Human Resources component aims to enable the user to process employee data in an effective structure in accordance with business requirements. The data structure of infotypes mirrors a logical set of data records. Infotypes can be identified by their four-digit keys, for example, the Addresses infotype (0006). To facilitate reporting on past employee data, infotypes can be saved for specific periods.

Some people use the term HR ABAP to describe the method of managing the infotype data

Steps to create a HR Infotype:

1) Go to Transaction PM01.

2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).

3) Select the 'Employee Infotype' radio button.

4) Select the 'PS Structure Infotype'.

5) Click on Create... A separate table maintenance window appears...

6) Create a PS structure with all the fields you want on the Infotype

7) Save and Activate the PS structure

😎 Go back to the initial screen of PM01.

9) Click on 'All' push button. It takes a few moments.

10) Click on 'Technical Characteristics'. Infotype list screen appears

11) Click on 'Change'(pencil) button

12) Select your Infotype and click on 'Detail' (magnifying glass) button

13) Give 'T591A' as subtype table

14) Give 'T591S' as subtype txt tab

15) Give your subtype field as subtype field

16) Save and come back to PM01 initial screen

17) Click on 'Infotype Characteristics' ... Infotype list screen appears

18) Click on 'Change' (pencil) button

19) Click on 'New Entries'

20) Enter your Infotype number and short text

21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)

22) Save your entries.

23) Now the Infotype is created and ready to use.

24) If you want to change the layout of the Infotype as per your requirement...

25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.

26) In the next screen.. Select 'Layout Editor' and click 'Change'.

27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.

28) Save and activate. (Don't forget to 'Activate at every level)

Subtype Creation :

Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.

Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.

Subty.text tab is T591S and time const tab is T591A.

See:

http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm

HR related site:

http://www.sapdevelopment.co.uk/hr/hrhome.htm

Enhancement of Infotype

Check the following

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-82043038...

Diff between ABAP and Infotype

ABAP is used for customization and modification of SAP applications.

Generally in ABAP the following are done :

1) Table development

2) Date Processin

3) Reprt developing

4) BAPIs /RFC s

5) Data base update

6) Screens development/enhancement

7) Scripts and smart forms.

😎 Function Building

9) Java connectors etc.

Programming done in ABAP may be related to any module of my SAP ERP 2004 like:

HR, FICO.SD,MM,CRM Etc.,

eg:-

A typical fetch statment will look like :

SELECT * from SPFLI into wa_spfli

WHERE CARRID = 'AA'.

ENDSELECT.

You can download ABAP Programming guide from :

http://www.savefile.com/files/155399

ABAP HR is an integral part of ABAP.

HR ABAP Uses :

1) Logical Database (PNP)

2) Programming with Infotypes

3) Processing Time infotypes/Cluster

4) Processing Payroll infotypes/Cluster

The development of ABAP in the area of HR is used to meet the clients requirements according to the functional specifications .They may be in any area of HR like in the areas of :

Time aspects, Pay aspects, OM aspects and Self Services like E-recruitment, ESS etc.,

eg:-

A typical fetch statement from a database/Infotype may look like :

PROVIDE * from p0002 between pn-begda and pn-endda.

ENDPROVIDE.

Where infotype 00002 refers to Personal data, which inturn refers to Table pa0002.

To start off with HR ABAP you can refer :

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_PROGRAMM.pdf

0 Kudos

hi Mahalakshmi

you are so nice...thank you very much....:)