Skip to Content

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

wdDoInit() Method of any View

Hi Experts,

Generally what has wdDoInit() Method of any View to contain in order

to have the UIElements (inputfield) enabled .

My View wdDoInit() looks like and same as the Custom Controller's wdDoInit() :

__I_Rf02_Ial_Query_Input input = new __I_Rf02_Ial_Query_Input();
input.setI_Iepva_Selcrit(new Cciht_Ipeva());
input.setI_Incident_Selcrit(new __Is_Rfc_Iasel());
wdContext.current__I_Rf02_Ial_Query_InputElement().modelObject().setI_Iepva_Selcrit(new Cciht_Ipeva());
II_Iepva_SelcritElement ipe = wdContext.currentI_Iepva_SelcritElement();	

Nevertheless it is disabled !



Former Member replied


The above method which i had posted is a manually way to enable the input field. I had suggested this because i had seen many posts by you on the same issue. I dont know why your input field is disabled. If you map your UI to any attribute in the context with 1..n or 1..1 cardinality then that UI should be enabled. Try to delete the model and also all your context attributes and reimport the model with adaptive RFC. Then the cardinality of your node custom controller will be by default 1..n, just bind the UI to that model attribute.



0 View this answer in context

Helpful Answer

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