Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 29, 2015 at 04:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14, 2015 at 10:56 AM

    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


    SWI1 log.JPG (79.6 kB)
    Add comment
    10|10000 characters needed characters exceeded