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 perform various operations on business documents and entities. Specifically, for the "Product Tree" resource with the "Get by Key" operation, it retrieves a single product tree document identified by its unique key (DocEntry). This is useful when you need to fetch detailed information about a specific product tree in SAP B1, such as its components or structure.

Common scenarios include:

  • Retrieving a product tree to display or process its details in an automation workflow.
  • Validating the existence or status of a product tree before performing further actions.
  • Integrating SAP B1 product tree data into other systems or reports.

Example: Fetching a product tree with DocEntry 123 to check its components before starting a production order.

Properties

Name Meaning
DocEntry The unique identifier (key) of the product tree document to retrieve. Required string.

Output

The node outputs the JSON response from the SAP B1 Service Layer API representing the requested product tree document. The output JSON contains all fields and nested structures that define the product tree, such as its components, quantities, and metadata.

If an error occurs (e.g., invalid key or connection issue), the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires access to an SAP Business One Service Layer instance (version 8).
  • Requires credentials including base URL, username, password, and company database name to authenticate against the SAP B1 Service Layer.
  • The node performs a login request to obtain session cookies used in subsequent API calls.
  • No additional external dependencies beyond the SAP B1 Service Layer API.

Troubleshooting

  • Authentication errors: If login fails, verify the provided credentials (username, password, company DB) and network connectivity to the SAP B1 Service Layer.
  • Invalid DocEntry: If the specified DocEntry does not exist, the API will return an error. Ensure the key is correct and the document exists.
  • 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 accessibility must be ensured.
  • API changes: If SAP B1 Service Layer endpoints or authentication methods change, the node may fail. Confirm compatibility with your SAP B1 version.

Links and References

Discussion