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 various purchase-related documents, including Purchase Tax Invoices. Specifically, for the Purchase Tax Invoice resource and the Reopen operation, it allows users to reopen a previously closed or canceled purchase tax invoice by its unique identifier (DocEntry). This is useful in scenarios where a purchase tax invoice needs to be reactivated for further processing or correction after being closed.

Practical examples:

  • Reopening a purchase tax invoice that was mistakenly closed to allow additional edits.
  • Reactivating a canceled purchase tax invoice to resume processing or auditing.

Properties

Name Meaning
DocEntry The unique numeric identifier of the Purchase Tax Invoice document to be reopened.

Output

The node outputs a JSON object representing the response from the SAP Service Layer API after attempting to reopen the specified purchase tax invoice. This typically includes the updated state of the document or confirmation of the action performed.

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

No binary data output is involved.

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 identifier.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • The SAP Service Layer must support the POST method on the /PurchaseTaxInvoices({DocEntry})/Reopen endpoint.

Troubleshooting

  • Authentication errors: If login fails, verify the provided username, password, and company database are correct.
  • Invalid DocEntry: Ensure the DocEntry number corresponds to an existing purchase tax invoice; otherwise, the API may return a not found or similar error.
  • Permission issues: The user account must have sufficient permissions to reopen purchase tax invoices.
  • Network or SSL errors: The node disables strict SSL verification (rejectUnauthorized: false), but network connectivity and firewall settings should allow access to the SAP Service Layer endpoint.
  • API errors: Any error returned by the SAP Service Layer will be included in the output's error field. Review the message for details.

Links and References


This summary focuses on the "Purchase Tax Invoice" resource and the "Reopen" operation as requested.

Discussion