Skip to Content
0
Former Member
May 21, 2014 at 02:25 PM

Dump OBJECTS_OBJREF_NOT_ASSIGNED on service contract creation

346 Views

Hi All,

I am working on crm upgrade from 7.0 to ehp3.

After upgrade, I am facing the dump when creating the new service contract from New-->By selecting the Transaction type.

Please find the below dump description.

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

ABAP Program CL_BT112H_S_ITEMLIST_CN01=====CP

Application Component CRM-BTX-CTR-SCO

Short Text

Access using a 'ZERO' object reference is not possible.

Error analysis

You are trying to access a component with a 'ZERO' object reference

(points to 'nothing'). Variable: " ".

An object reference must point to an object (an instance of a class)

before it can be used to access a component. The reference has either

never been set, or it was set to 'ZERO' with a CLEAR statement.

Information on where terminated

The termination occurred in ABAP program "CL_BT112H_S_ITEMLIST_CN01=====CP"

in "ON_NEW_FOCUS".

1 METHOD on_new_focus.

2

3 DATA lv_collection TYPE REF TO if_bol_bo_col.

4 DATA lr_entity TYPE REF TO cl_crm_bol_entity.

5 ************************************************************

6

>>>>> IF gr_tvc->gv_fast_mode_enabled EQ abap_true.

8 trigger_coll_determ( focus_bo ).

9 ELSE.

10 lr_entity ?= focus_bo.

11 TRY.

12 lv_collection = lr_entity->get_related_entities( iv_

13 CATCH cx_crm_genil_model_error cx_sy_ref_is_initial.

14 RETURN.

15 ENDTRY.

Can anyone please help me in resolving the issue.

Thanks & Regards,

Chiru