<?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 REST Receiver - Access Response HTTP Header values in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611819#M147205</link>
    <description>&lt;P&gt;Best of luck in your journey to SAP PI learning! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 10:52:38 GMT</pubDate>
    <dc:creator>markangelo_dihiansan</dc:creator>
    <dc:date>2018-03-15T10:52:38Z</dc:date>
    <item>
      <title>SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaq-p/611813</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I am developing an interface in ERP using SAP PI with REST adapter (Receiver). It is a synchronous call and I need to read the Response HTTP Header to get the location. I can see the http header attributes in DynamicConfiguration in sxmb_moni (ERP) but do not know how to access them in my program. Can you please suggest?&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks and Regards&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Sathya&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaq-p/611813</guid>
      <dc:creator>Sathya_Gunasekaran</dc:creator>
      <dc:date>2018-03-13T13:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611814#M147200</link>
      <description>&lt;P&gt;Dynamic Config(ERP) Screen Shot &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/122726-fzycg.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611814#M147200</guid>
      <dc:creator>Sathya_Gunasekaran</dc:creator>
      <dc:date>2018-03-13T13:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611815#M147201</link>
      <description>&lt;P&gt;Hi Sathya,&lt;/P&gt;
  &lt;P&gt;In the response mapping, use a user-defined function to read the value of the dynamic configuration.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 07:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611815#M147201</guid>
      <dc:creator>markangelo_dihiansan</dc:creator>
      <dc:date>2018-03-14T07:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611816#M147202</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;
  &lt;P&gt; Thank you. Can you please explain or provide any documents on how to do it?&lt;/P&gt;
  &lt;P&gt; Thanks&lt;/P&gt;
  &lt;P&gt; Sathya&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 11:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611816#M147202</guid>
      <dc:creator>Sathya_Gunasekaran</dc:creator>
      <dc:date>2018-03-14T11:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611817#M147203</link>
      <description>&lt;P&gt;HI Sathya,&lt;/P&gt;
  &lt;P&gt;Something like this&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/REST","Location");
String location = conf.get(key);

return location;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Mar 2018 07:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611817#M147203</guid>
      <dc:creator>markangelo_dihiansan</dc:creator>
      <dc:date>2018-03-15T07:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611818#M147204</link>
      <description>&lt;P&gt;Thanks Mark. I am an ABAP developer learning PI :). Progressing slowly. But hoping to reach there! Thank you once again. Will update you once I am able to receive the http header in ERP!&lt;/P&gt;
  &lt;P&gt;Thanks again&lt;/P&gt;
  &lt;P&gt;Sathya&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 09:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611818#M147204</guid>
      <dc:creator>Sathya_Gunasekaran</dc:creator>
      <dc:date>2018-03-15T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAP REST Receiver - Access Response HTTP Header values</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611819#M147205</link>
      <description>&lt;P&gt;Best of luck in your journey to SAP PI learning! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-rest-receiver-access-response-http-header-values/qaa-p/611819#M147205</guid>
      <dc:creator>markangelo_dihiansan</dc:creator>
      <dc:date>2018-03-15T10:52:38Z</dc:date>
    </item>
  </channel>
</rss>

