Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TAX_CODE_DROPDOWN IN SC ITEM NOT WORKING

Hi All,

          I'm working in WD /SAPSRM/WDC_DODC_SC_I_BD and trying to make enable the field TAX_CODE_DROPDOWN but no way to do it. The field is binding READ_ONLY to the context in the structure TAX_DATA.M_DE_TAX_DATA.TAX_CODE.

          When I populate item and go to details the tax code amount is not being visible as a dropdown field, just as an input field set as read only. No option to select, even the default one.

          The binding property is set as Invert attribute/property not to a boolean. I've tried to change the value of the context field to abap_false and also to abap_true in Modify View as Init but the problem remains still.

          I've also tried to enable the dropdown with this lines but also not working.

*Data: wd_uielement type ref to cl_wd_abstract_dropdown_by_idx.

*DATA: lv_bool      TYPE wdy_boolean.

*

*      wd_uielement ?= view->get_element( 'TAX_CODE_DROPDOWN' ).

*      wd_uielement->set_enabled( value = abap_true ).


Can anyone help please? Is really urgent, thanks a lot.


Regards,

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question