PlantScanner - SAP Service Layer icon

PlantScanner - SAP Service Layer

Interact with SAP Service Layer API

Actions26

Overview

This node integrates with the SAP Service Layer API, enabling users to perform various operations on SAP resources. Specifically, for the Inventory Gen Exit resource with the Create operation, it allows creating new inventory exit records in SAP. This is useful in manufacturing or warehouse management scenarios where you need to record goods leaving inventory, such as finished products shipped out or materials consumed.

Practical examples include:

  • Automatically logging inventory exits when production orders complete.
  • Recording material consumption in real-time from a warehouse management system.
  • Integrating SAP inventory exit creation into broader automation workflows for supply chain management.

Properties

Name Meaning
Data The JSON object containing the details of the inventory exit to create. This must conform to the SAP Service Layer's expected schema for an Inventory Gen Exit record.

Output

The node outputs the JSON response returned by the SAP Service Layer after creating the inventory exit record. This typically includes the created record's details such as its unique identifier and any other metadata returned by SAP.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to an SAP Service Layer API endpoint.
  • Needs credentials including the SAP Service Layer URL, company database name, username, password, and optionally language.
  • Uses HTTPS requests with disabled SSL certificate verification (rejectUnauthorized: false).
  • Requires the SAP Service Layer session cookie obtained via login before making API calls.

Troubleshooting

  • Failed to get session cookie: Indicates login to SAP Service Layer failed. Check credentials and network connectivity.
  • Operation not supported: Occurs if an unsupported operation or resource is specified. Verify that "Inventory Gen Exit" and "Create" are correctly selected.
  • API errors from SAP: These will be returned in the node output under an error field if "Continue On Fail" is enabled. Common issues include invalid data format or missing required fields in the "Data" property.
  • Ensure the JSON structure in the "Data" property matches SAP's expected schema for inventory exits to avoid validation errors.

Links and References


This summary focuses on the Inventory Gen Exit resource with the Create operation as requested.

Discussion