Skip to Content
0
Former Member
Jun 16, 2010 at 08:37 AM

Cannot read my bol entity

19 Views

Hello together,

I created a simple bol object. My problem is, I cann't get an instance of my bol object with:

DATA:
lr_entity   TYPE REF TO cl_crm_bol_entity,

lr_entity ?= me->typed_context->Zobject->collection_wrapper->get_current( ).

With current, I can read it

lr_current  TYPE REF TO if_bol_bo_property_access.

lr_current = typed_context->Zobject->collection_wrapper->get_current( ).

The type cast to entity (lr_entity ?= ) makes some troubles. I found in debug mode, that my context node with the my simple object is apperaring as value node. Could this be the problem?

Can anyone help me?

Regards,

Harris