SAP Extensibility Explorer for SAP S/4HANA Cloud |
The current task is to implement the Warehouse Shipping Advice SOAP API using SAP API Management Why so? That way both the integration flows (CPI) and SOAP API calls (APIM) can be managed within the same SAP integration suite framework. Pre-requisites:
Disclaimer:
Good to know:
|
createUuid()
.!-- https://help.sap.com/viewer/66d066d903c2473f81ec33acfe2ccdb4/Cloud/en-US/523efe6d0a9d43beb5d62ad0793... -->
<AssignMessage async="false" continueOnError="false" enabled="true" xmlns='http://www.sap.com/apimgmt'>
<AssignVariable>
<Name>sapapim.uuid</Name>
<Template>{createUuid()}</Template>
</AssignVariable>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
<AssignTo createNew="false" type="request">request</AssignTo>
</AssignMessage>
<!-- This policy can be used to create or modify the standard HTTP request and response messages
https://help.sap.com/viewer/66d066d903c2473f81ec33acfe2ccdb4/Cloud/en-US/523efe6d0a9d43beb5d62ad0793...
-->
<AssignMessage async="false" continueOnError="false" enabled="true" xmlns='http://www.sap.com/apimgmt'>
<Set>
<Headers>
<!-- https://answers.sap.com/questions/13179004/unsupported-encoding-br-getting-error-message-in-a.html -->
<Header name="Accept-Encoding">gzip,deflate</Header>
<Header name="Content-Type">text/xml</Header>
<Header name="Accept">*/*</Header>
<Header name="Application-Interface-Key">saptest0</Header>
<!-- <Header name="MessageId">{sapapim.uuid}</Header> -->
</Headers>
<!-- <QueryParams>
<QueryParam name="MessageId">{sapapim.uuid}</QueryParam>
</QueryParams>
-->
<Payload contentType="text/xml">
<!-- https://blogs.sap.com/2020/12/23/using-postman-call-sap-s-4hana-cloud-soap-api-and-simulate-outbound...;
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dec="http://sap.com/xi/EDI/DECWMS" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<soap:Header>
<wsa:messageId>urn:uuid:{sapapim.uuid}</wsa:messageId>
</soap:Header>
<soap:Body>
<dec:WarehouseShippingAdvice>
<MessageHeader>
<CreationDateTime>2020-12-02T08:38:03Z</CreationDateTime>
</MessageHeader>
<Delivery>
<DeliveryDocument>80000023</DeliveryDocument>
<Party>
<ActionCode>01</ActionCode>
<PartnerFunction>LF</PartnerFunction>
</Party>
<Deadlines>
<ActualGoodsMovementDateTime timeZoneCode="GMTUK" daylightSavingTimeIndicator="false">2020-12-02T05:00:00Z</ActualGoodsMovementDateTime>
</Deadlines>
<DeliveryItem>
<DeliveryDocumentItem>10</DeliveryDocumentItem>
<Material>TG11</Material>
<ActualDeliveryQuantity unitCode="PCE">1</ActualDeliveryQuantity>
<ActualDeliveredQtyInBaseUnit unitCode="PCE">1</ActualDeliveredQtyInBaseUnit>
<DeliveryToBaseQuantityDnmntr>1</DeliveryToBaseQuantityDnmntr>
<DeliveryToBaseQuantityNmrtr>1</DeliveryToBaseQuantityNmrtr>
</DeliveryItem>
</Delivery>
</dec:WarehouseShippingAdvice>
</soap:Body>
</soap:Envelope>
</Payload>
</Set>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
<AssignTo createNew="false" type="request">request</AssignTo>
</AssignMessage>
In a nutshell, SAP API Management (APIM) can be seen as a fast track, low code convenience tool making API prototyping and publishing a relatively straightforward task. The security with cloud native applications is paramount. And precisely SAP APIM allows to encapsulate and obfuscate the underlying security mechanism and protect the public API endpoints. And that's not a bargain... |
API Description | API Technical name | Related scope items |
Warehouse - Read (A2X) | API_WAREHOUSE | 3W0 |
Warehouse Inbound Delivery - Read (A2X) | API_WHSE_INBOUND_DELIVERY | 3BR |
Warehouse Outbound Delivery Order - Read, Update (A2X) | API_ APIs for Warehouse Management | 3BS, 3W0 |
Warehouse Storage Bin - Read (A2X) | API_WAREHOUSE_STORAGE_BIN | 3BS, 3W0 |
Warehouse Shipping Advice - Receive from Warehouse(B2B) | WarehouseShippingAdvice_In
| 1ZQ |
Attachments | API_CV_ATTACHMENT_SRV | 3BR, 3BS |
Attachments (A2X) | API_CV_ATTACHMENT_SRV | 3BR, 3BS |
Outbound Delivery (A2X) | API_OUTBOUND_DELIVERY_SRV_0002 | BD9 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |