Versions Compared

Key

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

Page Status

Owner
Stakeholders

Purpose

The purpose of this document is to define the conversion approach to create in S/4 HANA.

This Data Conversion Specification outlines the scope, data requirements, extraction logic, transformation rules, validation steps, and load procedures for converting six months of historical sales order data into S/4HANA to support Net Realizable Value (NRV) calculations for inventory provisioning.

The converted data provides the basis for deriving the average selling price per material and plant at period-end. These values will be compared with material cost to identify potential inventory devaluation and post stock provisions accordingly.

Objective

  • Enable NRV assessment by leveraging six months of historical sales prices.
  • Ensure availability of average sales price (ASP) per material/plant for monthly financial reporting.
  • Support Finance in executing accurate, compliant inventory provisioning. 

Conversion Scope

The scope of this document covers the approach for converting active from Legacy Source Systems into S/4HANA following the Master Data Design Standard.


The data from legacy system includes:

  1. Extraction of 6 months historical sales order data from ECC Systems. Please refer to the relevancy criteria section for detailed data extraction logic / scope

  2. Transformation and formatting according to S/4HANA NRV input structure.

  3. One-time load of historical price records into S/4HANA.

  4. Post–go-live: continued use of live S/4HANA sales order data for rolling history.

The data from legacy system excludes:

  1. Any sales document created prior to six months of go-live. Please refer to the relevancy criteria section for detailed data extraction logic / scope and document types to be excluded

  2. Sales documents created to sales area, plant and materials that are not in scope for migration to S/4HANA.

  3. Sales document line items that are marked as rejected 


List of source systems and approximate number of records
SourceScope

Source Approx No. of Records

Target SystemTarget Approx.

No. of Records

WP26 months Sales Transactions - sales order items66,000S/4HANA21,000
PF26 months Sales Transactions - sales order items32,000S/4HANA11,000










Additional Information

Multi-language Requirement

Not Applicable

Document Management

Not Applicable

Legal Requirement

Not Applicable

Special Requirements

Not Applicable


Target Design

The target design enables S/4HANA to perform Net Realizable Value (NRV) calculations using both historical and ongoing sales price data. The solution is designed to store, maintain, and utilize a rolling six-month average selling price (ASP) for each material and plant combination, ensuring accurate and timely monthly inventory provisioning.

1. Overall Design Concept

The target system (S/4HANA) will contain a dedicated repository to store historical sales price data extracted from ECC, as well as continuously updated sales price data generated from S/4HANA sales orders after go-live. This repository will serve as the foundational data source for computing NRV at period end.

The system will automatically derive the Average Selling Price (ASP) for every material–plant combination by aggregating monthly sales transactions for six months. This ASP will then be compared against the material’s current cost to determine whether a stock provision is required.

  • ECC systems will supply six months of historical sales order data.

  • Data will be cleansed, transformed, and loaded into ZZNRVDATA using LSMW.

 2. Target Data Structure

The technical design of the target for this conversion approach.

TableFieldData ElementField DescriptionData TypeLengthRequirement
ZZNRVDATAERDATAUDATERDATAUDATDocument DateRecord Created OnDATS8Mandatory
ZZNRVDATAAUARTAUARTDocument TypeCHAR4Mandatory
ZZNRVDATAMATNRMATNRMaterial NumberCHAR40Mandatory
ZZNRVDATAWERKS

WERKS_EXT

PlantCHAR4Mandatory
ZZNRVDATAWAERKNETWRWAERKDocument CurrencyCUKYNETWR_APNet ValueCURR15,25Mandatory
ZZNRVDATANETPRWAERKNETPRWAERKUnit PriceDocument CurrencyCURRCUKY11,25Mandatory
ZZNRVDATAKPEINKWMENGKPEINKWMENGCondition Pricing UnitDECQUAN515Mandatory
ZZNRVDATAKMEINVRKMEKMEINVRKMECondition UnitUNIT3Mandatory


Data Cleansing

IDCriticalityError Message/Report DescriptionRuleOutputSource System
Not Applicable








Conversion Process

The high-level process is represented by the diagram below:

The conversion process is designed to extract six months of historical sales price data from the ECC system, transform it into the required format for S/4HANA, and load it into the custom NRV history table (ZZNRVDATA). This ensures that the target system has the necessary baseline price history to perform NRV calculations from the first period-end after go-live.

Image Added

Data Privacy and Sensitivity


Relevancy Criteria for Data Extraction

NRV Data Extraction

Extract data from a source into . There are 2 possibilities:

  • The data exists. connects to the source and loads the data into . There are 3 methods:
    1. Perform full data extraction from relevant tables in the source system(s).
    2. Perform extraction through the application layer.
    3. Only if ; cannot connect to the source, data is loaded to the repository from the provided source system extract/report.
  • Criteria (Monthly Average Material Price at Plant Level)

    This data extraction is performed to generate NRV (Net Realizable Value) inputs based on historical sales order pricing from the ECC systems. The extraction focuses on determining the monthly average selling price at Material–Plant–Currency level.

    Data Source Period

    • Extract sales prices from sales documents (Document Category = C, E, K and L) created within the 6 calendar months preceding the Go-Live month.

    Inclusion Criteria

    • Include only records where Sales org, Material, and Plant are within project scope.
    • Document types in scope:
      • Sales Documents
        • System: PF2 → KE, SB, TD, TDIV, TDR
        • System: WP2 → KE, OR, ZOR, ORB, RCM, ZEXP
      • Credit Memo Requests
        • System: PF2 → B1, B3, B4, CR, CRV, CRVA, ICR, RK, CC
        • System: WP2 → B1, B3, B4, G2, ZG2, CRB, ZCRB
      • Debit Memo Requests
        • System: PF2 → DR, DRV, DRVA, IDR, IDRV, CD
        • System: WP2 → L2, L3, ZCO, ZL2, ZL3, DRB
      • Scheduling Agreement
        • System: WP2 → LP

    Exclusion Criteria

    • Exclude the following:
      • Non-billing-relevant documents
      • Free-of-charge items
      • Spot sales
    • Exclude following document types
      • Sales Documents
        • System: PF2 → KA, KB, KBCC, LA, M2, M3, T1, ZRKE, ZSE1, ZSER, ZTDL, ZPVA
        • System: WP2 → KA, KB, RCS, ZAGR
      • Credit Memo Requests
        • System: PF2 → CRVC, CRVS, ICRV
        • System: WP2 → ZG3
      • Debit Memo Requests
        • System: PF2 → DRVD, DRVS
        • System: WP2 → ZGV, ZLV, ZDRB

    Data Aggregation Requirement

    • Compute Monthly Average Selling Price per:
      • Material
      • Plant
      • Sales Unit of Measure
      • Currency

    Exclude the records with blank values in any of key fields including plant,  items with 0 price and items with 0 qty.


    Extraction

    The data does not exist (or cannot be converted from its current state). The data is manually collected by the business directly in . This is to be conducted using DCT (Data Collection Template) in

    The agreed Relevancy criteria is applied to the extracted records to identify the records that are applicable for the Target loads

    Extraction Run Sheet

    Req #Requirement DescriptionTeam Responsible
    9068-001Confirm scope and extraction approach for each ECC source systems WP2, PF2 (direct DB or manual extract)Data Team (L2C), Data Team (Syniti)
    9068-002Perform full data extraction of 6 months data from SAP ECC Systems Sales document tables with high level filters on Sales organizations in Scope, Document Date and document types provided in scope, excluding rejected items and zero value itemsData Team (Syniti)
    9068-003Exclude the Materials that are not in scope for migration to S/4HANA via its respective conversion objectsData Team (Syniti)
    9068-004Aggregate the above data grouping them in Transaction Month, Doc Type, Material, Plant, Sales UoM, Sales Currency , obtain sum of Sales valueData Team (Syniti)
    9068-005Perform data quality checks on extracted records (e.g., missing key fields, invalid dates, incorrect formats)Data Team (Syniti)


    Selection Screen

    Selection Ref ScreenParameter NameSelection TypeRequirementValue to be entered/set
    VBAK-AUDATDocument Date RangeRange / Single RangeYes6 Full months of data prior to go-live
    VBAK-AUARTDocument TypesRange / Multi inputYesList of Document Types marked in scope in the above relevancy criteria
    VBAK-VKORGSales OrganizationsRange / Multi InputYesList of Sales organizations in scope






    Data Collection Template (DCT) 

    Target Ready Data Collection Template will be created for data with exception of some fields which require transformation as mentioned in the transformation rule.

    DCT Rules

    Field NameField DescriptionRule
    Not Applicable









    Extraction Dependencies

    Item #Step DescriptionTeam Responsible
    Not Applicable










    Transformation

    The Target fields are mapped to the applicable Legacy field that will be its source, this is a 3-way activity involving the Business, Functional team and Data team. This identifies the transformation activity required to allow to make the data Target ready:

    1. Perform value mapping and data transformation rules.
      1. Legacy values are mapped to the to-be values (this could include a default value)
      2. Values are transformed according to the rules defined in
    2. Prepare target-ready data in the structure and format that is required for loading via prescribed Load Tool. This step also produces the load data ready for business to perform Pre-load Data Validation

    Transformation Run Sheet

    Item #Step DescriptionTeam Responsible
    1Identify target S/4HANA fields and determine applicable legacy source fields from both ECC systems WP2, PF2Functional Team (L2C)+ Data Team (L2C)
    2Map legacy field values to S/4HANA target values (including field-level mapping and technical names)Data Team (L2C), Data Team (Syniti)
    3Configure transformation rules in Syniti Migrate (including calculated fields, formatting rules, etc.)Data Team (Syniti), Data Team (L2C)
    4Review transformation logic and mappings with Business for confirmationBusiness Team + Functional Team (L2C)
    5Perform initial transformation run and generate draft target-ready datasetData Team (Syniti),
    6Review draft target-ready data for structure and completenessData Team (L2C), Functional Team (L2C)
    7Share transformed data with Business for Pre-load ValidationBusiness Team
    8Incorporate feedback from Business and refine mappings or transformation logic as neededData Team (L2C)
    9Finalize and approve transformed data as Target Ready Load FileBusiness + Functional (L2C) + Data Team (L2C)


    Transformation Rules

    Rule #Source systemSource TableSource FieldSource DescriptionTarget SystemTarget TableTarget FieldTarget DescriptionTransformation Logic
    9068-001WP2/PF2VBAKAUDATDocument DateS/4HANAZZNRVDATAAUDATDocument Date

    Extraction will group by Month.  Map it with the first day of the respective month. 

    202501 mapped with 20250101

    9068-002WP2/PF2VBAKAUARTDocument TypeS/4HANAZZNRVDATAAUARTDocument TypeMap using MAP_AUART
    9068-003WP2/PF2VBAPMATNRMaterial NumberS/4HANAZZNRVDATAMATNRMaterial NumberMap using MAP_MATNR
    9068-004WP2/PF2VBAPWERKSPlantS/4HANAZZNRVDATAWERKSPlantMap using MAP_WERKS
    9068-005WP2/PF2VBAPNETWRNet ValueS/4HANAZZNRVDATANETWRNet ValueAggregate value based on the combination of all remaining fields
    9068-006WP2/PF2VBAPWAERKDocument CurrencyS/4HANAZZNRVDATAWAERKDocument CurrencyCopy from Source
    9068-007WP2/PF2VBAPKWMENG / ZMENGCondition Pricing UnitS/4HANAZZNRVDATAKWMENGCondition Pricing UnitIf VBAP-FKREL = 'C' use ZMENG Otherwise KWMENG
    9068-008WP2/PF2VBAPVRKMECondition UnitS/4HANAZZNRVDATAVRKMECondition UnitCopy from Source


    Transformation Mapping

    Field nameMapping Table NameMapping Table Description
    AUARTMAP_AUARTSales Document Types
    MATNRMAP_MATNRMaterial Master
    WERKSMAP_WERKSPlant

    Transformation Dependencies

    List the steps that need to occur before transformation can commence
    Item #Step DescriptionTeam Responsible
    1Value Mapping Tables are completeFunctional Team (L2C) + Data Team (L2C)
    2Org structure configuration is completeFunctional Team (L2C) + Data Team (L2C)
    3Dependent Material Master Data records are loadedFunctional Team (L2C) + Data Team (L2C)




    Pre-Load Validation

    Project Team

    Completeness

    TaskAction
    Configuration

    Ensure necessary configurations are in place in target system and field mapping is aligned with sales document types and plants

    Review Mapping TableEnsure all the source config and master data are mapped with target values
    Check ValuesValidate the pre-load data confirming the values are aligned with target system format and 

    Accuracy

    TaskAction
    Review Mapping TableEnsure all the source organization units are mapped with target values
    Review Monthly order valueUser Sales Order Line items report to list the sales orders for the selection criteria mentioned above and check the order value total in pre-load data file
    Conduct dry runs using LTMC or BAPIs and review logsAnalyze load results and correct format or conversion errors

    Business

    Completeness

    TaskAction
    Review populated templates for missing or incorrect valuesUse checklists to verify completeness and correctness before submission
    Ensure all required sales document types are covered in extractionConfirm that all the approved sales document types are covered in data extraction



    Accuracy

    TaskAction
    Check generated average price of  materialsCheck the generated average price of material if it falls under the expected range





    Load

    The load process includes:

    1. Execute the automated data load into target system using load tool or product the load file if the load must be done manually
    2. Once the data is loaded to the target system, it will be extracted and prepared for Post Load Data Validation

    Load Run Sheet

    Item #Step DescriptionTeam Responsible
    1Confirm readiness of final approved data sets for each ECC source system WP2 and PF2Business / Functional Team
    2Validate transformation rules and mappings in Syniti toolData Team (L2C-Data)
    3Generate target-ready load files based on S/4HANA LSMW Load formatData Team (Syniti)
    4Review and approve load files before executionBusiness / Functional Team
    5Execute data load using LSMW into the S/4HANA system (or generate manual load files if required)Data Team (L2C-Data)
    6Monitor load progress and capture load statistics (records loaded, errors, duplicates, etc.)Data Team (L2C-Data)
    7Extract loaded data from S/4HANA for post-load validationData Team (L2C-Data)
    8Perform post-load data validation (compare target data with source/approved files) for all loaded pricing condition typesData Team (L2C-Data)
    9Log and resolve any data load errors or mismatches identified during validationData Team (L2C-Data) + Functional Team
    10Obtain business sign-off on successful load and validationBusiness Team
    11Archive load logs, error reports, and validation results for audit/complianceData Team (L2C-Data) / Data Team (Syniti) / PMO


    Load Phase and Dependencies

    Configuration

    Item #Configuration Item
    Sales  Document TypeAll Sales document types are configured and mapped via MAP_AUART table
    Plant codesAll the plant codes are configured and mapped via MAP_WERKS table


    Conversion Objects

    list the exact title of the conversion object of only the immediate predecessor – this will then confirm the DDD (Data Dependency Diagram)
    Object #Preceding Object Conversion Approach
    2010CNV-2010 Materials - General Plant Data / S.Loc Data


    Error Handling

    Error TypeError DescriptionAction Taken
    Sales Document Not mappedSales document type listed in approved list for data extraction from ECC SystemComplete mapping and accept mapped values
    Plant code not mappedPlant code collected from ECC sales order history table not mapped to target ECC systemComplete the mapping and accept mapped values. Exclude the record if the plant is marked out of scope
    Duplicate RecordsIdentical key combinations found more than once in the load fileDuplicates removed or merged as per business rule. Aligned with Business and documented for future loads
    Invalid Currency FormatIncorrect currency formatting or unsupported currency codeStandardized to valid ISO currency codes (e.g., USD, EUR, JPY)
    Invalid Number FormatKBETR or KPEIN contains special characters or comma separatorsCleaned formatting; ensured decimal values used with '.' as separator
    Authorization ErrorsLack of access to execute load in target client/systemRaised access request; obtained necessary authorizations
    Obsolete Master DataMaterial master data no longer exists in target systemReplaced or removed based on business input
    Technical Load FailureFile not processed due to syntax/format error or system issueReviewed logs; regenerated file; re-executed load after resolving issue
    Missing Key FieldsOne or more key fields (e.g., AUDAT, AUART, WERKS, MATNR, VRKME, NETWR, WAERK) are blank Populated missing values and reload


    Post-Load Validation

    Project Team

    Completeness

    TaskAction
    Validate loaded dataExtract the loaded data from ZZNRVDATA table and validate against the data used to load via LSMW.  Confirm all records are loaded with cell by cell value match





    Accuracy

    TaskAction
    Validate loaded dataExtract the loaded data from ZZNRVDATA table and validate against the data used to load via LSMW.  Confirm all records are loaded with cell by cell value match





    Business

    Completeness

    TaskAction
    Review and ApproveReview the post load validation report provided by Data Team and approve
    Check Calculated 6 moths average priceBased on net value provided for a material, check the average price of any material against expected price range



    Accuracy

    TaskAction
    Check Calculated 6 moths average priceBased on net value provided for a material, check the average price of any material against expected price range





    Key Assumptions

    • Master Data Standard is up to date as on the date of documenting this conversion approach and data load.
    • is in scope based on data design and any exception requested by business.


    See also

    Change log

    Change History
    limit10