Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HCM P&F: Shortdump for approvers - OBJECTS_OBJREF_NOT_ASSIGNED_NO -CX_SY_REF_IS_INITIAL

Hi Experts,

We have implemented HCM processes and forms module recently. We are using FPM forms not Adobe forms.

There is a short dump which is appearing randomly and baffling us, please advise.

Some times user are getting following short dump and putting the work item to reserved. When they try to click and open the same form then it is throwing error says it is already reserved, you can't process it. And at the same time another dump created in the backend.

Does anybody help why this is happening and how to overcome it?

Category               ABAP Programming Error

Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO

Except.                CX_SY_REF_IS_INITIAL

ABAP Program           CL_HRASR00_PROCESS_UI_EVENTS==CP

Application Component  PA-AS

OBJECTS_OBJREF_NOT_ASSIGNED_NO -CX_SY_REF_IS_INITIAL

The current ABAP program "CL_HRASR00_PROCESS_UI_EVENTS==CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

SourceCde

  METHOD get_processor_role.

    DATA: step_attr TYPE hrasr00step_attr,

          is_ok TYPE boole_d.

* Get the step attributes

    >>>>>>>>CALL METHOD process_object_handler->get_step_attrib

      EXPORTING

        message_handler       = message_handler

      IMPORTING

        step_attr             = step_attr

*       ADDITIONAL_ATTRIBUTES =

        is_ok                 = is_ok.

* Get the processor role from the step attributes

    IF is_ok = true.

      processor_role = step_attr-processor_role.

    ENDIF.

  ENDMETHOD.                    "GET_PROCESSOR_ROLE

Thanks,

Hareesh K

Former Member
Former Member replied

HI Sahir,

Thanks for your reply. The processor roles was correctly setup as 'HRASRB'.

We found the cause of issue, the problem is with Structural Authorizations..!! The processor didn't have authorization to pernr. And he never reported that he is not seeing the data on the form... . And he is just blindly trying to "Approve" it, based on title of the form.

I think this might be a bug in SAP Code. Without showing error for authorization, the code proceeds to execute FPM event for approval. Finally we sorted out by correcting Structural Authorizations (Buffering problem).

Thanks agian..!!

Hareesh K

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question