Before you can run a job in the APM Connect Administration Center, you must specify a set of connection parameters and corresponding values to establish a connection between APM Connect components, GE Digital APM, and your EAM system. Each of these connections is used when executing a job, and they are required. The connections are established via context files. This topic describes how to access and configure parameters in these context files.
Tip: The SAP Adapters support connections between multiple SAP systems and multiple GE Digital APM databases by using one context file for each SAP system or GE Digital APM system.
Steps
On the APM Connect server, access your context file. If you installed in the default location, navigate to the folder C:/APMConnect/Config.
IMPORTANT: Changes made to the context file will override changes made in the APM Connect Administration Center Context parameters section.
Configure the Context File for the Unified Adapters, SAP On Premises or APM Now![]()
Enter the appropriate values for each parameter into the context file according to the following table.
Interface Mode Selection Description Default or Recommend Value SAP_CLOUD_ENABLED Determines whether the Adapter will be used in a cloud environment. true: adapters will be run in the cloud.
false: adapters will be run on premises.
LOAD_MERIDIUM_APM Determines if data will be loaded into the Meridium database. true: data will be loaded into the Meridium database.
false: data will not be loaded into the Meridium database.
LOAD_DIGITAL_APM
Determines if data will be loaded into the Predix database. true: data will be loaded into the Predix database.
false: data will not be loaded into the Predix database.
Intermediate Repository (IR) Connection Parameters Description Default or Recommend Value IR_HOST The IP address of the IR. Enter the host name of the PostgresSQL server. If you installed APM Connect using the default settings, then the value is localhost. IR_PORT The port number of the IR. Enter your PostgreSQL port. The default value is 5432. IR_DATABASE The database in which the IR data is stored.
Enter a name for the IR database. This value will be used to create the IR database.
IR_SCHEMA The schema in which the IR database will be created.
The default value is public.
IR_USERID The IR user name.
Enter the user name for the PostgresSQL database. The default user name is postgres.
IR_PASSWORD The IR system password.
Enter the password for the PostgresSQL database that was created during installation.
PG_ADMIN_USER The IR user name that is used to create the database.
Enter the user name for the PostgreSQL database. The default user name is postgres.
PG_ADMIN_PASSWORD The IR system password that is used to create the database.
Enter the password for the PostgresSQL database that was created during installation.
SAP Connection Parameters Description Default or Recommend Value SAP_CLIENT SAP client from where data is imported. Enter your unique value. SAP_HOST The IP address of the SAP Application Server. Enter your unique value. SAP_LANGUAGE The letter code that represents the language of the description to transfer into GE Digital APM. Enter your unique value. SAP_SYSTEM_NUMBER The service port of the SAP Application Server. Enter your unique value. SAP_USERID The SAP system user ID. Enter your unique value. SAP_PASSWORD The SAP system password. Enter your unique value. SAP_FILE_ENCODING Determines the encoding of the source data. The default value is UTF8.
All character encodings supported by the Java Virtual Machine (JVM) are correct.
EXTRACT_NUM_PARALLEL_JOB Determines the maximum number of SAP background jobs allowed during execution. 10 is the recommended value. File System Parameters Description Default or Recommend Value PLSAP_INPUT The path of the directory you created that SAP uses to place data files that APM Connect uses . Enter your unique value. PLSAP_OUTPUT The path of the directory that APM Connect looks for files SAP creates. This directory should be shared with the SAP server. Enter your unique value. IR_TALEND_OUTPUT The temporary workspace used when moving files from SAP into APM Connect. Enter your unique directory path. LOG_BASE_DIR
The directory path to the log file.
C:\APMConnect\Logs
SFTP_STAGING_DIR
The temporary storage location for files that are waiting to be loaded.
Enter your unique value (e.g., C:\APMConnect\Staging). UNC_FILE_PATH The path of the directory of the data loader file share. Enter your unique value. APM Connect Parameter Description Default or Recommend Value APM_CONNECT_HOST The host name of the machine where APM Connect Administration Center is installed. Enter your unique value. APM_CONNECT_PORT The port name of the machine where APM Connect Administration Center is installed. Enter your unique value. Note: The APM Connection Parameters are not required for cloud deployments.
APM Connection Parameters Description Default or Recommend Value APM_API_APP_SERVER The GE Digital APM API application server name. Enter the name of your GE Digital APM API Server. APM_APP_SERVER The GE Digital APM application server name. Enter the name of your GE Digital APM Server. APM_DATASOURCE The GE Digital APM data source to which the data will be exported. Enter the name of your GE Digital APM data source. APM_USERID
The GE Digital APM Framework User ID. Enter your unique value. APM_PASSWORD The GE Digital APM Framework password. Enter your unique value. Miscellaneous Parameters Description Default or Recommended Value MANUAL_RUN Determines how the dates parameters will be treated. True: The dates specified in the context files will be used. Additionally, the dates of the last successful run stored in the database will not be updated.
False: The date range used during the extraction will be the date of the last successful record as stored in the database. Each time a job is run successfully, the database is updated with those dates and all the subsequent runs will use the dates from the last successful record.
Filter Parameters
Description
Recommended or Default Value
MAINT_PLANT
The ID(s) of the Maintenance Plant whose data you want to extract.
Plant values cannot exceed four characters.
LANGUAGE
The SAP code that represents the language.
The value must be a single character.
CREATE_DATE_START
The date value that limits the data extracted to records created on or after the specified date.
Dates must be entered in the following format: YYYYMMDD.
CREATE_DATE_END
The date value that limits the data extracted to records created on or before the specified date.
Dates must be entered in the following format: YYYYMMDD.
CHANGE_DATE_START
The date value that limits the data extracted to records changed on or after the specified date.
Dates must be entered in the following format: YYYYMMDD.
CHANGE_DATE_END
The date value that limits the data extracted to records changed on or before the specified date.
Dates must be entered in the following format: YYYYMMDD.
CREATE_TIME_START
The time value that limits the data extracted to records created on or after the specified time.
Time must be in the following format: HHMMSS.
CREATE_TIME_END
The time value that limits the data extracted to records created on or before the specified time.
Time must be in the following format: HHMMSS.
CHANGE_TIME_START
The time value that limits the data extracted to records changed on or after the specified time.
Time must be in the following format: HHMMSS.
CHANGE_TIME_END
The time value that limits the data extracted to records changed on or before the specified time.
Time must be in the following format: HHMMSS.
Equipment Filter Criteria
Description
Recommended or Default Value
EQUIPMENT_NO
The equipment that you want to extract.
The Equipment number should not exceed 18 characters. You cannot exceed 500 Equipment numbers.
EQUIPMENT_CATEGORY
The ID of the Equipment Category that will limit the Equipment extracted.
Must be a single character.
EQUIPMENT_TYPE
The ID of the Equipment Type that will limit the Equipment extracted.
The Equipment Type should not exceed 10 characters.
EQUIPMENT_CLASS
The ID of the Equipment Classification that will limit the Equipment extracted.
The Equipment Classification should not exceed 18 characters.
If an Equipment has multiple Classifications, as long as you specify one of those Classifications, the Equipment record will be extracted.
Functional Location Filter Criteria
Description
Recommended or Default Value
FLOC_NO
The ID of the Functional Location that will limit the Functional Locations extracted.
The Functional Location ID should not exceed 40 characters. You cannot exceed 500 Functional Location numbers.
FLOC_TYPE
The ID of the Functional Location Type that will limit the Functional Locations extracted.
Functional Location Type ID should not exceed 10 characters.
FLOC_CLASS
The ID of the Functional Location Classification that will limit the Functional Locations extracted.
Functional Location Classification ID should not exceed 18 characters.
FLOC_CATEGORY
The ID of the Functional Location Category that will limit the Functional Locations extracted.
Must be a single character.
Work History Filter Criteria
Description
Recommended or Default Value
NOTIFICATION_NO
The number that identifies the Notification record.
Notification number should not exceed 12 characters.
WORK_ORDER_NO
The number that identifies the Work Order record.
Work Order number should not exceed 12 characters.
NOTIFICATION_TYPE
The Notification Type that limits the orders that you want to extract.
Notification Type should not exceed two characters.
WORK_ORDER_TYPE
The ID of the Work Order Type that limits the orders that you want to extract.
Work Order Type should not exceed four characters.
WORK_ORDER_SYSTEM_STATUS
The Work Order Systems Status that limits the Work Orders you want to extract.
Work Order System Status should not exceed four characters.
WORK_ORDER_USER_STATUS
The Work Order User Status that limits the Work Orders that you want to extract.
Work Order User Status should not exceed four characters.
NOTIFICATION_SYSTEM_STATUS
The Notification System Status that limits the notifications that you want to extract.
Notification System Status should not exceed four characters.
NOTIFICATION_USER_STATUS
Notification User Status that limits the notifications that you want to extract.
User Status should not exceed four characters.
Note: The Queue parameters only apply to cloud deployments.
Queue
Description
Recommended or Default Value
QUEUE_HOST
The queue host name.
Enter your unique value, which was provided at installation.
QUEUE_HOST_1
An additional queue host name.
Enter your unique value, which was provided at installation.
QUEUE_HOST_2
An additional queue host name.
Enter your unique value, which was provided at installation.
QUEUE_PORT
The queue port.
Enter your unique value, which was provided at installation.
QUEUE_PORT_1
An additional queue port.
Enter your unique value, which was provided at installation.
QUEUE_PORT_2
An additional queue port.
Enter your unique value, which was provided at installation.
QUEUE_USER
The queue user name.
Enter your unique value, which was provided at installation.
QUEUE_PASSWORD
The queue password.
Enter your unique value, which was provided at installation.
CUSTOMER_NAME
The coded customer name.
Enter your unique value, which was provided at installation.
FTP Parameters
Description
Default or Recommend Value
Using an FTP Connection is only supported for the SAP and SAP PI Adapters, and configuration is only required if you are using FTP to transfer information between your systems.
IMPORTANT: If you are using an SAP System with the SAPFTP_SERVERS table, you must configure that table to activate FTP servers according to the SAP Help System. You can refer to SAP OSS 1605054 for more details. Typically, this will apply to any SAP version later than ECC6 EHP5.
PLSAP_FTP_HOST
The FTP server host name.
Enter your unique value.
PLSAP_FTP_USERID
The FTP server user name.
Enter your unique value.
PLSAP_FTP_PASSWORD
The FTP server password.
Enter your unique value.
PLSAP_FTP_PORT
The FTP server port.
If the default configuration was followed, enter one of the following:
- 21: for FTP connection.
- 22: for SFTP connection.
PLSAP_FTP_MODE
The mode by which files are copied.
Enter one of the following values:
- SERVER: to use file shares.
- FTP: to use standard FTP.
- SFTP: to use standard Secure FTP.
PLSAP_FTP_SCAN_DIR
The remote FTP directory used to scan for files.
Enter your unique value.
PLSAP_FTP_NUM_OF_RETRY
The number of times to scan the FTP server for files.
10
PLSAP_FTP_SLEEP_TIME
The time in seconds between scans.
10
PLSAP_SFTP_SCP_COMMAND The command name created when establishing the SFTP transfer in SAP. Enter your unique value.
Note: The SFTP parameters only apply to cloud deployments.
SFTP Parameter
Description
Recommended or Default Value
SFTP_HOST
The SFTP server host name.
Enter your unique value, which was provided at installation.
SFTP_USERID
The SFTP server user name.
Enter your unique value, which was provided at installation.
SFTP_PASSWORD
The SFTP server password.
Enter your unique value, which was provided at installation.
SFTP_PORT
The SFTP server port.
Enter your unique value, which was provided at installation.
SFTP_LANDING_DIR
The directory path where the shared files are stored.
Enter your unique value, which was provided at installation.
USE_SSH_KEY Determines if SSH security configuration will be used by the adapters. True : SSH configuration will be used.
False: SSH configuration will not be used.
SSH_PRIVATE_KEY The directory where the SSH key is stored. Enter your unique value. The SSH key must be generated by the user in the openSSH format. This key can be stored in any directory on the APM Connect server, but it is recommended to store it in the following folder: C:/APMConnect/Config
Note: The Email Notification parameters only apply to cloud deployments.
Email Notification Parameters Description Recommenced or Default Value CMMS_ID
The CMMS ID is used as the identifier for your SAP System, and is <SAP System ID>-<SAP Client ID>.
For example, if your SAP System ID is D03 and your SAP Client ID is 001, then your CMMS ID would be DO3-001.
Enter your unique value.
REPORT_TARGET_DIR The directory path where the report file will be delivered. Enter your unique value. FAILURE_DETAIL_REPORT_ENABLED Indicates whether or not the failure detail report will be sent when a record fails to load. True: The Failure Detail report will be sent detailing the records that failed to load and the reason why.
False: The Failure Detail report will not be sent.
FAILURE_DETAIL_REPORT_JRXML_FILE_PATH The directory path where the failure report file will be delivered. Enter your unique value. LOAD_SUMMARY_REPORT_ENABLED Indicates whether or not to load the complete report with every extraction. True: The Load Complete report will be sent detailing the number of records that were extracted and successfully loaded into GE Digital APM.
False: The Load Complete report will not be sent.
LOAD_SUMMARY_REPORT_JRXML_FILE_PATH The directory path where the load complete report file will be delivered. Enter your unique value. EMAIL_TO The email address(es) to which the notification email will be sent. Enter your unique value. EMAIL_FROM The email address from which the notification email will be sent. Enter your unique value. SMTP_HOST The host for SMTP installation the APM Connect server. Enter your unique value. SMTP_PORT The port for SMTP. Default value is 25. Guardrail Parameters Description Recommenced or Default Value EQUIPMENT_THRESHOLD The maximum number of records that should be transferred from SAP to GE Digital APM in a single run of the Equipment Adapter. The default value is 100000. FLOC_THRESHOLD The maximum number of records that should be transferred from SAP to GE Digital APM in a single run of the Function Location Adapter. The default value is 100000. WORKHISTORY_THRESHOLD The maximum number of records that should be transferred from SAP to GE Digital APM in a single run of the Work History Adapter. The default value is 50000. OVERRIDE_GUARDRAILS Indicates whether or not the job should continue if the number of records exceeds the defined thresholds. The default value is Y, which means that the job will run regardless of the number of records included. A warning notification will also be sent to the email address specified in the EMAIL_TO parameters within the Email Notification Parameters section of this file. If you set this parameter to N, the job will be terminated if the number of records exceeds the defined threshold, and an error notification will also be sent.
-or-
Configure the Context File for the SAP PI Adapters On Premises![]()
If you are deploying the SAP PI Adapters, the SAP Adapters for Process integration, enter the appropriate values for each parameter into the context file according to the following table.
SAP PI Parameter Description Default or Recommend Value Intermediate Repository connection parameters Description Default or Recommended Value IR_HOST
The IP address of the IR.
Enter the host name of the PostgresSQL server. If you installed APM Connect using the default settings, then the value is localhost.
IR_PORT
The port number of the IR.
5432 (PostgreSQL default)
IR_DATABASE
The database in which the IR data is stored.
APMconnectIR_<Release Number>
IR_CREATE_DATABASE
The database in which the IR data is stored.
APMconnectIR_<Release Number>
IR_SCHEMA The schema in which the IR database will be created.
The default value is public.
IR_USERID The IR user name.
Enter the user name for the PostgresSQL database. The default user name is postgres.
IR_PASSWORD The IR system password.
Enter the password for the PostgresSQL database that was created during installation.
APM connection parameters
Description
Default or Recommended Value
APM_APP_SERVER The name of the GE Digital APM server to which data will be loaded. Enter your unique value.
APM_DATASOURCE The GE Digital APM data source to which data will be loaded. Enter your unique value.
APM_USERID The GE Digital APM user name of the user loading data with the adapters. Enter your unique value.
APM_PASSWORD The GE Digital APM password of the user loading data with the adapters. Enter your unique value.
SITE_REFERENCE_EQUIP Used to map the site reference value to an SAP field. This dictates which SAP field will be used as the site reference for GE Digital APM Equipment records.
You can enter a value defined in GE Digital APM.
Note: The value that is entered will be applied to all records.
-or-
You can use the character # at the beginning and end of a GE Digital APM Field Name to indicate the field that is used to set the site reference.
For example, if you wanted to use your SAP maintenance plant field as your GE Digital APM site reference, you would enter the following: <SITE_REFERENCE_EQUIP>#MI_EQUIP000_MAINT_PLANT_C#</SITE_REFERENCE_EQUIP>
Tip: For more information, see About Site Filtering Configuration in the Context File.
SITE_REFERENCE_FLOC Used to map the site reference value to an SAP field. This dictates which SAP field will be used as the site reference for GE Digital APM Functional Location records. You can enter a value defined in GE Digital APM.
Note: The value that is entered will be applied to all records.
-or-
You can use the character # at the beginning and end of a GE Digital APM Field Name to indicate the field that is used to set the site reference.
For example, if you wanted to use your SAP maintenance plant field as your GE Digital APM site reference, you would enter the following: <SITE_REFERENCE_FLOC>#MI_FNCLOC00_MAINT_PLANT_C#</SITE_REFERENCE_FLOC>
Tip: For more information, see About Site Filtering Configuration in the Context File.
Filter Parameters Description Default or Recommended Value CREATE_DATE_START
The date value that limits the data extracted to records created on or after the specified date.
Dates must be entered in the following format: YYYYMMDD.
CREATE_DATE_END
The date value that limits the data extracted to records created on or before the specified date.
Dates must be entered in the following format: YYYYMMDD. This parameter is optional.
CHANGE_DATE_START
The date value that limits the data extracted to records changed on or after the specified date.
Dates must be entered in the following format: YYYYMMDD. This parameter is optional.
CHANGE_DATE_END
The date value that limits the data extracted to records changed on or before the specified date.
Dates must be entered in the following format: YYYYMMDD. This parameter is optional.
CREATE_TIME_START
The time value that limits the data extracted to records created on or after the specified time.
Time must be in the following format: HHMMSS. This parameter is optional.
CREATE_TIME_END
The time value that limits the data extracted to records created on or before the specified time.
Time must be in the following format: HHMMSS. This parameter is optional.
CHANGE_TIME_START
The time value that limits the data extracted to records changed on or after the specified time.
Time must be in the following format: HHMMSS. This parameter is optional.
CHANGE_TIME_END
The time value that limits the data extracted to records changed on or before the specified time.
Time must be in the following format: HHMMSS. This parameter is optional.
EQUIPMENT_NO
The equipment that you want to extract.
The Equipment number should not exceed 18 characters. You cannot exceed 500 Equipment numbers.
FLOC_NO
The ID of the Functional Location that will limit the Functional Locations extracted.
The Functional Location ID should not exceed 40 characters. You cannot exceed 500 Functional Location numbers.
NOTIFICATION_NO
The number that identifies the Notification record.
Notification Number should not exceed 12 characters.
WORK_ORDER_NO
The number that identifies the Work Order record.
Work Order Number should not exceed 12 characters.
MAINT_PLANT
The ID(s) of the Maintenance Plant whose data you want to extract.
Plant values cannot exceed four characters.
EQUIPMENT_CATEGORY
The ID of the Equipment Category that will limit the Equipment extracted.
Must be a single character.
EQUIPMENT_TYPE
The ID of the Equipment Type that will limit the Equipment extracted.
The Equipment Type should not exceed 10 characters.
EQUIPMENT_CLASS
The ID of the Equipment Classification that will limit the Equipment extracted.
The Equipment Classification should not exceed 18 characters.
If an Equipment has multiple Classifications, as long as you specify one of those Classifications, the Equipment record will be extracted.
LANGUAGE
The SAP code that represents the language.
Must be a single character.
NOTIFICATION_TYPE
The Notification type that limits the orders you want to extract.
Notification type should not exceed two characters.
WORK_ORDER_TYPE
The ID of the Work Order type that limits the orders you want to extract.
Work Order Type should not exceed four characters.
FLOC_CATEGORY
The ID of the Functional Location Category that will limit the Functional Locations extracted.
Must be a single character.
FLOC_TYPE
The ID of the Functional Location Type that will limit the Functional Locations extracted.
Functional Location Type should not exceed 10 characters.
FLOC_CLASS
The ID of the Functional Location Classification that will limit the Functional Locations extracted.
Functional Location Classification should not exceed 18 characters.
WORK_ORDER_SYSTEM_STATUS
The Work Order Systems Status that limits the work orders you want to extract.
Work Order System Status should not exceed four characters.
WORK_ORDER_USER_STATUS
The Work Order User Status that limits the work orders you want to extract.
Work Order User Status should not exceed four characters.
NOTIFICATION_SYSTEM_STATUS
The Notification System Status that limits the notifications you want to extract.
Notification System Status should not exceed four characters.
NOTIFICATION_USER_STATUS
The Notification User Status that limits the notifications you want to extract.
User Status should not exceed four characters.
MANUAL_RUN Determines how the dates parameters will be treated. True: The dates specified in the context files will be used. Additionally, the dates of the last successful run stored in the database will not be updated.
False: The date range used during the extraction will be the date of the last successful record as stored in the database. Each time a job is run successfully, the database is updated with those dates and all the subsequent runs will use the dates from the last successful record.
MAX_FILE_WAIT_SEC Defines how long the PI Adapters will wait for the extract to complete before the Job times out. Recommended value is 1000. EXTRACT_NUM_PARALLEL_JOBS The maximum number of parallel SAP jobs that APM Connect will open in a single extraction. Choose a value that corresponds to the number of background processors that you have available to APM Connect. IR_LOAD_NUM_PARALLEL_JOBS The maximum number of IR load jobs in a single extraction. The recommended value is 30. LOG_REQUEST Logs the APM Web service requests. True: enables logging.
False: disables logging.
Note: False is recommended.
LOG_RESPONSE Logs the APM Web service responses. True: enables logging.
False: disables logging.
Note: False is recommended.
COMPRESS_TYPE Determines if the files will be compressed and which method of compression is being used.
None: Files are not compressed.
Note: If you do not compress the files, large extractions will take a long time.
SAPCAR: Files are compressed by SAP.
ZIP: Files are compressed through a standard zip method.
COMPRESS_SAP_COMMAND_NAME The value of the command name created. ZSAPCAR: The command name for SAP compression.
ZSZIP: The command name for standard compression.
SAP PI Parameters SAP_SYSTEM_ID The system IDs of the SAP systems you would like to extract from. Enter your unique value. SAP_PI_HOST The SAP PI server host. Enter your unique value. SAP_PI_PORT The SAP PI server port. Enter your unique value. SAP_PI_RECEIVER_PARTY The receiver determined in the communication channel section in SAP. This is optional and unique to the user. SAP_PI_RECEIVER_SERVICE The receiver service determined in the communication channel section in SAP.
This is optional and unique to the user. SAP_PI_SENDER_PARTY The receiver sender determined in the communication channel section in SAP. This is optional and unique to the user. SAP_PI_SENDER_SERVICE The sender service determined in the communication channel in SAP. If not specified, the default value is Meridium_APMConnect. The value must match what is in the communication channel in SAP. SAP_PI_USERID The SAP User ID. Enter your unique value. SAP_PI_PASSWORD The SAP PI password. Enter your unique value. FILE_MOVE_USE_PI Determines if APM Connect should use the SAP-PI to extract and load data. True: The file movement will use the PI between SAP and APM Connect.
False: The file movement will not use PI and it will go directly.
IR_TALEND_OUTPUT The temporary workspace used when moving files from SAP into APM Connect. Enter your unique value. PLSAP_INPUT Base path of the directory you created that APM Connect searches for the generated files from SAP. Enter your unique value. PLASAP_OUTPUT Path of the directory where the data is stored on the SAP server prior to sending it to the APM Connect server. This Directory should be shared with either the SAP PI server or the APM Connect Server depending on the value of FILE_MOVE_USE_PI. Enter your unique value.
SAP_PI_AAE If you are using SAP 7.3 or above you many use the Advanced Adapter Engine (AAE). This parameter allows this functionality to be used during extraction. False: If you are not using AAE. This is the default.
True: If you are using AAE.
Miscellaneous Parameters Description Default or Recommended Value MAINTENANCE_PLAN The number that identifies the maintenance plan record. The maintenance plan number must not exceed 12 characters. WMI_USE_HARMONIZE Enables or disables the harmonization process in GE Digital APM. True: If you are enabling the harmonization process.
False: If you are disabling the harmonization process.
What's Next?
Copyright © 2017 General Electric Company. All rights reserved.