Available Procedures

These procedures are always available and help you explore what's available in your SAP system

Retrieve SAP Services

Command: retrieve some services from sap

Purpose: Get a list of all available SAP services in your system.

Example:

retrieve some services from sap

Returns: A file containing all available SAP services with their names and descriptions.


Retrieve SAP Entities

Command: retrieve some entities from sap

Purpose: Get a list of all entities (data tables) available in a specific SAP service.

Parameters:

  • the api service is "[SERVICE_NAME]" - The name of the SAP service to explore

Example:

retrieve some entities from sap
  the api service is "API_SALES_ORDER_SRV"

Returns: A list of entities including:

  • Technical name

  • Label (user-friendly name)

  • Discover call (command to use for discovery)

  • Reference name (how it will appear in procedures)


Upload an attachment

Read additional documentation here.

Command: upload an attachment to sap

Purpose: Upload a file as an attachment to a SAP instance

Parameters:

  • the file name is "[FILE_NAME]" - The file name the attachment is going to have in SAP

  • the business object type is "[OBJECT_TYPE]" - The code for the SAP entity to upload to. Business object type ~40 chars long (for example, MARA, DRAW, BUS1001006, EKKO_RFQ).

  • the linked sap object key is "[OBJECT_KEY]" - The key of the entity record to upload to.

Example:

the attachment   # will prompt for a file
upload the attachment to sap
  the file name is "my-file.pdf"
  the business object type is "BUS2012" # PurchaseOrder
  the linked sap object key is "4500002066" # PO ID

Returns: Information on the created attachment

Last updated

Was this helpful?