cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

sahirn
Active Contributor
0 Kudos

Hello Hareesh K,

1. Ensure all SAP notes corresponding to search term CL_HRASR00_PROCESS_UI_EVENTS @ service.sap.com/support

2. For the work item that errors out check out if processor role is correctly set and then debug towards finding the reason for that.

Hope this helps.

With regards,

Sahir