| Status | |
|---|---|
| Owner | |
| Stakeholders | The business stakeholders involved in making, reviewing, and endorsing this decision. Type @ to mention people by name |
The purpose of this document is to define the conversion approach to create Batch Classes (Class Type: 023) in S/4 HANA.
Currently, in the legacy systems, batch classes are created and assigned to materials to capture logistics and quality-related information through characteristic values. However, there may be multiple duplicate classes existing within the system, which need to be standardized across both legacy systems as part of the SyWay Design.
Batch Class 023 in SAP is designed to store and manage characteristics relevant to batches, supporting both logistics and quality requirements for effective batch management and traceability.
The scope of this document covers the approach for converting active and valid Batch Classes from Legacy Source Systems (PF2 & WP2) into S/4HANA following the Batch Class (Class Type: 023) Master Data Design Standard.
Standardizing these Batch Classes ensures a consistent structure for batch data across materials and processes.
The data from legacy system includes:
The data from legacy system excludes:
| Source | Scope | Source Approx No. of Records | Target System | Target Approx No. of Records |
|---|---|---|---|---|
| PF2 | Only Valid Batch Class and with Characteristics Assignment | 1816 | SyWay - ERX | TBD |
| WP2 | Only Valid Batch Class and with Characteristics Assignment | 34 | SyWay - ERX | TBD |
Not Applicable
Not Applicable
Not Applicable
Not Applicable
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.
| Table | Field | Data Element | Field Description | Data Type | Length | Requirement |
|---|---|---|---|---|---|---|
KLAH | KLART | KLASSENART | Class Type | CHAR | 3 | Mandatory |
KLAH | CLASS | KLASSE_D | Class Number | CHAR | 18 | Mandatory |
KLAH | VONDT | VONDAT | Valid From | DATS | 8 | System Default |
KLAH | BISDT | BISDAT | Valid To | DATS | 8 | System Default |
SWOR | KSCHL | KSCHL | Description | CHAR | 40 | Mandatory |
KLAH | STATU | KLSTATUS | Class status | CHAR | 1 | Mandatory |
KLAH | KLAGR | KLASSENGR | Class Group | CHAR | 10 | Conditional |
KLAH | PRAUS | GLKLAFZ | Same Classification/ Do Not Check | CHAR | 1 | Mandatory |
KSML | IMERK | ATINN | Internal characteristic | NUMC | 10 | Mandatory |
Characteristics Assignments
| Table | Field | Data Element | Field Description | Data Type | Length | Requirement |
|---|---|---|---|---|---|---|
KLAH | CLASS | KLASSE_D | Class Number | CHAR | 18 | Mandatory |
KSML | IMERK | ATINN | Internal characteristic | NUMC | 10 | Mandatory |
| Table | Field | Data Element | Field Description | Data Type | Length | Requirement |
|---|---|---|---|---|---|---|
| KLAH | CLASS | KLASSE_D | Class number | CHAR | 18 | Mandatory |
| KLAH | KLART | KLASSENART | Class Type | CHAR | 3 | Mandatory |
| SWOR | SPRAS | SPRAS | Language Key | LANG | 1 | Mandatory |
| SWOR | KSCHL | KSCHL | Keyword | CHAR | 40 | Mandatory |
Class must have 1 Description for each language, which also serves as the primary keyword. The required languages are English, French, Italian, Mandarin, Brazilian Portuguese, German and Spanish.
Data cannot be cleansed in Legacy Systems as there is already Classes assigned to materials and transaction data also exists and considering this, all class need to be standardized Globally and will be populated in Data Collection Template(DCT).
The high-level process is represented by the diagram below:
Please note that the data may have to be loaded in multiple target systems (US instance, China instance and RoW).
Data Privacy and Sensitivity
1 | Extract data from source system based on relevancy rule | SyWay Data Team |
2 | Google Sheet report pre-populated with PF2 and WP2 information to be generated based on relevancy criteria. | SyWay Data Team |
| Selection Ref Screen | Parameter Name | Selection Type | Requirement | Value to be entered/set |
|---|---|---|---|---|
| NA | ||||
| Field Name | Field Description | Rule |
|---|---|---|
KLART | Class Type | Mandatory Fixed Value - 023 |
CLASS | Class Number | Mandatory Characteristics Name - Need to follow the naming Convention which will distinguish across different functions (Eg; Vendor Classification or EAM Characteristics) |
KSCHL | Description |
|
STATU | Class status | Mandatory Fixed Value as 1 - Released |
KLAGR | Class Group | Conditional Need to select the appropriate characteristics group for the batch characteristics. As these are configurable values, these are TBD until Functional defines it. |
VONDT | Valid-From Date | Mandatory System Default as Current Date When the load file is generated, Current Date should be captured. |
BISDT | Valid-to date | Mandatory System Default as 31.12,2999 |
PRAUS | Same Classification/ Do Not Check | Optional 3 Values exists
|
Characteristic Assignment DCT Rules
CLASS | Class number | Mandatory. Class Number as per Class DCT. |
IMERK | Internal characteristic | Mandatory. Characteristic Name as per Characteristic DCT. Relevant Characteristics need to selected by Business. |
Class Descriptions Keyword Data Construction Rules
| CLASS | Class number | Mandatory. Class Number as per Class DCT. |
| KLART | Class Type | Mandatory. Should be from the values defined below 023-Batch Class |
| SPRAS | Language Key | EN - English FR - French IT - Italian ZH - Mandarin PT - Portuguese DE - German ES - Spanish XX - Brazilian Portuguese |
| KSCHL | Keyword | Mandatory. Keywords should be on the Title Case. |
List the steps that need to occur before extraction can commence
| Item # | Step Description | Team Responsible |
|---|---|---|
| 1 | Extract data from source systems PF2 and WP2 | Syniti |
| 2 | Populate in a report in a Downloadable format | Syniti |
| 3 | Data is populated in the DCT or uploaded from downloaded Excel template | Business/Data Owners |
| 4 | If the data is uploaded to DCT in bulk via excel template, any upload errors need to be reviewed and corrected | Business/Data Owners |
| 5 | The data which has passed validation checks in DCT will be used for transformation/further processing | Business/Data Owners |
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:
| Item # | Step Description | Team Responsible |
|---|---|---|
1 | Obtain DCT Sign-off from Business. | SCM Data Team |
2 | In dspMigrate, select the wave – S4/HANA – P2F-SCM | Syniti |
3 | Go to Process Area Launch and Process the Object – Batch Class | Syniti |
4 | Review and Validate Error and Preload Reports | Syniti |
5 | Execute the transformation to prepare the target tables | Syniti |
6 | Validate data from pre-load and error reports | Business/Data owner |
7 | Generate load files | Syniti |
Transformation Rules
| Rule # | Source system | Source Table | Source Field | Source Description | Target System | Target Table | Target Field | Target Description | Transformation Logic |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PF2&WP2 | KLAH | KLART | Class Type | SyWay - ERX | KLAH | KLART | Class Type | Direct Mapping |
| 2 | PF2&WP2 | KLAH | CLASS | Class Number | SyWay - ERX | KLAH | CLASS | Class Number | Direct Mapping |
| 3 | PF2&WP2 | SWOR | KSCHL | Description | SyWay - ERX | SWOR | KSCHL | Description | Direct Mapping |
| 4 | PF2&WP2 | KLAH | STATU | Class status | SyWay - ERX | KLAH | STATU | Class status | Direct Mapping |
| 5 | PF2&WP2 | KLAH | KLAGR | Class Group | SyWay - ERX | KLAH | KLAGR | Class Group | Direct Mapping |
| 6 | PF2&WP2 | KLAH | VONDT | Valid-From Date | SyWay - ERX | KLAH | VONDT | Valid-From Date | Direct Mapping |
| 7 | PF2&WP2 | KLAH | BISDT | Valid-to date | SyWay - ERX | KLAH | BISDT | Valid-to date | Direct Mapping |
| 8 | PF2&WP2 | KLAH | PRAUS | Same Classification/ Do Not Check | SyWay - ERX | KLAH | PRAUS | Same Classification/ Do Not Check | Direct Mapping |
| 12 | PF2&WP2 | KSML | IMERK | Internal characteristic | SyWay - ERX | KSML | IMERK | Internal characteristic | Direct Mapping |
| Mapping Table Name | Mapping Table Description |
|---|---|
| KSML | Characteristics of a Class |
| KLAH | Class Header Data |
| SWOR | Classification System: Keywords |
| Item # | Step Description | Team Responsible |
|---|---|---|
1 | Ensure DCT tables completeness | Syniti |
2 | Ensure all Transformation mappings are up to date. | Syniti |
| Task | Action |
|---|---|
| Verify DCT & Load File Count | SCM Data Team to verify that the total number of relevant records from the DCT is equal to the total number of records in the Preload and Load Sheets. |
Verify Consent | Verify the appropriate consents for the records have been obtained by the business/Data Owners and properly recorded |
| Task | Action |
|---|---|
Conversion Accuracy | SCM Data team to verify that all the data in the load table/file is accurate as per signed-off DCT contents and transformation rules with below checks:
|
| Review Error Reports | Review and correct the errors. Achieve a zero-error record count as much as possible. Raise defects for data remediated and requiring a correction in the source data. |
| Task | Action |
|---|---|
| Verify Record Count | Business Data Owner/s to verify that the total number of relevant records from the the DCT is equal to the total number of records in the Preload and Load Sheets. |
Verify Consent | Verify that the appropriate consents for the records have been obtained by the business and properly recorded |
| Task | Action |
|---|---|
Conversion Accuracy | Business Data Owner/s to verify that all the data in the load table/file is accurate as per endorsed transformation/mapping rules (and signed-off DCT data). |
The load process includes:
| Item # | Step Description | Team Responsible |
|---|---|---|
1 | Ensure Pre-load sign-offs are obtained. | SCM Data team |
2 | Go to the load tool and select the correct load Program. | SCM Data team |
3 | Proceed with Data load. | SCM Data team |
4 | Validate few records loaded by accessing standard transactions. | SCM Data team |
5 | Generate the post load reports in the tool. | SCM Data team |
6 | Log errors as defects, if any and address resolutions. Close defects. | SCM Data team |
7 | Resolve defects by re-upload and re-generate post load reports if necessary. | SCM Data team |
8 | Business to validate the post load files as part of post-load validation, raise data defects or provide the post-load sign-off. | Business |
9 | Repeat steps 5 to 7 if necessary. | SCM Data team |
Load Phase and Dependencies
Identify the phase as to “when” the load for this object will occur. <Pre-Cutover, Cutover, Post Cutover> and list the steps that need to occur before the load can commence
List the Configurations required before loading can commence
| Item # | Configuration Item |
|---|---|
| 1. | KLAGR - Class Group. Table/View: V_CLG (Class Groups) SAP Customizing Implementation Guide -> Cross-Application Components -> Classification System -> Classes -> Define Class Groups |
| Object # | Preceding Object Conversion Approach |
|---|---|
| NA | NA |
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 Type | Error Description | Action Taken |
|---|---|---|
| Configuration | <configuration> is not valid/missing | If it is a missing configuration item, then engage Functional team to expedite and fix the error in the system. |
Invalid Data | <parameter> is not valid. | The parameter entry needs to be reviewed If it is an invalid data, business needs to review and correct the source of the data either in PE1 or if it’s mapped in DCT. |
Technical Setup | Interface / Connection issue within target system’s landscape | N/A – the data will be loaded directly to S/4HANA environment |
| Task | Action |
|---|---|
| Verify the count | Verify that the record count in the post-load file is the same as the record count based on the relevancy (including any deduplication) results |
| Task | Action |
|---|---|
Data Accuracy | SCM Data team to verify that all the data in the post load table/file is accurate as per signed-off transformation rules and DCT contents |
Error Reports | Verify that all necessary error reports have been validated, and that errors have been addressed. |
Data Consistency | Verify that the data loaded is correctly reflected in T-Code: CL01or Table: KSML/KLAH. |
| Task | Action |
|---|---|
Verify Count | Verify that the record count in the post load file is the same as the record count based on the relevancy (including deduplication) results |
Validate Loaded Data | Validate, as per the load files signed-off, that all records were created |
| Task | Action |
|---|---|
Data Accuracy | Verify that all the data in the S/4HANA table is accurate as per signed-off DCT contents and transformation rules For mock loads, the post load data validation will be as per scrambled data, thus data accuracy is not to be checked against DCT which holds the actual data. Post-load data to be validated against the pre-load report (scrambled data). |
Verify Relationships | Verify that each Vendor have been assigned to the appropriate Business Partner correctly |
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.