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

Compare with Current View Page History

« Previous Version 28 Next »

Document Links

ERP-1040 - Getting issue details... STATUS

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.

2VR_S2PP2R_PurchaseRequisitionItem

Join

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

LHS: 2TL_S4HARM_C_PurchaseRequisitionItemDex

RHS: 2TL_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. 

2VR_S2PP2R_PurchaseOrderItem

Join

Purpose: Join PO Item data with PO Header to create a reusable for reporting on Purchasing Orders. 

LHS: 2TL_S4HARM_C_PurchaseOrderItemDex

RHS: 2TL_S4HARM_C_PurchaseOrderDex

Join Field: PurchaseOrder and PurchaseOrder

Join type: Inner join

Cardinality: 1:1

Projection

Remove all the duplicate fields from 2TL_S4HARM_C_PurchaseOrderDex.

2VD_S4HARM_PurchaseOrderItem

A dimension view will be created on top of 2VR_S4HARM_C_PurchaseOrderItemDex. A left outer join will be added with 2VR_S4HARM_C_PurOrdAccountAssignmentDex to get the Profit Centre. Master data associations to the attributes will be done in this dimension view.

Other 2VR* Relational Views

Remaining 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

Calculation

Calculated measure: DCM_PRAmountEur = ItemNetAmount converted to EUR using the M rates, source currency as PurReqnItemCurrency and CreationDate as date for conversion

3VR_S2PP2R_PurchaseOrderItem

Join

Purpose: Join PO Item data with PR Item to fetch requisition related measures, PR Qty, PR Net Amount and PR Net Amount in EUR 

LHS: 2VR_S4HARM_C_PurchaseOrderItemDex

RHS: 3VR_S4HARM_C_PurchaseRequisitionItem

Join Field: PurchaseRequisition to PurchaseRequisition and PurchaseRequisitionItem to PurchaseRequisitionItem

Join type: Left Outer Join

Cardinality: 1:1

Calculation

Calculated measure: DCM_NetAmountEur = NetAmount converted to EUR using the M rates and PurchaseOrderDate as date for conversion


3VR_S2PP2R_PurchaseOrderHistory

Calculation

Calculated measure: DCM_POAmountEUR = PURCHASEORDERAMOUNT converted to EUR using the M rates, source currency as DocumentCurrency and POSTINGDATE as date for conversion

Calculated measure: DCM_InvoiceAmountEUR = INVOICEAMTINPURORDTRANSACCRCY converted to EUR using the M rates, source currency as DocumentCurrency and POSTINGDATE as date for conversion

3VR_S2PP2R_POHisAcc

Join

Purpose: etc

Join

Purpose: etc

Join

Purpose: etc

Calculation

Calculated measure: CM_DocItemValue = DocQuantity * CM_PRICE

3VF_S2PP2R_PurchaseRequisitionItem

This will be the fact table to be used in the Purchase Requisition Analytical Model.

List of Fields & Associations to master data

DSP fieldReport Field DescriptionSAP Table–Field NameComments / DescriptionsTime relevancy of dataMD Source
SYSTEMIDSource SystemDSP FieldConstant S4HC or S4HRNon-time dependent
PURCHASEREQUISITIONPurchase Requisition NumberEBAN-BANFN
Non-time dependent
PURCHASEREQUISITIONITEMItem number of purchase requisitionEBAN-BNFPO
Non-time dependent
PURCHASINGDOCUMENTPurchase order numberEBAN-EBELN
Non-time dependent2VD_S4HARM_PurchaseOrderItem
PURCHASINGDOCUMENTITEMPurchase order item numberEBAN-EBELP
Non-time dependent2VD_S4HARM_PurchaseOrderItem
PURREQNRELEASESTATUSRequisition Processing StateEBAN-BANPR
Non-time dependent
PURCHASEREQUISITIONTYPEPurchase Requisition Document TypeEBAN-BSART
Non-time dependent2VD_S4HARM_PurchaseDocumentType
PURCHASINGDOCUMENTSUBTYPEControl indicator for purchasing document typeEBAN-BSAKZ
Non-time dependent
PURCHASINGDOCUMENTITEMCATEGORYItem category in purchasing documentEBAN-PSTYP
Non-time dependent2VD_S4HARM_ItemCategoryForPurchasingDocument
PURCHASEREQUISITIONITEMTEXTShort TextEBAN-TXZ01
Non-time dependent
ACCOUNTASSIGNMENTCATEGORYAccount Assignment CategoryEBAN-KNTTP
Non-time dependent2VD_S4HARM_AccountAssignmentCategory
MATERIALMaterial NumberEBAN-MATNR
Non-time dependent2VD_S4HARM_Product
MATERIALGROUPMaterial GroupEBAN-MATKL
Non-time dependent2VD_S4HARM_MaterialGroup
PURCHASINGDOCUMENTCATEGORYPurchasing Document CategoryEBAN-BSTYP
Non-time dependent2VD_S4HARM_PurchasingDocumentCategory
MATERIALGOODSRECEIPTDURATIONGoods receipt processing time in daysEBAN-WEBAZ
Non-time dependent
RELEASECODERelease IndicatorEBAN-FRGKZ
Non-time dependent
PURCHASEREQUISITIONRELEASEDATEPurchase Requisition Release DateEBAN-FRGDT
Non-time dependent
PURCHASINGORGANIZATIONPurchasing OrganizationEBAN-EKORG
Non-time dependent2VD_S4HARM_PurchasingOrganization
PURCHASINGGROUPPurchasing GroupEBAN-EKGRP
Non-time dependent2VD_S4HARM_PurchasingGroup
PLANTPlantEBAN-WERKS
Non-time dependent2VD_S4HARM_Plant
SOURCEOFSUPPLYISASSIGNEDAssigned Source of SupplyEBAN-ZUGBA
Non-time dependent
SUPPLYINGPLANTSupplying (issuing) plant in case of stock transport orderEBAN-RESWK
Non-time dependent2VD_S4HARM_Plant
PURREQNLIMITCONSUMPTIONAMTConsumption Value for Limit ItemsEBAN-LIMIT_CONSUMPTION_VALUE
Non-time dependent
DELIVERYDATEItem Delivery DateEBAN-LFDAT
Non-time dependent
CREATIONDATERequisition (request) dateEBAN-BADAT
Non-time dependent
PROCESSINGSTATUSProcessing status of purchase requisitionEBAN-STATU
Non-time dependent
PURCHASINGINFORECORDNumber of purchasing info recordEBAN-INFNR
Non-time dependent
SUPPLIERDesired VendorEBAN-LIFNR
Non-time dependent2VD_S4HARM_Supplier
ISDELETEDDeletion Indicator in Purchasing DocumentEBAN-LOEKZ
Non-time dependent
FIXEDSUPPLIERFixed VendorEBAN-FLIEF
Non-time dependent2VD_S4HARM_Supplier
REQUISITIONERNAMEName of requisitioner/requesterEBAN-AFNAM
Non-time dependent
CREATEDBYUSERName of Person Responsible for Creating the ObjectEBAN-ERNAM
Non-time dependent
DELIVERYADDRESSIDAddressEBAN-ADRNR
Non-time dependent
MANUALDELIVERYADDRESSIDManual address number in purchasing document itemEBAN-ADRNR
Non-time dependent
PURREQNITEMCURRENCYCurrency KeyEBAN-WAERS
Non-time dependent
MATERIALPLANNEDDELIVERYDURNPlanned Delivery Time in DaysEBAN-PLIFZ
Non-time dependent
DELIVDATECATEGORYCategory of delivery dateEBAN-LPEIN
Non-time dependent
MULTIPLEACCTASSGMTDISTRIBUTIONDistribution Indicator for Multiple Account AssignmentEBAN-VRTKZ
Non-time dependent
STORAGELOCATIONStorage LocationEBAN-LGORT
Non-time dependent2VD_S4HARM_StorageLocation
PURREQNSSPREQUESTORRequestorEBAN-SC_REQUESTOR
Non-time dependent
PURREQNSSPAUTHORAuthor of RequisitionEBAN-SC_AUTHOR
Non-time dependent
PURCHASECONTRACTNumber of principal purchase agreementEBAN-KONNR
Non-time dependent
PURREQNSOURCEOFSUPPLYTYPEPurchasing Document CategoryEBAN-BSTYP
Non-time dependent2VD_S4HARM_PurchasingDocumentCategory
PURCHASECONTRACTITEMItem Number of Principal Purchase AgreementEBAN-KTPNR
Non-time dependent
CONSUMPTIONPOSTINGConsumption postingEBAN-KZVBR
Non-time dependent
PURREQNORIGINCreation indicator (purchase requisition/schedule lines)EBAN-ESTKZ
Non-time dependent
PURREQNSSPCATALOGITEMCatalog Item IdEBAN-SC_CATALOGITEM
Non-time dependent
PURREQNSSPCROSSCATALOGITEMCatalog Item KeyEBAN-SC_SR_ITEM_KEY
Non-time dependent
ISPURREQNBLOCKEDPurchase Requisition BlockedEBAN-BLCKD
Non-time dependent
ITEMDELIVERYADDRESSIDNumber of delivery addressEBAN-ADRN2
Non-time dependent
ISCLOSEDPurchase requisition closedEBAN-EBAKZ
Non-time dependent
RELEASEISNOTCOMPLETEDRelease Not Yet Completely EffectedEBAN-FRGRL
Non-time dependent
SERVICEPERFORMERService PerformerEBAN-SERVICEPERFORMER
Non-time dependent
PRODUCTTYPEProduct TypeEBAN-PRODUCTTYPE
Non-time dependent2VD_S4HARM_ProductType
PURCHASEREQUISITIONSTATUSRelease StateEBAN-FRGZU
Non-time dependent
RELEASESTRATEGYRelease strategy in the purchase requisitionEBAN-FRGST
Non-time dependent
COMPANYCODECompany CodeEBAN-BUKRS
Non-time dependent2VD_S4HARM_CompanyCode
SUPPLIERMATERIALNUMBERMaterial Number Used by SupplierEBAN-IDNLF
Non-time dependent
BATCHBatch NumberEBAN-CHARG
Non-time dependent2VD_S4HARM_Batch
MINREMAININGSHELFLIFEMinimum Remaining Shelf LifeEBAN-MHDRZ
Non-time dependent
GOODSRECEIPTISEXPECTEDGoods Receipt IndicatorEBAN-WEPOS
Non-time dependent
INVOICEISEXPECTEDInvoice Receipt IndicatorEBAN-REPOS
Non-time dependent
GOODSRECEIPTISNONVALUATEDGoods Receipt, Non-ValuatedEBAN-WEUNB
Non-time dependent
REQUIREMENTTRACKINGRequirement Tracking NumberEBAN-BEDNR
Non-time dependent
MRPCONTROLLERMRP ControllerEBAN-DISPO
Non-time dependent
TAXCODETax on sales/purchases codeEBAN-MWSKZ
Non-time dependent2VD_S4HARM_TaxCode
PURCHASEREQUISITIONISFIXEDPurchase requisition is fixedEBAN-FIXKZ
Non-time dependent
ADDRESSIDManual address number in purchasing document itemEBAN-ADRNR
Non-time dependent
LASTCHANGEDATETIMEUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)EBAN-LASTCHANGEDDATETIME
Non-time dependent
PROCUREMENTHUBSOURCESYSTEMConnected System IDEBAN-EXT_BE_SOURCE_SYS
Non-time dependent
PROFITCENTERProfit CentreEBAN-PRCTR
Non-time dependent2VD_S4HARM_ProfitCenter
BASEUNITPurchase requisition unit of measureEBAN-MEINS
Non-time dependent
ISPURREQNCMPLTPurchase Requisition not yet CompleteEBAN-MEMORY
Non-time dependent
PURREQNITEMBLOCKINGREASONTEXTReason for Item BlockEBAN-BLCKT
Non-time dependent
INVENTORYSPECIALSTOCKTYPESpecial Stock IndicatorEBAN-SOBKZ
Non-time dependent

Calculated Measures (Pre-Aggregation Calculations)

None

3VF_S2PP2R_PurchaseOrderItem

This will be the fact table to be used in the Purchase Order Item Analytical Model. The item data will be also in union with PO history data to get a combined view of KPIs like PO Value, GR Value, IR Value etc,

Union

3VR_S2PP2R_PurchaseOrderItem and 3VR_S2PP2RPurchaseOrderHistory will be in union with below common dimensions

  • PURCHASEORDER
  • PURCHASEORDERITEM
  • MATERIAL
  • PLANT
  • MANUFACTURERMATERIAL
  • PURCHASEORDERITEMCATEGORY
  • PRODUCTGROUP
  • PURGDOCUMENTITEMDELETIONCODE
  • SUPPLIER
  • PURCHASINGORGANIZATION
  • PURCHASINGGROUP
  • COMPANYCODE

Associations to master data

List objects where material master associations are to be made.

Calculated Measures (Pre-Aggregation Calculations)

None

Reporting Layer

4MA_S2PP2R_PurchaseRequisitionItem

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

Include technical details for: 

Distinct Count Measures

Measure IDDescriptionSAP Table-Field Name / processComments / Calculation / Formula / Restriction dimensions and valuesAggregation of dataExample SAP field data
DCM_PReqCountTotal Number of PREQsCount distinct Purchase Requisition ItemsUse Distinct Count measure with dimensions PurchaseRequisition and PurchaseRequisitionItemSUM34

Calculated Measures


Measure IDDescriptionSAP Table-Field Name / processComments / Calculation / Formula / Restriction dimensions and valuesAggregation of dataExample SAP field data
DCM_PReqWoPORatioRatio of Preq Items without PO vs. all PREQ Items

DRM_PReqWoPOCount / DCM_PReqCount

SUM0.34

Restricted Measures

Measure IDDescriptionSAP Table-Field Name / processComments / Calculation / Formula / Restriction dimensions and valuesAggregation of dataExample SAP field data
DRM_PReqWoPOCountNumber of PREQ Items without POCount distinct Purchase Requisition Items for which Purchase Order has not been created or Purchase Order Created for is deleted or Processing Status does not equal to PO Created

Restricted Measure on DCM_PReqCount with criteria:

PurchasingDocument is null or initial OR

IsDeleted = L OR

ProcessingStatus != B

SUM34
DRM_NonConformPRRateNon-Conformant PREQs %Percentage  non-conformant PREQs which fall into the category of EKGRP  IN ('FQE', 'E02', 'E03','N01','N02','N03','N04','N05','N06','N07','N08','N09','N10','N11','N12','N13','N14','N15')

Restricted Measure on DCM_PReqCount with criteria:

PurchasingGroup IN (see cell on the left) 

AVG0.04


Currency Conversions

Measure IDDescriptionSAP Table-Field Name / processComments / Calculation / Formula / Restriction dimensions and valuesAggregation of dataExample SAP field data
DCM_PRAmount_CCPR Amount (CC)
Currency Conversion - Source Measure - ITEMNETAMOUNT, Time Reference - CreationDate, Target Currency - Input Parameter (IP_TargetCurr)SUM4500000.45

Variables

Variable IDDescriptionFieldRequired/OptionalScopeDefaultComment
vPRCreatedDatePreq Creation DatePurReqCreationDateOptionalIntervalNo default
vCompanyCodeCompany CodeCompanyCodeOptionalMultiple Single ValuesNo default
vGBUGBUGBUOptionalMultiple Single ValuesNo default
vPlantPlantPlantOptionalMultiple Single ValuesNo default
vPurGroupPurchasing GroupPurchasingGroupOptionalMultiple Single ValuesNo default
VPurOrgPurchasing OrgPurchasingOrganizationOptionalMultiple Single ValuesNo default
vMatGrpMaterial GroupMaterialGroupOptionalMultiple Single ValuesNo default
vFixedVendorFixed VendorFixedVendorOptionalMultiple Single ValuesNo default
vDesiredVendorDesired VendorDesiredVendorOptionalMultiple Single ValuesNo default
vPROriginPReq OriginPurReqnOriginOptionalMultiple Single ValuesNo default
vSourceSource SystemSystemIDOptionalMultiple Single ValuesNo default

Data access controls

TBD

Outbound Layer

NA

  • No labels