Skip to Content
0
Former Member
Nov 24, 2011 at 04:24 PM

lr_bol_entity - OBJECTS_OBJREF_NOT_ASSIGNED - CX_SY_REF_IS_INITIAL

59 Views

Hi Experts,

I am trying to provide access to a program which has the following code.

LOOP AT it_actid INTO lw_actid.

lv_low = lw_actid-activity_id.

lr_bol_query_service->clear_query_parameter_values( ).

lr_bol_query_service->insert_selection_param( iv_index = 1

iv_attr_name = 'OBJECT_ID'

iv_sign = 'I'

iv_option = 'EQ'

iv_low = lv_low ).

lr_result ?= lr_bol_query_service->get_query_result( ).

IF lr_result IS BOUND.

CLEAR : lr_bol_entity .

lr_bol_entity ?= lr_result->get_first( ).

The last statement doesn't retrieve any boll objects & the system dumps. i have no clue what this method is trying to read & to my surprise the Trace on ST01 doesn't show any failure !! I wonder what AUth object would solve this issue. But while SAP_ALL is assigned it works & the trace during that time alo doesn't show any extra auth objects being checked !!

Please developers/Security Consultants throw some light here .

Cheers.

Shawn.