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 Delivery Notes. Specifically, for the "Purchase Delivery Note" resource and the "Reopen" operation, it allows users to reopen a previously closed or canceled purchase delivery note by its unique identifier (DocEntry). This is useful in scenarios where a delivery note needs to be reactivated for further processing or correction after being closed.

Practical examples:

  • Reopening a purchase delivery note that was mistakenly closed to add additional items.
  • Reactivating a canceled delivery note to correct errors or update information.

Properties

Name Meaning
DocEntry The unique identifier (number) of the purchase delivery note to reopen. Required input.

Output

The node outputs JSON data representing the response from the SAP Service Layer API after attempting to reopen the specified purchase delivery note. The output typically includes the updated document details or status confirmation.

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 operation.

Dependencies

  • Requires connection to an SAP Service Layer instance.
  • Needs credentials including base URL, username, password, and company database name.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • The SAP Service Layer API must support the POST /PurchaseDeliveryNotes({DocEntry})/Reopen endpoint.

Troubleshooting

  • Authentication errors: If login fails, verify the provided SAP credentials and company database name.
  • Invalid DocEntry: Ensure the DocEntry number corresponds to an existing purchase delivery note.
  • Permission issues: The user account must have rights to modify purchase delivery notes.
  • Network or SSL errors: The node disables SSL verification (rejectUnauthorized: false), but network connectivity and firewall settings should allow access to the SAP Service Layer.
  • Error messages returned in the output JSON under the error key provide clues; check SAP logs for more details if needed.

Links and References

Discussion