on 08-20-2015 4:15 PM
Hi Experts,
I have a requirement to change the default value ( from '01' to '02' ) for an attribute ( ACC_IND ) in one standard webdynpro component : /SAPSRM/WDC_DODC_SC_I_LIM.
This attribute belongs to 'account assignment' field in limit item which is in shopping cart.
Please let me know if I should provide some more details for you to help/reply me.
thank you
Prasanth
Hi Prasanth
Try this in WDDOMODIFY with first_time = ABAP_TRUE .. so it will only run once during the start of the application .,.
or you can put in WDDOINIT
If you want this to be like this always use it without any such condition
DATA: lr_node | TYPE REF TO if_wd_context_node, |
lr_subnode TYPE REF TO if_wd_context_node, | |
ls_subnode TYPE wd_this->element_limit_sub. |
lr_node = wd_context->get_child_node( name = wd_this->wdctx_limit_item ).
lr_subnode = lr_node->get_child_node( name = wd_this->wdctx_limit_sub ).
ls_subnode-acc_ind = '02'.
lr_subnode->set_static_attributes( ls_subnode ).
Regards
Vinita
Include first_time = ABAP_TRUE condition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.