ABAP CDS Reader
Use the ABAP CDS Reader operator to read data from a CDS view.
-
Initial load: read all the data from the CDS view once.
-
Replication: initial load and then follow up on subsequent changes.
-
Delta load: only follow up on changes without doing an initial load first.
General Concepts
The following general concept sections in ABAP Operators General Concepts are relevant for this operator:
-
Authorizations
-
Versioning
-
Subscriptions
New Features
As of V2, the output type for the CDS Reader operator has changed from abap.* to message. Also, ABAP metadata is available for CDS Reader. For more information, see the section Output.
Configuration Parameters
|
Name |
ID |
Type |
Description |
Relevant in Version |
|---|---|---|---|---|
|
ABAP Connection |
connectionID |
string |
Required. Connection information for the remote ABAP system. Select a predefined ABAP connection from the Connection Manager. Default: "" |
V0, V1, V2 |
|
Version |
operatorID |
string |
Required. Specific version of the operator. Default: "" |
V1, V2 |
|
ABAP CDS Name |
cdsname |
string |
Name of the CDS view.
Default: "" |
V0, V1, V2 |
|
Subscription Type |
subscriptionType |
string |
Choose one of the following values:
Default: "New" |
V1, V2 |
|
Subscription Name |
subscriptionName |
string |
Name of the subscription Default: "" |
V1, V2 |
|
Subscription ID |
subscriptionID |
string |
ID of the subscription. Default: "" |
V1, V2 |
|
Transfer Mode |
action |
string |
Choose one of the following values:
Default: "Initial Load" |
V0, V1, V2 |
|
Records per Roundtrip |
Chunk size |
integer |
Maximum number of records to output in one round trip. The actual number of records per roundtrip depends on multiple factors, but can't be larger than the specified value. Possible values are all integer numbers from 1 to 1,000,000. Default: 50,000. |
V0, V1, V2 |
Subscriptions and Related Topics
Availability Options
-
The subscription feature is available for the ABAP CDS Reader as of SAP S/4HANA 2020 FPS00.
-
The Resilience Subscription Eraser operator doesn't work for ABAP CDS Reader subscriptions in SAP S/4HANA OP 2020 FPS00. For more information, see SAP Note 2967162
. -
V2 of the ABAP CDS Reader is available as of SAP Data Intelligence 3.0, but not with older on-premise releases of SAP Data Intelligence.
Function
When you create a graph that includes the ABAP CDS Reader, set the subscription type to New, and enter a subscription name in the configuration panel.
Resume Data Loading
-
Set the subscription type to Existing.
-
Choose the subscription ID that corresponds to the applicable subscription name. (SAP Data Intelligence generated the subscription ID automatically when you created the replication.)
-
Choose the CDS name from the configuration panel.
-
Choose the transfer mode from the configuration panel.
-
Process logs of your run graph in the Modeler.
-
Resilience Subscription Eraser operator.
-
Table DHAPE_SUBSCR or LTAPE_SUBSCR (respectively), depending on your ABAP system, in the source ABAP-based system.
Input
None.
Output
|
Version |
Output |
Description |
|---|---|---|
|
V0 and V1 |
outData |
Output the CDS data; type: abap.*. |
|
V2 |
outMessageData |
Output the CDS data; type: message. |
-
I = Insert
-
U = Upsert
-
D = Delete
|
Attribute |
Description |
|---|---|
|
Fields |
Object metadata from ABAP source system including field names and data types provided in JSON format. |
|
message.lastBatch |
Boolean that indicates if the current batch is the last one in the data ingestion process.
|
|
message.batchIndex |
Number (integer type) that indicates which batch is being processed, starting from 0. |