SAP B1 Service Layer 6 - Gestion Bancos icon

SAP B1 Service Layer 6 - Gestion Bancos

Interact with SAP B1 Service Layer 6 - Gestion Bancos

Overview

This node integrates with the SAP B1 Service Layer 6 focused on bank management operations. Specifically, for the Incoming Payment resource and the Request Approve Cancellation operation, it allows users to request approval for cancelling an existing incoming payment document in SAP Business One.

Typical use cases include automating financial workflows where incoming payments need to be cancelled but require approval before the cancellation is finalized. For example, a finance team might use this node to programmatically trigger cancellation approval requests for payments that were entered incorrectly or need to be voided due to business reasons.

Properties

Name Meaning
DocEntry Identifier of the document (incoming payment) for which the cancellation approval is requested.

Output

The node outputs JSON data representing the response from the SAP B1 Service Layer after requesting the approval for cancellation. The structure depends on the SAP API response but generally includes status information about the approval request.

If an error occurs during the request, the output JSON will contain an error field with the error message.

No binary data output is produced by this node.

Dependencies

  • Requires connection to an SAP B1 Service Layer instance.
  • Needs credentials including:
    • Base URL of the SAP B1 Service Layer API.
    • Username and password for authentication.
    • Company database name.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • The SAP B1 Service Layer must support the relevant endpoints for incoming payments and their cancellation approval requests.

Troubleshooting

  • Authentication errors: If login fails, verify the base URL, username, password, and company database are correct.
  • Invalid DocEntry: Ensure the DocEntry corresponds to an existing incoming payment document; otherwise, the API may return a not found or invalid document error.
  • Permission issues: The user account must have sufficient permissions in SAP B1 to request cancellation approvals.
  • Network/SSL issues: The node disables SSL certificate verification (rejectUnauthorized: false), but network connectivity and firewall settings must allow access to the SAP B1 Service Layer.
  • Error messages: Errors returned from the SAP API are passed through in the output's error field. Review these messages for specific causes.

Links and References

Discussion