!--a11y-->
Checking the HTTP Header Variable 
If you are using an arbitrary authentication mechanism on the Web server that passes the user’s ID to the ITS using an HTTP header variable, then use the procedure below to check the name and contents of the corresponding HTTP header variable.
The key AdminEnabled is set to the value 1 for the AGate. This key activates remote debugging on the AGate. For more information, see AGate Parameters.
...
1. Call the PAS service. Include the parameter ~command=fielddumpin the URL.

https://host123.mycompany.com/scripts/wgate/http/!?~command=fielddump
The ITS displays a page showing the contents of the various ITS parameters, including HTTP header variables. HTTP header variables are proceeded with the prefix ~http_.
2. Check for the value of the HTTP header variable parameter ~http_<header_variable>.

If your Web server also automatically proceeds the specified HTTP header variable with the prefix HTTP_, then the parameter shown using the field dump will be displayed as:

~http_http_<header_variable> <user>
3. If the HTTP header variable is not displayed, then check the WGate’s configuration for header variables and the value of ~remote_user_aliasin the PAS service file. See the examples below.
Example WGate Configuration in ITSRegistryWGate.xml
<key name="Headers">
<key name="Header1">
<value name="Name" type="text">HTTP_SAP_USER_ID</value>
<value name="Set" type="text">0</value>
<value name="Value" type="text"></value>
</key>
Example AGate Service File Parameter ~remote_user_alias
~remote_user_alias HTTP_SAP_USER_ID
Example Output Using ~command=fielddump
~http_http_sap_user_id ALICE