Automate

Welcome to the Automate community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements

 View Only

Bringing AI and Automation Together: Running Studio Scripts from Claude

  • 1.  Bringing AI and Automation Together: Running Studio Scripts from Claude

    Employee
    Posted 8 days ago
    Edited by Archana Chandar 8 days ago
    1. Build and test the script in Automate Studio
    • Record the required SAP transaction and map the input fields.
    • Test the script with sample data.
    • The script must use the Single upload type. Scripts configured as Bulk cannot be exposed as MCP tools.
    1. Create an SAPAPIStore library in Evolve
    • In Evolve, open Solutions and select Add.
    • Choose SAPAPIStore as the library type, enter a name and description, and save it.
    • A valid SAP Data API licence is required.
    • The SapIntegrationAPIEnable system variable must be set to True.
    • An App Administrator or Global Administrator is required to create the library.
    1. Publish and approve the Studio script
    • Publish the script from Studio to the SAPAPIStore library.
    • The script initially enters Review status.
    • Complete the review task so that the script reaches Production status.
    • The Assemble Tool option becomes available only after the script is approved.
    1. Assemble the MCP tool
    • Select the approved script and choose Assemble Tool.
    • Select the appropriate LLM Connection and SAP Connection.
    • Evolve creates a separate tool for each SAP connection.
    1. Verify the tool in Evolve
    • Open Operations > AI Tools.
    • Confirm that the tool has a green status and that its type is Studio Data API.
    • Check that Allow Write Operations is set correctly for the script.
    • Update the tool description if needed so Claude can select the correct tool.
    1. Restart Claude Desktop
    2. Claude Desktop loads MCP tools when it starts. After assembling or changing a tool, quit Claude Desktop completely, relaunch it, and start a new chat.
    3. Invoke the script from Claude
    4. Use a prompt that clearly identifies the SAP system, tool, and values to update. For example:
    "Using the MCPtool, update the English description of material "XYZ" to 'Test'."
    Claude first runs the request in validate-only mode and then commits the update. If tools are available for multiple SAP systems, include the required system name or ID in the prompt.
    Important checks before testing
    • The script is configured as Single upload type.
    • The script is approved and in Production status.
    • The SAPAPIStore library exists, and the SAP Data API licence is active.
    • The tool is assembled for the correct SAP connection and shows a green status.
    • The MCP client has been restarted after tool assembly.
    • The user associated with the MCP key has Process Permission on the library and valid SAP credentials.
    • Initial testing should be completed in a non-production SAP system, with validation performed before committing any write operation.



      ------------------------------
      Archana Chandar Singh
      Senior Principal Engineer
      *Precisely Software Inc.
      ------------------------------