cancel
Showing results for 
Search instead for 
Did you mean: 

How to add static http headers to messages sent via HTTP_AAE receiver channel

Former Member
0 Kudos

Hi Experts,

Would you know how to add static http headers to messages sent via HTTP_AAE receiver channel?

Thanks in advance.

-J

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184720
Active Contributor

Seems like Dynamic URL parameters with ASMA is not supported using HTTP_AAE receiver adapter but it doesn't confirm on header variable.

Refer to my reply in the below thread for the relevant SAP note.

So you can give a try setting Header value using the dynamic configuration UDF & enable ASMA in the receiver adapter as explained in the SAP documentation.

Configuring the Java HTTP Adapter on the Receiver Channel - Advanced Adapter Engine - SAP Library

UDF :

You just need to use the variables "HeaderFieldOne" , "HeaderFieldTwo" etc.

Former Member
0 Kudos

Thanks Hareesh for your very quick feedback. I saw that in your reply they mostly refer to dynamic header which I believe is more complex. Do we have a simpler way to set static headers? Since we only require static headers.

Former Member
0 Kudos

We already managed to fill the headerfileds via dynamic configuration but still the header in the http_aae http post request still does not contain the header fields. I've attached a screenshot of the output

former_member184720
Active Contributor
0 Kudos

Adapter might be using a different namespace as shown below. Can you try that?