Special Character error in IDOC
All,
I am trying to upload PO data using IDOC type "PORDCR1" from LSMW. All is well till I convert data. We have some speical characters in short text field at item level and even when I convert the data and display it from LSMW it looks fine, but when I processing idoc it's erroring out meaning if I have special character "Á" in IDOC during processing it's getting converted to "Á#" and it's screwing up the positions.
What I am not able to understand is when I am displaying the converted data in segment mode in LSMW it's getting displayed perfectly without extra "#", but when I am checking errored idoc from WE05 it has this new #. Did anyone come across this issue?
Your help will be greatly appreciated. Thanks for your time.
Ok, the issue was with LSMW port (which was not marked as UNICODE) and because of which it's not translating special characters....
Similar Messages
-
HI,
we are facing problem during ODS activation, it is a kinda of special
character error, i maintained almost all characters in RSKC,
rsallowedchar table is reflecting the same, but still it is throwing
special character error, that special character system showing is "□".
Please look into this ASAPHello,
Please use the standard FM - CONVERT_HASH or Please use the below code :
ATA: BEGIN OF trans OCCURS 0,
x TYPE x VALUE '00',
c_00 TYPE c VALUE ' ',
soh TYPE x VALUE '01',
c_01 TYPE c VALUE ' ',
stx TYPE x VALUE '02',
c_02 TYPE c VALUE ' ',
etx TYPE x VALUE '03',
c_03 TYPE c VALUE ' ',
eot TYPE x VALUE '04',
c_04 TYPE c VALUE ' ',
enq TYPE x VALUE '05',
c_05 TYPE c VALUE ' ',
ack TYPE x VALUE '06',
c_06 TYPE c VALUE ' ',
bel TYPE x VALUE '07',
c_07 TYPE c VALUE ' ',
bs TYPE x VALUE '08',
c_08 TYPE c VALUE ' ',
ht TYPE x VALUE '09',
c_09 TYPE c VALUE ' ',
lf TYPE x VALUE '0A',
c_0a TYPE c VALUE ' ',
vt TYPE x VALUE '0B',
c_0b TYPE c VALUE ' ',
ff TYPE x VALUE '0C',
c_0c TYPE c VALUE ' ',
cr TYPE x VALUE '0D',
c_0d TYPE c VALUE ' ',
so TYPE x VALUE '0E',
c_0e TYPE c VALUE ' ',
si TYPE x VALUE '0F',
c_0f TYPE c VALUE ' ',
dle TYPE x VALUE '10',
c_10 TYPE c VALUE ' ',
dc1 TYPE x VALUE '11',
c_11 TYPE c VALUE ' ',
dc2 TYPE x VALUE '12',
c_12 TYPE c VALUE ' ',
dc3 TYPE x VALUE '13',
c_13 TYPE c VALUE ' ',
dc4 TYPE x VALUE '14',
c_14 TYPE c VALUE ' ',
nak TYPE x VALUE '15',
c_15 TYPE c VALUE ' ',
syn TYPE x VALUE '16',
c_16 TYPE c VALUE ' ',
etb TYPE x VALUE '17',
c_17 TYPE c VALUE ' ',
can TYPE x VALUE '18',
c_18 TYPE c VALUE ' ',
em TYPE x VALUE '19',
c_19 TYPE c VALUE ' ',
sub TYPE x VALUE '1A',
c_1a TYPE c VALUE ' ',
esc TYPE x VALUE '1B',
c_1b TYPE c VALUE ' ',
fs TYPE x VALUE '1C',
c_1c TYPE c VALUE ' ',
gs TYPE x VALUE '1D',
c_1d TYPE c VALUE ' ',
rs TYPE x VALUE '1E',
c_1e TYPE c VALUE ' ',
us TYPE x VALUE '1F',
c_1f TYPE c VALUE ' ',
diez TYPE x VALUE '23',
c_23 TYPE c VALUE ' ',
Start of insertion by CGT DR77618
exma TYPE x VALUE '21', "'!'
c_21 TYPE c VALUE ' ',
auml TYPE x VALUE 'C4', "'Ä'
c_8e TYPE c VALUE 'A',
unds TYPE x VALUE '5F', "'_'
c_2d TYPE c VALUE '-',
End of insertion by CGT DR77618
Start of insertion(+) DR85766
sque TYPE x VALUE '7F', "
c_squ TYPE c VALUE ' ' ,
deg TYPE x VALUE 'B0', " °
c_deg TYPE c VALUE ' ' ,
End of insertion(+) DR85766
Start of insertion(+) DR88519
sla TYPE x VALUE '2F', " /
c_sla TYPE c VALUE ' ' ,
End of insertion(+) DR85766
END OF trans.
output = input.
TRANSLATE output USING trans.
ENDFUNCTION. -
Unquoted special character error
Am reading data from a file and parsing through it using StringTokenizer. I am putting the data into DB2 tables and therefore need to set the integer and fraction count for decimal numbers so they won't abend the program if they are over the DB2 setting. I am calling an internal method with the following line:
pstmt_master.setDouble(23, formatDecimal(token, decForm));
where token is the value to interpret and decForm is the pattern to apply, in this case it is:
"###########0.####;-###########0.####"
The method that is called is:
public double formatDecimal(String numStr, String format) {
NumberFormat nf = NumberFormat.getInstance(Locale.US);
double intdbl = 0;
if (nf instanceof DecimalFormat) {
ParsePosition pos = new ParsePosition(0);
nf.setMaximumIntegerDigits(12);
nf.setMinimumIntegerDigits(0);
nf.setMaximumFractionDigits(4);
nf.setMinimumFractionDigits(0);
DecimalFormat df = (DecimalFormat)nf;
df.applyPattern(numStr);
Double db = new Double(numStr);
double dbl = db.doubleValue();
BigDecimal bd = new BigDecimal(dbl);
db = new Double(df.format(bd.doubleValue()));
intdbl = db.doubleValue();
return intdbl;
I am trimming the value (token), and for the purposes of debugging this problem have done a println on the value which is the number just before the error below. Can anyone offer any help as to why I am getting this error?
By the way, this is not the first value passed through the method, it successfully handles about 10 values before abending on this value.
51050
java.lang.IllegalArgumentException: Unquoted special character '0' in pattern "51050"
at java.text.DecimalFormat.applyPattern(DecimalFormat.java:1334)
at java.text.DecimalFormat.applyPattern(DecimalFormat.java:1208)
at JavaAgent.formatDecimal(JavaAgent.java:758)
at JavaAgent.NotesMain(JavaAgent.java:225)
at lotus.domino.AgentBase.runNotes(AgentBase.java:161)
at lotus.domino.NotesThread.run(NotesThread.java:203)I'm thinking that this line:
df.applyPattern(numStr);should read
df.applyPattern(format);You appear to be passing the number as the pattern.
Tim -
Special Character Error in Message in PI after PI-PRD Upgrade
Dear Experts,
We had a PI PRD upgrade 3 days back from (PI NW 7.3 ) from SP-07 to SP-11.
After this upgrade we ar facing one peculiar issue which was not there before upgrade.
The messages containing special character like '&', ", etc is not getting parsed and throwing error.
The messages having no such characters are passing smoothly.
Is it upgrade related issue??
Thanks
SumitHi Sumit,
There is not a problem to introduce a java mapping in a response of a ECC system, at least if you are not using a standard PI software component. You can set in the response Operation Mapping, two mappings, the first one the java mapping and the second one your current mapping.
Java Mapping example: Java Mapping: To change the encoding type or replacing special characters.
Regards. -
Error while releasing transport request - Special character "_" in generic
Hi all,
we're receiving the error Special character "_" in generic key when releasing a best practice transport.
Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry for eacht yb_PS,..,
but we have only one entry where field BWERT has a wildcard '*' as entry.
Does anyone has some idea how to solve this ?
kind regards !Hello Bjorn,
How did you get this solved?
I'm having nearly the same issue:
A custom-table with a total key lenght of about 365 characters. As soon as I enter a special character (_) in the key field just before the position 120, the message tk287 rejects the entry. Entering the special character in a key field at about key position
60, there's no message rejecting the entry.
Regards -
Error "TK287" when releasing a request - Special character "_" is invalid.
I have some tables in Solution Manager and having some warnings:
Table: CRM_SVY_DB_ST
Field value:CRM_SVY_GENERATE_BSP_TEMPLATE.XSLT
Field: TRANSFORMATIONID
It doesn´t accept the special character "_"
Below the error when releasing and the explanation of the error in the sequence.
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_
Special character "_" in generic key
Explanation of the error:
Special character "_" in generic key
Message no. TK287
Diagnosis
The generic key 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_ was entered for the object CRM_SVY_DB_ST. All keys that match up to the asterisk are to be transported.
The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
The key contains the special character _.
System Response
The entry is rejected.
Procedure
Extend the generic entry, or specify all keys individually.Hi,
Go through SAP note 711103 & 688363.
Regards,
Sachin Rane.
Edited by: Sachin Rane on Mar 12, 2009 2:48 PM -
Table Maintainence generator Error Special Character '_' in generic key
Hello,
I have created a Table which contain 6 fields. All the fields of the table are primary key. The combined length of all the primary key is 163 characters. In the activation Log of the table we have a warning message which states "Key length > 120 (Restricted functionality)". Initially we are able maintain the entries using SM30. BUt now when we are making the entreis in the table an error message comes. The error is Special character "_" in generic key.and we are not able to save the entries.
I have deleted the table maintainence generator and have regenerated it. But the same error is coming.
Please provide your suggestion.
Thanks,
MohitPlease provide your suggestions
Thanks,
Mohit -
Error: Invalid dimension member with special character / in BPC NW 7.5 SP7
Hi experts,
We are encountering the following problem in our Financial Planning application.
We are migrating our existing BPC solution from one server to another through backup and restore. The existing solution was on BPC NW 7.5 SP 5. The profit_centre dimension in the existing solutions has several member ids with special character '/' (forward slash). The dimension never threw an error when processed in the existing solution and there is planning transactional data against these member ids.
While the entire configration , appset , files were successfully restored through UJBR on the new system (BPC 7.5 SP7) through UJBR (backup and restore), the masterdata could not be restored only for this Profit_centre (masterdata for other dimensions were processed successfullu). All the member ids with / are rejected for this dimension. The same error is thrown if processed through the admin client from the member sheet.
Error: Dimension member PC_FF/WS/NT is an invalid member ID
Error in Admin module
Is there any setting which need to be made to allow / character in member ids? Any suggestion to get around this problem would be much appreciated.
Thanks
AbhimanHi Abhiman,
Yes, you need to maintain the transformation file to correct all dimension member IDs. Can you please refer to the following link with a similar issue:
conversion file formula not working
Hope this helps.
Rgds,
Poonam -
Error wirh release of the requets Special character "_" in generic key
Hello
I am trying to release the request, this reques was generated to installation the baseline for Peru but I got this message:
Key messages: TABU TFAWC 200SAPLCATS 2100TCA
Special character "_" in generic key
Special character "_" in generic key
Message no. TK287
Diagnosis
The generic key 200SAPLCATS 2100TCA was entered for the object TFAWC. All keys that match up to the asterisk are to be transported.
The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
The key contains the special character _.
System Response
The entry is rejected.
Procedure
Extend the generic entry, or specify all keys individually
Any sugstion for this message?
thanks
DannyHi Danny,
Could you resolve issue Message no. TK078, I'm config SD and when i assign division and dis.channel to sales org those action does not show error but when i check request consistensy in se03 i have below error.
=====================================================
Object TDAT OVXA has object function "K", but no key
Message no. TK078
Diagnosis
The request/task cannot be saved because an object entry with function K
does not have a key.
System Response
The system did not save the entry.
The cursor appears on the incorrect entry in the editor.
Procedure
Press Enter once. This branches to the object list in the editor and
positions the cursor on the incorrect object entry.
Correct the object function or enter keys for the object entry.
============================================
I had follow procedure but it do nothing.
Anybody can help Pls !
Thanks and Best regards. -
Biztalk error if "&" special character is used from Oracle Database
There is an error when system was received data form Oracle database. The data format is including "&"....etc special character. Becuase of the error appear between Oracle database and receive port. I can't do anything in Biztalk program to
encode the message. Does any way to do encoding when biztalk receive data?
xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'ECT.TOSToEDB.orcWorkingTable(7e2c77ec-adb6-5790-29ad-835ec8374c1d)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 8eb4cb36-82b2-4d34-9b45-64b8aba23758
Shape name:
ShapeId: 09bc980e-3040-4238-a838-f3606294effe
Exception thrown from: segment 1, progress 84 Inner exception: An error occurred while parsing EntityName. Line 4, position 112.
Exception type: XmlException
Source: System.Xml
Target Site: Void Throw(System.Exception) The following is a stack trace that identifies the location where the exception occured
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at ECT.TOSToEDB.orcWokingTableCheck.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.There are 5 special characters which in xml & < > " ' if the Oracle fields contain any of those characters it will cause invaild xml.
This can be solved at the oracle side be replacing the special characters by it's html encode equivalent, so & becomes & , I think the best way to solve it
is to make a custom pipeline component and translate the special characters there.
There is my Send Port Properties. Do you mean the default biztalk pipeline component ("XML Receive") cannot translate any special characters? -
Error in XSLT Mapping when special character is passed through
Hi Experts,
We have used the XSLT mapping. When ever any special character like é is being passed, then the below mentioned error is displayed in the Integration engine.
Error occurred during XSLT mapping of the application
It is working fine with normal case if we are not sending any special character.
I am not sure whether the problem exists in XSLT mapping or the issue with the legacy system?
Early response would be highly appreciated and points will be awarded.
Thanks in Advance,
Jitenderhi,
[Problem in transforming XML to string using XSLT;
Chk the above link.might solve ur issue.
Regards.
Siddhesh Naik -
SOAP Adapter - Error because of special character (u00FC - Umlaut) in payload
Hello,
We have a SOAP sync scenario.
SAP -> PI 7.0 -> 3rd Party system
We have a special character (ü - Umlaut) as part of the payload.
When the message enters message pipeline in PI, I can see the payload XML till message branching step.
From Message mapping step, i get the message - "The XML page cannot be displayed. An invalid character was found in text content" in SXMB_MONI.
In communication channel monitoring, I see the following error:
SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)
But, when I pass the same message(with special character) to the 3rd party system using SOAP UI, i get a valid response back.
So, what is going wrong in PI?
Thanks,
ChandraHi Gouri,
you are right. My message is successful in SXMB_MONI, and the error is coming from comm channel monitoring with deliverin to target.
My sender is a proxy, and we can not specify any encoding in proxy sender.
I did not specify any encoding in SOAP Receiver aswell.
This is the sequence in comm channel monitoring:
Success: Delivering to channel: CI_SOAP_Receiver_Sync
Success: MP: Entering module processor
Success: MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
Success: SOAP: request message entering the adapter with user J2EE_GUEST
Error: SOAP: call failed: java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
So, what can i do to fix this?
Thanks,
Chandra
Edited by: Chandra Sekhar H on Mar 3, 2011 12:25 PM -
When I am uploading file with special character it gives error
Hi All,
I am uplloading one file with special character then it gives error. Please let me know solutions on this is soon as possible.
Thanks,
Madhavhi are you looking for the file to be transferred with the special character then declare it wil the char field...and send it..
or the special charactera are coming unnecessary use the command ............replace all occurances to avoid this.. -
Special character Validation: error
HI Guys,
I wrote a validation to restict the use of special chracters.
Its a formula based validation, both REAL TIME and BATCH, on the Node.
HasCharacters(Custom.EPMA_Alias, ["]).
However, when I go to put an Alias on a member, it tells me there is a special character in this, but there is not.
I also tried HasCharacters(PropValueCustom.EPMA_Alias0, ["]) with same results.
I also need to add the following characters:
|
Thank you for all your help!.Hi,
DRM will not support the syntax ["], instead try somethinug like this for your validation logic-
And(
Equals(Integer,Length(PropValue(Custom.Prop)),Length(ReplaceStr(PropValue(Custom.Prop),|,,T))),
Equals(Integer,Length(PropValue(Custom.Prop)),Length(ReplaceStr(PropValue(Custom.Prop),",,T))),
Equals(Integer,Length(PropValue(Custom.Prop)),Length(ReplaceStr(PropValue(Custom.Prop),%,,T))),
Equals(Integer,Length(PropValue(Custom.Prop)),Length(ReplaceStr(PropValue(Custom.Prop),*,,T))) -
MII 12.0.4 - Problem MessageListener and special character (German) -
Hey,
we have the following Landscape:
+ ECC 6.0 with Unicode
+ MII 12.0.4
Settings on the MessageListener Server:
gwhost xxxxxxxxx
gwserv xxxxxxxxx
progid SAP_MII
trace
params
snc_myname
snc_qop
snc_lib
unicode 1
max_startup_delay
Settings on the MessageListener Client:
client yyy
user yyyyyyyy
alias_user
passwd
lang de
sysnr xx
ashost xxxxxxxx
mshost
gwhost xxxxxxxx
gwserv xxxxxxxxx
r3name
group
tpname SAP_MII
tphost
type
trace
codepage
abap_debug
use_sapgui
getsso2
mysapsso2
x509cert
lcheck
grt_data
use_guihost
use_guiserv
use_guiprogid
snc_mode
snc_partnername
snc_qop
snc_myname
snc_lib
dest
saplogon_id
extiddata
extidtype
idle_timeout
dsr
Error-Description:
When MII get a Message (RFC) from the ECC, all special character (German Umlaut) coming wrong.
I tried with changing the Language, codepage... without any success. When I call the same Message
(RFC) from the BLS through a JCO action block, then the result is with special character. I also tried
this on a MII 12.0.5 installation without success... Did anybody had this problem one time?
Kind Regards
PedroPedro,
we are working in an german environment with unicode, although I have set the Message Listener language to EN. I have found some material texts which came down with a MATMAS that contain german umlaute and which are shown correctly inside the database.
I have also used a "normal" JCo block, no session. I guess it would make no difference using an IDoc or RFC.
Have you seen the wrong characters, in the MII workbench or in a database where you store the contents?
Michael
Maybe you are looking for
-
My self and my wife each have a phone on the same vodafone account, i have an iphone 5 with an apple id also ana ipad on the same apple id. My wifes phone is a samsung, but if i buy here an iphone can i attached it to the same apple id.
-
Space appears after text when you scroll to the bottom
i am a newbie flash designer. a client has asked me to make modifications in a flash file used on his website. it is flash 8 actionscript. i am currently working on the same and would appreciate your help. the client has given me 'divisions.swf' file
-
Itunes won't connect to store, network connection timed out
hey its been a while now and its really starting to annoy me. my itunes won't connect to the store anymore and its been so long i can't remember what made it happen, i get an error message coming up saying network connection timed out ... no error co
-
Could not display output in PDF format from a RDF file
Hi all, I'm calling a report file (.RDF) from the browser using RWCGI.EXE, and specified the output in PDF format, but it always asking me to download the active-X for the PDF file generated by the report. I have Adobe Acrobat Reader installed on my
-
Paint Tool stops working after first use. CS6
I saved the file and it starting working again. I painted one stroke and it would not paint anymore. Really annoying.