CommitSapTransaction@1
Node CommitSapTransaction@1
commits a SAP transaction using function module BAPI_TRANSACTION_COMMIT
.
Adapter Prerequisites
Node Configuration
Fields path
, targetPath
, targetValueWriteMode
, and targetValueKind
are not used in this node.
transformations:
- type: CommitSapTransaction@1 # commits the transaction
Complete sample of pipeline configuration
This sample receives a message from a distributed event hub, sets the values of the notification, logs in to SAP, creates a PM notification, saves the notification number, and commits the transaction.
triggers:
- type: FromPipelineDataEvent@1
description: Retrieve from distributed event hub message
transformations:
- type: SetPrimitiveValue@1
value: 10000001
targetPath: $.equipment
- type: SetPrimitiveValue@1
value: FG126
targetPath: $.material
- type: SetPrimitiveValue@1
value: 1
targetPath: $.serialNumber
- type: SetPrimitiveValue@1
value: "Hello from OctoMesh!"
targetPath: $.shortText
- type: SetPrimitiveValue@1
value: 1
targetPath: $.priority
- type: SetPrimitiveValue@1
value: 1010
targetPath: $.functionalLocation
- type: SapLogin@1 # runs the login
sapConfiguration: mmtest
- type: CreateSapPmNotification@1 # creates the notification
equipmentPath: $.equipment
materialPath: $.material
serialNumberPath: $.serialNumber
shortTextPath: $.shortText
priorityPath: $.priority
notificationType: M1
functionalLocationPath: $.functionalLocation
targetPath: "$.not"
- type: SaveSapPmNotification@1 # saves the notification number
path: $.not.NotifNo
- type: CommitSapTransaction@1 # commits the transaction