Actions88
- Purchase Credit Note Actions
- Purchase Invoice Actions
- Purchase Delivery Note Actions
- Purchase Down Payment Actions
- Purchase Order Actions
- Purchase Quotation Actions
- Purchase Request Actions
- Purchase Return Actions
- Purchase Tax Invoice Actions
Overview
This node integrates with the SAP Service Layer to manage various purchase-related entities, including Purchase Returns. Specifically, for the Purchase Return resource and the Get by Key operation, it retrieves a single purchase return document identified by its unique key (DocEntry). This is useful when you need to fetch detailed information about a specific purchase return from SAP Business One.
Common scenarios:
- Fetching details of a particular purchase return to verify its status or contents.
- Integrating SAP purchase return data into other systems or workflows.
- Automating reporting or auditing processes that require exact purchase return records.
Practical example:
You want to retrieve the purchase return with DocEntry 12345 to check its approval status before proceeding with further processing in your workflow.
Properties
| Name | Meaning |
|---|---|
| DocEntry | The unique identifier (number) of the purchase return document to retrieve. |
Output
The node outputs the JSON response returned by the SAP Service Layer API for the requested purchase return document. This JSON contains all available fields and nested objects related to the purchase return, such as header information, line items, status, dates, vendor details, totals, and more.
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.
- No additional external dependencies beyond the SAP Service Layer API and valid credentials.
Troubleshooting
- Authentication errors: If login fails, ensure the provided username, password, and company database are correct and that the SAP Service Layer endpoint is reachable.
- Invalid DocEntry: If the specified
DocEntrydoes not exist, the API may return an error or empty result. Verify the key value is correct. - Network issues: Connection timeouts or SSL errors can occur if the SAP Service Layer URL is incorrect or network/firewall settings block access.
- Permission issues: The user account must have sufficient permissions to read purchase return documents.
- Error messages: The node returns error messages in the output JSON under the
errorkey. Review these messages to identify issues such as invalid parameters or server errors.