cancel
Showing results for 
Search instead for 
Did you mean: 

Begda Label

Former Member
0 Kudos

Hi, In my java web dynpro application I import a field type BEGDA from R3. Now the default label taken from R3 is apprently 10 characters long. Thus when the label is displayed the translated phrase is abbreviated. My question: is it possible, apart from setting the label text manually, to control the default length of the text of the data element imported from R3? Thank you for your help. regards Yuval peery

Accepted Solutions (0)

Answers (1)

Answers (1)

gill367
Active Contributor
0 Kudos

HI

You can try to change the properties in the following way

ISimpleTypeModifiable var =
				wdContext
					.node<model name>()
					.getNodeInfo()
					.getAttribute("<name of the attribute having text from R3>")
					.getModifiableSimpleType();
			var.setMaxLength(<desired length>);
			

Thanks,

Sarbjeet

Former Member
0 Kudos

Hi Sarbjeet sorry but if I put var.setMaxLength(20); I get illegalArgumerntException. Any suggestion? regards yuval