on 09-25-2013 9:07 AM
Hi Everyone,
I am facing a issue with the drop-down in NWDS 7.3. The data to the drop-down is taken from RFC. But in the output, in the drop-down I was getting 2 blank gaps , eventhough no code in inserted.
Thanks & Regards
Sahithi
Use dropdownbyIndex UI element and bind to the model attribute from RFC and write the following code in init
IPrivateEVSView.IAElement oE = wdContext.nodeA().createAElement();
IPrivateEVSView.IAElement oE1;
oE.setB("Select");
wdContext.nodeA().addElement(oE);
for(int i=0;i<wdContext.nodeC().size();i++){
oE1 = wdContext.nodeA().createAElement();
oE1.setB(wdContext.nodeC().getCElementAt(i).getELEMENT());
wdContext.nodeA().addElement(oE1);
}
Please go through this link: http://help.sap.com/saphelp_nw04/helpdata/en/b3/f68e4ab25d7549888eb612bcb359f1/content.htm
Hope this helps!!
Regards
Vijay Kalluri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the elements which are loaded on the dropdown.
Possibilities: RFC may have returned empty rows.
Try to set a debugger(external) in RFC and check if the data is available on RFC execution. You can also try to print the size of the model node(s) in wd java methods.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.