Implementing Address Validation Service
Vasanth Kumar G S
SAP SuccessFactors Employee Central Core and Time Management Certified | SAP SuccessFactors EC & Time Off Consultant | IIMK Alumni
What is Address Validation Service?
Address validation services help validate an employee and employee’s dependents address.
Address checks determine if address data such as country, region and postal code length is consistent. If you enter inconsistent data, the system displays a relevant error message, and you cannot save or activate the address data.
These services are licensed separately by SAP Data Quality Management (DQM), microservices for location data that is hosted on SAP Business Technology Platform (SAP BTP). Enable this http based microservice, also called DQM microservices, to integrate address validation feature within your SAP Cloud for Customer system.
Setting Up Address Validation Services:
SAP Business Technology Platform (SAP BTP):
Get an SAP BTP account. An existing account can be reused if available.
Enable Data Quality Services:
When you purchase a license for the microservice, you are assigned a Request URL to access DQM microservices. The URL is unique to your data center on SAP Business Technology Platform (SAP BTP) and is required to activate 6 INTERNAL – Authorized for SAP Customers and Partners Implementing Address Validation Service Setting Up Address Validation Services integration with the SAP Cloud for Customer. The DQM microservices are available in the Neo and Cloud Foundry Environment.
Billing for DQM Microservices for Address Validation:
The street address validation is enabled by default for each SAP Cloud for Customer to DQM microservices call. The following considerations apply as part of the address validation service:
Enable DQM Services in the Neo Environment:
Procedure:
1.?The first time you log in to BTP, go to the Services section in the BTP Cockpit and enable the service “Data Quality Services” under the ‘Master Data’ section.
2.?To access the service, select the option “Subscriptions” under ‘Applications’ in the BTP Cockpit.
3.?Under the section ‘Subscribed HTML5 Applications’ select the application link “dqmmicroui”.
4.?Select the Application URL to access the DQM microservices.
Enable DQM Services in the Cloud Foundry Environment:
Procedure:
5.?Choose Configure Entitlements.
6.?Choose Add Service Plans.
7.?Choose Data Quality Services.
8.?Under Available Plans, select Standard.
9.?Select Add 1 Service Plan.
10.?Select Save.
11.?In the navigation area, go to Subaccounts, and then select your subaccount.
12.?In the navigation area, expand Cloud Foundry, then select Spaces.
13.?Choose the relevant Space.
14.?In the navigation area, expand Services, then select Service Marketplace.
15.?Choose Data Quality Services.
16.?On the screen showing the details of the service, select Create.
17.?Data Quality Services should automatically appear in the Service field. If it does not, select Data Quality Services manually.
18.?The only service plan available is Standard. Enter a name for your instance in the Instance Name field and select Next.
19.?If you are using OAuth for authentication, select Next without filling in any of the fields.
20.?Select Create. The OAuth authentication is created by default.
21. Close the Success message.
22.?In the navigation area, expand Services, then select Instances.
23.?Choose your instance and select the horizontal ellipsis.
24.?Choose Create Service Key.
25.?Enter a Service Key Name, then choose Create.
26.?Choose your service key and select the horizontal ellipsis.
27.?Choose View.
Here is the information for the Client ID, Secret ID for the configuration in the Security Center.
28.?Navigate to the subaccount in which you have created the service instance for Data Quality Services.
29.?In the navigation area, expand Applications then select Service Marketplace.
30.?Select the Data Quality Services UI tile. A screen will appear to the right.
31.?If there are no Active subscriptions, choose Create to create a new subscription.
32.?Enter the Service Data Quality Services UI.
33.?Select the plan, then choose Create.
Accessing the DQM Microservices Configuration UI:
Procedure:
Creating Configurations:
Procedure:
1.?Go to your DQM microservices instance.
2.?Select the Configurations button.
3.?The JSON file with the pre-configured local version mappings (Configuration Files for Address Validation Service) is available on the SAP Help Portal under Implement in the Configuration section. You can import the file using the Import a Configuration button.
Do not change the name of the JSON file SAP SuccessFactors Employee Central - Standard Configuration after import.
Once you import the local versions configuration, the file SAP SuccessFactors Employee Central - Standard Configuration is visible on the configuration list.
Enable the Address Validation Service in Employee Central Provisioning:
You need to enable the address validation service in Provisioning to make it available in your Employee Central system.
Procedure:
Enable the Address Validation Service in the Security Center:
You need to configure your SuccessFactors Employee Center system so you can validate addresses in the employee block.
Procedure:
1.?Go to the Employee Central Admin Center.
2.?In the Tool Search field, select Security Center.
3.?In the Security Center, select Outbound OAuth Configurations.
4.?Enter the credentials and URL of your instance. You can find these details on the DQM microservice page.
Creating a New Configuration:
Procedure:
1.?Select Add.
2.?Enter the configuration name and description as needed. Enter the data in the remaining fields as follows:
Configuration Data for the Neo Environment
a.?Log in to BTP Account to get the necessary data.
b.?In BTP Cockpit go to Security > OAuth.
c.?Choose the tab Clients.
d.?Register a new client if one is not available. See the details in the screenshot below.
o?Enter a name.
o?Select the Subscription Type u23133c2f/dqmmicro.
o?The ID will be generated automatically.
o?Under Authorization Gran choose Client Credentials.
o?Under Secret enter your password.
o?Leave the field Token Lifetime empty.
e.?Copy the information in the fields ID and Secret and enter the respective details in the fields Client ID and Client Secret in Employee Central Integration Center.
a.?Login to BTP Account.
b.?In BTP Cockpit Go to Security > OAuth.
c.?Choose the tab Branding.
d.?Under the section OAuth URLs there is a link provided for Token Endpoint. Append this link with ? grant_type=client_credentials, then copy the new link to the field Token URL in the Employee Central Integration Center.
Configuration Data for the Cloud Foundry Environment
a.?Log in to BTP Account to get the necessary data.
b.?In the navigation area, expand Services, then select Instances and Subscriptions.
c.?Select your instance and expand the data.
d.?Choose your service key and select the horizontal ellipsis.
e.?Choose View.
f.?Enter the clientid and the clientsecret in the corresponding fields.
g.?For the Token URL copy the information available in the url (https://...com) and append /oauth/token? grant_type=client_credentials to the link (https://...com/oauth/token?grant_type=client_credentials)
领英推荐
h.?For Token Method choose Post.
i.?Choose Save.
3.?Go to the Security Center home page and select Destination Settings to enter the end points URLs.
4.?Add the following Destination Settings:
Configuration Data for the Neo Environment
a.?Login to BTP Account.
b.?In BTP Cockpit go to Application > Subscriptions.
c.?Under the section Subscribed Java Applications select the application link dqmmicro.
d.?On the new page, select the first application URL that provides the certificate details.
e.?Open the application URL, and copy the link for Address Cleanse URL under the section Available endpoints and paste it in the Endpoint URL field in the Employee Central Security Center. For the corresponding links, see the combination in yellow or red in the screenshot below.
Configuration Data for the Cloud Foundry Environment
a.?Log in to BTP Account to get the necessary data.
b.?In the navigation area, expand Services, then select Instances and Subscriptions.
c.?Select your instance and expand the data.
d.?Choose your service key and select the horizontal ellipsis.
e.?Choose View.
f.?For the Endpoint URL copy the information available in the url. To construct the full Endpoint URL, prepend "https://" and append "/dq/addressCleanse" to the host.
Customizing your Configuration in Manage Data:
Prerequisites:
Create the MDF picklist with the picklist ID AddressType under Picklist Center. The external code of the values should be the same as those in the legacy picklist AddressType.
Verify that the picklist ID AddressType is assigned to the object Address Validation Configuration for the Address Type.
The values for the picklist ID AddressType are as follows:
The Address Validation Service will only be triggered for the countries or regions for which you have entered configuration details in the Address Validation Configuration for Country/Region.
Procedure:
The field details for your customizing configuration are as follows:
o?Employee Addresses Only – this option validates only the address of the employee.
o?Employee and Dependent Addresses – this option validates an employee’s and employee’s dependents addresses.
Note:
Validating an Employee's Address:
Only the Home Address can be validated in the Dependents block.
The Address Validation Service is not currently supported for Imports and APIs.
Default Mapping for Local Versions:
The default mapping provides some standard configuration for the countries that are available in the Address Validation mapping or for the mapping created by the customer.
Default Settings Configuration:
The JSON file with the pre-configured mapping for default and the pre-configured countries/regions is available under the SAP Help Portal and can be imported using the Import a Configuration button.
Once you import the configuration, the file SAP SuccessFactors Employee Central - Standard Configuration is visible on the configuration list.
If the information in your data model matches the information in this configuration, you can use the configuration immediately.
Creating a Country\Region-specific Configuration:
You can use a different subset of fields from the data model to send in the request or assign data from the response per country/region.
Procedure:
1.?Select the Add in the Countries area.
2.?Enter a meaningful name for the country/region-specific configuration, select the country/region, and select OK.
There are two ways to complete your country/region-specific configuration:
Clone a Country/Region-Specific Configuration:
When you clone, you are copying one country/region configuration to a new country configuration.
Procedure:
1.?Click Clone in the Settings area of the default country/region configuration.
2.?Select your country/region configuration to clone to, select some or all of the three areas to clone, and click OK.
The new country/region configuration is now configured exactly the same as the default country/region configuration.
3.?Customize the new country/region configuration as desired and click Save.
Delivered Local Versions:
Address Mapping for Belgium by SAP Data Quality Management Microservices for Location Data:
For the configuration in the DQM Microservice instance, see the details in the table below.
Configuration in SAP SuccessFactors Employee Central – Belgium:
For the Address Validation Service usage for Belgium we recommend you make the fields Postal Code and Street mandatory.
Address Mapping for Brazil by SAP Data Quality Management Microservices for Location Data:
For the configuration in the DQM Microservice instance, see the details in the table below.
Configuration in SAP SuccessFactors Employee Central – Brazil:
For the Address Validation Service usage for Brazil we recommend you make the field Postal Code mandatory.
Note:
For Brazil we recommend setting Allow Save for Non Critical Errors to YES. You can do this as follows:
Go to Admin Center, select Manage Data, search for Address Validation Configuration For Country/Region and choose the country Brazil.
In the setting Allow Save for Non Critical Errors set to YES.
Address Mapping for Germany by SAP Data Quality Management Microservices for Location Data:
For the configuration in the DQM Microservice instance, see the details in the table below.
Configuration in SAP SuccessFactors Employee Central – Germany:
For the Address Validation Service usage for Germany we recommend you make the fields Postal Code and Street mandatory.
Address Mapping for the Netherlands by SAP Data Quality Management Microservices for Location Data:
For the configuration in the DQM Microservice instance, see the details in the table below.
Configuration in SAP SuccessFactors Employee Central – Netherlands:
For the Address Validation Service usage for Netherlands we recommend you make the fields Postal Code and House Number mandatory.
Address Mapping for the United States by SAP Data Quality Management Microservices for Location Data:
For the configuration in the DQM Microservice instance, see the details in the table below.
Configuration in SAP SuccessFactors Employee Central - United States:
For the Address Validation Service usage for United States we recommend you make the fields Postal Code and Address Line 1 mandatory.
Enabling Address Validation Service in Onboarding:
The Address Validation Service can be used in the Onboarding to validate the address information.
Procedure:
1.?Go to Admin Center.
2.?In Tools and select Configure Object Definitions.
3.?In Search select Object Definitions.
4.?In the second search box enter Address Validation Configuration For Country/Region.
5.?Once it loads, go to Take Action and click on Make Correction.
6.?Search for the field, externalUserVisibilityPrevious, go to details of the field and set Visibility as Read Only.
7.?In the Address Validation Configuration For Country/Region object, go to Take Action and click on Make Correction.
8.?Go to the Rules section and under Initialize Rules and click on +.
A popup to add new rule will open.
9.?Enter Rule Name, Description and Base Object as Address Validation Configuration For Country/Region and Purpose as initialize.
10.?Click Continue.
11.?In the If line of the rule select the box Always True and in the Then line choose Set and select the variable External User Visibility as value Yes.
12.?Click Save.
13.?Once the rule is created, navigate to the object definition page and in the Rules section assign the newly created rule to the Initialize Rules.
14.?Click Save.