SAP B1 Service Layer 3 - CRM icon

SAP B1 Service Layer 3 - CRM

Interact with SAP B1 Service Layer 3 - CRM

Overview

This node interacts with the SAP Business One Service Layer 3 CRM API to perform operations on various resources, including Business Partners. Specifically, the "Get by Key" operation for the Business Partner resource retrieves detailed information about a single business partner identified by a unique key (DocEntry). This is useful in scenarios where you need to fetch specific customer or vendor data from SAP B1 for further processing, reporting, or integration with other systems.

Practical examples:

  • Fetching a business partner's details before updating their contact information.
  • Retrieving customer data to validate orders or quotations.
  • Integrating SAP B1 business partner data into external CRMs or dashboards.

Properties

Name Meaning
DocEntry / Key The unique identifier (key) of the business partner to retrieve. This is required input.

Output

The node outputs an array of JSON objects, each representing the response from the SAP B1 Service Layer API for the requested business partner. The json field contains the full details of the business partner as returned by the API, including all available fields and metadata.

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

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the SAP Business One Service Layer 3 API.
  • Needs credentials that include the base URL, username, password, and company database name for authentication.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • The environment must allow HTTPS requests to the SAP B1 Service Layer endpoint.

Troubleshooting

  • Authentication errors: If login fails, verify the provided credentials (username, password, company DB) are correct and that the SAP B1 Service Layer is accessible.
  • Invalid DocEntry: If the specified key does not exist, the API may return an error or empty result. Confirm the key is valid and exists in SAP B1.
  • Network issues: Ensure the node can reach the SAP B1 Service Layer URL without firewall or proxy blocking.
  • API errors: The node returns error messages from the API in the output JSON under the error field. Review these messages to diagnose issues such as permission problems or malformed requests.

Links and References

Discussion