Deploy SAP
Upgrade SAP Adapters to SAP UDLP V2.5.0
The following tables outline the steps that you must complete to upgrade this module to SAPSAP UDLP V2.5.0.
Before you begin
About this task
The steps that you must complete may vary depending on the version from which you are upgrading. Follow the workflow provided in the appropriate section.
Procedure
- Upgrade from EAM SAP V1.5.0 through SAP UDLP V2.4.0
- Upgrade the APM Connect Base.
- Complete the steps to deploy the SAP adapters for the first time.
- Upgrade from APM Connect V1.0.0 through V1.3.0
- Upgrade the APM Connect Base.
- Complete the steps to deploy the SAP adapters for the first time.
Deploy the SAP Adapters for the First Time
The following table outlines the steps that you must complete to deploy and configure this module for the first time.
About this task
These instructions assume that you have completed the steps for deploying the basic GE Digital APM system architecture.
These tasks may be completed by multiple people in your organization. We recommend, however, that the tasks be completed in the order in which they are listed.
Configure the Context File Directory for Multiple SAP Systems
APM Connect allows you to extract data from multiple SAP Systems using the Master Job to extract from multiple systems. You must set up the appropriate directory structures.
About this task
Additionally, jobs are automatically configured to run a full extraction or load per context file for each job cycle, allowing different configurations per SAP System.
Procedure
Install SAP Java Connector
To facilitate data transfer, there must be a java connector between SAP and the APM Connect server. This topic describes how to establish the connection via the SAP Java Connector (SAP JCO).
About this task
Procedure
Results
Configure SSL
Adapters in APM Now require an SSL certificate to transfer files. As a part of implementation, GE Digital APM will supply you with an SSL certificate.
Procedure
Configure the Context File
This topic describes how to access and configure parameters in these context files.
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 running a job, and it is required. The connections are established via context files.
Procedure
Configure Context Parameters
Procedure
Configure the Context Parameters for APM Now
About this task
The extraction wrapper job is a container job for the following APM Now SAP Adapters extraction jobs:
- RUN_STATIC_DATA
- RUN_EQUIPMENT
- RUN_FLOC
- RUN_WORKHISTORY
In addition to the extractions jobs, the Extraction Wrapper contains additional context parameters are required to configure the jobs to run.
Procedure
Results
Configure Site Reference Values
To assign site references to records using values other than those in the baseline configuration, you must modify the autojoin_control table in the Intermediate Repository.
About this task
Procedure
- Configure the Site Reference Value to Use an Indirect Site Reference Value
- Configure the Site Reference Value to be A Specific Site Name
Configure MI_EQUIP000_CST_CNR_C as an Indirect Site Reference
In this example, the database browser tool used in this example is pgAdmin4, the IR database name is SAP_UDLP_EAMClient. You can use the database browser of your choice.
- On your APM Connect server, open pgAdmin4.
PgAdmin4 is open displaying your available servers.
- Navigate the server tree to the appropriate IR database, access your tables.
In this example, the path is Servers(2)\roaperflabvm3\Databases\SAP_UDLP_EAMClient\Schemas(1)\public\Tables (81). The list of tables in your IR database are visible.
- Locate the table autojoin_control, right click, and then select the View Data drop-down.
- Select View All Rows.
The Query -1 tab is populated with the autojoin table.
- In each row, in the site_reference column, enter #MI_EQUIP000_CST_CNR_C#Tip: This example assumes that the existing values in the site_referencecolumn correspond to values in the MI_EQUIP000 and MI_FNCLOC00 families. If they do not, you must also update the apm_site_reference_family column to the corresponding family.The value in the MI_EQUIP000_CST_CNR_C field will be used to populate the Site Reference Key in corresponding records.
Mount a File Share
This topic details the basic process for setting up a file share based on your operating systems.
Before you begin
- Be sure that you understand the recommended configurations to enable file shares within the APM Connect architecture.
- You will need access to the Linux console and root privileges on your Linux server.
- You will need the APM Connect server service account user name and password.
- You should be a network administrator with working knowledge of your network configurations.
About this task
To enable writing files between the servers within your APM Connect architecture, file shares need to be mounted. Generally, this process involves, creating a file share to be mounted, then mounting the file share, and then making the file share permanent.
Procedure
- Create a File Share on a Windows Server, and then Mount the Share to a Linux Server
- Create a File Share on a Linux Server, and then Mount the Share to a Linux Server
Establish SFTP Transfer in SAP
If you use (S)FTP to transfer files between SAP, APM Connect, and GE Digital APM, you must complete additional configuration in SAP. You must download a puTTY file and set up command names in SAP to use the puTTY file.
About this task
Procedure
Create File Share Folder Structure
Data files written by SAP are placed in a specific directory defined by the context parameter PLSAP_INPUT. This topic describes how to create the appropriate directory structure.
Procedure
Results
Install the ABAP Base Service Pack Add-on
Before you begin
- Determine the release and level of your current ABAP installation by completing the steps to verify the ABAP installation.
- If you need to support both GE Digital APM V3.6.x and GE Digital APM V4.3.x simultaneously, there are additional considerations as described in Install the Dual ABAP Package.
Procedure
Verify ABAP Installation
Procedure
Install the Dual ABAP Package
Use this procedure to provide SAP and SAP-PI data flows in situations that require access to both V3.6.x and V4.3.x GE Digital APM at the same time.
Before you begin
- If you are migrating a V3.6 to V4.3, you must have the latest ABAP package (at least V3.6.0 ABAP 0.7) before installing the Dual ABAP package.
- If you need to use SAP-PI Adapters on GE Digital APM V3.6, install the adapters using these instructions.
- If you need to use SAP-PI Adapters for both GE Digital APM V3.6 and GE Digital APM, obtain the software from:
- For GE Digital APM V3.6 - \SAP PI Package 3.6.
- For GE Digital APM V4 - select the folder that reflects the correct SAP-PI level you need. For example, if you are using SAP-PI 7.5, you would select \SAP PI 750.
About this task
Establishing an environment when you need to establish data flows from SAP or SAP-PI systems to GE Digital APM V3.6.x and GE Digital APM V4.3.x systems simultaneously requires you to use a different ABAP package than what you would use for a single version of GE Digital APM.
This capability can be useful when you want:
- To test an SAP or SAP-PI system that you are migrating from GE Digital APM to GE Digital APM V4.3.x.
- To connect an SAP or SAP-PI system to both a GE Digital APM V3.6.x and GE Digital APM V4.3.x, simultaneously.
Procedure
Results
Uninstall the ABAP Base Service Pack Add-on
If you are upgrading from one version of the ABAP Base service pack add-on to a newer version, you will need to uninstall the currently installed service pack.
Before you begin
Procedure
Results
Create APM Connect User Profile in SAP
To successfully transfer data between GE Digital APM and SAP, you must create an APM Connect user for SAP. This topic describes the process of creating a user profile.
Before you begin
- Review the APM Connect user profile requirements.
- You must have administrative rights to the SAP system.
About this task
Procedure
Results
Assign Profile to APM Connect User
This procedure describes how to assign an SAP profile to the APM Connect user in SAP.
Before you begin
Procedure
What to do next
- In AL11, create a directory on your file share with subdirectories EQUIPMENT, FLOC, WORKHISTORY, TC, and STATICDATA. The parent directory can have any name.
- Grant Read and Write authorization to the created directories to the user you just created.
- If you are using ASI, configure the ASI SAP permissions.
Identify Trigger Values for Creating Task Records
The Work Management Adapter allows you to create Inspection Task and Calibration Task records from SAP Maintenance Plans using Operations and Object Lists. This topic describes how to identify which values in an Operation or Object list will trigger the creation of which Task records in GE Digital APM.
About this task
The baseline product is configured such that:
- Operations with the control key ZMI2 will be used to create Calibration Task records.
- Operations with the control key ZMI1 will be used to create Inspection Task records.
Procedure
- Create the control keys ZMI1 and ZMI2.
- In the context file, configure the Work Management parameters to enable trigger values.
Configure GE Digital APM to Create Notifications from Recommendation Records
The SAP Interfaces feature allows you to create Recommendation records in GE Digital APM that will be used to create SAP Notifications automatically.
About this task
For a Recommendation record to generate an SAP Notification automatically, the Create Work Request field must exist on the Recommendation datasheet. This field is available on the baseline datasheets for the baseline Recommendation families from which you are allowed to create SAP Notifications.
If you want to generate SAP Notifications from Recommendation records that belong to customer-defined subfamilies of the root Recommendation family, in addition to implementing the correct rules (for an example of the rules that you will need to implement, you can look at any active baseline Recommendation family), you will need to add the Create Work Request field to the desired datasheets for that family.
Procedure
Deploy and Configure the SAP Connector Files
As recommended, and by default, a RestFUL SAP web service call is used as an intermediary between SAP and GE Digital APM, thereby avoiding RFC calls directly between GE Digital APM and your SAP server. Complete these steps to deploy and configure the files necessary to enable this connection.
Procedure
- Access the APM Connect installation package, and then copy the file connectorServices.jar.
- On your APM Connect server, navigate to <root:>\APMConnect\Utilities\runtime\deploy.
- Paste the copied file connectorServices.jar into the directory.
Results
Configure Notification Priority
You can configure the priority value in GE Digital APM to match the priority value in SAP by editing the MI_PRIORITY system code table.
Procedure
- Determine the values in your EAM system that determine priority.
- For each priority that exist in you EAM System, modify the MI_PRIORITY system table
Results
When priority values are transferred from a GE Digital APM recommendation to an SAP Notification, the priority values will match.
Create an SAP EAM System Record
You must configure an EAM System Record to establish a connection between any EAM system and GE Digital APM.
Procedure
Results
- An EAM system record is created for the EAM system that defines a connection with GE Digital APM. The ID for this EAM record should now be used in the Name field of a Site Reference field record.
- Linking an EAM system to an EAM System record enables the APM Connect Adapters to create Notifications against that EAM System.
Test the Connection Defined in an EAM System Record
Procedure
Create the Intermediate Repository Database
This topic describes how to set up a repository in preparation to run your first job.
Before you begin
- Before you can prepare and deploy the repository, you must import the CreateIntermediateRepository job.
- If you are using the Data Loaders and the EAM Adapters, you must deploy and run the CreateIntermediateRepository job for each set of adapters.
- For SAP adapters, you must first run the Static Data job.
- For multiple EAM systems, the context file parameter values for a specific type of system must be identical except for the value of CMMS_ID.
- For multiple EAM systems, the Intermediate Repository Connection parameters have the same values for all adapters connected to this GE Digital APM system.
Procedure
If you are configuring multiple EAM systems, perform the remaining steps in this topic.
Run the Static Data Job
The Static Data job populates the database with static site information. This topic describes how to run this job.
Procedure
Configure SAP Task and Confirmation Creation
In order to transfer data between SAP items and GE Digital APM Task records and Event records for Inspection and Calibration, you will need to configure the datasheets used as the default datasheet.
Procedure
- Configure GE Digital APM to Transfer Data Between SAP Items and Task Records
- Configure GE Digital APM to Create Confirmations from Calibration Event Records
- Configure GE Digital APM to Create Confirmations from Inspection Event Records
Configure the Query Get Tasks for Work Order Generation
The query Get Tasks for Work Order Generation is used to determine which Task records to use to create Orders in SAP.
About this task
The query contains the Task query source. For each record that is returned by the query, GE Digital APM will create an Order in SAP. The baseline query is configured to transfer Task records that meet specific criteria. If desired, you can modify the query to further limit the Task records that you want to transfer.
Procedure
Schedule Work Orders
Procedure
Identify Classifications to Extract
Before you begin
Procedure
Results
If you chose to stop extracting all Characteristics for a Classification:
- The Extract From CMMS System check box is cleared automatically in all CMMS Characteristic records that are linked to the CMMS Classification record.
- When you run the corresponding Characteristic extraction adapter, the Characteristics whose Extract From CMMS System check boxes were cleared automatically will not be extracted.