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

Compare with Current View Page History

« Previous Version 6 Next »

Status

  Approved

OwnerABOLAJI-ext, Luqman 
Stakeholders
Jira Request ID

ERP-208 - Getting issue details... STATUS

Jira Development ID

ERP-1119 - Getting issue details... STATUS

High- Level Specification

Implementing SystemSAP S/4HANA 
Invoked by/InvokesERP-1120 Integration Process - Order Response Interface from S/4HANA to Elemica
Business Process Reference02.04.02.01. Manage Standard Sales Order


Functional Overview

Some of the EDI customers requires an acknowledgement/response when their Sales Order is successfully created in Syensqo's S/4HANA system.

For this, the OrderResponse message is triggered from the Sales Order in Syensqo's S/4HANA system which calls the custom API to send the XML via SAP CPI to Elemica (the EDI service provider system).  

The purpose of this functional specification is to create the custom API for the trigger and generation of the OrderResponse message from a sales order in S/4HANA 

Scope and Objectives

This System Interface, a custom implementation in SAP S/4HANA,

  • sends the OrderResponse data to SAP CPI
  • maps sales order in SAP S/4HANA into a structure to create the OrderResponse XML
  • transform some data in the Sales Order structure to OrderResponse message send to SAP CPI  
  • performs lookup of specified data (as applicable) in S/4HANA

The standard SAP Sales Order API is unable to support the above functions, hence the need for a custom API.

Process Flow Diagram

Step

Description

Comment










Assumptions

Dependencies

Security, Integrity and Controls

Configuration Requirements

Special Requirements


Design Rationale

API Use

Data Structure

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

ParentFieldDescriptionMandatory (Y/N)Data Type











Calculation and Validation

ParentFieldRule TypeRule Instruction












eDocument mapping

GeneralSyensqo XML (Intermediate Target)SAP eDoc Standard Mapping (Source)Custom Mapping (Source)
S-NRFlow (SD/FI/MM/ALL)Target FieldTarget Field DetailsConditionSyensqo XML NodeSyensqo XML FieldSAP eDoc Standard NodeSAP eDoc Standard FieldFixed ValueCustom Logic




















Processing Logic

SellerPartnerCode Determination Logic 

Refer to DUNS Reference Table (ZL2C_DUNS)

Fetch SellerDUNS where:

SenderDUNS = A_SalesOrderHeaderHeader/SenderDUNS

ReceiverDUNS = A_SalesOrderHeaderHeader/ReceiverDUNS

BuyerDUNS = A_SalesOrderHeaderPartner/BuyerPartnerCode


Partner Look Up Logic

Elemica use the DUNS (Partner Codes) for the different business partner roles in a message. To send a sales order response from S/4HANA, the Partner Codes for each of the SAP Customers Partner roles have to be found. As a pre-requisite, the mapping of the Partner Codes, partner role and the SAP Customer numbers will be maintained using the standard SAP table EDPAR. This table will be maintained in each client as part of customer activates via transaction code VOE4. 

Below table is the look up logic of the Partner Code from the SAP Customer partner role from sales order for the Order Response Message

Partner CodeLogic to find Partner Code from SAP Customer Source of SAP Customer in Sales Order
BuyerPartnerCode

EDPAR-EXPNR where:
EDPAR - INPNR = <A_SalesOrderAdditionalFields/SoldToParty> and EDPAR-PARVM = SP

VBAK-KUNNR
ShipToPartnerCode

EDPAR-EXPNR where:
EDPAR - INPNR = <A_SalesOrderHeader/ShipToPartnerCode> and EDPAR-PARVM = SH

EDPAR-KUNNR = <A_SalesOrderAdditionalFields/SoldToParty>

VBPA-KUNNR where:
VBPA-VBELN = VBAK-VBELN
VBPA-PARVW = SH
PayerPartnerCode

EDPAR-INPNR where:
EDPAR - EXPNR = A_SalesOrderHeader/ShipToPartnerCode and EDPAR-PARVM = PY

EDPAR-KUNNR = A_SalesOrderAdditionalFields/SoldToParty>

VBPA-KUNNR where:
VBPA-VBELN = VBAK-VBELN
VBPA-PARVW = BP
BillToPartnerCode

EDPAR-INPNR where:
EDPAR - EXPNR = A_SalesOrderHeader/ShipToPartnerCode and EDPAR-PARVM = BP

EDPAR-KUNNR = A_SalesOrderAdditionalFields/SoldToParty>

VBPA-KUNNR where:
VBPA-VBELN = VBAK-VBELN
VBPA-PARVW = PY


Delta or Full Load Requirements

Interface Alert & Monitoring

Language Requirements

User Interface Requirements

 

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 27, 2026 07:36 WEINERT-ext, Patrick
v. 45 Apr 26, 2026 17:26 ABOLAJI-ext, Luqman
v. 44 Apr 26, 2026 17:19 ABOLAJI-ext, Luqman
v. 43 Apr 26, 2026 10:04 ABOLAJI-ext, Luqman
v. 42 Apr 17, 2026 15:59 ABOLAJI-ext, Luqman
v. 41 Apr 17, 2026 09:59 ABOLAJI-ext, Luqman
v. 40 Apr 17, 2026 09:59 ABOLAJI-ext, Luqman
v. 39 Apr 17, 2026 08:42 ABOLAJI-ext, Luqman
v. 38 Apr 08, 2026 17:08 ABOLAJI-ext, Luqman
v. 37 Apr 04, 2026 16:48 ABOLAJI-ext, Luqman

Go to Page History

  • No labels