cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP HR - Infotype creation

Former Member
0 Kudos

I have to create the following infotype with number 9102. The field details are as follows:

Full and Final Settlement to be stored as follows

a. Date/Month/Year of Resignation (Date type)

b. Last Working Day of the Employee (Date type)

c. Notice period Served (Calculated b-a) (Numeric)

d. Recovery amount (Numeric)

e. F&F Amount Payable (Numeric)

f. F&F settlement date (Date type)

g. Date of receipt of No dues forms (Date type)

h. TAT u2013 (Calculated f-g) (Numeric)

Here the fields c, h are calculated fields, where the calculations are provided in the brackets as above. Please tell me how to achieve these calculations while creating the infotype.

Accepted Solutions (1)

Accepted Solutions (1)

milusai
Participant
0 Kudos

go to Tcode : PM01

enter the infotype no 9102 and click on create all

you will get an information msg that

PS9102 Does not exist. How do you want to create ?? click it

create the structure....

also a Module pool program will be created

then on PM01 screen goto infotype characteristics

goto change mode then new entries type the infotype no, time constraint single screen = 2000 list screen = 3000

Then goto SE80 program MP910200

Define a Module in PAI as FIELD (Notice period Served) MODULE validate_field. double click on validate_field there u can write the code

Notice period Served = use the function module to get the date difference HR_HK_DIFF_BT_2_DATES(date1 should be greater than date2)

same for other fields

Regards

Milind

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try to follow these steps..

First U should create the base structure PSXXXX. You just include the additional fields you want in this structure. The common header data will be created for the tables.

e.g. PS9919 should just contain the field 'NUMBR' of some data element (e.g. CHAR15 or a new one you create) or just use the built-in definition.

Use transaction PM01, enter infotype number XXXX, maintain infotype settings (time constraint, subtype strategy,etc...). I think you have some documentation for these settings.

To have the infotype listed on PA30 screen you should deal with some customization.

Thanks,

Sakthi.

Former Member
0 Kudos

Transaction code to create a infotype is "PM01"

step1) Click on Create all button follow the steps

If you want to write your calculations got0 se51 transaction

Choose program as MP910200

Screen Number as 2000

Click on change)

(Here you find the option of editing the code which is of module pool programming)

Former Member
0 Kudos

Hi,

Regards,

Harish