SAP Knowledge Base Article - Public

3440259 - Error using API 'Allocation Posting – Create (Synchronous)' with version SOAP1.2

Symptom

'Wrong SOAP version' error obtained while using Allocation Posting – Create (Synchronous). 

Environment

SAP S/4HANA Cloud

Cause

Incorrect namespace for SOAP1.2 and content type of the request. 

Resolution

Replace url of namespace soapenv on the first line. 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:glob="http://sap.com/xi/FI-CO/Global2">

to 

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"

xmlns:glob="http://sap.com/xi/FI-CO/Global2">

and change the content type to application/soap+xml in the SOAP UI request settings. And then the API should start working with SOAP 1.2.

Keywords

Allocation Posting – Create (Synchronous), SOAP1.2, wrong SOAP Version, S4_PC, S4_1C , KBA , CO-FIO-ACT-2CL , Actual Costing (Public Cloud) , CO-FIO , Fiori UI for Overhead Cost Controlling , Problem

Product

SAP S/4HANA Cloud Public Edition all versions