SAP Knowledge Base Article - Public

3697930 - Error "HTTP Code: 302(Redirect)" in S/4HANA Cloud Public Edition

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

  1. Create a purchase order with EDI setup for output.
  2. Generate an automatic sales order.
  3. Create a billing document with EDI setup for output.
  4. 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:

  1. Open the app "Communication Arrangements".
  2. Select communication arrangement created with scenario SAP_COM_0223 (Sales with Buyers Integration).
  3. 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

Product

SAP S/4HANA Cloud Public Edition all versions