on 10-09-2006 8:35 AM
Hi,
I m trying to implement EVS in a webdynpro table but i want different values for evs in different cells of a single table column.I m able to get the values but it shows combined data from all queries fired for all cells in EVS.If i clear the value set ,i get the data only for the last query.Is there any solution for this problem.
regards
Sumit
With EVS it is not possible to have different valueset for different rows.
You have to use dropdown index UI element to achieve this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monalisa,
I think u r talking abt RFC model but i m not using one.I m getting data from XML.In that case i have only 1 context attribute & that is binded to a particular column.So i m having single value set in any case.Can you plz explain how we can have different values in a single value set in case of dropdown??
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
Till now i have been searching for the solution of this problem but finally came to know that since the table column is binded to single value set,it will never allow you to get different values for different rows.It keeps adding values to same value set.If anyone have any solution ,plz do come back to me.
regards
Sumit
hi
sumit use this code:
IWDAttributeInfo info = wdContext.getNodeInfo().getChild("Z_Bapi_Put_").getChild("It_Memo_Child").getAttribute("att1");
ISimpleTypeModifiable st = info.getModifiableSimpleType();
IModifiableSimpleValueSet sv = st.getSVServices().getModifiableSimpleValueSet();
IWDMessageManager msg = wdComponentAPI.getMessageManager();
for(int i = 0; i<wdContext.nodeBapi_Output().nodeChild_node().size(); i++){
if(wdContext.nodeBapi_Output().nodeChild_Values().getChild_ValuesElementAt(i).getField().equalsIgnoreCase("att1")){
sv.put(wdContext.nodeBapi_Output().nodeChild_Values().getIt_ValuesElementAt(i).getLowval(), wdContext.nodeBapi_Output().nodeChild_Values().getChild_ValuesElementAt(i).getVal());
}
}
Regards
Nidhideep
Hi NidhiDeep,
I am not sure whether this code is working for you for same requirement.I tried this code but its not working for me.The problem is the table column is bound to a single attribute.When i update the value set , it updates the complete value set .So for all the rows in the EVS ,it shows same values.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.