SAP Netweaver
This connector exports and fulfills users and roles from/to an SAP Netweaver instance.
This page is about ERP/SAP S/4 HANA.
Overview
SAP ERP is an enterprise resource planning software developed by the German company SAP SE. The software incorporates the key business functions of an organization. ERP software includes programs in all core business areas, such as procurement, production, materials management, sales, marketing, finance, and human resources (HR).
Prerequisites
Implementing this connector requires:
- reading first the appsettings documentation;
- a service account with reading and writing permissions on the SAP server.
Export
This connector exports users, roles, role memberships and groups from an SAP instance and writes the output to CSV files.
Configuration
This process is configured through a
connection
in the UI and/or the XML configuration, and in the appsettings.agent.json > Connections
section:
appsettings.agent.json
{
...
"Connections": {
...
"<ConnectionIdentifier>": {
...
}
}
}
The identifier of the connection and thus the name of the subsection must:
- be unique.
- not begin with a digit.
- not contain
<
,>
,:
,"
,/
,\
,|
,?
,*
and_
.
For example:
appsettings.agent.json
{
...
"Connections": {
...
"SAPExportFulfillment": {
"Server": "serverUrl",
"Login": "login",
"Password": "password"
}
}
}
Setting attributes
Name | Details |
---|---|
Server required | Type String Description URL of the SAP server. |
Login required | Type String Description Login to authenticate to the specified server. |
Password required | Type String Description Password to authenticate to the specified server. |
Output details
This connector is meant to generate to the ExportOutput folder the following CSV files:
-
sap_users.csv
with the following columns:sap_users.csv
Command,logonname,isserviceuser,firstname,lastname,salutation,title,jobtitle,mobile,displayname,description,email,fax,locale,timezone,validfrom,validto,lastmodifydate,islocked,isaccountlocked,ispasswordlocked,ispassworddisabled,telephone,department,id,securitypolicy,datasource,company,streetaddress,city,zip,pobox,country,state,orgunit,accessibilitylevel,passwordchangerequired
Insert,value1,value2,...,valueN -
sap_groups.csv
with the following columns:sap_groups.csv
Command,uniquename,displayname,description,lastmodifydate,id,datasource,distinguishedname
Insert,value1,value2,...,valueN -
sap_roles.csv
with the following columns:sap_roles.csv
Command,uniquename,displayname,description,lastmodifydate,id,datasource,scopes,actions
Insert,value1,value2,...,valueN -
sap_roles_member.csv
with the following columns:sap_roles_member.csv
Command,id,member
Insert,value1,value2,...,valueN
Fulfill
This connector writes to SAP to create, update, and/or delete users, groups, roles and group memberships.
Configuration
Same as for export, fulfill is configured through connections.
Setting attributes
Name | Details |
---|---|
Server required | Type String Description URL of the SAP server. |
Login required | Type String Description Login to authenticate to the specified server. |
Password required | Type String Description Password to authenticate to the specified server. |
For example:
appsettings.agent.json
{
"Connections": {
"SAPExportFulfillment": {
"Server": "serverUrl",
"Login": "login",
"Password": "password"
}
}
}
Authentication
Password reset
See how to configure password reset settings.
When setting a password for an SAP user, the password attribute is defined by the password specified
in the corresponding
RessourceTypeMapping
.
Credential protection
Data protection can be ensured through:
- RSA encryption,
configured in the
appsettings.encrypted.agent.json
file; - an Azure Key Vault safe;
Attribute | Naming Convention for the Key in Azure Key Vault |
---|---|
Server | Connections--<identifier>--Server |
Login | Connections--<identifier>--Login |
Password | Connections--<identifier>--Password |
- a
CyberArk Vault
able to store Active Directory's
Login
,Password
andServer
.
Protected attributes are stored inside a safe in CyberArk, into an account whose identifier can be
retrieved by Usercube from appsettings.cyberark.agent.json
.
For example:
appsettings.cyberark.agent.json
{
...
"Connections": {
...
"SAPExportFulfillment": {
"Login": "SAPExportFulfillment_CyberArkKey",
"Password": "SAPExportFulfillment_CyberArkKey",
"Server": "SAPExportFulfillment_CyberArkKey"
}
}
}