You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Status

  Revision under Review

Owner
Stakeholders
Jira Request ID

ERP-611 - Getting issue details... STATUS

Jira Development ID

ERP-984 - Getting issue details... STATUS

High- Level Specification

Implementing SystemS4 HANA
Invoked by/Invokes

06.10.01.01. Manage 3PL Warehouse Interfaces


Functional Overview

This Functional Specification describes the Outbound Delivery Interface between SAP S/4HANA and CPI using SAP standard OData API API_OUTBOUND_DELIVERY_SRV_0002. 

Scope and Objectives

The interface covers all outbound deliveries created or updated in S/4HANA that are relevant for transmission to 3PL systems.

Process Flow Diagram

Step

Description

Comment

1

Delivery created/updated in S/4HANA


2

S/4 raises an internal event.


3

System checks the 3PL assignment table

To determine if the interface is active and retrieve the 3PL assigned

4

System checks the DELIVERIES_3PL table

To determine if the delivery type, shipping point and event is relevant for transmission

5

Relevant event is published to SAP Event Mesh

If previous steps are successful

6

CPI consumes the event and retrieves full delivery using API

CPI will also get the 3PL partner from the 3PL assignment table for routing purposes

7

S/4 updates Monitoring Table 

Using System date and time

8

3PL consumes and executes warehouse processes.


Assumptions

Dependencies

ERP-865 - Getting issue details... STATUS For tracing the transmission in the monitoring table

ERP-845 - Getting issue details... STATUS The table defined in this development should be included in the configuration Dashboard for 3PLs.

ERP-845 - Getting issue details... STATUS 3PL assignment and activation table


Security, Integrity and Controls

Configuration Requirements

Special Requirements


Design Rationale

APIs  to be consumed: 

  • API_OUTBOUND_DELIVERY_SRV_0002 – Outbound Delivery (OData service)
  • API_CUSTOMER_RETURNS_DELIVERY_SRV_0002 - Customer returns Deliveries (OData service)

Outbound deliveries will be relevant for transmission only for specific shipping points (the ones related to a 3PL), delivery types and at certain event. 

This criteria may change between 3PLs so a custom table is needed to save this parameters and should be checked by Event Mesh before publishing the event for consumption.

Parameter table structure:

FieldData TypeDescriptionMandatoryKEY
VSTELlike LIKP-VSTELShipping pointXX
LFARTlike LIKP-LFARTDelivery typeXX

EVENTCHAR 10Event X
APICHAR 50API to be used


API Use


API_OUTBOUND_DELIVERY_SRV_0002 or API_CUSTOMER_RETURNS_DELIVERY_SRV_0002 will be consumed if the criteria described in the Processing logic section is met

The following information should be retrieved for the document (LIKP-VBELN) using the following services:


  • API_OUTBOUND_DELIVERY_SRV_0002 : Retrieve Single Outbound Delivery Including All Outbound Delivery Items 

Example:

GET <host>/sap/opu/odata/sap/API_OUTBOUND_DELIVERY_SRV;v=2/A_OutbDeliveryHeader(DeliveryDocument='80000001')?$expand=to_DeliveryDocumentItem HTTP/1.1
  • API_CUSTOMER_RETURNS_DELIVERY_SRV_0002: Retrieve a single customer returns delivery including all customer returns delivery items:

Example: 

GET <host>/sap/opu/odata/sap/API_CUSTOMER_RETURNS_DELIVERY_SRV;v=2/A_ReturnsDeliveryHeader(DeliveryDocument='84000001')?$expand=to_DeliveryDocumentItem HTTP/1.1


Data Structure

The following fields will be used to provide the required data structure of the interface:

ParentFieldDescriptionMandatory (Y/N)Data Type











Processing Logic

1) Every time a new event is raised from a Delivery document, it should be published for transmission if the following criteria is met:

      • Interface is activated: Check 3PL assignment table included in ERP-845 - Getting issue details... STATUS with ORG_TYPE = VSTEL, ORG_VALUE=LIKP-VSTEL and DOC_TYPE="DELIVERY". If there is an entry, and the field INTERFACE_ACT = X, retrieve the 3PL assigned and continue to next check, otherwise the delivery is Not relevant for transmission.
      • Check the custom table DELIVERIES_3PL with LIKP-VSTEL, LIKP-LFART and the event raised. If there is an entry the event should be published for consumption and the API detailed in that entry should be used to extract the data. 

2) If previous step is successful, an entry should be logged into the monitoring table to trace the correct transmission to the 3PL. This table is detailed in ERP-865 - Getting issue details... STATUS .

DOC_TYPE=DELIVERY

DOC_ID= LIKP-VBELN

DATE_SENT = System date

TIME_SENT = System time

If an entry exists for the DOC_TYPE, it should be updated with the current DATE_SENT and TIME_SENT.

Interface Alert & Monitoring

Monitoring will be handled by ERP-591 - Getting issue details... STATUS

Language Requirements

N/A

User Interface Requirements

DELIVERIES_3PL should be included in the Configuration Dashboard ERP-845 - Getting issue details... STATUS and should be visible by business users. 
 

Sequencing


Volumetrics


Performance Consideration

Error Handling


Testing

How to Test

Test Conditions and Expected Results

IDConditionExpected Results






Test Considerations/Dependencies


Other Information


Development Details

Package

Package NameParent Package




Other Development Objects

Object TypeObject NamePurpose/High Level LogicDesign Rationale Reference









Appendix

See also


No files shared here yet.

Change log

Version Published Changed By Comment
CURRENT (v. 6) Apr 29, 2026 09:22 RUIZ SOMOZA-ext, Carolina
v. 32 Apr 29, 2026 09:20 RUIZ SOMOZA-ext, Carolina
v. 31 Apr 17, 2026 13:55 RUIZ SOMOZA-ext, Carolina
v. 30 Mar 31, 2026 14:55 RUIZ SOMOZA-ext, Carolina
v. 29 Mar 31, 2026 14:53 RUIZ SOMOZA-ext, Carolina
v. 28 Jan 12, 2026 10:40 WEINERT-ext, Patrick
v. 27 Jan 12, 2026 10:38 WEINERT-ext, Patrick
v. 26 Jan 09, 2026 12:45 RUIZ SOMOZA-ext, Carolina
v. 25 Jan 09, 2026 09:47 RUIZ SOMOZA-ext, Carolina
v. 24 Jan 09, 2026 09:43 RUIZ SOMOZA-ext, Carolina

Go to Page History

  • No labels