Invoke SAP BAPI

Calls a BAPI or any remote-enabled function module over RFC, with import, changing and table parameters, and commits it when asked.

Behaviour

Risk: High · Idempotent: No · Safe to retry: No · Recovery: Not replayed after a crash

Package SAP activities Velophex.Sap.Activities 0.7.1-rc.7 · Supported (Core profile) · type id velophex.sap.invokeBapi

Properties#

Input#

Function#

FunctionName · String · Required · Default: Not specified in package metadata

The BAPI or remote-enabled function module.

Imports#

Imports · IDictionary<String, Object> · Optional · Default: Not specified in package metadata

Import and changing parameters by name: a value for a field, a dictionary of fields for a structure.

Tables#

Tables · IDictionary<String, DataTable> · Optional · Default: Not specified in package metadata

Table parameters to send, by name: one row per line, one column per field.

Commit#

Commit · Boolean · Optional · Default: False

Calls BAPI_TRANSACTION_COMMIT (waiting for the update) after a call without errors, and BAPI_TRANSACTION_ROLLBACK after one with errors.

Fail On Error#

FailOnError · Boolean · Optional · Default: True

Fails the activity when the RETURN parameter holds a message of type E or A.

Options#

Session#

Session · String · Optional · Default: Not specified in package metadata · Advanced

The session id of a Use SAP Application scope. Empty uses the innermost enclosing one; outside every Use SAP Application the activity fails.

Output#

Exports#

Exports · IDictionary<String, Object> · Output

Export and changing parameters by name: text for a field, a dictionary of fields for a structure.

Output Tables#

OutputTables · IDictionary<String, DataTable> · Output

Every table parameter after the call, by name.

Messages#

Messages · DataTable · Output

The RETURN messages: Type, Id, Number and Message.

Rules#

  • Must be inside Use SAP Application.

Retry and risk#

This activity is not marked safe to retry: if it fails partway, check whether its work already happened before running it again. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from Velophex.Sap.Activities 0.7.1-rc.7. Category: SAP. Keywords: sap, bapi, rfc, function module, commit, erp.

Properties

Input

Options

Output

Rules

Retry and risk

Related activities