on 10-31-2006 9:06 AM
hi
i am getting values from BAPI which is in a table format,i want to set all the values of a field in that table to a dropdown (index or key).Please tell me hw can i do it?
Regards
Nidhideep
Hi Nidhi,
for(int i = 0; i<wdContext.nodebapiNode().size(); i++){
wdContext.nodevaluenode().addElement(wdContext.nodevaluenode().createElement());
wdContext.nodevaluenode().currentbapinodeElement().setAtt(wdContext.nodebapinode().getbapinodeElementAt(i).getbapiatt());
}
bind your value node to dropdownbyindex
Regards,
Aparna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Get the size of the node
int size = wdcontext.Node<output>.size();
for (int idx = 0; idx < size; idx++) {
IPrivate<ApplicationView>.I<outputNodeElement> val =(IPrivate<ApplicationView>.I<outputNodeelement) wdContext.nodeI<outputNode>().getElementAt(idx);
String sval = val.getKunnr();
val.setName1(Sval);
this name map to your Dropdownby index or key
}
This might helps you, Otherwise post your issues.
Thanks,
Lohi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.