cancel
Showing results for 
Search instead for 
Did you mean: 

Truncate

Former Member
0 Kudos

Hi,

I have a character field in XI. As per mapping sheet, they have given left-align and truncate instructions.

As character are in default left-aligned, let me know how to truncate.

Regards,

B.Anandh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I hope you are looking for this.

trim

Removes all white space characters (spaces, tabs, returns) at the start and end of a string. Acts the same as the trim() method of the JDK class java.lang.String.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

Thanks,

Tuhin

Answers (2)

Answers (2)

STALANKI
Active Contributor
0 Kudos

Use the standard text function truncate in your graphical mapping editor and do the required thing.

Shabarish_Nair
Active Contributor
0 Kudos

what is your requirement to truncate ?

if it is to remove the white spaces in the string, then you can use the predefined function trim in the mapping. Trim will remove the spaces from the start and end of the string. Do get back in case this is not what you require.