on 10-04-2006 6:51 PM
Hi,
I have two issues:
1. How to do a*(b/c) for a,b,c bigdecimal in webDynpro Java.
2. How to add values to a dropdown column in a table, when the values are coming from RFC.
Thanks,
Sunita.
Message was edited by: sunita
BigDecimal a = ...;
BigDecimal b = ...;
BigDecimal c = ...;
b.divide(c, BigDecimal.ROUND_UNNECESSARY).multiply(a);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Assuming you have following node structure for the table.
TableNode
|_
DropDownNode(Node for the DropDown in table)
Please make sure that the DropDownNode is Non singleton.
Use dropdownByindex
Steps:
1)Set the Node dropdown of property singleton to false.
2)Add the dropdown element to the table node
Using the code with bold lines below..
IPrivate<ViewName>.ITableElement Text = wdContext.createTableElement();
Text.set<Att>("aaaa");
//Ading elements below the table node
wdContext.nodeTable.addElement(Text);
for (int i=0; i<4; i++) {
IDropdownElement drop = wdContext.createDropdownElement();
drop.set<dropAtt>("test " +i);
//Ading values to dropdown and intrun to table node
Text .nodeDropdown.addElement(drop);
}
You have to populate the DropDown Node for each element of the TableNode
Thanks
Lohi.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.