<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAP PI Empty Payload handling in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744008#M210290</link>
    <description>&lt;P&gt;Hi T Fdo!&lt;/P&gt;
  &lt;P&gt;What kind of error do you get?&lt;/P&gt;
  &lt;P&gt;By the way, I guess, you can't use UDF (in graphical mapping) with empty payload. You should use java mapping instead.&lt;/P&gt;
  &lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 17:33:56 GMT</pubDate>
    <dc:creator>former_member190293</dc:creator>
    <dc:date>2018-07-30T17:33:56Z</dc:date>
    <item>
      <title>SAP PI Empty Payload handling</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaq-p/744007</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am developing a File to Proxy scenario to send some business information. ( PI - 7.5 Single stack )&lt;/P&gt;
  &lt;P&gt;I need to handle a scenario when Empty Files ( 0 kb ) are dropped in to the location (FTP) I need to pass only the File Name to proxy. I have created a UDF to get file name and it is working successfully when payload has data. &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I have enabled "Process Empty Files" in File Sender Adapter too. &lt;/P&gt;
  &lt;P&gt;But when file is empty I am getting an error always.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 16:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaq-p/744007</guid>
      <dc:creator>tharu</dc:creator>
      <dc:date>2018-07-30T16:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI Empty Payload handling</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744008#M210290</link>
      <description>&lt;P&gt;Hi T Fdo!&lt;/P&gt;
  &lt;P&gt;What kind of error do you get?&lt;/P&gt;
  &lt;P&gt;By the way, I guess, you can't use UDF (in graphical mapping) with empty payload. You should use java mapping instead.&lt;/P&gt;
  &lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 17:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744008#M210290</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2018-07-30T17:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI Empty Payload handling</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744009#M210291</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi Evageniy,&lt;/P&gt;
  &lt;P&gt;thank you for the response. I created a JAVA mapping to get file name and it is working fine when fils has data.&lt;/P&gt;
  &lt;P&gt;When I test with empty file (0kb) below is the error Im getting at Message Log;&lt;/P&gt;
  &lt;P&gt;"&lt;EM&gt;Transmitting the message to endpoint using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.adapter.xi.routing.RoutingException: Unable to parse XML message payload to extract operation for receiver determinationorg.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file&lt;/EM&gt;."&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/178646-fileempty.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 10:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744009#M210291</guid>
      <dc:creator>tharu</dc:creator>
      <dc:date>2018-07-31T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI Empty Payload handling</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744010#M210292</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Try to remove Software component version on the first tab of your ICo configuration (just leave it blank).&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Regards, Evgeniy.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 11:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744010#M210292</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2018-07-31T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI Empty Payload handling</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744011#M210293</link>
      <description>&lt;P&gt;hi Evgeniy,&lt;/P&gt;
  &lt;P&gt;its working..thanks&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 12:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744011#M210293</guid>
      <dc:creator>tharu</dc:creator>
      <dc:date>2018-07-31T12:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI Empty Payload handling</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744012#M210294</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;Are you using FCC in sender adapter?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-empty-payload-handling/qaa-p/744012#M210294</guid>
      <dc:creator>former_member207703</dc:creator>
      <dc:date>2018-08-01T08:00:02Z</dc:date>
    </item>
  </channel>
</rss>

