Skip to Content
0
Jan 16, 2018 at 08:37 AM

Invalid Special Characters in transformation and conversion files

515 Views

Hi all,

I perused through many posts on this but im struggling to get my java script right.

I have master data from BW which contains invalid special characters and would like to replace them with valid ones for example replace “/” with “_”. In some cases I have different invalid characters in one member and I would like the correct script to change this in my conversion.

e.g. 1/456-3-4 needs to change to 1_456_3_4

I am using this javascript but it still gives warning when I run package.

Transformation:

Conversion: Im my conversion tab I have:

Many thanks

Jordan

Attachments

trans.png (9.9 kB)
conv.png (4.6 kB)