While using Function Module (FM) HR_INFOTYPE_OPERATION in the customer own coding we get a Dump error.
The other errors caused in Function Module HR_INFOTYPE_OPERATION listed below:
-
Error creating IT2002 using HR_INFOTYPE_OPERATION
-
Load of Program error in FM HR_INFOTYPE_OPERATION
-
Exception CX_HRPA_VIOLATED_POSTCONDITION
-
Error updating an infotype record via HR_INFOTYPE_OPERATION
-
A008 no update terminating with HR_INFOTYPE_OPERATION
-
HR_INFOTYPE_OPERATION exception CX_HRPA_VIOLATED_PRECONDITION
Solution:
The Dump we get in FM HR_INFOTYPE_OPERATION is because the FM HR_MAINTAIN_MASTERDATA is not released for customers to use it in its own codings, programs or transactions
Therefore to avoid this dump we should instead of using Function Module HR_INFOTYPE_OPERATION use respective BAPI available in transaction 'BAPI'.
Read more here about SAP BAPI List