Skip to main content

About the EmpowerID SAP S/4HANA Connector

EmpowerID SAP S/4HANA Connector

Overview

The EmpowerID SAP S/4HANA Connector enables seamless integration between EmpowerID and SAP S/4HANA, allowing organizations to manage user accounts, roles, profiles, and access rights efficiently. The connector facilitates automatic synchronization, provisioning, and inventory of SAP Transaction Codes (TCodes), Authorization Objects, and Field Type values as rights within EmpowerID.

Key Features

Account Management

  • Inventory User Accounts: Automatically import SAP S/4HANA user accounts into EmpowerID.
  • Create User Accounts: Provision new SAP S/4HANA user accounts directly from EmpowerID.
  • Update User Accounts: Modify existing user account information.
  • Enable and Disable User Accounts: Control the activation status of user accounts.
  • Change User Passwords: Reset or update user passwords securely.

Role and Profile Management

  • Inventory Roles and Profiles: Import SAP roles and profiles as groups in EmpowerID.
  • Manage Memberships: Add or remove users from roles or profiles.
  • Synchronize Assignments: Keep role and profile assignments up-to-date across systems.

SAP TCode Inventory

  • Inventory SAP Modules: Retrieve all SAP modules and store them in EmpowerID.
  • Inventory Transaction Codes: Import SAP transaction codes and establish relationships between TCodes and SAP modules.
  • Assign Rights: Map transaction codes to local rights within EmpowerID for access control.

SAP Authorization Objects and Field Types Inventory

  • Inventory Authorization Objects: Import from SAP into EmpowerID’s rights management system.
  • Inventory Field Types: Capture field types from SAP for authorization control.
  • Map Relationships: Establish relationships between authorization objects, field types, roles, and transaction codes for comprehensive rights management.

Prerequisites

Required SAP Tables and Columns

The SAP proxy account must have read access to the following key SAP tables and columns:

SAP TableRequired Columns
ADCPCLIENT, ADDRNUMBER, PERSNUMBER, DATE_FROM, NATION
ADR2CLIENT, ADDRNUMBER, PERSNUMBER, DATE_FROM, CONSNUMBER, TEL_NUMBER
ADR3CLIENT, ADDRNUMBER, PERSNUMBER, DATE_FROM, CONSNUMBER
ADR6CLIENT, ADDRNUMBER, PERSNUMBER, DATE_FROM, CONSNUMBER, FLGDEFAULT, SMTP_ADDR
ADRPCLIENT, PERSNUMBER, DATE_FROM, NATION, NAME_FIRST, NAME_LAST
AGR_1016MANDT, AGR_NAME, COUNTER, PROFILE
AGR_1251MANDT, AGR_NAME, OBJECT, FIELD, LOW, HIGH
AGR_1252MANDT, AGR_NAME, COUNTER
AGR_AGRSMANDT, AGR_NAME, CHILD_AGR
AGR_DEFINEMANDT, AGR_NAME
AGR_TEXTSMANDT, AGR_NAME, SPRAS, LINE, TEXT
AGR_USERSMANDT, AGR_NAME, UNAME, FROM_DAT, TO_DAT
AUSOBTNAME, TYPE, OBJECT, FIELD, LOW
AUTHXFIELDNAME
BUT000CLIENT, PARTNER, TYPE
BUT051CLIENT, RELNR, PARTNER1, PARTNER2, DATE_TO
BUT100MANDT, PARTNER, RLTYP, DFVAL
DD04TROLLNAME, DDLANGUAGE, AS4LOCAL, AS4VERS
GRACFFCTRLMANDT, APP_TYPE, FFOBJECT, CONNECTOR, CNTRL_ID
GRACFFOWNERMANDT, APP_TYPE, FFOBJECT, CONNECTOR, OWNER
GRACFFOWNERTMANDT, LANGU, APP_TYPE, FFOBJECT, CONNECTOR, OWNER
GRACFFUSERMANDT, APP_TYPE, FFOBJECT, CONNECTOR, FF_USER
HRP1000MANDT, PLVAR, OTYPE, OBJID, ISTAT, BEGDA, ENDDA, LANGU, SEQNR, OTJID
HRP1001MANDT, OTYPE, OBJID, PLVAR, RSIGN, RELAT, ISTAT, PRIOX, BEGDA, ENDDA, VARYF, SEQNR, SCLAS, SOBID
HRP1032MANDT, PLVAR, OTYPE, SUBTY, OBJID, ISTAT, ENDDA, BEGDA, VARYF, SEQNR
PA0000MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA0001MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA0002MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA0006MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA0016MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA0032MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA0105MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
PA2006MANDT, PERNR, SUBTY, OBJPS, SPRPS, ENDDA, BEGDA, SEQNR
RSBPCE_TEAMAPPSET_ID, TEAM_ID, OBJVERS
RSBPCE_USER_TEAMAPPSET_ID, TEAM_ID, OBJVERS, USER_ID
T591SMANDT, SPRSL, INFTY, SUBTY
TACTACTVT
TACTZBROBJ, ACTVT
TADIRPGMID, OBJECT, OBJ_NAME
TB003CLIENT, ROLE
TB003TCLIENT, SPRAS, ROLE
TDEVCDEVCLASS
TOBCOCLSS
TOBJOBJCT
TOBJCOBJCT, OCLSS
TOBJTLANGU, OBJECT
TSAD3CLIENT, TITLE
TSAD3TCLIENT, TITLE, LANGU
TSTCTCODE
TSTCTSPRSL, TCODE
USCOMPANYMANDT, COMPANY
USGRPMANDT, USERGROUP
USGRP_USERMANDT, BNAME, USERGROUP, FROM_DAT, TO_DAT
USOBTNAME, TYPE, OBJECT, FIELD, LOW
USOBT_CNAME, TYPE, OBJECT, FIELD, LOW
USOBXNAME, TYPE, OBJECT
USOBX_CNAME, TYPE, OBJECT
USORGFIELD
USR01MANDT, BNAME
USR02MANDT, BNAME, GLTGV, GLTGB, USTYP, CLASS, UFLAG, TRDAT, LTIME
USR05MANDT, BNAME, PARID
USR06MANDT, BNAME
USR10MANDT, PROFN, AKTPS, TYP
USR11MANDT, LANGU, PROFN, AKTPS, PTEXT
USR21MANDT, BNAME
USRACLMANDT, BNAME
USREFUSMANDT, BNAME
UST04MANDT, BNAME, PROFILE
UST10CMANDT, PROFN, AKTPS, SUBPROF
UST10SMANDT, PROFN, AKTPS, OBJCT, AUTH
UST12MANDT, OBJCT, AUTH, AKTPS, FIELD, VON, BIS

Required Remote Procedure Calls (BAPIs and RFCs)

The service account must be able to execute the following remote procedure calls:

Remote Procedure CallRequired Activity
BAPI_USER_ACTGROUPS_ASSIGNExecute
BAPI_USER_CHANGEExecute
BAPI_USER_CREATE1Execute
BAPI_USER_DELETEExecute
BAPI_USER_EXISTENCE_CHECKExecute
BAPI_USER_GETLISTExecute
BAPI_USER_GET_DETAILExecute
BAPI_USER_LOCKExecute
BAPI_USER_UNLOCKExecute
BAPI_USER_PROFILES_ASSIGNExecute
IDENTITY_MODIFYExecute
PINGExecute
RFCPINGExecute
RFC_GET_FUNCTION_INTERFACEExecute
RFC_GET_NAMETABExecute
RFC_PINGExecute
RFC_READ_TABLEExecute
RFC_READ_TABLE2Execute
SUSR_CHECK_LOGON_DATAExecute

General Requirements

  • SAP Account: A user account in SAP with necessary permissions.
  • SAP GUI Server Installation: Required on the EmpowerID server.
  • Connection Methods: EmpowerID supports Application Server and Message Server connections.

SAP Account Permissions

  • Access to Required Tables: The SAP proxy account must have read access to specific SAP tables.
  • Remote Procedure Calls: The service account must execute necessary BAPIs and RFCs.
  • Read-Only Connections: Read access to SAP tables for inventory operations.

Attribute Mapping

EmpowerID maps SAP user attributes to corresponding fields:

User Attributes

SAP AttributeEmpowerID AttributeDescription
NAME_FIRSTFirstNameFirst name of the user
NAME_LASTLastNameLast name of the user
NAMEMIDDLEMiddleNameMiddle name of the user
BNAMELogonNameUser logon name
BNAMESystemIdentifierUnique System Identifier of the user
TEL_NUMBER_MOBILEMobileNumberMobile number of the user
TEL_NUMBERTelephoneHome phone number of the user
SMTP_ADDREmailEmail ID of the user
LANGUPreferredLanguagePreferred language of the user
UFLAGDisabledIndicates if the user is active
TITLEPersonalTitlePersonal title of the user
TITLE_ACA1AcademicTitleAcademic title of the user
FUNCTIONBusinessFunctionBusiness function of the user
ROOMNUMBERRoomNumberRoom number of the user
FLOORFloorFloor of the user
BUILDINGBuildingCodeBuilding code of the user
FAX_NUMBERFaxFax number of the user
USERALIASAliasAlias of the user
USTYPUserTypeType of user account
SECURITY_POLICYSecurityPolicySecurity policy assigned to the user
DEPARTMENTDepartmentDepartment name of the user
CLASSUserGroupUser group of the user
GLTGVValidFromStart date of user validity
GLTGBValidUntilEnd date of user validity
ACCNTAccountNoAccount number of the user
KOSTLCostCenterCost center of the user
TZONETimeZoneTime zone of the user
PWDCHGDATEPasswordLastChangedLast password change date
TRDAT+LTIMELastLogonTimeLast logon time of the user
COMPANYCompanyCompany name of the user
PNAMEUserPrincipalNameSNC Name of the user

Role Attributes

SAP roles are imported into EmpowerID groups with the following attribute mappings:

SAP Role AttributeEmpowerID AttributeDescription
AGR_NAME(AGR_DEFINE)NameName of the Group.
“Role_” + AGR_NAME(AGR_DEFINE)LogonNameLogon Name of the Group
TEXT(AGR_TEXTS) where LINE column from AGR_TEXTS = '00000'FriendlyNameFriendly Name of the Group
Concatenation of all rows from TEXT(AGR_TEXTS) where LINE column from AGR_TEXTS != '00000'Description, NotesDescription, Notes of the Group
Use Relation FROM AGR_AGRS tableGroupTypeIDIdentifier to distinguish the SAP role type as either single or composite role

Profile Attributes

SAP profiles are imported into EmpowerID groups with the following attribute mappings:

SAP Profile AttributeEmpowerID AttributeDescription
PROFN(USR10)NameName of the Group
“Profile_” + PROFN(USR10)LogonNameLogon Name of the Group
PTEXT(USR11)+(SAP CompositeProfile or SAP Single Profile)FriendlyNameFriendly Name of the Group
PTEXT(USR11)+(SAP CompositeProfile or SAP Single Profile)DescriptionDescription of the Group
Use TYP from USR10 tableGroupTypeIDIdentifier to distinguish the SAP profile type as either single or composite profile
SAP AttributeEmpowerID AttributeDescription
-----------------------------------------------
AGR_NAMENameName of the role
AGR_TEXTSFriendlyNameFriendly name of the role
PROFNLogonNameLogon name of the profile

Configuration Settings

EmpowerID provides configurable options for inventory of SAP TCodes and Authorization Objects:

SettingTypeDescriptionValue
SAPInventorySAPPBACBooleanEnables inventory of SAP TCodes and Authorization datatrue
SAPInventorySAPPBACTcodesBooleanEnables inventory of TCodes onlytrue

For more detailed setup steps, refer to the Connecting to SAP S/4HANA guide.