What problem does it solve? It lets operators create and query SAP S/4HANA MM documents (purchase requisitions, purchase orders, goods receipts) directly through OData API calls with curl, while enforcing a LINE-based supervisor approval step before any PR or PO is actually posted to SAP. ## Core Features & Use Cases - Direct SAP OData Integration: Builds and sends payloads to API_PURCHASEREQ_PROCESS_SRV, API_PURCHASEORDER_PROCESS_SRV, and API_MATERIAL_DOCUMENT_SRV using curl with CSRF token and cookie handling, no local API server required. - LINE Approval Workflow: Routes PR and PO requests to the correct supervisor based on a job-level approval matrix and amount thresholds, persisting pending/approved/rejected state files before posting to SAP. - Query Support: Retrieves the latest purchase requisition items and specific purchase order items via GET requests. - Use Case: An operator types in LINE "create a PR for MAT_020, quantity 3, plant 1710, supplier A100, delivery 2026-06-20"; the skill builds the payload, sends the supervisor an approval message, and only posts to SAP after the supervisor replies with the approval command. ## Quick Start Ask the assistant to use the sap-mm-procurement skill to create a purchase requisition for a material with quantity, plant, supplier, and delivery date, after setting the SAP_ODATA_BASE_URL, SAP_USER, and SAP_PASSWORD environment variables.