on 2020 Sep 30 4:51 PM
Hello experts,
When i try to update a record using the function module HR_INFOTYPE_OPERATION in specific infotype i'm getting the folowing error :
My code is as the follows :
SELECT SINGLE * FROM PA9310 INTO CORRESPONDING FIELDS OF LS_P9310 WHERE PERNR EQ P_PERNR.
IF SY-SUBRC EQ 0.
LS_P9310-MISE_DEUM = 'X'.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = LS_P9310-PERNR
IMPORTING
RETURN = l_return
* LOCKING_USER =
.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '9310'
NUMBER = LS_P9310-PERNR
* SUBTYPE =
* OBJECTID =
* LOCKINDICATOR =
VALIDITYEND = LS_P9310-ENDDA
VALIDITYBEGIN = LS_P9310-BEGDA
RECORDNUMBER = LS_P9310-SEQNR
RECORD = LS_P9310
OPERATION = 'MOD'
* TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = ''
* VIEW_IDENTIFIER =
* SECONDARY_RECORD =
IMPORTING
RETURN = l_return
* KEY =
.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = LS_P9310-PERNR
IMPORTING
RETURN = l_return
* LOCKING_USER =
.
ENDIF.
Request clarification before answering.
Hi, You may have to check with basis team regarding any abap dump is generated for this error using tcode st22.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
15 | |
8 | |
7 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.