Replicating Master Data for Internal Order and Project Entities
This topic provides job and global variable information required to replicate master data for the Internal Order and Project entities.
Extract Internal Order and Project Data from Flat Files
Perform the following steps to extract data using the Universal Connector connection:
Note: The internal order entity is only available for Flat File/Universal Connector.
- In the Local Object Library > Projects tab, open the required job depending on the entity:
Entity Project Job Internal Order
MDR_Internal_OrderMDR_Internal_Order_UC_EXTRACTProject
MDR_ProjectMDR_JOB_Project _UFF_EXTRACT - Update the values of the following variables in the job using the Tools > Variables option:
-
$G_ERP: Indicates the ERP name, such as UC. -
$G_SOURCE_SYSTEM: Indicates the source system name. -
$G_UID: Indicates that the job is automatically triggered from the Management Console. -
$G_COMMIT_SIZE: Indicates the commit size. The default value is 100000. -
$G_UC_FOLDER_LOCATION: Indicates the folder path from which the utility should retrieve files. If left blank, the utility will default to the folder path defined in the SourceConnect Management Console Connection tab during the UC data source configuration. -
$G_UC_File_Wildcard: Indicates the file name pattern (wildcard) that the utility should use to identify relevant files. The default value is .CSV. Some examples include UC_.CSV, EBS_*.CSV. -
$G_UC_Skipped_Rows: Indicates the number of initial data rows to skip during file extraction. The default value is 0. Only positive integers are allowed.Note: Do not include empty lines in this count. Only count rows that contain data and need to be skipped. For example, if rows 1–3 contain data and rows 4–5 are empty, enter 3 as the value. The empty rows will be skipped automatically.
-
- Run the job. This job extracts data from the source csv file and loads it into staging tables, performing both column-wise and data-wise validation checks during execution. A message indicating the job status displays.
Extract Project Data from Source Systems
Perform the following steps to extract data from data sources:
- In the Local Object Library > Projects tab, open the
MDR_JOB_Project _<DataSourceName>_EXTRACTjob depending on the data source. For example, for Oracle PeopleSoft, open theMDR_JOB_PROJECT_PSFT_EXTRACTjob underMDR_Project. - Update the values of the following variables in the job using the Tools > Variables option:
Note: The variable names may differ in SAP Data Services Designer depending on the source system.
-
$FILE_PATH: Indicates the location of the csv folder that is available in the SchClient folder. -
$<DataSourceName>$_PROJECT_OT: Indicates whether the data that must be extracted is one-time data or contains only the modified records. Set to 1 for loading only one-time load and 0 for loading only changed records. -
$G_CLIENT: Indicates the client number. -
$LANGUAGE: Indicates the language code that must be used for the project description. -
$G_COMP_CD: Indicates the SAP company code to which the Microsoft Dynamics NAV company code is mapped. This is required only for Dynamics NAV.
-
- Run the job. A message indicating the job status displays.
Load Internal Order and Project Data into SAP S/4HANA
Perform the following steps to load the extracted data into the staging database using the ETL job:
- In the Local Object Library > Projects tab, open the required job depending on the entity:
Entity Project Job Internal Order
MDR_ Internal_OrderMDR_Internal_Order_GOLD_LOADProject
MDR_ProjectMDR_JOB_Project _<DataSourceName>_GOLD_LOAD - Update the values of the following variables in the job using the Tools > Variables option depending on the entity:
-
Internal Order
-
$G_SOURCE_SYSTEM: Indicates the source system name, UC. -
$DEFAULT_LANGUAGE: Indicates the language code that must be used if no language code is defined in the source system. -
$FILE_PATH: Indicates the location of the csv folder that is available in the SchClient folder. -
$G_ERROR_FILE_PATH: Indicates the location of the error logs.
-
-
Project
-
$G_SOURCE_SYSTEM: Indicates the source system name. -
$G_CLIENT: Indicates the client number in SAP S/4HANA. -
$FILE_PATH: Indicates the location of the csv folder that is available in the SchClient folder. -
$PROJECT_PROFILE: Indicates the SAP project profile that is used for creating the project in SAP S/4HANA. -
$G_DB_TYPE: Indicates the database type. -
$G_DB_VERSION: Indicates the database version. -
$BUS_AREA: Indicates the business area of the project. -
$TIME_UNIT: Indicates the time unit. -
$TIME_UNIT_ISO: Indicates the time unit. -
$CO_AREA: Indicates the controlling area. -
$PROFIT_CTR: Indicates the profit center. -
$NETWORK_ASSIGNMENT: Indicates the network assignment of the project. -
$APPLICANT_NO: Indicates the applicant number of the project. -
$G_JOB_NAME: Indicates the job name. -
$G_ERROR: Indicates the error. -
$G_ERROR_LOG_FILE: Indicates the error log file. -
$CONTROL_KEY: Indicates the control key value that is used for creating the activities in the project in SAP S/4HANA. For example, PS01 indicates network-external processing. -
$NETWORK_TYPE: Indicates the network type that is used for creating the network in the project in SAP S/4HANA. For example, PSO2 indicates network with activity assignment. -
$NETWORK_PROFILE: Indicates the network profile that is used for creating the network in the project in SAP S/4HANA. - $G_MAIL: Indicates the email ID where you want the job status to be sent.
-
-
Internal Order
- Run the job. A message indicating the job status displays. The extracted data is imported into SAP S/4HANA.
Upload Data Mappings into SAP S/4HANA for Project Entity
After your data is extracted and loaded, a mappings file is created that defines the relationship between your source system data and SAP S/4HANA data. You can then upload these data mappings using ETL jobs.
To upload data mappings:
- Open SAP Data Services Designer as an administrator and sign in to your repository.
- In Local Object Library > Projects tab, open the
MDR_JOB_Project_MAPPING_LOADjob. - Update these variables using Tools > Variables:
-
$MDG_SOURCE_SYSTEM: Indicates the logical system name. -
$SOURCE_SYSTEM: Indicates the source system for the mappings upload. -
$FILE_PATH: Indicates the location of the csv folder in the SchClient folder.
-
- Run the job. A message indicating the job status displays.