Data Extraction using SLT to a File Store
Extracts data fom an ABAP table using SLT to a file store and creates related files in the file store.
In this example, the source is an SAP S/4HANA. Not mandatory, but for convenience, this example may be extended to read the data from the written files and to feed into the Terminal operator.
Prerequisites
-
You need a valid connection to the SAP S/4HANA source. Please create a valid and checked connection to an SAP S/4HANA environment or to an SAP NetWeaver/ABAP based system that supports the SLT technology. Please use the related description of the SAP DI - Connection Management to implement and test such a connection. In this example the communication is based on HTTPS, but you may use other protocols such as HTTP, RFC or (WebSocket) WSRFC.
-
You need a valid connection to a file store and the ability to create, read and write files to that file store location. Please use the related description of the SAP DI - Connection Management to implement and test such a connection. In this example we used S3 as a target file store.
-
A couple of operators need to be in place:
-
Go Operator (→ Determine Last Batch, Limit File Size, Check Last Batch)
Configure and Run
-
In this example the SLT Connector replicates the an ABAP table to S3.
-
The ABAP Converter feeds via a Message Converter into a Go Operator Determine Last Batch, which checks whether the SLT-based replication got stopped and is then launching a soft-kill (used at Check Last Batch)
-
The data keep flowing into a Go operator Limit File Size, which controls the file size as a parameter and the file counter.
-
The Write File operator is used to create the files until end-of-initial-load. The Write File operator uses the configured 'append' mode to fill into /tmp/file_${ABAPfilenumber}.csv as of Service S3 and its configured connection.
-
The Go operator Check Last Batch terminates the graph in case of the end of the replication; without the two operators * Last Batch, it can happen that the graph gets terminated before the last write got completed.
-
(optional) To simply visualize the file, the just used and created file on S3 may be read again and sent to Terminal.
-
Use to execute this Graph.
Data Integration and Data Security
Please make yourself familiar with the related Integration Guides and Security considerations such as User Guide for ABAP Integration in SAP Data Intelligence, the Administration Guide for SAP Data Intelligence Cloud, and SAP Note 2831756
.