Skip to main content

Data transfer over REST-interface in SAP (ABAP)

Updated over a month ago

💡 Article Overview

  • This article explains how data can be transferred from SAP to the Tacto Cloud via a REST interface using a sample implementation provided by Tacto.

Note

⬇️ Steps for the automated data transfer

1.Creation of example report ZR_TACTO_TRANSFER (SE38)

If you are interested in the ABAP code for our sample implementation, please contact your solution engineer.

2. Creation of RFC-Destinations (SM59)

❗These instructions have been created for demonstration purposes. They are provided without warranty as to suitability, accuracy, or functionality and are for general information only. The exact requirements for firewalls, network security, etc. must be carefully checked.

Step 1: Run SM59 and create RFC-Destination Z_TACTO_AAD_TOKEN

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Step 2: Technical setting -fill host, port and prefix

· Host: login.microsoftonline.com

· Port: 443

· Prefix: /{TENANT_ID}/oauth2/v2.0/token

The tenant id will be provided by Tacto.

A screenshot of a computer

AI-generated content may be incorrect.

Step 3: Login and Security – Fill basic authentication

User and password will be provided by Tacto

A screenshot of a computer

AI-generated content may be incorrect.

Step 4: Login and Security – Activate SSL

A screenshot of a computer

AI-generated content may be incorrect.

Step 5: Create RFC-Destination Z_TACTO_BLOB

A screenshot of a computer

AI-generated content may be incorrect.

Step 6: Technical Settings - Fill host and port

· Host: tactoexchange.blob.core.windows.net

· Port: 443

Step 7: Login and Security – Activate SSL

3. Reference ZR_TACTO_TRANSFER in ZR_TACTO_REPORT

You can execute the transfer at the end of ZR_TACTO_REPORT to achieve direct concatenation of the CSV export and data transfer. The following code is required for this:

4. Alternative: Manually run ZR_TACTO_TRANSFER

User Interface of the ZR_TACTO_TRANSFER Report (SE38)

Confirmation after successful run

Did this answer your question?