on 05-20-2008 5:10 PM
Hi
I am reading a file using File Content Conversion. Before mapping step itself I want to replace
some particular filed value to "xyz". Is it possible to do through File Content Conversion ??
Is there any option to do so in FCC ?? It is understandable that we can do this during mapping.
But I have some constraints so I got to do this task before mapping itself.
thanks
kumar
Hi,
By using the value mapping in the mapping you can change the value.
or by using the replace function also we can achieve this.
Other wise you can write the UDF in the mapping, I think its not possible before the mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basically your input file has standard encoding UTF-8 which wont allows special characters to be included.
You can change the encoding to ISO-8859-5,
Your input can be accepted including your spl characters.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-5"/>
<xsl:template match="/">
<xsl:copy-of select="*" />
</xsl:template>
</xsl:stylesheet>
How Tou2026 Work with Character Encodings in Process Integration
Hi Gaurav,
>>Implementing the module while reading the file. It will replace the characters you want
The problem here is...... you can't find the special characters(e.g " ") on the key board.
Even if you copy and paste these characters in the java code, whether it will recognize ??
Plz advise.
Thanks
kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use a mapping before mapping like described here:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick,
Thanks for your reply ! Useful blog ! But I want to replace entire field value rather than one particular character of a field. I have more than 100 fields and want to replace entire one particular field value with dummy value as I am getting some corrupted characters (which are not available on the keyboard) and my mapping is failing due to that. The filed length is 50 and in that 50 corrupted characters (special characters ) may come at any place. As I am not passsing this to target structure I want to replace that with dummy (some xyz) so that my mapping won't fail.
Thanks
kumar
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.