Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi @Billard, Jeanne
Thank you for reaching out to Microsoft Q&A.
The issue occurs because the inbound IDoc interface from Azure Integration Services (AIS) to SAP Production is failing at the RFC communication layer, before SAP can process the request or create an IDoc. Although the same configuration works in the Test environment, Production environments typically have stricter network, firewall, and gateway restrictions. The error “RETURN CODE: 101 (no message)” indicates that the SAP .NET Connector (NCo) is unable to establish a successful connection with the SAP Production gateway. Since this failure happens during the initial connection handshake, SAP does not return any application‑level or IDoc‑level error details, which is why no information is available in SAP transactions such as WE02 or WE05 and the error message in Azure appears generic. This behavior is expected for low‑level RFC communication failures and usually points to connectivity, gateway configuration, or name/port resolution differences between Test and Production.
Refer below points to resolve this issue or this is the workaround
- Verify network connectivity from AIS to SAP Production gateway Ensure that the AIS runtime or Integration Runtime machine can reach the SAP Production gateway host and port. Production firewalls often block SAP gateway ports even when Test allows them. Example check:
Test-NetConnection <SAP_PROD_HOSTNAME> -Port 3300
If this fails, the required gateway port must be opened on the firewall/network path.
- Use explicit gateway port instead of service name If the SAP connection is configured with a gateway service name such as sapgw00, service‑to‑port resolution may fail in Production. Configure the connection to use the numeric port directly (for example, 3300) to avoid DNS or OS‑level service resolution issues.
- Validate RFC destination configuration in SAP Production (SM59) In SAP Production, verify the RFC destination using transaction SM59 and ensure the correct application/message server host, system number, gateway host, and gateway service (port) are maintained. Use the connection test to confirm SAP‑side connectivity.
- Check SAP Gateway logs (SMGW) Use transaction SMGW in SAP Production to review gateway logs and confirm whether connection attempts from AIS are reaching SAP. If no attempts are visible, this confirms a network or firewall issue before SAP is reached.
- Confirm SAP user status and authorizations Verify that the SAP user used for the connection in Production is not locked and has the required RFC and IDoc authorizations, to rule out environment‑specific differences.