01-24-2017 5:59 PM - edited 02-03-2024 5:39 PM
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.
SAP might be ignoring this header purposefully.
Just curious. Why do you need this header?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it is a mobile application, you can ask the developer of the UI to send the user's ip address as a custom header. (so that you need not rely on ~remote_addr
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.