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: 

HR_INFOTYPE_OPERATION error

john_wayne
Participant
0 Kudos

Cna you guys help me im having trouble using the HR_INFOTYPE_OPERATION function call. I try update infotype 0006 but i cant update it with operation = 'mod' but with insert it can update the record can anyone help?

4 REPLIES 4

Former Member
0 Kudos

Hi,

1)Please paste your relevant code snippet here for better understanding.

2)Are you using En-queue and De-queue functions before using HR_infotype_operation?

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

Go to PA0006 Table entries, observe that the subtype value will be maintained twice in the record.

For eg: subtype is 'SB01', then the entry for a particular record has 'SB01' at two columns(fields).

You need to push the other column value in the internal table for the 'HR_INFOTYPE_OPERATION' FM.

Check the code for 'HR_INFOTYPE_OPERATION' in the forum and locking and unlocking the employees.

Check the NO_COMMIT importing parameter of the infotype.

Check the Operation (LIS9).

john_wayne
Participant
0 Kudos

I've found out that i did not populate mandatory fields

0 Kudos

Hi

can u pls let me know what are the mandatory fields we need to pass for MOD operation.