Experts,
I am using 'HR_INFOTYPE_OPERATION' FM to update the Custom fields, while executing there is no error messages in the return table but the same time it is not modifying the records. Please suggest me how to get the solution.
Infotype i am updating is 40 and subtype 90.
CALLFUNCTION'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = P_ITY
NUMBER = WA_PA0040_T-PERNR
SUBTYPE = WA_PA0040_T-SUBTY
* OBJECTID = WA_PA0040_T-OBJPS
* LOCKINDICATOR = WA_PA0040_T-SPRPS
VALIDITYEND = WA_PA0040_T-BEGDA
VALIDITYBEGIN = WA_PA0040_T-ENDDA
RECORDNUMBER = '000'"WA_PA0040_T-SEQNR
RECORD = WA_PA0040_T
OPERATION = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
* NOCOMMIT = ''
* VIEW_IDENTIFIER = '07'
* SECONDARY_RECORD =
IMPORTING
RETURN = WA_ITYRET
KEY = WA_KEY.