How to find File Content converson error
Hi All,
If there is a problem with key field in the file content conversion, file is getting deleted from the source system, and SXMB_moni does not have any message, adapter monitor does not show any message, How to find the error?
Thank you
Ganges Leaves
hi,
do you see anything in the AFW message monitoring
http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Similar Messages
-
** File Content Conversion Error in Receiver CC - How to solve this?
Hi friends,
My target structure looks like below.
EmployeeJobDetails --> Message Type
JobCode --> Node
EmployeeNumber xsd:string
Domain xsd:string
JobTrack --> Node
Department xsd: string
Position xsd: string
I use the FCC parameters in the receiver CC as below:
Recordset Structure: JobCode,JobTrack
JobCode.fieldSeparator = |
JobCode.endSeparator = 'nl'
JobTrack.fieldSeparator = |
JobTrack.endSepartor = 'nl'.
Because, we want the output like below
1099|Raja
Accts|JuniorAccountant
1100|Ram
HR|Recruiter
like this.
In this scenario Source is XML and target is txt file.
I am using XSLT Mapping. The FCC works fine, if my source input file contains some records. But, when we send empty source XML file as below
<?xml version="1.0" encoding="UTF-8"?>
<EMPLOYEE_DATA/>
Mapping works fine. Message is processed successfully in SXMB_MONI. The payload in response also comes with Message Type name like below
<EmployeeJobDetails namespace >
</EmployeeJobDetails>
While convert this, the system throws below error.
Error Message:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)'
Friend, how to convert this when source XML is empty.
But, if we remove JobTrack node in target strucutre and remove the JobTrack parameters in CC, then if we send the same empty XML file FCC is working fine and we get the target text file 0 KB. (Amazing !!)
But, in the first case, how to solve the issue?
Kind Regards,
Jegathees P.Hi friends,
If we remove JobTrack node in target strucutre and remove the JobTrack parameters in CC, then if we send the <b>same empty XML file</b> FCC is working fine and<b> we get the target text file 0 KB</b>. (Amazing !!)
But, if we give parameters like JobCode,JobTrack then send pass the same empty file, we face the problem 'File Content Conversion' Error.
Searching solution for this problem ... -
How to find the contents of proc from top command
I had a doubt related to how to find the contents of a procedure or the statements from the PID displayed in top command if it can be done from TOAD or
sqlplus. If we can find out the details from top like:-
21211 oracle 16 0 3228 1012 764 R 0 0.0 0:07.68 top
1 root 16 0 1732 552 472 S 0 0.0 0:01.29 init
say, what is the process with PID 21211 and 1 are doing?
I hope, my question is clear.
Please, help in solving the doubt.
regardsJoin v$process, v$session, and v$sql
SQL> ed
Zapisano file afiedt.buf
1 SELECT p.pid, s.sid, s.serial#, sq.sql_text
2 FROM v$session s,
3 v$process p,
4 v$sql sq
5 WHERE s.paddr = p.addr
6* AND sq.address = s.sql_address
SQL> /
PID SID SERIAL# SQL_TEXT
37 128 2 BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :
2, :3); END;
19 149 4566 SELECT p.pid, s.sid, s.serial#, sq.sql_t
ext FROM v$session s, v$process p,
v$sql sq WHERE s.paddr = p.addr
AND sq.address = s.sql_address
SQL>Edited by: Łukasz Mastalerz on Feb 12, 2009 1:27 PM -
How to find the cause ofan error at runtime in forms (10g)
hi
can u please tell me how to find the cause ofan error at runtime.
in forms 6i, the shortcut key is shift+f1
i needthe shotcut key in 10g forms.
thanxor just look in you menu help, -- last error or you can find the list of shortcut keys there ...
\Erwin -
How to find out where sap error messages stored...
How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?
Hi,
I also got the same message when that message no is not there
E:SABAPDOCU:000 test
yours is S-type and message id ZY and message no 127
127 is not there either change the no or create the same
Regards
Shiva -
How to find out where sap error messages stored in our system
How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?
Are you interested in WDA messages ?
The set a breakpoint in METHODS IN class CL_WDR_MESSAGE_MANAGER.
Then use call stack (default desktop 2 in debugger) to see where message is added to message manager.
regards
phil -
How to find files and subdirectories in a directory
can anyone tell me how to find files and subdirectories in a directory .
Here's a code snippet,
http://javaalmanac.com/egs/java.io/TraverseTree.html -
HT3231 how to find file after using migration
how to find files after migration has finished
If you don't have any file you need in your old account, open System Preferences > Users and Groups and delete the old user. If not, I recommend you to migrate your files of your old account to the new one using Shared folder or an USB drive
-
How to search file contents in finder?
How do I search for file contents in finder? All I see is the option to search "This Mac" or "Edited."
Under the partial results appearing under the search box is a + icon (next to save). To see it, click on the toolbar somewhere so the results popup clears. Then you can define your search.
-
How to find the contents of a file that is suddenly empty
I created a folder 2 months ago on the left hand side of the email under TRASH and then Under 2013. I have been loading it with emails (maybe 20-30 at last count) and all of a sudden the contents of the folder is gone. Once, when I clicked on it, it came back and I thought it was here to stay, but then everything in it disappeared again and I have not been able to find the contents for several days now. It is not in TRASH or 2013 - can't locate the emails anywhere. Just before this happened, it was no longer accepting emails from my inbox when I tried to transfer them over. I figured it had run out of space, and was ready to open a new file, but there is nothing there either. Any ideas?
If you logon to webmail account via a browser, can you see the missing folders and emails?
-
File Content Conversion Error in PI 7.1 (file to Proxy)
Hi
I am working on File to Proxy Scenario and I gave the File content conversion as below, File is picking up by the PI Server when I look at Communication Channel Monitoring, However when I open the Message ID in the CC monitoring it says as
404 Not Found
The requested resource does not exist.
and I do not see any message SXMB_MONI(Because the content is not converted), Can anyone give an idea how to debug this
Thanks
PR
Please find the details below which I gave in the content Conversion
Document Name : MT_TW_AK
Document NameSpace : http://aiwcd.com/Claims_Management(CM)_Rel2.0
RecordSet Name : FROISROIAcknowledgement
RecordSet Structure : Header,1,Record,*,Trailer,1
Recordset Sequence : Ascending
KeyField Name :TransactionSetID
Key Field Type : String (Case Sensitive)
IgnoreRecordsetName : true
Header.fieldNames :TransactionSetID,SenderID,ReceiverID,DateTransmissionsent,TimeTransmissionsent,OriginalTransmissionDate,OriginalTransmissionTime,TestProductionCode,InterchangeVersionID
Header.fieldFixedLengths: 3,25,25,8,6,8,6,1,5
Header.keyFieldValue : H
Record.fieldSeparator :
Record.fieldNames : TransactionSetID,RecordSequenceNumber,DateProcessed,TimeProcessed,InsurerFEIN,ClaimAdministratorPostalCode,ClaimAdministratorFein,AcknowledgementTransactionSetID,ApplicationAcknowledgmentCode,InsuredReportNumber,ClaimAdministratorClaimNumber,JuridictionClaimNumber,MaintenanceTypeCode,MaintenanceTypeCodeDate,RequestCode,FreeFormText,NumberofErrors,MaintenanceTypeCorrectionCode,MaintenanceTypeCorrectionCodeDate,JurisdictionBranchOfficeCode,ClaimAdministratorAlternatePostalCode,NumOfErrors
Record.fieldFixedLengths: 3,9,8,6,9,9,9,3,2,25,25,25,2,8,3,60,2,2,8,2,9,19
Record.keyFieldValue : A
Trailer.fieldNames:TransactionSetID,DetailRecordCount,TransactionCount
Trailer.fieldFixedLengths: 3,9,9
Trailer.keyFieldValue : T
ignoreRecordsetName: truePR,
Can you check the error in sender communication channel?
Go to RWB ---> Component Monitoring ---> Adapter Engine ---> Communication cahnnel monitoring --> it displays new page. Then give your file sender communication cahnnel name. There you will definitely see some error.
The error what you are getting is a different to this one. Can you please check the error what I have given above path.
Regards,
---Satish -
Hello,
I have Async. File receiver scenario in which the following is the XML message structure. This is received by the file adpater.
<ns1:MT_Info_File xmlns:ns1="urn:http://freemanco.com/xi/info_list">
<TYPE>
<FileItem>
<FileName>DD11022007</FileName>
</FileItem>
</TYPE>
<DATA>
<LineItem> <LineEntry>234567891234567890123456789012345678901234567890</LineEntry>
</LineItem>
<LineItem>
<LineEntry>95473523647586969587265245437586979798376524253586</LineEntry>
</LineItem>
<DATA>
<LineItem</ns1:MT_Info_File>
<u><b>I want to write only folowiing DATA structure to file. I do not want to wite contents of TYPE structure</u>
<DATA>
<LineItem> <LineEntry>234567891234567890123456789012345678901234567890</LineEntry>
</LineItem>
<LineItem>
<LineEntry>95473523647586969587265245437586979798376524253586</LineEntry>
</LineItem>
<DATA></b>
In the receiver file adpater I have follwoing <u><b>File content conversion parameters</b></u>.
RecordSetStructure: DATA,LineItem,*
*.addHeaderLine 0
*.fieldFixedLengths 301
*.fixedLengthTooShortHandling Error
*.endSeparator nl
LineItem.fieldSeparator nl
DATA.fieldSeparator nl
While testing I got following error. Looks like it is expecting some values for FileItem element in the XML.
<b>Error</b> Attempt to process file failed with java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'FileItem' found in document', probably configuration error in file adapter (XML parser error)'
<b>Error</b> MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'FileItem' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'FileItem' found in document', probably configuration error in file adapter (XML parser error)'
<b>Error</b> Exception caught by adapter framework: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'FileItem' found in document', probably configuration error in file adapter (XML parser error)'
<b>Error</b> Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'FileItem' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'FileItem' found in document', probably configuration error in file adapter (XML parser error)'.
How to resolve this issue? I appreciate your help.
Thank you,
BalajiBalaji,
I would suggest to remove FileItem and LineItem in your receiver datatype. They are increasing the hierarchy of your content conversion. If you do that then you will have
<ns1:MT_Info_File xmlns:ns1="urn:http://freemanco.com/xi/info_list">
<TYPE>
<FileName>DD11022007</FileName>
</TYPE>
<DATA><LineEntry>234567891234567890123456789012345678901234567890</LineEntry>
<LineEntry>95473523647586969587265245437586979798376524253586</LineEntry>
<DATA>
</ns1:MT_Info_File>
Then in content converstion give this parameters:
Record structure : TYPE,FileName,DATA,LineEntry
TYPE.fieldfixedlengths : 0
FileName.fieldfixedlenghts:0
DATA.fieldfixedlenghts:0
LineEntry.fieldfixedlengths:301
LineEntry.endSeparator:'nl'
Then it should work. Also you can use FileName in your variable substituition. Also please see this weblog on how to use FileName in variable substitution:
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
If you dont want to remove FileItem and LineItem then add these also in your content conversion. Then the parameters would be:
Recordset: TYPE,FileItem,FileName,DATA,LineItem,LineEntry
TYPE.fieldfixedlengths : 0
FileItem.fieldfixedlengths:0
FileName.fieldfixedlenghts:0
DATA.fieldfixedlenghts:0
LineItem.fieldfixedlengths : 0
LineEntry.fieldfixedlengths:301
LineEntry.endSeparator:'nl'
Regards,
---Satish -
How to debug file content conversion problems?
Hi,
I'm trying to debug a file content conversion problem. I'm mapping a few nodes in an IDOC to a file of fixed length fields. I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created. Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion. How do I debug this because there is no descriptive error in the XI log? If this node is not present, the file gets generated fine.
Thanks,
Basant GuptaHi,
If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
So it wil help you debug the situation.
If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
/people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
Regards,
Moorthy -
How to store file content in BLOB field MySql database using java
Hi!
i want to store the file content in a BLOB field in MySql database using java.
Please help me out..........
thanx in advance...
byei stored images in db, and retrieved them. like that cant i store pdf file in db, and retrieve it back using oracle db?
Plz help me out how to put a file in db. i need complete code. thanks in advance. -
File Content Conversion error ? Can anyone help?
The Error that shows is :
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 6: missing structure(s) before type 'headerData'
What could be the possible reason for this error? It is urgent and poits to be rewarded. Thanks in advance.
My structure is like the one below :
<HEADER>
<.Field1..>
< Field2 >
</HEADER>
<headerData>
<fields>
</headerData>
<itemData>
<fields>
</itemData>
<textData>
<fields>
</textData>
<Footer>
<fields>
</Footer>I checked the source file and the first field is having value "4". Also there is no other line bofore it.
4GIPS2SAP.DAT GIPS ME P.R .TRANSMISSION 20071002200710021901GIPS ME TORINO 0000000#
10027879961 00662522 PL11619 12PL11031000 PL11031000ZDUM 33610 PL11EUR
227879961 120071002N.2 BANCHI PER RACCOLTA STILLICIDIO KONIECZNY 000000000001000EA 2007113000000500000
327879961 1001FORNITURA N°2 BANCHI PER RACCOLTA STILLICIDIO PER #
327879961 1002LINEA LAVORAZIONE TESTE CILINDRI. #
10027879958 00662522 PL11619 14PL11031000 PL11031000ZDUM 33610 PL11EUR
227879958 120071002NUOVI SAG PER LINEA BASAMENTO MOTORE KONIECZNY 000000000001000EA 2007113000000500000
327879958 1001Fornitura scaffali a gravita per materiali della #
327879958 1002linea di lavorazione besamento motore. #
10027879959 00662522 PL11619 13PL11031000 PL11031000ZDUM 33210 PL11EUR
227879959 120071002FORNITURA PEDANE ANTIFORUNISTICHE KONIECZNY 000000000001000EA 2007113000000500000
327879959 1001FORNITURA E POSA DELLE PEDANE ANTIFORTUNISTICHE PER #
327879959 1002LINEE DI LAVORAZIONE BASAMENTO MOTORE E TESTE #
327879959 1003CILINDRI COME DA SPECIFICA DEL 10/09/2007. #
5GIPS2SAP.DAT GIPS ME TEXAS 000 0 0 0000015##################################################################
Maybe you are looking for
-
Generating a Price List Report
Hi Currently we are working for the retail sector where we need to maintain history of changes made in the price list. Can any report be generated in SAP for giving us a history of the price list with the dates on which such changes in price list has
-
Alerts not working with direct agent?
I'm aware of this issue with the SQL Intelligence pack and direct agents, which I'm also experiencing, but Alerts don't seem to be working with my direct agents either. I switched the handful of servers I had reporting under the old gateway model to
-
Hi! We've started a new hospital construction project and we're preparing our Schedule. My manager wants our block and floor basis WBS, i am preparing it. It has more than 2000 tasks and i told the manager, this is too much for tracking. I suggested
-
RV110W and QuickVPN - Servers Certificate Doesn't Exist
After a day of troubleshooting I have finally got the QuickVPN client to work. I connect however during the connection I get: "Server's certificate doesn't exist on your local computer. Do you want to quit this connection?" I click no and it connec
-
Hi, While creating a process workflow in LCES 8.1 I´m using the web service component. Can someone tell me how this service works in terms of proxy? Does it creates a proxy in design time (after making the load of the wsdl file) or will it try to get