Skip to main content

GetProductionOrderList@1

Node GetProductionOrderList@1 gets a list of production order from a SAP system with Production Planning and Control (PP) module.

SAP function module: BAPI_PRODORD_GET_LIST

Adapter Prerequisites

Node Configuration

For fields targetPath, targetValueWriteMode, and targetValueKind, see Overview. Field path is not used.

  transformations:
- type: GetProductionOrderList@1 # gets the list of production orders
productionPlant: 1010 # plant number
orderNumberStart: 3265680 # start order number
orderNumberStop: 3265685 # stop order number
targetPath: "$.orders" # path to save the result

The result object is based on the SAP structure BAPI_ORDER_HEADER1. The properties are documented in API documentation.

Complete sample of pipeline configuration

This sample is triggered from a polling interval of 1 minute, logs in to SAP, and retrieves a list of production orders beginning with order number 3265680 from plant 1010. The result is saved in the $.orders path.

  triggers:
- type: FromPolling@1
interval: 00:01:00
transformations:
- type: SapLogin@1
sapConfiguration: mmtest
- type: GetProductionOrderList@1
productionPlant: 1010
orderNumberStart: 3265680
targetPath: "$.orders"