These are the minimum required properties that must be appended to the alfresco-global.properties in order to establish the connection between Content Services (the Repository) and SAP.
Note
There are additional properties that can be used to login to the SAP system via the SAP JavaConnector (such as using Logon Groups instead of the Gateway). See Additional SAP JCo properties which lists the additional properties that are supported.
-
Open
alfresco-global.propertiesin your Content Services installation. -
Add all properties from the table below to the end of the file and set their values according to your environment.
-
Save the file.
Note
There are up to 100 possible SAP System Configurations. The table below shows the basic configuration for the first configuration. Therefore, the property contains the number 1 in the key.
The letters al in some keys are the abbreviation for Archivelink. These settings are mandatory for the basic communication between SAP and Content Services.
| Property Key | Description |
| integrations.sap.system.1.al.alfrescoUser | Username for the connection used to login to Content Services (should have administrator role). Example value: admin |
| integrations.sap.system.1.al.alfrescoPassword | Password for the user. Either plain-text or use encrypted password. See Encrypting passwords for more. Example value: H3ll0W0rlD112! or ENC(XbfE4Z112==) |
| integrations.sap.system.1.al.archiveIds | Comma separated list of all connected SAP Content Repositories of this configuration. Example value: M1 or M2,M3,M4 |
| integrations.sap.system.1.al.documentRoot | The document root folder where all documents from the SAP Content Repositories of the current SAP System Configuration are stored. Must exist and must be entered in XPath syntax. Example value: /app:companyhome/st:sites/cm:sap/cm:documentLibrary/cm:SAPDocuments |
| integrations.sap.system.1.al.checkSignature | Enables the signature check for the HTTP Content Server interface. If disabled, all requests will be accepted no matter if they are signed or not. Example value: true (default) or false |
| integrations.sap.system.1.al.checkExpiration | If enabled, a check occurs, whether the signed requests have been sent in the valid time window. Example value: true (default) or false |
| integrations.sap.system.1.enabled | Whether data replication should be enabled for the current SAP System Configuration or not. If true, the following properties must be present with correct values. Example value: true or false (default) |
| integrations.sap.system.1.name | An arbitrary value for the current SAP System Configuration. Should not contain special characters. Must be unique across all available SAP System Configurations. Recommendation: Should contain the name of the connected SAP system. Example value: NSP SAP System or NSP Repos M1, M2 |
| integrations.sap.system.1.host | The IP address of the SAP server or the SAP Router string. Example value: 192.168.112.112 or sap.mydomain.com or /H/80.112.112.112/H/192.168.112.112/S/3201 |
| integrations.sap.system.1.client | The SAP client used to log in to the SAP system. Example value: 100 or 800 |
| integrations.sap.system.1.systemNumber | The SAP system number. Example value: 00 or 01 |
| integrations.sap.system.1.user | SAP system user used for the login. Example value: ALFR3SC0 |
| integrations.sap.system.1.password | Password for the SAP user. Either plain-text or use encrypted password. See Encrypting passwords for more. Example value: H3ll0W0rlD112! or ENC(XbfE4Z112==) |
| integrations.sap.system.1.language | The SAP system language used to login. Example value: EN or DE |
| integrations.sap.system.5.webClient.enabled | Enables the document action "Open corresponding business object in SAP" in Alfresco Share to be opened in the SAP Web-GUI. If true, the webclient.url below must resolve. Example value: true or false (default) |
| integrations.sap.system.5.webClient.url | The url to the SAP Web-GUI. Example value: https://sapserver:port/sap/bc/gui/sap/its/webgui |
| integrations.sap.system.1.jobs. sapContentConnectorReplicate.enabled | Enables the metadata replication job. Adds the aspect SAP Replicate Details Example value: true or false (default) |
| integrations.sap.system.1.jobs. sapContentConnectorReplicate.cronExpression | The CRON expression used for the job. Example value: 0 0/1 1/1 ? * |
| integrations.sap.system.1.jobs. sapContentConnectorPlus.enabled | Enables the additional metadata replication job. Adds the aspect SAP Replicate Plus Details Example value: true or false (default) |
| integrations.sap.system.1.jobs. sapContentConnectorPlus.cronExpression | The CRON expression used for the job. Example value: 0 0/1 1/1 ? * |
| integrations.sap.system.1.jobs. sapContentConnectorBarcode.enabled | Enables the barcode job. Example value: true or false (default) |
| integrations.sap.system.1.jobs. sapContentConnectorBarcode.cronExpression | The CRON expression used for the job. Example value: 0 0/1 1/1 ? * |
| integrations.sap.system.1.jobs. sapContentConnectorDirReplicate.enabled | Enables the SAP DIR replication job. Adds the aspect SAP Document Info Record (DIR) Details Example value: true or false (default) |
| integrations.sap.system.1.jobs. sapContentConnectorDirReplicate.cronExpression | The CRON expression used for the job. Example value: 0 0/1 1/1 ? * |