HR_INFOTYPE_OPERATION for infotypes with additional infotype on screen

Hello,

I am experiencing an issue with mass data modification using the HR_INFOTYPE_OPERATION function module for infotypes that include an additional infotype on the screen (e.g., infotype 0002, which comes with infotype 0558, or infotype 0022 with infotype 0866).

I need to modify or create records in PA0022 and P0866. I have tried the following approaches, but none have worked:

  • I created a data type containing the P0022 and PS0866 structures and passed the data to the record parameter (since both infotypes share the same PSKEY). However, this only updated the fields in PA0022.
  • I passed the P0022 structure to the record parameter and P0866 to the secondary record parameter. Again, this only updated the fields in PA0022.
  • I attempted to call HR_INFOTYPE_OPERATION separately for each infotype—first for IT0022, then for IT0866—but encountered the error: CALL_DIALOG_NOT_FOUND.

I believe this might work using batch input (e.g., via LSMW), but my goal is to develop a universal tool—a report that leverages HR_INFOTYPE_OPERATION.

Could you help me find a solution?

Best regards,
Kamil

Scroll to Top