SAP Service Layer (Purchases) icon

SAP Service Layer (Purchases)

Todas las entidades de Purchases de SAP Service Layer

Overview

This node integrates with the SAP Service Layer to manage purchase-related documents in SAP Business One. Specifically, for the Purchase Quotation resource and the Get by Key operation, it retrieves a single purchase quotation document identified by its unique key (DocEntry). This is useful when you need to fetch detailed information about a specific purchase quotation from SAP, such as for validation, reporting, or further processing in an automation workflow.

Practical examples:

  • Automatically retrieving a purchase quotation's details after receiving a notification or trigger.
  • Using the purchase quotation data to update other systems or databases.
  • Validating the existence and status of a purchase quotation before proceeding with approvals or order creation.

Properties

Name Meaning
DocEntry The unique identifier (number) of the purchase quotation document to retrieve. Required.

Output

The node outputs the JSON representation of the requested purchase quotation document as returned by the SAP Service Layer API. The output contains all fields and nested objects that describe the purchase quotation, such as vendor info, line items, totals, dates, and statuses.

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

The node does not output binary data.

Dependencies

  • Requires connection credentials to the SAP Service Layer API, including:
    • Base URL of the SAP Service Layer endpoint.
    • Username and password for authentication.
    • Company database name.
  • The node performs a login POST request to obtain session cookies used for subsequent requests.
  • The node uses HTTP methods (GET, POST, PATCH, DELETE) to interact with the SAP Service Layer REST API.
  • No additional external dependencies beyond the configured SAP Service Layer API credentials.

Troubleshooting

  • Authentication errors: If login fails, check the correctness of the SAP Service Layer credentials (username, password, company DB) and network connectivity.
  • Invalid DocEntry: If the specified DocEntry does not exist, the API may return a 404 or similar error; verify the key value.
  • Permission issues: Ensure the SAP user has sufficient permissions to read purchase quotations.
  • Network/SSL issues: The node disables SSL verification (rejectUnauthorized: false), but network firewalls or proxies might still block requests.
  • Error messages: Returned errors are included in the output JSON under the error property. Review these messages to identify issues like invalid parameters or server errors.

Links and References

Discussion