Actions29
- Activitie Actions
- Business Partner Actions
- Order Actions
- Quotation Actions
- Sales Opportunity Actions
Overview
This node interacts with the SAP B1 Service Layer 3 - CRM to perform various operations on CRM resources such as Activities, Business Partners, Orders, Quotations, and Sales Opportunities. Specifically, for the "Activitie" resource and the "Get by Key" operation, it retrieves a single activity record identified by a unique key (DocEntry). This is useful when you need to fetch detailed information about a specific activity in SAP B1 CRM, for example, to review or process that activity further in your workflow.
Practical examples:
- Fetching an activity's details by its unique identifier to display or update it.
- Integrating SAP B1 activities data into other systems or dashboards.
- Automating follow-up actions based on activity status or content.
Properties
| Name | Meaning |
|---|---|
| DocEntry / Key | The unique identifier (key) of the activity to retrieve. This is required for the operation. |
Output
The node outputs JSON data representing the activity object retrieved from SAP B1 CRM. The structure corresponds to the SAP B1 Service Layer response for an activity entity, containing all fields and properties of that activity.
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 an API authentication credential for SAP B1 Service Layer (an API key or username/password combo).
- Needs network access to the SAP B1 Service Layer endpoint.
- The node performs a login request to obtain session cookies before making the actual data request.
- The SAP B1 company database name must be provided in credentials.
Troubleshooting
- Authentication errors: If login fails, check the correctness of the SAP B1 credentials (username, password, company DB) and network connectivity.
- Invalid DocEntry: Providing a non-existent or incorrect DocEntry will result in an error or empty response. Verify the key value.
- SSL issues: The node disables SSL certificate verification (
rejectUnauthorized: false). If your environment requires strict SSL validation, adjust accordingly. - API endpoint unreachable: Ensure the base URL for SAP B1 Service Layer is correct and accessible from n8n.
- Error messages: Errors are returned in the output JSON under the
errorproperty. Review these messages to identify issues like permission problems or malformed requests.