Hi Experts,
We would like to make first 3 rows in Tax Classfication Assignment block under Accounts screen with default values .
We tried with the BADI BADI_CRM_BP_UIU_DEFAULTS
we tried with the below section :
ASSIGN lr_typed_context->('BUILTAXCLASS') TO <context_node>.
IF sy-subrc = 0.
TRY.
lr_node ?= <context_node>.
CATCH cx_sy_move_cast_error. "EC_NOHANDLER
ENDTRY.
IF lr_node IS BOUND.
lr_coll_wrapper ?= lr_node->collection_wrapper.
IF lr_coll_wrapper IS BOUND.
TRY.
lr_current ?= lr_coll_wrapper->get_current( ).
CHECK lr_current IS BOUND.
lr_current->set_property( iv_attr_name = 'SEARCHTERM1'
iv_value = 'CRM' ).
lr_current->set_property( iv_attr_name = 'TAXCOUNTRY'
iv_value = 'IN' ).
CATCH cx_sy_move_cast_error.
But still it is not working for the field in that assignment block .
Please let us know how we can achieve the requirement
Regards
MK