Skip to main content

SAP Netweaver

This connector exports and fulfills users and roles from/to an SAP Netweaver instance.

This page is about SAP S/4 HANA.

Package: 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.agentdocumentation;
  • 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​

NameDetails
Server requiredType String Description URL of the SAP server.
Login requiredType String Description Login to authenticate to the specified server.
Password requiredType String Description Password to authenticate to the specified server.

Output details​

This connector is meant to generate to the Application SettingsExport Output 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​

NameDetails
Server requiredType String Description URL of the SAP server.
Login requiredType String Description Login to authenticate to the specified server.
Password requiredType 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 the appsettings.agent topic to learn more on 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 Resource Type Mappings.

Credential protection​

Data protection can be ensured through:

AttributeNaming Convention for the Key in Azure Key Vault
ServerConnections--<identifier>--Server
LoginConnections--<identifier>--Login
PasswordConnections--<identifier>--Password
  • A Connection able to store Active Directory's Login, Password and Server.

Protected attributes are stored inside a safe in CyberArk, into an account whose identifier can be retrieved by Identity Manager from appsettings.cyberark.agent.json.

For example:

appsettings.cyberark.agent.json
{
...
"Connections": {
...
"SAPExportFulfillment": {
"Login": "SAPExportFulfillment_CyberArkKey",
"Password": "SAPExportFulfillment_CyberArkKey",
"Server": "SAPExportFulfillment_CyberArkKey"
}
}
}