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 entities, including Purchase Quotations. Specifically, for the "Purchase Quotation" resource and the "Create" operation, it allows users to create new purchase quotation records in SAP by sending a JSON body with the required data.

Common scenarios where this node is beneficial include automating procurement workflows, integrating SAP purchase processes with other systems, or programmatically managing purchase quotations without manual entry in SAP.

For example, a purchasing department could use this node to automatically generate purchase quotations based on supplier data received from an external system, streamlining the quotation process and reducing manual errors.

Properties

Name Meaning
JSON Body The JSON content sent as the request body to create the purchase quotation in SAP. This should contain all necessary fields according to SAP's Purchase Quotation API schema.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The response from the SAP Service Layer API after creating the purchase quotation. This typically includes details of the created purchase quotation such as its unique identifier and status.
  • pairedItem: Metadata linking the output to the respective input item.

If an error occurs during the creation, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires connection to an SAP Service Layer instance.
  • Needs credentials including:
    • Base URL of the SAP Service Layer API.
    • Username and password for authentication.
    • Company database name.
  • The node performs a login request to obtain session cookies used for subsequent API calls.
  • No additional environment variables are required beyond the configured credentials.

Troubleshooting

  • Authentication failures: If login fails, verify that the base URL, username, password, and company database are correct and that the SAP Service Layer is accessible.
  • Invalid JSON Body: Ensure the JSON body matches the expected schema for creating a purchase quotation in SAP. Invalid or incomplete data will cause API errors.
  • Network issues: Connection problems to the SAP Service Layer endpoint can cause request failures.
  • Error messages: Errors returned from SAP are captured and output in the error field. Review these messages for clues on missing or invalid parameters.

Links and References

Discussion