Symptom
During the 3ZB scope process, the supplier invoice is created via EDI from the invoice. However, the IDoc fails during supplier invoice creation with the following error message:
"SRT: Wrong Content-Type and empty HTTP-Body received: ('HTTP Code 302: Redirect')".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a purchase order with EDI setup for output.
- Generate an automatic sales order.
- Create a billing document with EDI setup for output.
- Attempt to create an invoice receipt automatically.
Cause
Absence of a defined path for the Outbound Services Customer Invoice - Send (B2B) within the communication arrangement "SAP_COM_0223".
Resolution
To resolve the issue, follow the below steps:
- Open the app "Communication Arrangements".
- Select communication arrangement created with scenario SAP_COM_0223 (Sales with Buyers Integration).
- Under Outbound Services, in Service: Customer Invoice - Send (B2B) add the path as "/sap/bc/srt/scs_ext/sap/invoicerequest_in" to create the supplier invoice.
Keywords
edi error, invoice receipt, company code determination, tax determination date, s/4hana cloud, billing document, supplier invoice, edi configuration, tax code error, srt error, http code 302 redirect, buyer party id, address name, tax rate error. , KBA , SD-SLS-EDI-2CL , S/4HANA: Sales EDI Messages (Public Cloud) , Problem
SAP Knowledge Base Article - Public