on 03-04-2010 11:27 PM
Hello.
I'm having problems trying to generate XML message with an empty file (it canu2019t parse the xml) but if the file has data the message is created well and the interface executed. The adapter is FILE type and the message protocol is File Content Conversion.
I hope anyone can help me with this.
Thanks
set - process empty file,
manage in mapping about generate constant or any value in empty nodes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julio,
This can be handled very easily.....just check the option empty file in file comm channel....under processing tab..
Regds,
Pinangshuk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
I have already modified the type of processing in the adapter, it tries to process but while is trying to parse the empty file to XML, the Tab Message Content shows a message that says that a XML parse error occurred: no elements found. The message is not well processed in the monitor and the interface failed.
I have changed the structure of the mapping message so that the line in the file is 0u2026 outbound, in order to read empty files, but it doesnu2019t work.
I would really appreciate some help.
I have already configured the fields of the structure so that they are not obligatory but still donu2019t work. As I said before, the file is well processed when it has data but if not the mistake remains:
XML parse mistake: elements not found.
Location: http://sappi01:50000/mdt_soa/messagecontentservlet?attachment=0
Row 1, column 1:
Message from monitor PI:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Adapter --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand=""><SAP:Category>XIAdapter</SAP:Category><SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:Stack>No object type found for the message. Check that the corresponding process is activated
An exception has occurred.
</SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>
Regards
Go to Tab "Processing" in Communication Channel.
There is one option "Empty-File Handling.
Choose Process Empty File option there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.