Skip to Content

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

must not modify the datatype of a mapped attribute - DropDownByKey

Hi,

Iam dynamically popualting dropdownbykey in my view, whose context is mapped to the component context using,

IWDAttributeInfo attributeInfoTemplate = wdContext.nodeV_Output_Get_Templates().nodeV_Templates_Admin_Get_Templates().getNodeInfo().getAttribute("Template_Id_Descr");

ISimpleTypeModifiable templateType = attributeInfoTemplate.getModifiableSimpleType();

templateType.setFieldLabel("Template");

IModifiableSimpleValueSet valueSetTemplate = templateType.getSVServices().getModifiableSimpleValueSet();

During runtime it says "cannot modify the datatype of a

mapped attribute".

Could you please help?

Thanks,

Dhanya

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