Aller au contenu principal

SAP Materials

Category: EHR & Practice Mgmt
Node id: sap-materials

Standards: SOC2

Integrates with SAP MM for healthcare materials and supply chain management including stock, materials, and purchase orders

What it does​

  • SAP MM material master data retrieval
  • Stock level and inventory queries
  • Purchase order management
  • OData-based SAP Materials Management integration

Use cases​

  • Query medical supply inventory levels from SAP
  • Track purchase orders for pharmaceutical supplies
  • Material master data sync for supply chain management
  • Inventory monitoring for hospital warehouse automation

Runtime​

  • Performance tier: variable

Input ports​

NameTypeRequiredDescription
material_idtextNoMaterial ID for get_material and check_stock operations
planttextNoPlant code for check_stock filtering
purchase_order_datajsonNoPurchase order data for create_purchase_order operation
vendortextNoVendor/supplier ID for filtering purchase orders

Output ports​

NameTypeRequiredDescription
materialsjsonNoList of materials
materialjsonNoSingle material record
stockjsonNoStock levels for a material
purchase_orderjsonNoCreated purchase order
purchase_ordersjsonNoList of purchase orders
http_statusnumberNoHTTP status code from SAP

Settings​

Basic​

SettingNameTypeRequiredDefaultAllowed valuesDescription
SAP URLsap_urlstringYesBase URL of the SAP MM instance
OperationoperationenumNoget_materialsget_materials, get_material, check_stock, create_purchase_order, get_purchase_ordersMaterials management operation to perform

Auth​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Auth Tokenauth_tokensecretNoBearer token for SAP authentication
API Keyapi_keysecretNoSAP API key

Advanced​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Material Typematerial_typestringNoFilter materials by product type
SAP Clientsap_clientstringNo100SAP client number

Errors​

CodeDescription
SAP_URL_REQUIREDSAP system URL must be configured
AUTH_FAILEDAuthentication to SAP system failed
SAP_REQUEST_FAILEDHTTP request to SAP system failed
UNSUPPORTED_OPERATIONOperation not recognized

Runtime notes​

  • Only one output key is populated per execution depending on the operation
  • material_id is required for get_material and check_stock; plant is an optional filter for check_stock
  • get_materials can be filtered by material_type via config; returns all materials if unset
  • Output shape comes directly from SAP OData response; structure varies by S/4HANA version

See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.

Quelque chose n'est pas clair ? Envoyez vos commentaires sur la documentation par courriel.