on 07-24-2013 1:25 PM
Hello experts.
This is a weird situation... I am not sure why the PI behaves this way.
I have PI 7.3 SP05.
I am using ICO for an interface from file to many files.
The file adapter reads a csv file (content conversion) with many lines, however some of them are not valid (containing nothing at the First name and Last name)
It is possible that ALL of the lines will not be valid and then I don't need to create any output files.
I used the mapping enclosed in the screenshot
When there is at least one valid line the interface works correctly as can be seen here:
However - when there is no valid lines - meaning I should have 0 results the interface processing is stuck at the Executing request mapping part, and the message status is stuck on delivering.
Any help will be appreciated.
P.S.
Also - at the end I need to convert the interface so it will send proxies instead of creating files... what should be done if there are no results?
OK...
I converted the ICO to the old configuration objects, and this time I am getting this error in the SXI_MONITOR:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Request Message Mapping
-->
<SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">GENERIC</SAP:Code>
<SAP:P1>Split mapping created no messages</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Split mapping created no messages</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What I don't understand is - why is this an error? can't I somehow config that if the Split mapping created no messages - then the interface should not go anywhere but just finish successfully?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK. I got a workaround for this issue.
I am first filtering the file so that I generate a csv file with the valid lines only, and in this way - making an empty file if there are no valid lines.
after that - I use the feature of the file adapter - Empty file handling - Do not create message - and that solves the problem.
However - it is still weird that this issue cannot be taken care of more elegantly...
If any one have a suggestion - I would like to hear it.
Thanks,
Imanuel Rahamim.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.