cancel
Showing results for 
Search instead for 
Did you mean: 

UDF for Special Character Conversion

Former Member
0 Kudos

Hello All,

Can any one help me with the UDF for special character conversion code.

I mean if a special character is given it should pass a blankspace.

<< Moderator message - Everyone's problem is important >>

Many thanks,

Rahul.

Edited by: Rob Burbank on Oct 29, 2010 4:32 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi all,

Thank you very much for replying to my thread.

What would be the case if I pass a wild character

and that should be changed to another value.

In such case can anyone suggest what would be the UDF.

Thanks,

Rahul.

Former Member
0 Kudos

HI Rahul,

Use Constant function and specify the desired value for that input field, for any input value it replaces with the value defined in the function properties.

Thanks,

Former Member
0 Kudos

Hi Rahul ,

the best way to deal with special character is to use proper encoding in your Sender Communication channel it self .So that in your payload you will get proper value .

IF you are getting some special character which is not covered in encoding UTF-8 thne you can use encoding IS0-8859-1 .You can easily refer in help that how to use encoding in your communication channel .

Regards,

Saurabh

Former Member
0 Kudos

Have a look at the following blog -

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]

Regards,

TK

Former Member
0 Kudos

Hi

you can use the standard repleceString function available.

Input field----->

Constant(*)-->replace string function--->target field

Constant(a)---->

Note:

constant(*)----> set the constant as *

constant(a)---->set the constant as a or your new value.

Thanks

Rinku G