Get Material Quantities
Use this action to get the material quantities in stock, production, and order for a specific plant.
The following BAPI has been used for this action:
Using the Get Material Quantities Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Get Material Quantities action under the SAP connector to the canvas, place the pointer on the action, and then click or double-click the action. The Get Material Quantities action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a SAP Connection in the SAP connector topic.
4. In the Material ID field, enter minimum 3 characters to search for the material id.
5. Select an available Plant for the provided material id.
6. Specify an option from the Get Quantities In list to get the material quantities.
Stock—Get the stock data for a specific material id and for a specific plant.
Production—Get the production data for a specific material id and for a specific plant.
Order—Get the order data for a specific material id and for a specific plant.
7. Click Done.
Output Schema
The Get Material Quantities action returns a static output schema. See a sample output schema in the figure that follows when you select Stock in the Get Quantities In field.
Was this helpful?