Managing vendor data efficiently is crucial for any organization's procurement and supply chain operations. SAP ERP provides the XK01 transaction code to create and maintain vendor master records. This guide will walk you through the various views available in the SAP XK01 Vendor Master and their significance in streamlining vendor-related processes, from the first General Data screen right through Company Code Data, Purchasing Data, and beyond. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.
Managing vendor data efficiently is crucial for any organization's procurement and supply chain operations. SAP ERP provides the XK01 transaction code to create and maintain vendor master records. This blog post will guide you through the process of creating a Vendor Master in SAP, walking you through it step by step.
It helps to understand upfront why the Vendor Master carries so much weight inside SAP. Nearly every procure-to-pay activity - a purchase requisition, a purchase order, a goods receipt, an incoming invoice, an outgoing payment - references the vendor master record behind the scenes. A vendor with incomplete or incorrect master data can quietly block or distort several of these processes at once, which is exactly why getting the initial creation right in XK01 matters far more than its relatively simple set of screens suggests.
XK01 is a centralized transaction, meaning it lets you maintain General Data, Company Code Data, and Purchasing Organization Data together in a single session, rather than jumping between separate MM-only and FI-only transactions. This is what makes XK01 the preferred entry point for most organizations that need a vendor to be usable for both procurement (MM) and accounting (FI) purposes from day one.
Creating a vendor master involves entering organizational data first - the vendor account group, company code, and purchasing organization - before the system presents the detailed content views where the bulk of the vendor's actual data is maintained. Follow the path: SAP Easy Access → Logistics → Materials Management → Purchasing → Master Data → Vendor → Central → Create, or run transaction XK01 directly.
General Data View. The General Data view contains essential information about the vendor, such as name, address, communication details, and currency information. This is where you enter basic data like the vendor's name, address, and contact details. It also includes fields for language and accounting clerk assignments.
Company Code Data View. In this view, you define vendor-specific data for each company code within your organization. It includes payment terms, payment methods, reconciliation accounts, and more. This view is essential for maintaining accurate accounting and payment processes tailored to different company codes.
Reconciliation Accounts. Every vendor maintained for a company code must be linked to a reconciliation account in the general ledger. This is the account that automatically reflects the vendor's open balance in financial accounting whenever a posting is made to that vendor.
Purchasing Data View. The Purchasing Data view focuses on procurement-related details. Here, you can set up information like order currency, order unit, delivery tolerances, and terms of payment specific to purchasing transactions. This view plays a vital role in streamlining the procurement process and ensuring smooth order placement.
Accounting Data View. The Accounting Data view is crucial for managing the financial aspects of vendor transactions. It involves configuring payment terms, terms of payment, cash discounts, and reconciliation accounts. This information is necessary for accurate financial reporting and tracking vendor-related expenses.
Before General Data even appears, XK01 asks for a vendor account group and the relevant organizational levels - company code and purchasing organization. These initial selections look like simple entry fields, but they have an outsized influence on everything that follows in the vendor creation process, which is why they're captured before any of the detailed content views appear.
| Selection | What It Determines |
|---|---|
| Account Group | Which fields are mandatory, optional, or suppressed on the vendor master, the number range the vendor number draws from, and whether the vendor is a one-time vendor or a regular vendor. |
| Company Code | Which Company Code Data view fields appear, since this data - payment terms, reconciliation account, bank details - is always maintained per company code. |
| Purchasing Organization | Which Purchasing Data view fields appear, tailoring procurement-relevant fields to the purchasing organization that will actually place orders with this vendor. |
Because account group in particular affects the field status and number range so significantly, changing it after a vendor has already been created and used in transactions is generally not straightforward - it's a decision worth getting right at creation time, rather than treating as easily reversible later.
After the account group and organizational levels are entered, SAP presents a selection of views to maintain - each one capturing the data relevant to a specific business process the vendor participates in. Not every vendor needs every view maintained; which views are relevant depends on how the vendor is actually used.
Selecting only the views genuinely needed for how a vendor will be used - rather than maintaining every available view regardless of relevance - keeps the creation process efficient and avoids populating fields with meaningless placeholder data just to get past a screen.
| Transaction | Purpose |
|---|---|
| XK01 | Create a new Vendor Master record centrally (General Data, Company Code Data, and Purchasing Data together). |
| XK02 | Change an existing Vendor Master record. |
| XK03 | Display a Vendor Master record without allowing changes. |
| XK04 | Display changes made to a Vendor Master record. |
| XK05 | Block a vendor from being used in specific transactions. |
| XK06 | Flag a Vendor Master record for deletion. |
| FK01 | Create a vendor from the Financial Accounting (FI) side only, without purchasing data. |
| MK01 | Create a vendor from the Purchasing (MM) side only, without company code data. |
Q: What is the Vendor Master, and why is it so central to SAP procurement processes?
The Vendor Master is the fundamental data record describing a supplier's identity, banking, and terms of business across every relevant procure-to-pay process - purchasing, goods receipt, invoicing, and payment - which is why nearly every downstream MM and FI transaction references it.
Q: What is the difference between General Data and Company Code Data?
General Data is client-level information such as name and address that is shared across the whole system. Company Code Data is specific to one company code and covers accounting-relevant fields like payment terms, payment methods, and the reconciliation account.
Q: Why does the Purchasing Data view exist separately from Company Code Data?
Because a single vendor can be purchased from by multiple purchasing organizations, each of which may negotiate different order currencies, order units, or terms - so procurement-specific data is kept separate from accounting-specific data.
Q: Why shouldn't every available view be maintained on every vendor?
Because not every vendor participates in every business process - maintaining irrelevant views adds unnecessary data entry and risks populating fields with meaningless placeholder values that can confuse later analysis or reporting.
Because vendor master data feeds so many downstream processes, most organizations maintain a documented governance process around who can create vendors, which account groups and views are appropriate for which business scenarios, and how naming, address, or banking data should be verified consistently. This is particularly important in larger organizations where multiple teams - procurement, accounts payable, treasury - may all rely on the same vendor record but care about different views within it.
Data quality governance matters here for the same reason it does for material master data: a vendor master created quickly, with only the bare minimum fields filled in, tends to surface as a data quality or even a fraud-risk problem later - once the vendor is already referenced by live purchase orders or open invoices. Establishing a clear creation checklist, including bank detail verification, tailored to the account groups a business actually uses, keeps vendor master quality consistent across a large user base over time.
Recognizing SAP's standard delivered vendor account groups helps with choosing the right one confidently, rather than guessing or defaulting to whichever option happens to be listed first.
| Account Group | Typical Use |
|---|---|
| 0001 (Vendor - domestic) | A regular domestic supplier used for repeated purchasing and payment activity. |
| 0002 (Vendor - foreign) | A regular supplier located outside the domestic country, often requiring foreign currency and cross-border payment terms. |
| 0003 (One-time vendor) | A vendor used for occasional, low-value purchases where creating a full master record for a single transaction is not worthwhile. |
| 0007 (Vendor for Purchasing) | A vendor created primarily for procurement purposes, without full company code accounting data. |
Each account group carries its own field status and number range behavior, which is exactly why choosing correctly at the start of XK01 - as the real-world scenario below illustrates - shapes the entire rest of the creation process rather than being a minor preliminary detail.
Pooja Mishra, an SAP MM consultant at Learn Pharmaceuticals, was asked to create the vendor master for a new domestic raw material supplier ahead of an upcoming purchase order. Purchasing manager Rajesh Pawar explained that the vendor needed to be usable for procurement immediately, while also being ready for accounts payable to process an invoice against the very first delivery.
Working with FI consultant Priya Patil, Pooja used XK01, selecting account group 0001 - Vendor (domestic) and entering the relevant company code and purchasing organization together in the same session. Since the business used external number assignment for this account group, Pooja entered the vendor number provided by the account group's configured number range rather than leaving the field blank.
Business analyst Anita Shah then worked with Pooja to identify which views the new vendor genuinely needed - General Data, Company Code Data (including bank details and reconciliation account), and Purchasing Data, given the vendor would be used for standard purchase orders right away. Skipping the Classification view for the initial creation, since detailed vendor categorization wasn't yet required, kept the creation process focused and avoided unnecessary data entry. Once saved, the new vendor was immediately usable on a test purchase order, confirming the initial vendor master setup had captured everything the onboarding actually depended on.
The Vendor Master's influence extends across nearly every core SAP procure-to-pay process, which is exactly why getting the initial XK01 creation right pays off well beyond the creation screen itself. A vendor's Purchasing Data feeds directly into purchase order pricing, delivery tolerances, and order unit conversions; its Company Code Data governs how invoices are posted and how the vendor's balance is reflected on the reconciliation account; its Payment Transactions data determines how and when payments actually reach the vendor's bank account; and its Partner Functions data controls where purchase orders and goods deliveries are actually routed.
Because so many processes depend on this single record, incomplete or inconsistent vendor master data is one of the most common root causes behind confusing errors elsewhere in the system - a purchase order that won't save correctly, an invoice that can't be posted, or a payment run that skips a vendor can very often be traced back to a gap or inconsistency in the vendor master itself, rather than a problem with the purchasing, invoicing, or payment configuration in isolation.
Once a vendor master is created and saved, it's worth running through a short validation checklist before relying on it in live processes. Display the vendor (XK03) and confirm all the views intended to be maintained were saved correctly with accurate data. Create a test purchase order to confirm the vendor is selectable and behaves as expected for the relevant purchasing organization. Post a test invoice, if appropriate, and confirm it reflects correctly against the vendor's reconciliation account. Finally, confirm the vendor's bank details are correct by cross-checking against an independent source before including the vendor in a live payment run.
Skipping this validation step is one of the more common reasons a newly created vendor causes confusion, delay, or risk during its first use - usually a missing view that wasn't initially selected, or a field within a maintained view that was left at a default value instead of being set correctly for the vendor's actual intended use.
In SAP S/4HANA, the classic Vendor Master concept has been technically merged into the Business Partner (BP) model, so vendor creation is increasingly performed through transaction BP with the appropriate Business Partner role, such as FLVN00 or FLVN01, rather than XK01 directly. That said, many S/4HANA implementations still expose XK01 as a compatible transaction that internally maps to the Business Partner architecture, particularly where established process familiarity favors the classic transaction during a transition period. Regardless of which entry point is used, the underlying logic - General Data, Company Code Data, and Purchasing Data driving procurement and accounting behavior - remains conceptually the same.
Creating a Vendor Master record in XK01 is a foundational step that shapes how a supplier behaves across nearly every SAP procurement and accounts payable process for as long as it remains in use. Choosing the correct account group, entering accurate and verified Company Code Data - especially bank details and the reconciliation account - and maintaining only the Purchasing Data and other views genuinely relevant to the vendor's intended use are what separate a vendor master that supports smooth, reliable processing from one that generates confusing errors or payment risk downstream. Keep this guide handy the next time your project needs to onboard a new supplier, whether a domestic vendor, a foreign vendor, or a one-time vendor.