Hi Experts,
My requirement is: Marketing Attribute Set should default to BW US Attribute Set for US in the Account Search, when an Account is searched using Marketing Attribute criteria.
I am trying to redefine the do_prepare_output method in BP_DATA component. ATTRIBUTE is the context node name.
My code goes like this:
try.
lr_entity ?= me->typed_context->attribute->collection_wrapper->get_current( ).
CATCH cx_sy_move_cast_error.
catch cx_sy_ref_is_initial.
endtry.
lv_attrset = lc_default_attribute.
TRY.
lv_entity->SET_PROPERTY( IV_ATTR_NAME = 'ATTR_SET_DESCR' "#EC NOTEXT
IV_VALUE = lv_attrset ).
CATCH cx_sy_move_cast_error.
endtry.
lr_entity is coming initial only and also get property and set property methods are not working.
Please let me know the solution.
Regards,
Sangeeta.