Symptom
You get a dump during handling leave request:
- Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
The dump has been seen in different areas:
| Location | Coding | |
| Case 1 |
SAPLPT_ARQ_REQUEST_UIA |
532 ***************************LAK1843203************************beg 533 application = cl_pt_arq_application=>get_instance( ). 534 CALL METHOD application->if_pt_req_application~get_initiator 535 IMPORTING 536 ex_initiator = initiator. >>>> IF initiator->pernr NE pernr. 538 onbehalf = 'X'. 539 ENDIF. 540 ***************************LAK1843203**************************end |
| Case 2 | CL_PT_REQ_MESSAGE_HANDLER=> IF_PT_REQ_MESSAGE_HANDLER~GET_MESSAGES |
23 CALL METHOD application->get_initiator 24 IMPORTING 25 ex_initiator = lcl_initiator. 26 >>>>> lcl_pernr = lcl_initiator->pernr. 28 IF lcl_pernr IS INITIAL. |
Maybe it also occurs in other areas where the program works with initiator->pernr
Read more...
Environment
Product
HR renewal all versions ; SAP ERP Central Component all versions ; SAP ERP all versions ; SAP S/4HANA all versions ; SAP SuccessFactors Employee Central Payroll all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions
Keywords
CL_PT_REQ_MESSAGE_HANDLER, IF_PT_REQ_MESSAGE_HANDLER~GET_MESSAGES, lcl_pernr = lcl_initiator->pernr, IF initiator->pernr NE pernr, SAPLPT_ARQ_REQUEST_UIA, LPT_ARQ_REQUEST_UIAF02, GET_CUSTO_FOR_SUBTY , KBA , PT-RC-UI-XS , Leave Self Services Web Dynpro , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview