wdisp/handle_webdisp_ap_header is a SAP Parameter attribute which is used to control Communicate access points to application server information. This is available within R/3 SAP systems depending on the version and release level.
Below is the standard documentation available and a few details of the attributes values .
With this parameter the SAP Web Dispatcher notifies the application
server of its ports (access points) for the different protocols in an
HTTP header. In the application server the protocol can be switched
without any manual configuration (for example, from HTTP to HTTPS), or a
redirect can be programmed.
The header field set by the Web Dispatcher has the syntax:
x-sap-webdisp-ap: http=<(><<)>port>, https=<(><<)>port>, <(>
<<)>protocolXYZ>=<(><<)>port>
For example:
x-sap-webdisp-ap: http=80,https=443
x-sap-webdisp-ap: http=80
See SAP Parameter Documentation for full SAP documentation for this profile parameter.