When a new code (like a site) is created into SAP and replacing another one, transcodification can be used to move in an automated way all the data from old code to new one into Dynasys.

2 steps :


1/ Master table transcodification

Topic : Transcodify a master data record into a master table of the hierarchy

Target : When a record is replaced by another one (like a SKU or a site for example), transcodifying the record avoid to copy/paste all manual data filled into Dynasys on the current SKU to the new one

How to do it : Either by editing the master table and modifying manually the record or by executing a SQL script into APP database

=> Applicative database architecture :


=> Example of site full transco :


=> Warnings / pre-requisite : 


=> Actions to perform :

  1. Data analysis :
    1. Are duplicates generated with the new records ? => if yes, then data to be analysed / excluded
    2. Are new attributes already existing or not ? according to the answer, attributes to be only updated or also created
  2. Transcodify the records
  3. Update the attributes
    1. Either manually
    2. Or using a manual CSV import mapping with dedicated data
    3. Or let interfaces update data (if the delay does not impact the users and if no lack of data into the interfaces)


=> As soon as the master data is transcodified, we don't have to create again the old master data (SKU) into the hierarchy :


=> Case of PO2 : 


2/ Dynamic DH transcodification

Issue :

Principle :

Procedure :

DP :

Datafields to be used :

Then exported into settings DH tables within static batch using following mappings :

Then used into GetUNC / Update DH batch, with the following script, example of MATERIAL MAIN table transco :

TableArray(9,11) = "update DYS_BW_MATERIAL set Main_Production_Plant_Code = b.target_site_code from DYS_BW_MATERIAL a inner join int_site_transco b on a.Main_Production_Plant_Code = b.site_code"


DIP :

Datafields to be used :

Then exported into settings DH tables within static batch using following mappings :

Then used into GetUNC / Update DH batch, with the following script, example of MATERIAL MAIN table transco :

TableArray(5,10) = "update DYS_BW_MATERIAL set Main_Production_Plant_Code = b.target_site_code from DYS_BW_MATERIAL a inner join int_site_transco b on a.Main_Production_Plant_Code = b.site_code where b.Material_Code is NULL and a.Material_Code not in (select material_code from int_site_transco where Material_Code is not NULL and a.Main_Production_Plant_Code = site_code)"