Document Links

Introduction

Below is the data flow diagram from S2P



Source System Extractors

Standard extractors do not need to be documented unless extended.

Where custom extractors  / extensions are required, reference the FSD for that enhancement.

Extractor NameDetailsBuild Jira Ref For Extension Information
Z_I_PurReqnAcctAssgmtAPI01Wrapper CDS View for SAP delivered CDS view I_PurReqnAcctAssgmtAPI01 to enable data extraction



Inbound Layer

No transformations to be applied in the inbound layer.

Harmonisation Layer

2TL* Tables

Each 2TL* table in the Harmonisation layer will be populated from the corresponding 1TL* tables for each source system (RoW and China).

A Source System Identifier will be included as part of the primary key in the 2TL* tables to uniquely distinguish records originating from different source systems.

2VD_PurchaseOrderItem

A dimension view will be created joining 2VR_S4HARM_C_PurchaseOrderDex and 2VR_S4HARM_C_PurchaseOrderItemDex. The join will be an inner join based PO Document Number and Source System Identifier. All unique and relevant attributes from both header and item views will be included in the output. A left outer join will be added with 2VR_S4HARM_C_PurOrdAccountAssignmentDex to get the Profit Centre.

2VR* Relational Views

Each 2VR* view in the Harmonisation layer will be built on corresponding 2TL* tables. These views will be used to harmonise the data before applying business rules.

Propagation Layer

3VR_S2PP2R_PurchaseRequisitionItem

Join

Purpose: Join PR Item data with PR Account Assignment to create a reusable for reporting on Purchasing Requisitions. Profit Centre from Account Assignment will be picked which is needed for GBU derivation.

LHS: 2VR_S4HARM_C_PurchaseRequisitionItemDex

RHS: 2VR_S4HARM_I_PurReqnAcctAssgmtAPI01

Join Field: PurchaseRequisition to PurchaseRequisition and PurchaseRequisitionItem to PurchaseRequisitionItem

Join type: Left outer join

Cardinality: 1:1

Filter

Before joining a filter will be applied on 2VR_S4HARM_I_PurReqnAcctAssgmtAPI01 to get only records with Profit Centre populated. 

Calculation

A new calculated measure DCM_Counter will be created with constant value 1. This will be later used for counting calculations.

3VR_S2PP2R_POHisAcc

Join

Purpose: etc

Join

Purpose: etc

Join

Purpose: etc

Calculation

Calculated measure: CM_DocItemValue = DocQuantity * CM_PRICE

3VF_S2PP2R_PurchaseRequisitionItem

Union

Purpose: To bring in values from PO level alongside lower level granularity documents

Target FieldSource1-FieldSource2-Field
POPOPO 
POItemPOItemPOItem
MaterialDocument-MaterialDocument

Associations to master data

List objects where material master associations are to be made.

Calculated Measures (Pre-Aggregation Calculations)

Reporting Layer

4VA_S2PP2R_POHisAcc

Link to FSD (Each Analytic model should have its own FSD).

Include technical details for: 

Calculated Measures (Post Aggregation Calculations / exception aggregation etc)

Restricted Measures

Detail restrictions

Currency Conversions

Detail rate type, from currency

Variables

Data access controls

Outbound Layer