Skip to main content

Data import

Connection details

SettingDescription
Host Name AddressType the Fully Qualified Domain Name of a valid host name.
Connection typeSelect if the connection is to be done via HTTP or secured HTTP.
ClientSpecify the client number from SAP to which to connect.
PortType the port number of the application server.
Timeout in secondsThe number of seconds before a timeout occurs when calling the web services. By default, the value 3600 seconds (one hour) is selected. Optionally, you can change this value to increase or lower the value.
UserType the username of the administrative user used to access the service.
PasswordType the password for the administrative user. Each time you make a change to any of the settings in the Connection details dialog box, you must type your password again.
Skip certificate checkSelect this checkbox to ignore any certificate check when connecting using SSL.
Security protocolSelect the protocol used for HTTPS handshake.
Test connectionEnable this setting to test the specified connection details.

System definition: Advanced

The Advanced section of the System definition contains following settings.

SettingDescription
LanguageWhen you connect to SAP, you define a language so that the text in the user interface is provided in the required language. By default, English (EN) is selected as the language of the SAP system. Optionally, you can remove this value and type the proper country code for your system, for example, DE (Germany).
Use deltaWhen having this checkbox selected the imports will be set to Delta mode. For Delta mode to work properly, enable the Paging option. For more information go to the Paging section of the document. Additionally, when having Delta mode enabled, be sure to periodically run a Full import.

System definition: Queries and mappings

important

If you are planning an upgrade from version 14.0.8 or lower, follow these steps after the upgrade is complete, but before the first import:

  • Add a filter attribute for the Profiles query status!="P"

  • Enable the Distinct option for all queries.

The following queries and mappings are provided out of the box:

Object typeBidingServiceDescription
Accountuser_getomadanet/user_get_all_respUsers
Resourcerole_getomadanet/auth_roles_respRoles
Resourceprofile_getomadanet/auth_prof_respProfiles
Resource parent/childrole_getomadanet/auth_roles_respChild roles
Resource assignmentuser_getomadanet/user_get_all_respResource Assignments - Profiles
Resource assignmentuser_getomadanet/user_get_all_respRole Assignments (only direct)

Edit query mappings

To edit a query mapping, click the Edit button in the Queries and mappings window. This button opens the Edit query mapping dialog box, where you can define settings for that particular mapping.

The Edit query mapping dialog box consists of four tabs:

  • Web Method
  • Paging
  • Mappings

In this tab you can define the web method for the query mapping.The tab consists of the following fields:

  • Binding - Enter the binding name you had used when the web services were generated in SAP via transaction SOAMANAGER.It is recommended to use the default naming convention, so you are only required to change the value if you have used a custom naming of the binding in SAP.

  • Service - Enter the service name you had used when the web services were generated in SAP via transaction SOAMANAGER.It is recommended to use the default naming convention, so you are only required to change the value if you have used a custom naming of the service in SAP.

  • Distinct - Set this option to Yes to allow the query to yield more rows with the same values.

  • Filter - Provide a logical expression for each row imported, for example, Name eq 'John.' If it is evaluated to false, the row will be skipped by the collector.

  • Enabled - If the query is not Enabled the collector will not perform it.

  • Description - Provide a meaningful description of the query mapping.

Enable/Disable import of objects

All Object types are enabled per default, if an Object type is not required it is possible to disable the import of individual objects.

note

Omada recommends to disable not used object types to optimize the performance of the import.

Once an import has been performed for an object type, it's impossible to disable that object type. You can enable an object if it was initially disabled. To enable or disable object types, select the ones that are to be changed and use the context menu to choose the desired option.

Mapping of resource owners

If you create a query to import resource owners, it is possible to specify the resource's owner in two ways. You can do it either by directly importing the UID of the identity or by specifying the account from which the resolved owner is imported as a resource owner.

When mapping directly to the UID of identity, ensure that identities are already imported to Omada Identity.

When mapping to an owned account, it is possible to either specify the business key of the account or the composed businesskey. The former should be used if the account is in the same system as the resource; the latter should be used if the account is imported into any of the trusted systems.

When the account stems from another system, you should use a Lookup mapping.

SAP mappings to Data Warehouse

Provided Queries and Mappings are supplied as templates and can be adapted to meet customer requirements. The tables below present pre-defined set of names for each object type. See the column Alias Mappings.

warning

SAP Access Data connectivity uses Alias mappings that are all lowercase.

Account

The following attributes are available for the Account dimension.

XMLData Warehouse (Destination)Alias mappings (Source)Comment
/USER/USERNAMEName, UID, ComposedBusinessKeyusernameUsed as part of the business key
/USER/MANDTclient
/USER/SYSIDsystemId
/USER/LOGONDATA/ACCNTaccountno
/USER/LOGONDATA/ANAMEcreatorCreator of the user master record
/USER/LOGONDATA/BCDA1lastpasswordchangeDate of last password change
/USER/LOGONDATA/CLASSusergroup
/USER/LOGONDATA/GLTGVValidFromvalidfrom
/USER/LOGONDATA/GLTGBValidTovalidto
/USER/LOGONDATA/LOCNTnofailedlogonsNumber of failed logon attempts
/USER/LOGONDATA/LTIMElastlogontimeLast Logon Time
/USER/LOGONDATA/PWDINITIALpwdinitialIndicator: Password is initial (=set by admin)
/USER/LOGONDATA/PWDLGNDATEpwdlastlogon
/USER/LOGONDATA/PWDLOCKDATEpwdlockdateDate: Setting of Password Lock
/USER/LOGONDATA/PWDSETDATEpwdsetDate: password reset by admin
/USER/LOGONDATA/TRDATLastLogonlastlogon
/USER/LOGONDATA/TZONEtimezone
/USER/LOGONDATA/UFLAGStatusstatusflagStatus set to "Admin-Lock", "Expired" or "Active" based on the uflag value
/USER/LOGONDATA/USTYPusertype
/USER/ADDRESS/BUILDINGbuildingcode
/USER/ADDRESS/COMM_TYPEcommmeth
/USER/ADDRESS/DEPARTMENTdepartment
/USER/ADDRESS/EMAILemailaddress
/USER/ADDRESS/FAX_EXTENSfax-extension
/USER/ADDRESS/FAX_NUMBERfax
/USER/ADDRESS/FIRSTNAMEfirstname
/USER/ADDRESS/FLOORfloor
/USER/ADDRESS/FULLNAMEDisplayNamename
/USER/ADDRESS/FUNCTIONfunction
/USER/ADDRESS/LANGUlanguage
/USER/ADDRESS/LASTNAMElastname
/USER/ADDRESS/ROOM_NOroomnumber
/USER/ADDRESS/TEL1_EXTtelephone-extension
/USER/ADDRESS/TEL1_NUMBERtelephone
/USER/ADDRESS/TITLE_ACA1academictitle
/USER/ADDRESS/TITLE_Ptitle
/USER/DEFAULTS/CATTKENNZteststatus
/USER/DEFAULTS/DATFMdateformat
/USER/DEFAULTS/DCPFMdecimalnotation
/USER/DEFAULTS/KOSTLcostcenter
/USER/DEFAULTS/LANGUlogonlanguage
/USER/DEFAULTS/SPDAdeleteafteroutput
/USER/DEFAULTS/SPDBprintimmed
/USER/DEFAULTS/SPLDoutputdevice
/USER/DEFAULTS/START_MENUstartmenu
/USER/DEFAULTS/TIMEFMtimeformat
/USER/UCLASS/LIC_TYPElicensetype
/USER/ALIAS/USERALIASalias
/USER/COMPANY/COMPANYcompany
/USER/PARAMETER/PARIDparameterid
/USER/PARAMETER/PARVAparametervalue
/USER/SNC/GUIFLAGpermitpasswordlogon
/USER/SNC/PNAMEsncname
/USER/GROUPS/USERGROUPgroupusergroup

Resource - profile

The following attributes are available for the Resource dimension for resources that are sourced from SAP Profiles.

XMLData Warehouse (Destination)Alias mappings (Source)Comment
/PROFILES/PROFNComposedBusinessKey, NameprofilenameUsed as part of the business key
/PROFILES/PTEXTDisplayNamedescription
/PROFILES/SYSIDsystemid
/PROFILES/MANDTclient
/PROFILES/AKTPSstatus

Resource - role

The following attributes are available for the Resource dimension for resources that are sourced from SAP Roles.

XMLData Warehouse (Destination)Alias mappings (Source)Comment
/ROLES/ROLEComposedBusinessKey, NameroleidUsed as part of the business key
/ROLES/ROLE_TEXTDisplayNamename
/ROLES/ROLE_LONG_TEXTDescriptiondescription
/ROLES/SYSIDsystemid
/ROLES/MANDTclient
/ROLES/IS_COMPOcomposite
/ROLES/COMPO_CONTAINSchildroles
/ROLES/TCODEtcodes

Resource - child roles

The following attributes are available for the Resource dimension for resources that are sourced from SAP Child Roles.

XMLData Warehouse (Destination)Alias mappings (Source)Comment
/ROLES/SYSIDsystemid
/ROLES/MANDTclient
/ROLES/ROLEroleid
/ROLES/COMPO_CONTAINSchildrole

ResourceAssignments - profile

The following attributes are available for the ResourceAssignments dimension for resource assignments that are sourced from SAP Profiles.

XMLData Warehouse (Destination)Alias mappings (Source)Comment
/USER/PROFILES/BAPIPROFResource_ComposedBusinessKeyprofilenameUsed as part of the resource business key
/USER/USERNAMEAccount_ComposedBusinessKeyusernameUsed as part of the account business key
/USER/SYSIDsystemid
/USER/MANDTclient
/USER/PROFILES/BAPIAKTPSstatus

ResourceAssignments - role

The following attributes are available for the ResourceAssignments dimension for resource assignments that are sourced from SAP Roles.

XMLData Warehouse (Destination)Alias mappings (Source)Comment
/USER/ACTIVITYGROUPS/AGR_NAMEResource_ComposedBusinessKeyroleidUsed as part of the resource business key
/USER/USERNAMEAccount_ComposedBusinessKeyusernameUsed as part of the account business key
/USER/SYSIDsystemid
/USER/MANDTclient
/USER/ACTIVITYGROUPS/FROM_DATValidFromvalidfrom
/USER/ACTIVITYGROUPS/TO_DATValidTovalidto
/USER/ACTIVITYGROUPS/ORG_FLAGcompositeUsed to determine if the resource assignment is direct or indirect

Default collected data

When you register the SAP Access Data system, three new resource types are created.

Resource typeDescription
SAP <systemname> AccountThis is the default Account resource type. Two standard account resources are also created. One resource is for personal accounts and the other resource is for orphan accounts with no primary owner.
SAP RoleThis is a Permission resource type. When you import roles from SAP, this type is used.
SAP ProfileThis is a Permission resource type. When you import profiles from SAP, this type is used.

Warehouse to portal mappings

In order to import the SAP Access Data from the Data Warehouse to the Enterprise Server, the below default mappings are provided.

Data object typeEnabledDescriptionSAP object
ResourcesYesResource updateRole, Profile
ResourcesYesResource update - Omada IdentityRole, Profile
ResourcesYesResource owner (Explicit owner)Role, Profile
ResourcesYesResource deleteRole, Profile
Horizons feature enabled

With the Horizons feature enabled, the behavior of Warehouse to Portal mappings has changed. For more information, go to Migrating to Horizons documentation.