Skip to Content

Get HTTP Header from SOAP Sender and send to ECC with IDOC

Hi all,

I have a scenario where I need to retrieve a value from the HTTP Header of a message received on a SOAP Sender, and I need to send the retrieved value to the ECC via IDoc. The parameter is available in the XHeaderName1 variable. Is it possible to map this variable to the IDoc structure?
In communication via PROXY, I can retrieve the variable through the PROXY classes on ECC, but I do not know how I can do it via IDoc.

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 25, 2017 at 09:48 PM

    Hi Miguel,

    You can read the HTTP header from soap adapter via variable binding / Dynamic configuration. You can check this and this you will get an idea. If you have any dedicated field in IDOC to have this value then all you need to do is the channel setting mentioned in that thread and add dynamic UDF and pass the UDF outcome value to the idoc field.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 27, 2017 at 01:25 PM

    Thanks Manoj!

    With UDF I was able to map the field to my IDoc.

    Add comment
    10|10000 characters needed characters exceeded