cancel
Showing results for 
Search instead for 
Did you mean: 

Diff between hr_infotype_operation and hr_maintain_masterdata

Former Member
0 Kudos

Hi,

Can you Please tell me the difference between

hr_infotype_operation and

hr_maintain_masterdata.

Thanks,

Satya

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The HR_INFOTYPE_OPERATION function module is used for the Maintenance of HR infotypes, such as inserting, changing, deleting data etc

Parameters Explained

Here is a list of the fm's parameters and how they are used, obviously not all parameters will be used depending on what function you are performing i.e. insert, change, delet etc

infty - Infotype being updated

objectid - object id from infotype

number - Personnel number

validityend - validity end date

validitybegin - validity begin date

record - infotype record values to be updated, inserted etc (will be structure of infortyoe you are updating)

recordnumber - sequence nunber from infotype record you are updating

Operation - describes what operation is to be performed

COP = Copy

DEL = Delete

DIS = Display

EDQ = Lock/unlock

INS = Create

LIS9 = Delimit

MOD = Change

INSS = Create for Actions is not converted to Change

nocommit - commit yes('X') / no(' ')

dialog_mode - dialog mode or not, default is '0'

ABOUT HR_MAINTAIN_MASTERDATA.

HR_MAINTAIN_MASTERDATA in turn calls HR_INFOTYPE_OPERATION but its recommended to use the former.

HR_MAINTAIN_MASTERDATA.

This function module enables you to maintain master data for employees and applicants. You can enter field names and contents in the 'proposed values' table. This will then be transferred to the corresponding infotypes. The same validation checks take place as would in the individual maintenance screens for the infotypes. You can enter as much data as you like. You can enter several records or infotypes at once. You are responsible for making sure that the data is consistent. If necessary, the module returns an error message. The error messages are the same as the those which appear in the dialog, in other words, the individual maintenance screen error messages are transferred rather than interpreted by this module.

Thanks & Regards,

Shiva vs.

Former Member
0 Kudos

satish

hr_infotype_operation

It will updateds the record into infotype For Example create new record

hr_maintain_masterdata.

This will maintain records For example change the existing records

Regards