SAP B1 Service Layer 8 - Produccion icon

SAP B1 Service Layer 8 - Produccion

Interact with SAP B1 Service Layer 8 - Produccion

Overview

This node integrates with the SAP Business One Service Layer (version 8) to manage various business documents and entities. Specifically, for the Inventory Transfer Request resource with the Get by Key operation, it retrieves a single inventory transfer request document identified by its unique key (DocEntry). This is useful when you need to fetch detailed information about a specific inventory transfer request from SAP B1, such as for auditing, reporting, or further processing in an automation workflow.

Practical example:
You have an automated process that triggers when a new inventory transfer request is created in SAP B1. Using this node with the "Get by Key" operation, you can retrieve the full details of that request by its DocEntry to validate data or update other systems accordingly.

Properties

Name Meaning
DocEntry The unique identifier (key) of the Inventory Transfer Request document to retrieve.
  • The DocEntry property is required and must be provided as a string.
  • It is used to specify which inventory transfer request document to fetch.

Output

The node outputs an array of JSON objects corresponding to each input item processed. For the "Get by Key" operation on Inventory Transfer Requests, each output item contains:

  • A json field holding the full response object returned by the SAP B1 Service Layer for the requested inventory transfer request.
  • The structure of this JSON matches the SAP B1 API's representation of an Inventory Transfer Request, including all its properties and nested data.

No binary data output is produced by this node.

Dependencies

  • Requires connection credentials to the SAP Business One 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 before making subsequent API calls.
  • The environment must allow HTTPS requests to the SAP B1 Service Layer endpoint.
  • No additional external libraries beyond n8n's built-in HTTP request helper are needed.

Troubleshooting

  • Authentication errors: If login fails, verify the username, password, company database, and base URL are correct and accessible.
  • Invalid DocEntry: If the specified DocEntry does not exist, the SAP B1 API will return an error; ensure the key is valid and corresponds to an existing inventory transfer request.
  • Network issues: Connection timeouts or SSL errors may occur if the SAP B1 server is unreachable or has invalid certificates. The node disables strict SSL verification (rejectUnauthorized: false) but network connectivity must be stable.
  • API changes: If SAP B1 Service Layer API endpoints or schemas change, the node might fail; confirm compatibility with your SAP B1 version.

Links and References


This summary is based solely on static analysis of the provided source code and property definitions.

Discussion