Skip to Content

SAP Gateway Get ~remote_addr from request header

Dear Experts,

I want to get the value of HTTP Header attribute ~remote_addr in create_entity method. but using below code is not getting it

"read headers
lo_facade ?= /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
lt_client_headers = lo_facade->get_request_header( ).

It's only caught in lo_sutil_runtime->payload_server_request( )

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 25, 2017 at 04:09 AM

    SAP might be ignoring this header purposefully.

    Just curious. Why do you need this header?

    Add comment
    10|10000 characters needed characters exceeded