You are on page 1of 12

Set-Up Instructions | PUBLIC

SAP S/4HANA
2020-09-17

Setting Up Tax Service Integration (43D)


© 2020 SAP SE or an SAP affiliate company. All rights reserved.

THE BEST RUN


Content

1 Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 System Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
2.2 Roles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

3 Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1 Establish the SSL Connection to SAP Cloud Platform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
3.2 Create an RFC Connection (HTTP Connection to External Server). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.3 Create a New OAuth 2.0 Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.4 Activate the Tax Service on Pricing Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.5 Connect with SAP Localization Hub, Tax Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Setting Up Tax Service Integration (43D)


2 PUBLIC Content
1 Purpose

This document describes Integration with SAP S/4HANA for your External Server system. The description includes
data relevant to HTTP Connection to External Server using RFC.

This documentation explains how to integrate Tax Service with your SAP S/4HANA system.

Setting Up Tax Service Integration (43D)


Purpose PUBLIC 3
2 Preparation

This section summarizes all prerequisites for integrating Tax Service with your SAP S/4HANA system.

2.1 System Access

Conduct the test in the following systems:

 Note

It is necessary to have a SAP account in the SAP Cloud Platform and Taxes Service License.

System Details

SAP S/4HANA On Premise Accessible via the SAP EHP system, SAP Cloud Platform and
Taxes Service License

2.2 Roles

Assign the following business roles to your individual test users.

The following roles are provided as example roles from SAP. You can use these as templates to create your own
roles.

SAP S/4HANA:

Business Role Name

S_RFC_ADM

S_OA2C_ADM

Setting Up Tax Service Integration (43D)


4 PUBLIC Preparation
3 Configuration

3.1 Establish the SSL Connection to SAP Cloud Platform

Procedure

1. For information on how to establish the SSL Connection to SAP Cloud Platform, refer to https://help.sap.com/
viewer/6d3eac5a9e3144a7b43932a1078c7628/Cloud/en-US/8439282197ea4658b341839aaa1c4569.html.

Result

You've created the limited access to user accounts on an HTTP service.

3.2 Create an RFC Connection (HTTP Connection to External


Server)

Purpose

A Remote Function Call (RFC) is the call or remote execution of a Remote Function Module in an external system. In
SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function
calls between two SAP systems.

Procedure

1. Log on the SAP Cloud Platform Cockpit .


2. Choose Cloud Foundry Environment.
3. In the Navigation area, go to Your Cloud Foundry Subaccount in SCP Your Space Services Service
Instances Your Tax Service instance name Service Keys .

Setting Up Tax Service Integration (43D)


Configuration PUBLIC 5
4. Copy the URL displayed in the url field.
5. Open SAP GUI.
6. Access the activity using one of the following navigation options:

Transaction Code SM59

Customizing Menu (in SPRO)

7. Choose Create ( F8 ).
8. In RFC Destination, enter a name for your destination.
9. In Connection Type, choose Possible Entries ( F4 ) and select HTTP Connection to external server.
10. Go to the Technical Settings tab.
11. In Host field, enter the URL you copied from the SAP Cloud Platform Cockpit.
12. In Path Prefix, enter /tax/v0/quote.
13. Optionally, configure HTTP Proxy Options if your network requires it
14. In the Logon & Security tab, go under Security Options and select SSL Active.
15. Save your entry.

Result

You’ve created the RFC connection.

3.3 Create a New OAuth 2.0 Client

Purpose

OAuth 2 is an authorization framework that enables applications to obtain limited access to user accounts on an
HTTP service.

Procedure

1. Open the SAP GUI.


2. Access the activity using one of the following navigation options:

Transaction Code oa2c_config

3. This transaction opens a new internet browser window and in the browser window, choose Create.
4. Select SAP_COM_0249_PREM as your OAuth 2.0 Client Profile.

Setting Up Tax Service Integration (43D)


6 PUBLIC Configuration
5. Enter a configuration name.
6. Enter your OAuth 2.0 Client ID

 Note

To see your client ID, access the SAP Cloud Platform Cockpit and go to Your Cloud Foundry Subaccount
in SCP Your Space Services Service Instances Your Tax Service instance name Service Keys .
The client ID is found in the field uaa > clientid.

7. Choose OK.
8. In the Details section, go to Administration General Settings and enter the OAuth 2.0 Client’s password in
the field Client Secret.

 Note

To see your client secret, access the SAP Cloud Platform Cockpit and go to Your Cloud Foundry
Subaccount in SCP Your Space Services Service Instances Your Tax Service instance name
Service Keys . The client secret is found in the field uaa > clientsecret.

9. Under Authorization Server Settings, enter the Authorization Endpoint and Token Endpoint and concatenate at
the end of Token Endpoint the following parameter: "?grant_type=client_credentials".

 Note

○ Example 1: Authorization Endpoint of SAP Localization Hub, tax service: <scp account
Subdomain>.authentication.sap.hana.ondemand.com/oauth/token
○ Example 2: Token Endpoint of SAP Localization Hub, tax service: <scp account
Subdomain>.authentication.sap.hana.ondemand.com/oauth/token?grant_type=client_credentials

10. Under Access Settings, go to Selected Grant Type and choose Client Credentials.
11. Go to Client Authentication and choose Basic.
12. Go to Resource Access Authentication and choose Header Field.
13. Optionally, configure HTTP Proxy Options if your network requires it.
14. Save your entry.

Result

You’ve created the limited access to user accounts on an HTTP service.

Setting Up Tax Service Integration (43D)


Configuration PUBLIC 7
3.4 Activate the Tax Service on Pricing Procedures

Purpose

The SAP Localization Hub, tax service lets you determine and compute applicable country-specific indirect taxes.

In this Customizing activity, you can define the pricing procedure for which the tax service is called.

Procedure

1. Open the SAP GUI.


2. Access the activity using one of the following navigation options:

SAP Menu Integration with Other SAP Components SAP


Localization Hub, tax service Activate the Tax Service for
Pricing Procedures

Transaction Code SPRO

3. Execute the customizing activity.


4. Save your entry.

Result

You’ve assigned pricing procedures to the tax service.

3.5 Connect with SAP Localization Hub, Tax Service

Purpose

The SAP Localization Hub, tax service lets you determine and calculate applicable country-specific indirect taxes.

In this Customizing activity, you can establish the connection between your system and the SAP Localization Hub,
tax service.

Setting Up Tax Service Integration (43D)


8 PUBLIC Configuration
Procedure

1. Open SAP GUI.


2. Access the activity using one of the following navigation options:

SAP Menu Integration with Other SAP Components SAP


Localization Hub, tax service Connect with SAP
Localization Hub

Transaction Code SPRO

3. Execute the customizing activity. To establish this connection, you inform the ID of the scenario delivered by
SAP and the RFC connection you created in SM59.
4. Save your entry.

Result

You’ve created the connection.

Setting Up Tax Service Integration (43D)


Configuration PUBLIC 9
Important Disclaimers and Legal Information

Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:

● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your agreements
with SAP) to this:

● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.

● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such links, you
agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this information.

Videos Hosted on External Platforms


Some videos may point to third-party video hosting platforms. SAP cannot guarantee the future availability of videos stored on these platforms. Furthermore, any
advertisements or other content hosted on these platforms (for example, suggested videos or by navigating to other videos hosted on the same site), are not within the
control or responsibility of SAP.

Beta and Other Experimental Features


Experimental features are not part of the officially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by SAP at
any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use the
experimental features in a live operating environment or with data that has not been sufficiently backed up.
The purpose of experimental features is to get feedback early on, allowing customers and partners to influence the future product accordingly. By providing your feedback
(e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.

Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax and
phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of example
code unless damages have been caused by SAP's gross negligence or willful misconduct.

Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.

Setting Up Tax Service Integration (43D)


10 PUBLIC Important Disclaimers and Legal Information
Setting Up Tax Service Integration (43D)
Important Disclaimers and Legal Information PUBLIC 11
www.sap.com/contactsap

© 2020 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form


or for any purpose without the express permission of SAP SE or an SAP
affiliate company. The information contained herein may be changed
without prior notice.

Some software products marketed by SAP SE and its distributors


contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for


informational purposes only, without representation or warranty of any
kind, and SAP or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP or
SAP affiliate company products and services are those that are set forth
in the express warranty statements accompanying such products and
services, if any. Nothing herein should be construed as constituting an
additional warranty.

SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.

Please see https://www.sap.com/about/legal/trademark.html for


additional trademark information and notices.

THE BEST RUN

You might also like