SAP B1 Service Layer 10 - Servicio icon

SAP B1 Service Layer 10 - Servicio

Interact with SAP B1 Service Layer 10 - Servicio

Actions19

Overview

This node interacts with the SAP Business One Service Layer API to manage Knowledge Base Solutions among other resources. Specifically, for the Delete operation on the Knowledge Base Solution resource, it deletes a knowledge base solution entry identified by its unique DocEntry number.

Common scenarios where this node is useful include automating the removal of outdated or incorrect knowledge base articles in SAP B1, cleaning up entries as part of maintenance workflows, or integrating deletion steps into larger service management processes.

For example, you might use this node in an automation workflow that periodically removes deprecated knowledge base solutions based on certain criteria or after validation from another system.

Properties

Name Meaning
DocEntry The unique numeric identifier of the Knowledge Base Solution to delete (required).

Output

The node outputs JSON data representing the response from the SAP B1 Service Layer after attempting the deletion. Typically, this will be an empty object or confirmation message if successful.

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

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.
    • Username and password for authentication.
    • Company database name.
  • The node authenticates by sending a login POST request to the /Login endpoint and uses session cookies for subsequent requests.

  • The node depends on n8n's HTTP request helper to communicate with the SAP B1 API.

Troubleshooting

  • Authentication errors: If login fails, ensure the provided credentials (username, password, company DB) are correct and that the SAP B1 Service Layer is accessible at the specified base URL.

  • Invalid DocEntry: If the DocEntry does not exist or is invalid, the API may return an error indicating the resource was not found. Verify the DocEntry value before running the node.

  • Network issues: Connection timeouts or SSL errors can occur if the SAP B1 server is unreachable or has certificate issues. The node disables strict SSL verification (rejectUnauthorized: false) but network connectivity must still be ensured.

  • API errors: Any other API errors will be returned in the output JSON under the error key. Review these messages to adjust parameters or check SAP B1 logs.

Links and References

Discussion