Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This Data Flow Specification (DFS) defines the end-to-end data flow required to meet the following requirements:

Customs (Import/Export)
Customs Analysis including Import and ExportThis will be use some built using enhanced SAP Standard Business Content
Customs Classification



Trade Compliance
Compliance AnalysisThis is entirely Custom as no Business Content nor standard CDS views Exist
PreferencesPreference Management
Preference AnalysisThis is entirely Custom as no Business Content nor standard CDS views Exist
Intrastat
Intrastat AnalysisThis is entirely Custom as no Business Content nor standard CDS views Exist

...

The import declaration item Analytic Model contains item data enhanced with master data associations to importer, exporter, Customs product and text associations.

  • m

Export Declaration Items Model

The export declaration item Analytic Model contains item data enhanced with master data associations to importer, exporter, Customs product and text associations.


Please see the example DFD done for a fictional requirement that wishes to show original purchase order item and value alongside the PO history according to Purchase Order Creation date.

draw.io Diagram
bordertrue
diagramNameDDFS-GTS
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth3201
height1393
revision24

How to use this document

Please see the SyWay Analytics Approach document, section 'Documentation' for more information about the context of this document.

This document is designed to:

  • Be an aid in to the initial design of a data flow for the reporting functional consultant
  • Be the means of communication between the reporting functional consultant and the developer as to what is to be built
  • Be the long term repository for the documentation of the actual technical build.

Fill in the document following the steps below and keeping close alignment with the SAP Analytics and Reporting Standards.

First, copy this template, copy the template data flow diagram inside it, replace the template DFD with the new DFD in the new document.

In DFD:

  1. Lay out the spaces.
  2. Populate the spaces with the tentative objects depicting object type with the appropriate box. (Build the entity relationship model).  Use a short, meaningful, code for the object name to keep the boxes small and the design flexible till complete.
    1. Be aware of and respect the colour coding for boxes as seen in the key at the top of the DFD.
    2. N.B. do not include master data objects in transaction data DFD unless they are actively joined to (i.e. not just used as attributes). MD objects have their own DFD.
    3. Where an object's data flow belongs in a different DFD (e.g. S2P consumes an object from O2C), just reference the object, don't include its full flow.
  3. Once the data flow makes sense (i.e. will deliver the desired solution), populate the technical names for relevant objects in the boxes into the tables beneath the data flow diagram.  This allows you to add / change the names without having to reconfigure the diagram.

In the confluence document:

  1. Update the details of any business logic  below the data flow diagram. Updates to be made according to the layer and type.

26





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.

Area Extractor CodeExtractor NameCheck if TransactionalNotesPurposeBuild Jira Ref For Extension Information
CustomsXE_Exp_DecItemC_EXPORTDECLARATIONITEMDEXYesDelta

The export declaration item Analytic Model contains item data enhanced with master data associations to importer, exporter, Customs product and text associations.


CustomsXE_Imp_DecItemC_IMPORTDECLARATIONITEMDEXYesDelta

The import declaration item Analytic Model contains item data enhanced with master data associations to importer, exporter, Customs product and text associations.


Customs
XE_CusDoc_Com/SYQ/C_CUSTOMSDOC_LTSD_InbndXE_LTSD_OutbdCOMPLETENESSDerived Master 
Declaration data quality assessment
CustomsXE_CusDoc_Cor/SYQ/C_CUSTOMSDOC_CORRECTIONSYes
Declaration correction events
CustomsXE_TariffRate/SYQ/C_TARIFF_RATEMaster - Transactionally sourced
MFN and preferential rates from GTS-loaded tariff data
IntrastatXE_Intra_Mat/SYQ/C_INTRASTAT_MATERIALREQUESTTransactional
Material request events
IntrastatXE_Intra_Mov/SYQ/C_INTRASTAT_MOVEMENTTransactionalCheck if requiredMovement details if needed
PreferenceXE_LTSD_Comb/SYQ/C_LTSD_COMBINEDMaster - Transactionally sourcedNeeds direction IndicatorInbound and outbound LTSDs unified with direction attribute
PreferenceXE_LTSD_Req/SYQ/C_LTSD_REQUEST_ACTIVITYTransactional
Request lifecycle events with campaign attribute
PreferenceXE_PrefResult/SYQ/C_PREFERENCE_RESULTMaster - Transactionally sourced
Determination results including all status codes (positive, negative, affected by-price)
PreferenceXE_VendDec_Cv/SYQ/C_VENDORDECLARATION_COVERAGEDerived Master
Coverage at product level across BOM
ComplianceXE_SPL_Aud/SYQ/C_SPLHIT_AUDITYes
SPL screening events and decisions
ComplianceXE_BlkDoc_Aud/SYQ/C_BLOCKEDDOCUMENTAUDITYes
Document block/release events with block reason granularity
ComplianceXE_PartStatHist/SYQ/C_PARTNERCOMPSTATUS_HISTORYYes
Partner status change events for SCD-2 build
Compliance /SYQ/C_BusinessPartner_SPLRelevantMaster
Active SPL-screenable partner master
LicenseXE_LicenseMas/SYQ/C_LICENSE_MASTERMaster
License headers with validity, capacity, regulation
LicenseXE_LicenseDep/SYQ/C_LICENSE_DEPLETION

Yes


License depletion events


LicenseXE_License_Val/SYQ/C_LICENSEUSAGE_WITHVALUEYes
Depletion joined to commercial value (single-domain composite)
Classification
/SYQ/C_CLASSIFICATION_CURRENTMaster - Transactionally sourced
Current classification state with expiry flags, filtered from event history
Classification
/SYQ/C_CLASSIFICATIONCHANGE_HISTORYTransactional
Change events from change documents (covers user activity through grouping)
ClassificationXE_TariffRate
/SYQ/C_TARIFF_RATEPRODUCTCREATION_EVENTSTransactional
Product creation and country extension events
Classification
/SYQ/C_CLASSIFICATIONLEADTIMEDerived TransactionalCheck what this meansJoins creation to first classification with working-day duration

Inbound Layer

Inbound layer objects only need documentation if some field adjustment is made (over and above the standard load date / time and source system stamp).

...

Calculated Measures (Pre-Aggregation Calculations)

Facts

Tier 1 — simple event-based facts (no snapshots):

  • FACT_SPL_SCREENING
  • FACT_BLOCKED_DOCUMENT
  • FACT_LICENSE_USAGE
  • FACT_CLASSIFICATION_ACTIVITY
  • FACT_PRODUCT_CREATION
  • FACT_LTSD_REQUEST
  • FACT_PREFERENCE_RESULT
  • FACT_CUSTOMS_DOC (built directly on DEX views with simple enrichment)
  • FACT_CUSTOMS_CORRECTIONS
  • FACT_CUSTOMS_DATA_QUALITY
  • FACT_INTRASTAT_MATERIAL_REQUEST (if in scope)

Tier 2 — periodic snapshots for state representation:

  • FACT_LICENSE_PORTFOLIO — weekly snapshot
  • FACT_LTSD_COVERAGE — weekly snapshot
  • FACT_CLASSIFICATION_CURRENT — daily snapshot
  • FACT_CLASSIFICATION_LEAD_TIME — periodic snapshot
  • FACT_PARTNER_AVAILABILITY — periodic snapshot of master state
  • FACT_CAMPAIGN_RELEVANT_MATERIALS — periodic snapshot
  • FACT_CUSTOMS_CYCLE_TIME — depends on TM/broker timestamp availability

Tier 3 — audit-grade snapshots:

  • FACT_PREFERENCE_SAVINGS — monthly snapshot with locked tariff rates
  • FACT_TRADE_COMPLIANCE_OVERVIEW — daily snapshot with as-of-date dimensional state

Reporting Layer

4VA_S2PP2R_POHisAcc

TypeCodeTechnical NameLogicFunctional Spec


4MA_CustomsDeclarations



4MA_CustomsCycleTime



4MA_ComplianceActivity



4MA_BlockedDocuments



4MA_LicensePortfolio



4MA_ClassificationAnalytics



4MA_PreferenceResults





















4MA_CustomsDeclarations — duty spend, declaration volumes, data quality, corrections

4MA_CustomsCycleTime — cycle times and SLA adherence (subject to data availability)

4MA_ComplianceActivity — SPL screening and partner activity

4MA_BlockedDocuments — document blocks and releases by regulation

4MA_LicensePortfolio — license analytics and usage

4MA_ClassificationAnalytics — classification activity, coverage, lead times

4MA_PreferenceResults — eligibility analytics with all status codes

4MA_LTSDManagement — LTSD operations and campaign management

4MA_PreferenceSavings — realized savings, potential, leakage

4MA_TradeComplianceOverview — cross-module risk view

4MA_Intrastat  — Intrastat material request analytics

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

...