cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read Dynamid headers from REST sender adapter in SAP PO 7.4 SP12

0 Kudos

Hello All,

I have a requirement to read dynamic headers from Tibco to SAP PO through REST Sender Adapter.I red couple of blogs but I can not see the headers in Dynamic configuration at all.

Tibco sending data in the following format:

<DynamicHeaders>

<Header><Name>ID</Name><Value>123</Value></Header>

<Header><Name>FunctionID</Name><Value>633</Value></Header>

</DynamicHeaders>

<Host>sap.com</Host><Port>50200</Port><Method>POST</Method><RequestURI>/RESTAdapter/DynamicHeaders</RequestURI>

Could anyone please suggest what steps should I need to follow to read above headers using REST sender adapter.

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi Vikas,

Thanks for your answer. I found that it's SP & patch level issue. We have upgraded to latest SP and working fine. Hence I am closing this thread.

Regards,

Bhupal.

vicky20691
Active Contributor
0 Kudos

Hi Bhupal,
you can do this using the below in rest resources tab and write dynamic config udf

Regards,

Vikas

0 Kudos

Hi Sugata,

Thanks. it's from Tibco side passing dynamic headers view, to SAP PO. These headers are not coming part of the URL i.e.( ex: https://host/port/RESTAdapter/endpoint?ID=123&FunctionID=633etc) that Tibco team has confirmed. I couldn't see these headers data in payload in SAP PO too. these are I can say it's custom HTTP headers from Tibco to SAP PO. How do we handle it using REST sender adapter?

sugata_bagchi2
Active Contributor
0 Kudos

Hello Bhupal,

Is this your incoming payload ?

<DynamicHeaders>

<Header><Name>ID</Name><Value>123</Value></Header>

<Header><Name>FunctionID</Name><Value>633</Value></Header>

</DynamicHeaders>

Thanks

Sugata