on 07-18-2007 10:53 AM
Hi All,
I've an attribute which is binded to a table column with InputCell Editor.
The attribute is injected with a list of options with the procedure below.
When I step through the code, all S1 to S4 have values.
But when I open the EVS, I can only see the description, the first column, i.e, the key, is blank. May I ask what would be the problem? Whatever I stick in the first parameter in the valueSet.put() will not showup.
Thanks,
yung siu wai
-
public void setRespEngineerDropdownValueSet( com.sap.tc.webdynpro.progmodel.api.IWDAttributeInfo attriInfoName)
{
//@@begin setRespEngineerDropdownValueSet()
ISimpleTypeModifiable reType = attriInfoName.getModifiableSimpleType();
IModifiableSimpleValueSet valueSet = reType.getSVService().getModifiableSimpleValueSet();
valueSet.clear();
for (int i = 0; i < wdContext.nodeName_List_Sel().size(); i++) {
IName_List_SelElement element = wdContext.nodeName_List_Sel().getName_List_SelElementAt(i);
String s1 = element.getOrgeh();
String s2 = element.getOrgtx();
String s3 = element.getPernr();
String s4 = element.getSname();
valueSet.put(s3,s4);
}
Please disregard my question.
The problem is that the attribute ,which is source from an RFC output, is defined with a wrong type. And WD would of course rejected my key which is not matching the input attribute.
yung siu wai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.