cancel
Showing results for 
Search instead for 
Did you mean: 

EVS is showing "Display Text" in 2nd column

Sreejith1
Contributor
0 Kudos

Hi Gurus,

I have adoubt about EVS.

In my EVS it is displaying "Displaying Test" in the second column.

How to replace that text?

Thanks in advance,

Ram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can change the text for EVS window heading and first column using below code

IWDAttributeInfo attributeInfo =   

    wdContext.getNodeInfo().getAttribute(IPrivateMain.IContextElement.COUNTRY);

  ISimpleTypeModifiable countryType = attributeInfo.getModifiableSimpleType();

  countryType.setFieldLabel("Countries List");

    countryType.setColumnLabel("Country");

Refer to the below link, it shows text changed in 2nd column

http://help.sap.com/saphelp_erp2005/helpdata/de/b3/f68e4ab25d7549888eb612bcb359f1/frameset.htm

Sreejith1
Contributor
0 Kudos

Hi Ravi,

Thanks for reply. I have seen it before but it changes my fi

rst column only not the second.

IWDAttributeInfo attributeInfo =
wdContext.nodeCountry1().getNodeInfo().getAttribute(IPrivateTest_01View.ICountry1Element.COUNTRY1);
  ISimpleTypeModifiable countryType = attributeInfo.getModifiableSimpleType();
countryType.setFieldLabel("My Country");
countryType.setColumnLabel("My test"); // no idea where it shows
countryType.setDescription("My Description");// no idea where it shows

  IModifiableSimpleValueSet valueSet = countryType.getSVServices().getModifiableSimpleValueSet();
  for(int i=0;i<wdContext.nodeTest1().size();i++){ 
    valueSet.put(wdContext.nodeTest1().getTest1ElementAt(i).getCombo1(),wdContext.nodeTest1().getTest1ElementAt(i).getComboValue());
  }

regards,

Ram

Former Member
0 Kudos

Yup. Only 2 methods (setFieldLabel,setColumnLabel)  of SimpleTypeModifiable works as expected. However, setDescription method doesnt works as expected.

  countryType.setFieldLabel("Countries List"); //Sets EVS Window Title

    countryType.setColumnLabel("Country");                     //Sets First  Column Label

Sreejith1
Contributor
0 Kudos

Any Idea to change second column?

Answers (0)