SAP Application Producer V2

Use the SAP Application Producer to write data to SAP and non-SAP sources as modeled in a graph. This operator is supported in Generation 2 graphs.

The SAP Application Producer operator reads from any table input and produces a table in the specified target like OData and SAP BW.

Supported connections include:
  • OData

  • SAP BW

This operator supports resiliency when used with Structured Data Operators (Flowagent operators) with source partitions. However, it does not support resiliency when used with other consumer operators like ABAP readers.
For BW Datastore Targets:
  • BW supports Advanced Datastore objects as a target under the /DATASTORE folder only.

  • For BW DataStore objects as target, the option Write Interface-Enabled should be checked in the BW system (under DataStore Object-> Modeling Properties -> Special Properties -> [] Write Interface-Enabled).

  • To preview BW Datastore data within the operator, an ABAP connection needs to be created in the Connection Management application that is associated with the specified BW Connection. That ABAP connection then needs to be specified for the ABAP Connection ID field for the BW Connection.

Configuration Parameters

Parameter Type Description

Service

String

The application from which to consume tabular data.

Connection ID

Object

Connection ID of the target system.

Target

Object

Remote dataset of the selected target object.

Maximum Batch Size

Integer

The maximum number of records from the source included in each batch. The actual number of records is automatically calculated based on the dataset definition. To disable the automatic calculation, set the Use Defined Batch Size option to True.

Use Defined Batch Size

Boolean

Set to True when the automatic calculation does not provide optimal performance. When set to True, each batch of records contains the number of records entered in the Maximum Batch Size option. For example, when Maximum Batch Size is set to 1000, and Use Defined Batch Size is set to True, then there are 1000 records in each batch. When set to False, then each batch is between 10 and 1000 rows.

Input

Parameter Type Description

inTable

Table

Table type port which can be connected to other operators producing table types, such as other structured operators.

Output

Parameter Type Description

out

Scalar

Outputs a scalar containing the name of the object that was written. Output headers:

  • com.sap.headers.batch

  • com.sap.headers.producer

  • com.sap.headers.partition

BW Advanced Datastore Activation

When the SAP Application Producer finishes writing to the Advanced Datastore object, the data needs to be activated on the BW system before it can be used. This can be done on the BW system by creating a BW Process Chain. Configure the BW process chain to activate the data in the Datastore object referenced in the SAP Application Producer. After the Process Chain is configured, saved, and activated, use the BW Process Chain operator in a graph to invoke the process chain and activate the data via a pipeline graph.

To load the data to BW and then activate it via a Process Chain, create a graph that includes a pipeline operator that runs a graph that writes the data to the BW DataStore. Then chain that graph to a pipeline operator that runs the graph to call the Process Chain that activates the data.