SAP (On-Prem) (EMS)

The SAP modules allow you to monitor, create, update, release, and delete the purchase orders, purchase order items, sales orders, and sales order items in your SAP account.

Getting Started with SAP

Prerequisites

  • An SAP account - create an SAP account by visiting sap.com/ and talk to the sales team.


The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting SAP to Integromat

1. Go to the Integromat and open the SAP module's Create a connection dialog

 

2. In the Connection name field, enter a name for your connection.

3. In the Username and Password fields, enter your SAP account's credentials.

4. In the System Connection Name field, select the environment you want to connect to:

  • Sandbox
  • Productive

5. Click Continue.

The connection has been established.

Material

Get Material Details

Retrieves material details.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you want to enable the custom error handling for the material.
ActionSelect or map the action to retrieve the details 
PlantEnter (map) the plant or unit name to which the material belongs. 
Material NumberEnter (map) the material number whose details you want to retrieve.
Unit of Measure for DisplayEnter (map) the units to measure the materials. You can enter a three-character unit.

Purchase Order

Change Purchase Order

Modifies a purchase order.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing order.
ActionSelect or map the action you want to perform with the purchase order.
Purchasing Document NumberSelect or map the Purchase Document Number.
Currency KeyEnter (map) the currency key you want to apply to the purchase order.
Text LineAdd the text line items for the purchase order.
Terms of Payment KeyEnter (map) the payment key for the purchase order. For example, card.

Purchase Order Item

Create Purchase Order Item

Creates a purchase order item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing order item.
ActionSelect the action for creating the purchase order item. For example, Post Goods Receipt.
Posting Date in the DocumentEnter (map) the date you want to mention the purchase order for the item.
Assign Code to Transaction for BAPI Goods MomentEnter (map) the code for assigning to the transaction for BAPI goods moment.
Movement Type (Inventory Management)Add the movement type applicable to the item.
Quantity in Unit of Entry  Add the number of items for this purchase order item.
Purchase Order NumberAdd the purchase order numbers applicable to the item.
Item Number of Purchasing DocumentAdd the item number of purchasing document for this item.
Movement IndicatorAdd the movement indicator applicable for this item.

Cancel Purchase Order Item

Cancels a purchase order item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing order item.
ActionSelect or map the action to choose the purchase order item you want to cancel.
Number of a Material DocumentEnter (map) the material document number of the purchase order item you want to cancel.
Material Document YearEnter (map) the material document year.
Posting DateEnter (map) the date of posting the purchase order item you want to cancel.

Purchase Requisition

Create Purchase Requisition 

Creates a purchase requisition.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition.
Material NumberAdd the material number for which you want to create the purchasing requisition.
PlantAdd the plant details to which the material belongs.
Purchase Requisition QuantityAdd the number of items for which you are creating the purchase requisition.

Change Purchase Requisition

Modifies a purchase requisition.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition.
ActionSelect the action to modify the purchase requisition.
Purchase Requisition NumberEnter (map) the purchase requisition number you want to modify.
Text LineAdd the new text lines for purchase requisition. For example, new items to add.

Release Purchase Requisition

Releases a purchase requisition.

ConnectionEstablish a connection to your SAP account.
Custom Error Handling Select whether you disable the custom error handling for this purchasing requisition.
Purchase RequisitionEnter (map) the purchase requisition you want to release.
Release CodeEnter (map) the release code applicable to the purchase requisition which you want to release.

Purchase Requisition Item

Change Purchase Requisition Item

Modifies a purchase requisition item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
ActionSelect or map the actions you want to change in the purchase requisition item.
Purchase Requisition NumberEnter (map) the purchase requisition number you want to change.
Item Number of Purchase RequisitionAdd the item numbers of the item you want to add to the purchase requisition.
Currency KeyAdd the currency key applicable to the purchase requisition item.
Number of Delivery AddressAdd the number of the delivery address to which the items must be delivered.
Item Delivery DateAdd the date on which the item will be delivered.
Material GroupAdd the material groups to which the items belong.
Currency Amount for BAPIS (with 9 Decimal Place)Add the currency amount applicable for BAPIS of the purchase requisition item.
Purchase Requisition QuantityEnter (map) the number of items in the purchase requisition.

Release Purchase Requisition Item

Releases a purchase requisition item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Purchase Requisition NumberEnter (map) the purchase requisition number you want to release.
Item Number of Purchase RequisitionAdd the item numbers in the purchase requisition.

Delete Purchase Requisition Item

Deletes a purchase requisition item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Purchase RequisitionEnter (map) the purchase requisition number you want to release.
Purchase Requisition ItemEnter (map) the purchase requisition item you want to release.
Release CodeEnter (map) the two-character release code applicable to the purchase requisition item you want to release.

Revoke Deletion

Revokes the deletion of a purchase requisition item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Purchase Requisition NumberEnter (map) the purchase requisition number you want to revoke the deletion.
Item Number of Purchase RequisitionAdd the item numbers to teh purchase requisition.

Sales Order

Get Sales Order Details

Retrieves sales order details.

ConnectionEstablish a connection to your SAP account.
Custom Order HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Sales DocumentAdd the sales document numbers whose details you want to retrieve.

Create Sales Order

Creates a sales order.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Sales Document TypeEnter (map) the sales document type. For example, order number.
Sales OrganizationEnter (map) the sales organization name.
Distribution ChannelEnter (map) the channel name through the sales order is distributed.
DivisionEnter (map) the division to which the sales order belongs.
Sales Document ItemAdd the items to the sales order.
Material NumberAdd the material numbers applicable to the items.
PlantAdd the plant to which the material belongs.
Target Quantity in Sales UnitsAdd the number of each item required in the sales order.
Partner FunctionAdd the partners associated with the sales order.
Customer NumberAdd the customer numbers to which the sales order belongs.
Schedule Line NumberAd the schedule line numbers of the sales order.

Change Sales Order

Modifies a sales order.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
ActionSelect or map the actions and enter the details you want to update in the dynamic fields that appear as per your selection.

Set Delivery Block

Sets a delivery block on a sales order.

ConnectionEstablish a connection to your SAP account.
Custom Error Handling Select whether you disable the custom error handling for this purchasing requisition item.
Order NumberEnter (map) the order number for which you want to set a delivery block.
Delivery Block (Document Header)Enter (map) the document header.

Remove Delivery Block

Removes a delivery block from a sales order.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Order NumberEnter (map) the order number for which you want to remove the delivery block.

Post Sales Order

Posts a sales order.

ConnectionEstablish a connection to your SAP account
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
ActionSelect or map the action for posting the sales order.
DeliveryEnter (map) the delivery number of the sales order.
Pick OrderEnter (map) the order number to pick.

Sales Order Item

Change Sales Order Item

Modifies a sales order item.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
ActionSelect or map the actions you want to perform for the sales order.
Order numberEnter (map) the order number which you want to change.
Sales Document ItemAdd the sales document item numbers to the sales order.
Material NumberAdd the material numbers applicable to the items in the sales order.
Schedule Line NumberAdd the schedule line numbers related to the sales order.
Order Quantity in Sales UnitsAdd the number of items in the order.
PlantAdd the plant details applicable to items in the sales order.

Sales Order Item Schedule Line

Set Delivery Block

Sets a delivery block from sales order item schedule lines.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Order NumberEnter (map) the order number whose items you want to set the delivery block.
Sales Document ItemAdd the sales document item numbers set for delivery.
Schedule Line NumberAdd the schedule line numbers for the delivery block.
Schedule Line Blocked for DeliveryAdd the schedule line item numbers that are blocked for delivery to the client.

Remove Delivery Block

Removes a delivery block from sales order item schedule lines.

ConnectionEstablish a connection to your SAP account.
Custom Error HandlingSelect whether you disable the custom error handling for this purchasing requisition item.
Order NumberEnter (map) the order number whose delivery block you want to remove.
Sales Document ItemAdd the sales document item numbers set for delivery.
Schedule Line NumberAdd the schedule line numbers set for the delivery block.
Schedule Line Blocked for DeliveryAdd the schedule line item numbers that are blocked for delivery to the client,

Generic

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your SAP account
Remote Function Module
Enter (map) the module for which you want to perform the API call. Based on the specified function, dynamic fields appear for you to fill and execute the action.

Example - Update Delivery

The following API call returns the specified delivery details from your SAP account:

Remote Function Module:

WS_DELIVERY_UPDATE

Delivery:

0080018919

Matches of the search can be found in the module's Output under Bundle
In our example, the specified delivery details were returned:

 


Popular use cases from our blog

slack-automation-illustration

Slack Automation: 20 Free Templates to Get You Inspired

google-sheets-automation-alt

Google Sheets Automation for Ecommerce: 23 Free Templates

tweet-automation-illustration

How to Get Someone's Tweets Before Anyone Else Does

onboarding-automation-with-integromat-alt

How to Automate Employee Onboarding in Minutes with Integromat

shopify-order-to-manufacturer-illustration-alt

How to Auto Send Shopify Orders to Dropshipping Suppliers [Guide]

strava-exercise-to-google-sheets-illustration

Like a Champ: How to Save Strava Activities to Google Sheets

Didn’t find what you were looking for?

Ticket

Create a ticket

Contact our world-class support team and tell us what’s happening.

Create a ticket
Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.