Status

Owner
StakeholdersThe business stakeholders involved in making, reviewing, and endorsing this decision. Type @ to mention people by name

  

Team InvolvedArea
Metawat SawasdeeBusiness
Umesh MudriTechnical
Shivang DalaTechnical
Ravindra MantriFunctional
Eluard MontineiraFunctional

Purpose

The purpose of this document is to define the conversion approach to create and migrate Purchase Order Attachments in S/4 HANA.

Attachment Functionality in SAP ECC
- Storage Method: Attachments are typically stored using Generic Object Services (GOS), which allow users to link files to purchase order documents (via transaction codes like ME21N, ME22N, ME23N).
- Technical Reference: The attachments are managed via the Business Object Repository (BOR) object. The Business Object Repository (BOR) in SAP is a central access point for SAP business object types and their corresponding Business Application Programming Interfaces (BAPIs). It provides an object-oriented view of data and processes within an SAP system and is crucial for integrating SAP with external applications. The BOR also plays a role in SAP Business Workflow, ArchiveLink, and output control. 


Key tables for Attachments are:

Object types can be checked in SAP table: TOJTB

The SAP Table SRGBTBREL (Relationship Table for GOS Objects): This table links the GOS Object (like a vendor) to the actual attached document, storing the object type, instance ID, and document details.

Vendor Master General LFA1. The GOS information can be linked to the table.

SapOffice table :SOOD table in SAPoffice that stores metadata and attribute information for documents and SAP office objects


The following list includes the objects most likely applicable to vendor attachment documents. There could be more that are applicable

BUS2009 - Purchase Requisition Item

BUS2010 - Vendor Quotation Request

BUS2011 - Vendor Quotation

BUS2012 - Purchase Order   

BUS2013 - Purchase Scheduling Agreement    

BUS2014 - Purchase Contract

BUS2015 - Inbound Delivery    

BUS2020 - Vendor Document

BUS2025 - Purchasing Contract  

BUS2052 - Purchase Outline Agreement 

BUS2105 - Purchase Requisition

BUS2126 - Vendor Billing Document
 


  

Changes in SAP S/4HANA
- Attachments are linked using the Attachment List Service (also used in Fiori apps).

- Technically embedded in the Business Object Processing Framework (BOPF) or handled by Object Page Layout for Fiori views 

- User Experience Enhancements: Drag-and-drop uploads via Fiori.


Attachment Types

Any type of document can be an attachment, and can be attached when the user creates a PO from the shopping cart.

In most cases this is a PDF type attachment, and includes Invoices, Specs, Emails....


Conversion Scope

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


The data from legacy system includes:

  1. The basis of this object's legacy data is Open Purchase Orders that cannot be closed, and must be migrated. This is handled in CNV-9045 Open Purchase Orders
  2. That the purchase order in point 1 has an attachment maintained.
  3. Relevancy Criteria n

The data from legacy system excludes:

  1. Attachments for closed Purchase orders, or where the PO is not in scope for various reasons.
  2. Exclusion Criteria 2
  3. Exclusion Criteria n


List of source systems and approximate number of records
SourceScope

Source Approx No. of Records

Target SystemTarget Approx

No. of Records

WP2Attachment for Open Purchase orders
S4 Hana ROW
PF2Attachment for Open Purchase orders
S4 Hana ROW
WP2Attachment for Open Purchase orders
S4 Hana China
PF2Attachment for Open Purchase orders
S4 Hana China
WP2Attachment for Open Purchase orders
S4 Hana CUI
PF2Attachment for Open Purchase orders
S4 Hana CUI

Additional Information

Multi-language Requirement

Summarize Multi-language Requirement/s, if any

Document Management

Generic Object Services (GOS) is a functionality that allows users to attach documents, notes, and other objects to business objects like purchase orders. It provides a standard way to manage and access these attachments within various SAP transactions, including those related to purchase orders. 

The following are the key concepts for POs.

  • Attachment Management:

    GOS enables users to add attachments (like PDFs, Word documents, etc.) to purchase orders, either directly within the transaction or through a separate DMS (Document Management System) if configured. 
  • Viewing Attachments:

    GOS also allows users to view the attachments associated with a specific purchase order. 
  • Object Relationships:

    GOS can also show relationships between the purchase order and other objects, like IDocs, workflows, or other related documents. 
  • Toolbar/Button:

    The GOS functionality is typically accessed through a toolbar button or a menu option within the purchase order transaction (e.g., ME21N, ME22N, ME23N). 
  • Customization:
    In some cases, the GOS button or functionality might need to be activated for specific transactions or user roles using customizing settings. 

  • Other:
  • GOS also allows for other functions like adding private notes, sending the object to another user, or viewing related workflows. 


The Business Object Repository (BOR) in SAP is a central access point for SAP business object types and their corresponding Business Application Programming Interfaces (BAPIs). It provides an object-oriented view of data and processes within an SAP system and is crucial for integrating SAP with external applications. The BOR also plays a role in SAP Business Workflow, ArchiveLink, and output control. 

Key aspects of the BOR and Purchase Orders:

  • Centralized Access:

    The BOR acts as a single point of access for all business objects and their associated BAPIs. 
  • Object-Oriented View:

    It provides an object-oriented perspective of business processes, allowing for modular and reusable components. 
  • Purchase Order Object:

    The purchase order business object (type BUS2012) is a key object within the BOR, representing purchase order data and operations. 
  • BAPIs and Methods:

    BAPIs, which are remote-enabled ABAP function modules, are used to implement the methods of business objects. For example, a BAPI might be used to change a purchase order item or retrieve purchase order details. 
  • Attributes and Parameters:

    Business objects have attributes that store object properties (e.g., purchase order number, vendor) and methods use import/export parameters to pass data between different parts of the system. 
  • BOR Browser:

    The Business Object Repository Browser (transaction code SWO1) allows users to browse, display, and maintain business objects and their components. 
  • Integration:

    The BOR facilitates the integration of SAP with other systems, such as through middleware. 
  • Workflow and Other Services:
    The BOR is used in SAP Business Workflow, ArchiveLink, output control, and other generic object services. 

The DMS approach is elaborated in KDD "Document Management in the SyWay Solution".


Legal Requirement

CMMC 2.0 is a mandatory DoD cybersecurity certification for contractors handling Controlled Unclassified Information (CUI) and Federal Contract Information (FCI). CUI includes sensitive technical data (e.g., design specs, system info) related to U.S. military and space applications. The Composites Business handles CUI and is therefore within CMMC scope. Without certification, the business risks disqualification from existing and future DoD programs.
It is mandatory to implement CMMC-compliant systems and processes to for all the organizations that are dealing with CUI.

Therefore, there will be one SAP instance specifically for CUI related entities. The migration for CUI related entities will be covered by US based data consultant using separate tools.

Special Requirements

Different SAP Instance Migration Approach

Due to compliance requirement, there will be one SAP instance for Rest of the World, one for China and one for CUI.

  1. For entities in China, the data will be loaded into SAP China instance while the entire migration process will remain the same as rest of the world.
  2. For entities which will reside in CUI, the migration will be handled by US based data consultant. 

Please refer to the link for the entity mapping for each instance. In case the data object is applicable for multiples instances, what business rule to follow?

If the data conversion involves third-party systems or external data sources, such as Icertis, describe any additional requirements related to data mapping, transformation logic, validation rules or security measures that must be followed.




Target Design

With Functional input, document the technical design of the target fields that are in the scope of this document.

The technical design of the target for this conversion approach.

TableFieldData ElementField DescriptionData TypeLengthRequirement
SRGBTBRELCLIENT
ClientC3Internal
SRGBTBRELBRELGUID
GUIDX16Internal
SRGBTBRELRELTYPE
Relationship typeC10Mandatory
SRGBTBRELINSTID_A
Instance IDC70Mandatory
SRGBTBRELTYPEID_A
Object TypeC32Mandatory
SRGBTBRELCATID_A
Object CategoryC2Mandatory
SRGBTBRELINSTID_B
Instance IDC70Internal
SRGBTBRELTYPEID_B
Object TypeC32Internal
SRGBTBRELCATID_B
Object CategoryC2Internal
SRGBTBRELLOGSYS_A
Logical SystemC10Not in use
SRGBTBRELARCH_A
Object ArchivedC1Not in use
SRGBTBRELLOGSYS_B
Logical SystemC10Not in use
SRGBTBRELARCH_B
Object ArchivedC1Not in use
SRGBTBRELUTCTIME
Short Time StampP8Internal
SRGBTBRELHOMESYS
Logical SystemC10Not in use


Data Cleansing

All data cleansing should take place in the data source system as defined in this document, unless system limitations prevent it.

If data cleansing is managed outside of the source system (e.g. Syniti Migrate, 3rd Party Vendor, DCT), the necessary documentation must be produced and appended to this deliverable for sign-off.

IDCriticalityError Message/Report DescriptionRuleOutputSource System


Review and remove the obsolete attachments from the load.






















Conversion Process

SAP's document migration process involve three parts:

  1. Moving the documents to a storage area.
  2. Creating the entries in the S4 HANA system, such as purchase orders, etc
  3. Linking the attachments to the purchase documents. 

Various tools are used in the migration process.


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

The Rest of the World and China follows the process below, using Syniti ADMM.


For CUI instance, the ETL process will be similar, but it will not use Syniti tool.

Data Privacy and Sensitivity

For SAP CUI instances, the data will be processed by US Based consultants.


Extraction

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

  1. The data exists. Syniti Migrate connects to the source and loads the data into Syniti Migrate. 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 Syniti Migrate; cannot connect to the source, data is loaded to the repository from the provided source system extract/report.
  2. The data does not exist (or cannot be converted from its current state). The data is manually collected by the business directly in Syniti Migrate. This is to be conducted using DCT (Data Collection Template) in Syniti Migrate

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
Extraction Scope Definition- Identify the source systems and databases involved.
- Define the data objects (tables, fields, records) to be extracted.
- Establish business rules for data selection.

Syniti / US Based Consultant for SAP CUI instance

Syniti / LTC Data team

Extraction Methodology- Specify the extraction approach (full, incremental, or delta extraction).
- Determine the tools and technologies used.
- Define data filtering criteria to exclude irrelevant records.
Syniti / US Based Consultant for SAP CUI instance
Extraction Execution Plan- Establish execution timelines and batch processing schedules.
- Assign responsibilities for extraction monitoring.
- Document dependencies on other migration tasks.
Syniti / US Based Consultant for SAP CUI instance
Data Quality and Validation- Define error handling mechanisms for extraction failures.Syniti / US Based Consultant for SAP CUI instance


Selection Screen

If applicable, this section will give the details on any selection screen parameters, including the parameter type, that are required to be entered to ensure consistent data extracts.
Selection Ref ScreenParameter NameSelection TypeRequirementValue to be entered/set
n/a



















Data Collection Template (DCT)

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

<Object> DCT Rules

Field NameField DescriptionRule
n/a










Extraction Dependencies

List the steps that need to occur before extraction can commence

Item #Step DescriptionTeam Responsible
1

Source System Availability

  • Ensure that the source database or application is accessible.
  • Confirm that necessary credentials and permissions are granted
Syensqo IT
2

Data Structure

  • Identify relationships between tables, views, and stored procedures.
Syniti / US Based Consultant for SAP CUI instance
3

Referential Integrity

  • Ensure dependent records are extracted together.
Syniti / US Based Consultant for SAP CUI instance
4

Extraction Methodology

  • Define whether extraction is full, incremental, or delta-based.
  • Establish batch processing schedules for large datasets.
Syniti / US Based Consultant for SAP CUI instance
5

Performance and Scalability Considerations

  • Optimize extraction queries to prevent system overload.
  • Ensure network bandwidth supports data transfer volumes.
Syniti / US Based Consultant for SAP CUI instance
6

Security and Compliance

  • Adhere to regulatory standards for sensitive information if applicable
Syniti / US Based Consultant for SAP CUI instance


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 Syniti Migrate 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 Syniti Migrate
  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
1Transformation Scope Definition
- Identify the source and target data structures.
- Define business rules for data standardization.
- Establish data cleansing requirements to remove inconsistencies.
Data Team
2Data Mapping and Standardization
- Align source fields with target fields.
- Ensure unit consistency (e.g., currency, measurement units)
Data Team
3Business Rule Application
- Implement data enrichment/collection if applicable
- Apply conditional transformations based on predefined logic/business rules
Data Team
4Transformation Execution Plan
- Define batch processing schedules.
- Assign responsibilities for monitoring execution.
- Establish error-handling mechanisms
Syniti / US Based Consultant for SAP CUI instance


Transformation Rules

Rule #Source systemSource TableSource FieldSource DescriptionTarget SystemTarget TableTarget FieldTarget DescriptionTransformation Logic
1WP2/PF2SRGBTBRELCLIENTClientS4 HanaSRGBTBRELCLIENTClientInternal - 
2WP2/PF3SRGBTBRELBRELGUIDGUIDS4 HanaSRGBTBRELBRELGUIDGUIDInternal - 
3WP2/PF4SRGBTBRELRELTYPERelationship typeS4 HanaSRGBTBRELRELTYPERelationship typeDefault - ATTA
4WP2/PF5SRGBTBRELINSTID_AInstance IDS4 HanaSRGBTBRELINSTID_AInstance IDXref - Map ECC sales document number to S4 sales document number
5WP2/PF6SRGBTBRELTYPEID_AObject TypeS4 HanaSRGBTBRELTYPEID_AObject Type

Copy -

It will include below object types.

BUS2009 - Purchase Requisition Item

BUS2010 - Vendor Quotation Request

BUS2011 - Vendor Quotation

BUS2012 - Purchase Order   

BUS2013 - Purchase Scheduling Agreement    

BUS2014 - Purchase Contract

BUS2015 - Inbound Delivery    

BUS2020 - Vendor Document

BUS2025 - Purchasing Contract  

BUS2052 - Purchase Outline Agreement 

BUS2105 - Purchase Requisition

BUS2126 - Vendor Billing Document

6WP2/PF7SRGBTBRELCATID_AObject CategoryS4 HanaSRGBTBRELCATID_AObject CategoryCopy - BO
7WP2/PF8SRGBTBRELINSTID_BInstance IDS4 HanaSRGBTBRELINSTID_BInstance IDInternal - 
8WP2/PF9SRGBTBRELTYPEID_BObject TypeS4 HanaSRGBTBRELTYPEID_BObject TypeCopy - MESSAGE
9WP2/PF10SRGBTBRELCATID_BObject CategoryS4 HanaSRGBTBRELCATID_BObject CategoryCopy - BO
10WP2/PF11SRGBTBRELLOGSYS_ALogical SystemS4 HanaSRGBTBRELLOGSYS_ALogical SystemNot in Use -                                                                                                                                     
11WP2/PF12SRGBTBRELARCH_AObject ArchivedS4 HanaSRGBTBRELARCH_AObject ArchivedNot in Use -                                                                                                                                     
12WP2/PF13SRGBTBRELLOGSYS_BLogical SystemS4 HanaSRGBTBRELLOGSYS_BLogical SystemNot in Use -                                                                                                                                     
13WP2/PF14SRGBTBRELARCH_BObject ArchivedS4 HanaSRGBTBRELARCH_BObject ArchivedNot in Use -                                                                                                                                     
14WP2/PF15SRGBTBRELUTCTIMEShort Time StampS4 HanaSRGBTBRELUTCTIMEShort Time StampInternal - 
15WP2/PF15SRGBTBRELHOMESYSLogical SystemS4 HanaSRGBTBRELHOMESYSLogical SystemNot in Use -                                                                                                              


Transformation Mapping

Use the exact name and reference this section in the “Transformation rules” above
Mapping Table NameMapping Table Description








Transformation Dependencies

List the steps that need to occur before transformation can commence
Item #Step DescriptionTeam Responsible
1Source Data Integrity
- Ensure extracted data is complete, accurate, and consistent.
- Validate that data types and formats align with transformation requirements.
Syniti / US Based Consultant for SAP CUI instance
2Referential Integrity
- Ensure dependent records are transformed together or in advance, such as CNV-3007 Business Partner General and DMS server migration
Syniti / US Based Consultant for SAP CUI instance
3Transformation Logic and Mapping
- Define data mapping rules between source and target schemas.
Data Team
4Performance and Scalability Considerations
- Optimize transformation processes for large datasets.
- Ensure system resources can handle transformation workloads
Syniti / US Based Consultant for SAP CUI instance
5Logging and Error Handling
- Maintain detailed logs of transformation activities.
- Define error-handling procedures for failed transformations
Syniti / US Based Consultant for SAP CUI instance


Pre-Load Validation

Project Team

The following pre-load validations will be performed by the Project Team.

Completeness

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.
Compare Data Counts
  1. Verify row counts between source and target databases.
  2. Identify missing or duplicated records.


Validate the mandatory fieldsValidate there is value for all the mandatory fields
Validate Primary Keys and Unique Constraints
  1. Check for duplicate or missing primary key values, i.e., if there is same BP number.
  2. Ensure unique constraints are maintained.


Test Referential IntegrityConfirm dependent records exist in related tables

Accuracy

TaskAction
Validate the transformationValidate the fields which require transformation have the value after transformation instead of the original field value
Check Data Consistency
  1. Compare field values across systems
  2. Validate data formats and structures



Business

The following pre-load validations will be performed by the business.

Completeness

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.





Accuracy

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.





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
1Load Scope Definition
- Identify the target system and database structure.
- Define data objects (tables, fields, records) to be loaded.
- Establish business rules for data validation.
Data team
2Load Methodology
- Specify the loading tools and technologies (Migration Cockpit, LSMW, custom loading program).
Syniti / US Based Consultant for SAP CUI instance
3Data Quality and Validation
- Ensure data integrity checks (null values, duplicates, format validation).
- Perform pre-load validations to verify completeness.
- Define error handling mechanisms for load failures
Syniti / US Based Consultant for SAP CUI instance
4Load Execution Plan
- Establish execution timelines and batch processing schedules.
- Assign responsibilities for monitoring execution.
- Document dependencies on other migration tasks
Syniti / US Based Consultant for SAP CUI instance
5Logging and Reporting
- Maintain detailed logs of loading activities.
- Generate summary reports on loaded data volume and quality.
- Define escalation procedures for errors
Syniti / US Based Consultant for SAP CUI instance


Load Phase and Dependencies

The Attachment for customer master data will be loaded in the pre-cutover period.

Before loading, it will have dependency on the DMS server migration completion.

Configuration

List the Configurations required before loading can commence

Item #Configuration Item
???




Conversion Objects

Object #Preceding Object Conversion Approach
9045Open Purchase Orders
1092Service Price Condition
2016Service Master Record
3026Business Partner (FLVN01)


list the exact title of the conversion object of only the immediate predecessor – this will then confirm the DDD (Data Dependency Diagram)

Error Handling

The table below depicts some possible system errors for this data object during data load. All data load error is to be logged as defect and managed within the Defect Management

Error TypeError DescriptionAction Taken
TechnicalThere is error message when using the upload programRaise ticket to the technical team







Post-Load Validation

Project Team

The following post-load validations will be performed by the Project Team.

Completeness

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.





Accuracy

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.





Business

Post-load validation is a critical step in data migration, ensuring that transferred data is accurate, complete, and functional within the target system.

1. Ensuring Data Integrity
After migration, data must be consistent with its original structure. Post-load validation checks for missing records, incorrect mappings, and formatting errors to prevent discrepancies.
2. Business Continuity
Faulty data can disrupt operations, leading to financial losses and inefficiencies. Validating post-load data ensures that applications function as expected, preventing downtime.
3. Error Detection and Resolution
By validating data post-migration, businesses can detect anomalies early, reducing the cost and effort required for corrections


Completeness

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.





Accuracy

TaskAction
titlespecific details of what and how the task needs to be performed e.g. which reports are being used etc.





Key Assumptions

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

Any additional key assumptions.


See also

Insert links and references to other documents which are relevant when trying to understand this decision and its implications. Other decisions are often impacted, so it's good to list them here with links. Attachments are also possible but dangerous as they are static documents and not updated by their authors.

Change log

Workflow history