Skip to Content

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

Multiple Dropdown problem


I have created an application having multiple text edit box with a langage selection drop down box before every textedit box. Language drop down contain several languages which are R/3 specific ie , languages are fetched from R/3 from an RFC. I have bind model node Language containing one attribute to another value node LanguageInfoNode containing 4 attribute correponding to each dropdown using following code. Refer only else part of IFELSE block for Language

// code for getting data from RFC


objGet_LovNode = wdContext.nodeZq_Get_Lov();

objLanguageNode = wdContext.nodeLanguage();

objLanguageInfoNode = wdContext.nodeLanguageInfo();

// objRoleNode = wdContext.nodeRole();

for(int i = 0; i < objGet_LovNode.size() ;i++ ){

objGet_LovElement = objGet_LovNode.getZq_Get_LovElementAt(i);

// objRoleElement = objRoleNode.createRoleElement();

objLanguageInfoElement = objLanguageInfoNode.createLanguageInfoElement();

// if(objGet_LovElement.getZdata_Element().equals(IConstant.cROLE)){

// objRoleElement.setRoleType(objGet_LovElement.getZdata_Ele_Desc());

// objRoleNode.addElement(objRoleElement);

// }

else if(objGet_LovElement.getZdata_Element().equals(IConstant.cLANGUAGE)) {





for(int k = 0; k<objLanguageInfoNode.size(); k++){

objLanguageInfoElement = objLanguageInfoNode.getLanguageInfoElementAt(k);

objLanguageElement = objLanguageNode.createLanguageElement();








I m getting the languages in every drop down , but whenever i selects any language in one of the dropdown it gets reflects in all other dropdown. My requirement is to get every dropdown with all language and depending on selected language in individual dropdown I should be able to write text in that language in the text edit box.

Former Member
Former Member replied

Hi Poonam,

As the same node is binded to all the dropdown then if you try to change the value at one place it would be reflected everywhere. Thus, you might need to define different nodes for all the dropdowns.



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