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 to manage production orders and other related resources. Specifically, for the "Production Order" resource with the "Create" operation, it allows users to create new production order records in their SAP system by sending structured data to the API.

Common scenarios where this node is beneficial include automating manufacturing workflows, integrating ERP systems with external applications, or programmatically managing production schedules. For example, a manufacturer could use this node to automatically create production orders based on demand forecasts or sales orders received from an e-commerce platform.

Properties

Name Meaning
Data The JSON object containing the details of the production order to be created. This should conform to the expected structure required by the SAP Service Layer API for production orders.

Output

The node outputs the JSON response returned by the SAP Service Layer API after creating the production order. This typically includes the newly created production order's details such as its unique identifier, status, and any other metadata provided by SAP.

If the API returns binary data (not typical for this operation), it would represent associated files or attachments, but this operation primarily deals with JSON data.

Dependencies

  • Requires an active connection to the SAP Service Layer API.
  • Needs credentials including the SAP service URL, company database name, username, password, and optionally language settings.
  • Uses HTTPS requests with disabled SSL certificate verification (rejectUnauthorized: false), which may require appropriate network and security configurations.
  • The node handles session management by logging into the SAP Service Layer and maintaining session cookies.

Troubleshooting

  • Failed to get session cookie: Indicates login to SAP Service Layer failed. Verify credentials and network connectivity.
  • Operation not supported: Occurs if an unsupported operation is requested. Ensure the operation is valid for the selected resource.
  • API errors: If the SAP API returns errors (e.g., validation errors on the data), these are passed through in the output. Check the data format and required fields.
  • SSL issues: Since SSL verification is disabled, some environments might block connections. Adjust network policies or enable proper certificates.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output JSON.

Links and References

Discussion