We have some code in a get_i_formul method (entity ?= current) which is failing, in that the entity remains INITIAL altough current does have a value.
- Code: Select all
DATA: current TYPE REF TO if_bol_bo_property_access.
rv_disabled = 'TRUE'.
if iterator is bound.
current = iterator->get_current( ).
current = collection_wrapper->get_current( ).
DATA: coll TYPE REF TO if_bol_entity_col.
DATA: entity TYPE REF TO cl_crm_bol_entity.
entity ?= current.
I'm aware there are not many details here, but in general what can be the cause of this. I ahve seen this issue before but for life of me can't work out what it can be. Bad day I think. I assume it can only be a few things that can cause this?.
What should I be checking to rectify the issue. In theory the field should be set to editable, but at the moment it remains read-on