Special Character Issue in outbound file(Extra length)
I have a big issue when generating output file.
I have data like party_name=00CONSTRUÇÕES JOSÉ VIEIRA, LDA.
The data is for Spain client and so the need those special characters.
So in the cursor query I used following convert function like CONVERT(TRIM(hp.party_name),'WE8ISO8859P1')
and appending into the file
v_output_file := UTL_FILE.fopen (v_path, v_filename, 'A');
p_record:=SUBSTR(RPAD(NVL(TRIM(l_sales_order_details_rec (i).party_name),
30,
),1,30)--- All these funtions I applied because, i am trying to avoid that issue.
and then
UTL_FILE.put_line (v_output_file, p_record)
When inserting into file it inserts 2 spaces extra(only if there is a character like Ç and/or Õ, not for É) for which the length its becoming 32(actually should be 30). And so effecting the subsequent values of that record.
Any one please let me know any ideas, this is very critical for me. Thanks in advance.
Please post the details of the application release, database version and OS.
What is your database characterset?
I have a big issue when generating output file.How do you generate the output file?
I have data like party_name=00CONSTRUÇÕES JOSÉ VIEIRA, LDA.
The data is for Spain client and so the need those special characters.What is the NLS_LANG setting on the client side?
So in the cursor query I used following convert function like CONVERT(TRIM(hp.party_name),'WE8ISO8859P1')
and appending into the file
v_output_file := UTL_FILE.fopen (v_path, v_filename, 'A');
p_record:=SUBSTR(RPAD(NVL(TRIM(l_sales_order_details_rec (i).party_name),
30,
),1,30)--- All these funtions I applied because, i am trying to avoid that issue.
and then
UTL_FILE.put_line (v_output_file, p_record)How do you run this code?
When inserting into file it inserts 2 spaces extra(only if there is a character like Ç and/or Õ, not for É) for which the length its becoming 32(actually should be 30). And so effecting the subsequent values of that record.
Any one please let me know any ideas, this is very critical for me. Thanks in advance.Please provide more details about the issue and answer the above questions.
Thanks,
Hussein
Similar Messages
-
Special character issue while loading data from SAP HR through VDS
Hello,
We have a special character issue, while loading data from SAP HR to IdM, using a VDS and following the standard documentation: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e09fa547-f7c9-2b10-3d9e-da93fd15dca1?quicklink=index&overridelayout=true
French accent like (é,à,è,ù), are correctly loaded but Turkish special ones (like : Ş, İ, ł ) are transformed into u201C#u201D in Idm.
The question is : does someone know any special setting to do in the VDS or in IdM for special characters to solve this issue??
Our SAP HR version is ECC6.0 (ABA/BASIS7.0 SP21, SAP_HR6.0 SP54) and we are using a VDS 7.1 SP5 and SAP NW IdM 7.1 SP5 Patch1 on oracle 10.2.
ThanksWe are importing directly to the HR staging area, using the transactions/programs "HRLDAP_MAP", "LDAP" and "/RPLDAP_EXTRACT", then we have a job which extract data from the staging area to a CSV file.
So before the import, the character appears correctly in SAP HR, but by the time it comes through the VDS to the IDM's temporary table, it becomes "#".
Yes, our data is coming from a Unicode system.
So, could it be a java parameter to change / add in the VDS??
Regards. -
Special Character Issue in Country Name Côte d'Ivoire encoding ISO-88509-1
soa suite 10.1.3.4
I am reading an xml file using file adapter. The file has encoding type ISO-88509-1 and the country name is coming as <country_name>Côte d'Ivoire</country_name>.
When I see the BPEL instance, this character is converted to "C\234te d'Ivoire" jumbled character. The target endpoints receives the country name in jumbled format only. I can't change the incoming file format. Is there a way I can read it properly and keep the special character as it is during SOA process.
Any idea how can I progress in this issue?Any idea on this ? My soa suite server is on Solaris and the folder where I am reading the file from is on Windows.
-
Need to prevent special character in generated XML file
Hello,
I am using E-business Suite 12.1.3 and XML version 5.6.3.
My XML file is ending up with a special character (a Latin capital letter U with circumflex) at the end, after the final closing tag.
Due to this the concurrent program that needs to output the XML is ending with warning.
My XML file is produced using a PL/SQL procedure, as follows (I've simplified it):
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8" ?>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<DOCS>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<LETTER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<EMP_NAME>Michaela Hart</EMP_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</LETTER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</DOCS>');
But when I run the concurrent request that creates the output then try to view the output in Internet Explorer I get the following error:
Invalid at the top level of the document. Error processing resource 'http://servername.domain...
</DOCS>
If I view the source of the page in Internet Explorer it shows a square after </DOCS> indicating the special character that has been added.
I checked this by looking at the output file in unix (cat -v o7766582.req) and it showed up the Latin U character.
I realise it could be to do with the character set I am using. I checked what we had on the server:
> echo $NLS_LANG
American_America.UTF8
I would have thought that corresponded with the XML declaration character set but I'm not sure.
Does anyone have any other ideas about why I have this special character, and how it could be removed?
Thanks in advance,
HazelHi AlexAnd,
thanks very much for your reply.
I'm now unable to recreate the problem since dbms_xmlgen worked. If I switch back to my previous method it works fine!
I'm not sure your suggestion would help, as there were no special characters in the data, the special character was added after the last tag I output. I hard coded the data (as in my example) for testing purposes so there was no SQL in use and the special character was still added at the end of the XML output. But I will definitely give it a try if I get the problem again.
I had the idea that maybe I should have been using FND_FILE.PUT rather than FND_FILE.PUT_LINE but now the error is gone I can't tell if that would have solved the problem either.
I appreciate your input.
Regards
Hazel -
Special character issue with Resource Object in OIM 11g
Hello
While creating Resource Object with special character '/' in OIM 11g, it's not allowing me.
For ex: Peoplesoft Finance/Reporting
Do we have any other workaround without changing the Resource Object name??
Thanks for your help.Nothing is there in system configuration related to special character.
-
XML Data from PL/SQL procedure -- special character issue (eBS)
Hi All,
I am developing a report, where the XML data is created by a PL/SQL procedure. I chose this approach over a data template, since there is a lot of processing involved in producing the actual data, and it cannot be done by select-statements alone. The report is run as a regular concurrent request.
So far so good. There is a problem though. Every time the data contains special characters (ä, ö, umlauts), the concurrent request is completed with a warning, the log confirms that "One or more post-processing actions failed.", also there is no output file. The XML structure is valid as such. The report runs smoothly and produces the output when the XML data does not contain special characters.
I am producing the XML lines by using the standard FND_FILE.PUT_LINE procedure: Fnd_File.put_line(Fnd_File.output, '<?xml version="1.0" encoding="UTF-8"?>'); This seems like a character encoding issue, but declaring the UTF-8 encoding in this way does not solve the problem.
Any ideas what can be done to fix this? I have been searching Metalink but cannot find an answer. Many thanks for your kind help.
Best Regards, MatildaHi Rajesh,
One idea I have, is that it might be possible to modify the PL/SQL code into a "before report" type trigger, attached to a data template. The code would process the data and write the lines into a temporary table, from which the data template could retrieve them in a simple select-query. However, it would be neat to be able to solve this without adding an extra layer of processing, since BI Publisher supposedly supports PL/SQL procedures as the data source.
The data in this case is all correct, special characters are an intrinsic feature of the Finnish language. :)
Best Regards, Matilda -
Hi
I am getting following error while uploading master data.
Master data (dealt by table level) has errors
Detected duplicate member ID 'Agrippal'
Dimension member DNA/PLG Prime + GP14 is an invalid member ID
Dimension member DTaP/alum vaccine (p is an invalid member ID
Dimension member DTwP + Hib full liqu is an invalid member ID
Dimension member DTwP + Hib lyophilis is an invalid member ID
Dimension member Flu + MF59 + CpG is an invalid member ID
Dimension member Fluvirin + MF59 is an invalid member ID
Detected duplicate member ID 'H. pylori'
Dimension member HBV/MF59 is an invalid member ID
Dimension member Hepatitis C (E1E2HCV is an invalid member ID
Dimension member Laminarin-CRM197 + a is an invalid member ID
Dimension member MenB (New Zealand st is an invalid member ID
Dimension member MenB (Norwegian stra is an invalid member ID
Dimension member MenB Engineered (Chi is an invalid member ID
Dimension member MenC lyophilised + M is an invalid member ID
Detected duplicate member ID 'Rabies vaccine'
Dimension member Rhein-Biotech DTaP/H is an invalid member ID
Dimension member Staph Aureus (Staphy is an invalid member ID
Detected duplicate member ID 'Td-IPV'
Dimension member V Quinvaxem (DTwP) p is an invalid member ID
Dimension member VLP-H5; Virus-Like P is an invalid member ID
Dimension member Vi - CRM (NVGH Vacci is an invalid member ID
Error in Admin module
Record count: 80
Accept count: 0
I unsuccessfully tried with couple of options wirting javascript in internal column of conversion file. Any body could you please guide me to rectify this issue.
Thanks in advance
regards
mahiHi,
I don't think that it is an OSS Note that you require to implement as it appears the source data has special characters in?
What does the source data look like?
BPC has restrictions on the ID's allowed imported into BPC, and a useful OSS note explains some of these restrictions:
SAP Note 1448836 - [Link|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1448836]
You can use javascript in a conversion file to use EXTERNAL column to ' * ' so it selects all, then use js: javascript to remove special characters. You'll need to do a bit of research into exactly how you'd set it up but the SAP help file has some guideance here:
[http://help.sap.com/saphelp_bpc70/helpdata/en/81/94a8a5febd40268d5c59b4fc31be37/content.htm|http://help.sap.com/saphelp_bpc70/helpdata/en/81/94a8a5febd40268d5c59b4fc31be37/content.htm]
Hope it helps,
Nick -
Special character issue in JSP
How to handle the special characters like %,(Option+' in Mac),(Option+" in Mac),+,& etc entered within a string and passed on to another page through AJAX, where it is retrieved using request.getParameter(). It comes as '?' character or empty space. Also how to save such values into MySQL database so that again while displaying it after fetching from database will be proper.
Any idea on this ? My soa suite server is on Solaris and the folder where I am reading the file from is on Windows.
-
Master data loading special character issue in bw
Hi ,
while extracting Material master data from r/3 system due to special characters load is getting failed even after enabling in RSKC.
is there any length restriction in RSKC to enable special characters like 20 or 30 only.
If i specify the "ALL_CAPITAL " in RSKC what exactly it will do .
Regards
RaviHi,
No small letters are permitted for characteristic values (in the InfoObject maintenance). It depends, however, on the language being used as to whether a character is capitalized.
It is guaranteed that the characters ' !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' are capitalized in all languages. Thus these characters are permitted for characteristic values.
Expl:
The bit combination, that stands for an 'Ö' in German, displays a small 'sch' in the Russian character set. In this way, a German 'Ö' is not capitalized in Russian.
In the German character set, the bit combination shows a "pictured reflected P" for the Russian capitals "SCH". The conversion of small letters into capitals is, therefore, language-dependent.
If you have a system, that delivers you permitted characters other than ' !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', you can enter these characters here. The system the checks whether these characters are capitalized in all of the installed languages in your system . If this is the case, then these characters are also accepted in characteristic values.
You should only add additional characters to the permitted characters, if you have already installed all the languages that you wish to use later. All languages that you install subsequently are not checked.
It is possible that the validity of these additional characters is then not guaranteed, and the selectability of the entire master data is, therefore, put at risk.
Edited by: venu pawar on Jan 7, 2010 1:22 PM -
Special character issue/ encoding of characters
Hi All,
My scenario is-
IDoc -> Soap lookup-> soap lookup----> Jdbc
here I am using 3 mappings inside the same operation mapping. I am sending Idoc from ECC and doing a lookup using SOAP twice and updating a table.
now the problem is that when I am sending the Idoc having values some special characters the first mapping executed successfully but the when it is doing the lookup ( first SOAP call) it is failing to return proper and correct values, it is returning the values as "SAX" and when I checked the soap adapter used for lookup it is in error for SAX parsing with the below error text-
Invalid byte 1 of 1-byte UTF-8 sequence.
I have tried to use one java mapping to transform the encoding from ISO-8859-1 to UTF-8 and other way around and also even tried using the standard soap adapter module- XMBWS.XMLEncoding as ISO-8859-1 but did not work.
for e.g - if IDoc contains character Ñ in any field it is not calling the SOAP call properly and returning the values as SAX and adapter is erroring out as mentioned above.
Please advise.
Thanks
VineetWhen you use an UDF and you have programmed a Sax parser, then make sure, that the parser works with the correct encoding. So when the result of the webservice is ISO-8859-1, then assign this to the parser.
In principle the encoding should be part of XML header. Make sure that the encoding of the response is the same as declared in XML header. -
How to define special character in html text file used in loadvars
Hi
I'm witing some maths software and need to use the division
sign in a text file which is loaded using LoadVars().
The variable loaded is then assigned to a text area. Here's
the variable example.
&hint1=<title><b>Challenge 1: Instant recall
of any table</b></title><p>Including table
divisions eg 56 ÷ 8= </p>
the division sign is missing or a just a box. I've already
tried most options: ÷ (which works in XML loaded to
flash), ÷ %F7
Can anyone help please?Hi Michael. Thank you for your reply.
There is no declaration within sgm file itself - but while opening the file I use sgml application definition with the following settings:
Default API client: FmTranslator
SGML character encoding: ISO Latin1
XML character encoding: UTF-8
Namespace: Enable
CSS2 Preferences:
Generate CSS2: Disable
Add Fm CSS Attribute To XML: Disable
Retain Stylesheet Information: Disable
Entity locations
Entity search paths
C:\Program Files\Adobe\FrameMaker9\Structure\sgml\isoents
So as you can see, character encoding is set to ISO Latin1 (there is no way to use UTF-8 encoding in sgml files)
Typing ź or ć in sgm document and opening it with framemaker sgml application - I receive: ¿æ and message: "Non-SGML character found; should have been character reference"
Everything works fine when I type f.ex.: &x016B; and insert appropriate reference lines into isolat1.rw and isolat1.ent files
But what I would like to avoid is editing those isoent files each time new character is be needed. -
Special character issue with Adobe Reader 11.03 in hyperlink path
Adobe Reader changes a [ character in a hyperlink path to a % sign, thus changing the path and destroying the link,when opened in version 11.03. This does not happen with 11.01. This is a serious problem for our customers with a critical linked document, because the customers are generall not tech savvy, and categorically refuse workarounds. They will not adjust their Adobe version for fear of security issues. Can this be corrected in a future version of Adobe Reader?
This is the Bridge Forum, try posting in acrobat froum http://forums.adobe.com/community/acrobat
-
Special character issue with Adobe Reader 11.03 Hyperlink path
Adobe Reader changes a [ character in a hyperlink path to a % sign, thus changing the path and destroying the link,when opened in version 11.03. This does not happen with 11.01. I have also seen this with Acrobat X, but not sure which update. This is a serious problem for our customers with a critical linked document, because the customers are generall not tech savvy, and categorically refuse workarounds. They will not adjust their Adobe version for fear of security issues. Can this be corrected in a future version of Adobe Reader?
This is the Bridge Forum, try posting in acrobat froum http://forums.adobe.com/community/acrobat
-
I have an sgm file which contains special characters in different languages.
<!DOCTYPE MANUAL PUBLIC "-//SWE-XXX//DTD XXX MANUAL-DTD 2.0//EN">
<MANUAL LANG="CS">
<TITEL>
Polish characters: óê¿ñæÑÆÊ¥Ó£
Czech characters: éìóïáøèíùòú&Og rave;ÌÉÓÚÙÈØÍÁÏ aacute: á</TITEL>
</MANUAL>
Is there any way to insert special character directly in sgm file, so that it won't have to be interpreted by isoents mapping rules?
isoent.rwr interpretes oacute as:
entity "oacute" is fm char 0x00F3;
But I would like to use 0x00F3 directly in fm file, so that if any additional character is needed - I won't have to update isoent files
I've tested already:
ó
&x00F3;
&0x00F3;
but with no luck
Is there anyone who could help me with it?
I will really appreciate your help
/JoannaHi Michael. Thank you for your reply.
There is no declaration within sgm file itself - but while opening the file I use sgml application definition with the following settings:
Default API client: FmTranslator
SGML character encoding: ISO Latin1
XML character encoding: UTF-8
Namespace: Enable
CSS2 Preferences:
Generate CSS2: Disable
Add Fm CSS Attribute To XML: Disable
Retain Stylesheet Information: Disable
Entity locations
Entity search paths
C:\Program Files\Adobe\FrameMaker9\Structure\sgml\isoents
So as you can see, character encoding is set to ISO Latin1 (there is no way to use UTF-8 encoding in sgml files)
Typing ź or ć in sgm document and opening it with framemaker sgml application - I receive: ¿æ and message: "Non-SGML character found; should have been character reference"
Everything works fine when I type f.ex.: &x016B; and insert appropriate reference lines into isolat1.rw and isolat1.ent files
But what I would like to avoid is editing those isoent files each time new character is be needed. -
How to allow the special character in folder or filename
when i add the special character "&" in folder or file name it gives following error
"The file or folder name "P&A" contains invalid characters. Please use a different name. Invalid characters include the following: ~ " # % & * : < > ? / \ { | }. The name cannot begin or end with dot and cannot contains consecutive dots."
how can i allow these character in folder or file name.
waitingHello to everybody
It's ok for the ~ " # % & * : < > ? / \ { | } characters, they cannot be allowed,
but in a lot of languages there are letters like è é à ù ò that are accepted for path and/or filename;
how to allow these characters? Moss indexes them but when doing some searches and clicking on these files, in the new internet explorer windows the file cannot be opened abd examining the url the è é à ù ò are replaced with other character.
Thanks in advance to everybody
Regards to all
Roberto GerlandoGerly
Maybe you are looking for
-
I am trying to enable reporting on InfoObjects on my InfoSet in BI 7.0, but whenever I open the InfoSet I cannot check the box next to the InfoObject name because it is grayed out. Can anybody explain how to remedy this? I will award points.
-
My hp laptop's fan is not working
I have an HP Pavilion g6-1145sg. It was working properly all morning, and then I put it to sleep temporarily (about ten to twenty minutes). When I went to turn it on, the screen was black and said something along the lines of "the system has detected
-
I am having problem with my itunes account because when i try to buy something online it say..Your purchase can not be completed for assistance, contact itunes support.
-
What's wrong with my Archive page?
I've finally gotten this site pretty much where I want it..... now there's a new problem. If you go to my blog entries page, all the days have little captions except days 2 & 3 and day 4 is messed up. What's going on? http://web.mac.com/apurcell/iWeb
-
I have a DVD that iDVD and iMovie don't recognize
I have a DVD that iDVD and iMovie don't recognize. It was a VHS tape that I had turned into a DVD by an outfit called The Video Lab. I have OS X 10.3.9, iDVD 5, iMovie HD When I put this DVD into the superdrive it opens the DVD Player and will play o