on 11-24-2011 4:24 PM
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.
Dear Shawn,
You might like to check the types declaration for lr_result and lr_bol_entity which if not similar will lead to exception at runtime.
Thanks
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.