ME31K – Create Contract
ME31K is the SAP transaction code used to create Purchasing Contracts in Materials Management. Contracts are long-term agreements with vendors for the supply of materials or services under predefined conditions.
TCode:
ME31K – Create Contract
Module:
SAP Materials Management
When to Use:
- When you want to agree with a vendor on pricing and quantity or value for long-term supply
- To automate PO creation through release orders against a contract
- To fix prices and control spend
What Happens in ME31K?
- Select contract type: Quantity Contract (MK) or Value Contract (WK)
- Enter vendor, purchasing org, validity period, and item data
- Save the contract – system assigns a contract number
Pro Tip
Use ME33K to display and track contract usage. Contracts simplify procurement by reducing repetitive entries and ensuring price consistency.
Related TCodes:
- ME32K – Change Contract
- ME33K – Display Contract
- ME31L – Create Scheduling Agreement
ME31K helps companies manage long-term purchasing strategies while ensuring price protection and vendor commitment.
Note: ME31K is available in both ECC and S/4HANA systems.
Want More SAP TCodes?
Explore our full collection of SAP Transaction Codes explained step-by-step with screenshots, pro tips, and module-wise insights.
👉 Visit the Daily TCode Index Page
New posts added regularly from SAP MM, SD, FI and more — covering ECC & S/4HANA.

![ME31K Header – Create Long-Term Contract in SAP MM ME31K – Create Contract in SAP MM [TCode of the Day]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzci-SLwNSRCRZt-rJlhn9XdPGl-pjXuHXwxHcycQupx5BaFnGW28C2DOak-Y-tSQPiW8Of5c0VmQC2-3_SVXAbTMFkE5DCTZnOcKYIYoCjluOBufIwBbeT_0EAWuXEkBn5u2eQWTKgeB3vADPLx0HCb5JWfaKR05Td30DtbS3vnfNZnLlCdkq9VgoIWJ5/w400-h217-rw/me31k-header-create-contract-sapmm.jpg)

Please keep these guidelines in mind when commenting:
Stay On Topic:
Comments should be relevant to the blog post’s subject, focusing on SAP, Microsoft Dynamics 365 FO.
No Promotions or Spam:
Promotional messages, irrelevant links and spam comments will be removed to keep the discussion valuable.
Privacy Reminder:
Please avoid sharing sensitive or personal data in your comments.