Skip to main content

Proxies

Configured Proxies create a standard proxy service through BTP to SAP, allowing you to make SAP requests from outside the SAP network.

Settings

{
"Proxies": [
{
"Path": "abc12434385743975248$",
"Server": "devecc-principle-propagation",
"LoggingWebhookEnabled": true
}
],
"Servers": [
{
"Name": "devecc-principle-propagation",
"BTP": {
"DestinationName": "sapecc-dev-pp"
}
}
]
}

The above configuration would expose an endpoint at https://<appurl>/abc12434385743975248$ that forwards calls to the SAP server configured as devecc-principle-propagation. All calls with the SERVER_LOG_WEBHOOK_URL set will also have the SAP Request/Response logged to the provided URL.

Proxies

Proxies are used to directly proxy SAP requests to an SAP server. They are not associated with an OAS file and do not provide JSON to XML or XML to JSON conversion. Each Proxy object contains the following properties:

PropertyRequiredDescription
PathYesThe path added to the Link URL for accessing this SAP Proxy
ServerYesThe name of the Server that the Proxy is associated with
LoggingWebhookEnabledNoWhether or not the Proxy should log to a webhook when provided the SERVER_LOG_WEBHOOK_URL header. See Request Webhook. Default: false
CookieNoAdds a Static Cookie to each SAP request

Example

Proxies__0__Path: abc12434385743975248$
Proxies__0__Cookie: CookieValue
Proxies__0__Server: devecc-principle-propagation
Proxies__0__LoggingWebhookEnabled: true