Skip to Content
Former Member
Nov 17, 2008 at 07:34 PM

changing the length constraint of a simple type generated from rfc



When i called rfc , it generated the simple types in dictionary , i made context mapping from model to controller and controller to view. I am having a mainnode(modelnode) which has attribute country, material,cost.

i created a table from this context and values are showing up in table.

The country column is showing in 3 char like AUS,USA,GER... before displaying i need to modify it to diaplay whole name like australia, germany...,but the length of country arribute coming from model is set to 3 in dictionary which i am unable to change so if i loop the table and set the value of country its taking only 3 char. how to change it to display whole county name before displaying.

for (int i = n - 1; i >= 0; --i)


IMainnodeElement elementAtI = wdContext.nodeMainnod().getMainnodeElementAt(i);





else if(elementAtI.getCountry().equals("GER"))





The above code displays only first 3 chars but not displaying as the length of the country attribute in dictionary which is coming from rfc is set to 3, how can i chage this to 15 so ican display country name rather than code .

The above