on 01-25-2006 12:26 PM
Dear All,
I return the BAPI value by Adaptive RFC. The Return Node contains the value Attributes.
While I set the value attribute(String) bind as DropDown Value all the values are shown in the DdropDow at run time.
Now I want to concatenate the value.But I am unable to get the all values return from BAPI to store in local String or List.
How Could I Store the value in Local Java Objects
Best Regards
Mukesh
Hi,
here is the code you had asked for.
String concatenatedValue = "";
for(int i=0;i<wdContext.node<node_name>().size();i++) {
concatenatedValue += ((IPublic<controller_name>.I<node_name>Element)(wdContext.node<node_name>().getElementAt(i))).get<attribute_name>());
}
Hoping that this helps.
Thanks and regards
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Run a loop thru all the model node elements an get each individual element. And then get the value of each element's attribute and concatenate them.
If you wanna code snippet kindly let me know.
Thanks and regards
RK
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.