on 12-06-2007 4:45 PM
Hi,
I'm using JAVA SAX mapping in XI on message of cca. 51MB. I'm trying to convert it into IDOC XML, but getting some error with IDOC structure. Small messages, til 10MB of size are processed without problems. What could be a problem? How can I trace something? This huge message is replication of 5 FI documents 40000 times, so data is basically the same ...
if I run it locally, says :
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1017)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at com.deltayu.xi.mapping.DLTADOCAR_01_SAX_Mapping.execute(DLTADOCAR_01_SAX_Mapping.java:808)
at com.deltayu.xi.mapping.RunJavaMappingSAX.main(RunJavaMappingSAX.java:26)
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 do what is suggested by aamir:
1) Use the collect IDOC in file and pick that file using file adapter.
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
then refer the below weblog
2) Processing huge file in XI
/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
Thnx
Chirag
well the actual file is really huge,why not send this IDOC to a file server on R/3 after that pick it up via a sender file adapter and either use "Recordset per message" or break the message in smaller chunks via OS scripts
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.