SAP B1 Service Layer 8 - Produccion icon

SAP B1 Service Layer 8 - Produccion

Interact with SAP B1 Service Layer 8 - Produccion

Overview

This node interacts with the SAP Business One Service Layer (version 8) to manage production-related documents, specifically including Inventory Gen Exit documents. The "Get by Key" operation retrieves a single Inventory Gen Exit document based on its unique identifier (DocEntry). This is useful when you need to fetch detailed information about a specific inventory exit transaction from SAP B1 for further processing, reporting, or integration with other systems.

Practical examples:

  • Fetching an Inventory Gen Exit document to verify stock movements before updating another system.
  • Retrieving details of a specific inventory exit to audit or validate transactions.
  • Integrating SAP B1 inventory exit data into a custom dashboard or ERP extension.

Properties

Name Meaning
DocEntry The unique identifier (key) of the Inventory Gen Exit document to retrieve. Required.

Output

The output is an array of JSON objects, each representing the response from SAP B1 Service Layer for the requested Inventory Gen Exit document. The JSON structure corresponds directly to the SAP B1 document schema and includes all fields and nested data related to that inventory exit record.

If the request fails, the output JSON will contain an error field with the error message describing what went wrong.

No binary data output is produced by this operation.

Dependencies

  • Requires connection credentials to SAP B1 Service Layer API, including:
    • Base URL of the SAP B1 Service Layer endpoint.
    • Username and password for authentication.
    • Company database name.
  • The node performs a login request to obtain session cookies used in subsequent requests.
  • The node uses HTTP methods and expects JSON responses from the SAP B1 Service Layer.

Troubleshooting

  • Authentication errors: If login fails, check the correctness of the SAP B1 credentials and company database name.
  • Invalid DocEntry: If the specified DocEntry does not exist, the SAP B1 API may return an error indicating the document was not found.
  • Network issues: Ensure the SAP B1 Service Layer URL is reachable from n8n and that SSL certificates are valid or properly handled (the node disables strict SSL verification).
  • Permission issues: The user account must have sufficient permissions to read Inventory Gen Exit documents.
  • Error messages: Errors returned from SAP B1 are passed through in the output's error field. Review these messages to identify issues such as invalid parameters or server errors.

Links and References

Discussion