cancel
Showing results for 
Search instead for 
Did you mean: 

InputCell problem

Former Member
0 Kudos

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);

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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