SAP MM TUTORIAL

Business Partner for Vendors in S/4HANA: Roles, Grouping and Number Ranges

How business partner for vendors in S/4HANA works: BP roles, groupings, number ranges, CVI synchronisation, common errors and interview questions.

Anshuman Behuria
Anshuman BehuriaLead SAP Mentor ยท theTechMentor
Updated
Business Partner for Vendors in S/4HANA: Roles, Grouping and Number Ranges
ModuleSAP MM
Read time9 min
LevelIntermediate
T-codes covered

XK01XK02MK01ME21NLFA1LFB1LFM1XK03

If you learned SAP MM on ECC, you remember XK01, XK02 and MK01. In S/4HANA those are gone from the daily process. Vendors are now created as Business Partners through BP, and many learners get stuck on the first attempt: the BP saves, but the vendor is missing in ME21N, or the number range throws an error.

This article explains how business partner for vendors in S/4HANA works in practice. You will see how roles, groupings and number ranges fit together, how Customer Vendor Integration (CVI) links the BP to the supplier record, and how to configure and test it. You will also get common errors with fixes and interview questions.

โšก Key takeaways
  • In S/4HANA, vendors are created through transaction BP; XK01/MK01-style transactions are replaced.
  • BP role FLVN00 holds company code (FI) data and FLVN01 holds purchasing data. A BP with only role 000000 cannot be used in a PO.
  • The BP grouping controls the number range and the vendor account group mapping; keep BP and vendor numbers identical.
  • CVI synchronises BP data into LFA1, LFB1 and LFM1. Verify the link in CVI_VEND_LINK.
  • Most errors come from missing number range assignment, missing CVI mapping or missing roles, not from user data.
  • One BP can be both customer and vendor, which removes duplicate master data.
Process at a glance
  1. 1Define number ranges (BUCF)Create BP intervals that fit the vendor number plan.
  2. 2Set BP groupingsAssign each grouping to a number range in SPRO.
  3. 3Configure CVI mappingMap BP grouping to vendor account group and role categories.
  4. 4Create BP (BP)Add roles FLVN00 and FLVN01 with company code and purchasing data.
  5. 5Verify vendorCheck LFA1 and CVI_VEND_LINK in SE16N.
  6. 6Test in ME21NCreate a PO to confirm the vendor works end to end.

01Why SAP moved vendors to Business Partner

In ECC, customers and vendors were separate master records. The same company that bought from you and sold to you needed two records, with two addresses, two sets of bank data and no shared identity. Duplicates and inconsistent data were common.

In S/4HANA, the Business Partner (BP) is the single leading object for the party. One BP can hold a customer role, a vendor role and others, with one address and one set of general data. The vendor (supplier) still exists in tables such as LFA1, LFB1 and LFM1, because MM and FI processes read them. But it is created and maintained through the BP.

The central BP data sits in BUT000 (general data), with addresses in ADRC and the BP-to-address link in BUT020. Roles are stored in BUT100. The link between BP and vendor is in CVI_VEND_LINK, which maps the BP's partner GUID to the vendor number.

LevelWhere it livesTypical content
General (BP)BUT000, ADRC, BUT0BKName, address, bank, tax numbers
Company codeLFB1Reconciliation account, payment terms, payment methods
Purchasing orgLFM1Order currency, Incoterms, GR-based IV
Vendor generalLFA1Vendor number, search term, account group

02BP roles for vendors: which one do you need

A role decides which screens and data the BP gets. The role is the key concept for vendors because the role decides whether a vendor record is generated in the background.

BP rolePurposeCreates vendor data?
000000 Business Partner (Gen.)General data onlyNo
FLVN00 Supplier (Fin. Accounting)Company code data: reconciliation account, payment termsYes, LFA1 and LFB1
FLVN01 SupplierPurchasing data: purchasing org, partner functionsYes, LFA1 and LFM1
FLCU00 / FLCU01Customer FI and sales rolesCustomer side

A purchasing user needs FLVN01; an accounts-payable user needs FLVN00. A vendor used in both purchase orders and invoice posting needs both. The BP in role 000000 alone cannot be used in a PO.

One BP can also be both customer and vendor, for example a company that is a supplier and a buyer. That is the main benefit of the new model. Add FLCU00 or FLCU01 to the same BP and the customer record is generated with the same number if number assignment is aligned (see below).

03BP grouping and number ranges

The BP grouping controls two things: which internal or external number range the BP uses, and which vendor account group is created when the BP is synchronised. It is the S/4HANA equivalent of the ECC account group, but applied at BP level.

Number ranges for BPs are maintained in SPRO โ†’ Cross-Application Components โ†’ SAP Business Partner โ†’ Business Partner โ†’ Basic Settings โ†’ Number Ranges and Groupings. Two nodes matter: Define Number Ranges (T-code BUCF ) and Define Groupings and Assign Number Ranges.

GroupingNumber rangeTypeSample interval
BP02 Ext. Vendors02Internal2000000000 โ€“ 2999999999
BP03 Ext. Customers03Internal3000000000 โ€“ 3999999999
Z001 Domestic VendorsV1External100000 โ€“ 199999

The values above are sample values; the standard intervals in your system may differ, so check before you copy them. The point is to design the interval so that it does not clash with the vendor number range.

Always decide the numbering concept before go-live. Changing intervals after vendors exist is painful and affects open items, interfaces and reports.

04Customer Vendor Integration (CVI) configuration

CVI is the synchronisation layer. When you save a BP with a supplier role, CVI converts the BP data into vendor master data. Without correct CVI config, the BP exists but no supplier is generated, or the save fails.

The key configuration sits in SPRO โ†’ Cross-Application Components โ†’ Master Data Synchronization โ†’ Customer/Vendor Integration โ†’ Business Partner Settings:

  1. Set BP Role Category for Direction BP to Vendor: maps role category FLVN00 and FLVN01 to the vendor creation. Standard entries normally exist already.
  2. Define BP Role for Direction Vendor to BP: sets which BP role is created when a legacy vendor is converted. Typically FLVN00.
  3. Define Number Assignment for Direction BP to Vendor: here you assign the BP grouping to the vendor account group, and set the number assignment behaviour.
  4. Define Number Assignment for Direction Vendor to BP: the reverse mapping, used when the vendor is created through a legacy path or migration.
  5. Activate Synchronization Control in CVIV_CUSTOMIZ / the synchronisation control node (CVI_CUSTOMIZ-related): ensure the BP is the leading object in your release.

In S/4HANA, the standard approach is "same number" for BP and vendor. In the number assignment table you map the BP grouping to a vendor account group, for example BP grouping Z001 to account group KRED. Test the mapping by creating one vendor through BP and checking LFA1-LIFNR in SE16N.

For the vendor-side fields (reconciliation account, payment terms), you continue to configure account groups using OBD3 (field status) and OBAS (number ranges), as you did in ECC. Account group field control still determines which vendor fields are required.

05Creating a vendor in BP: step-by-step

Here is a worked example with sample values for an Indian vendor, "Shree Packaging Pvt Ltd", Pune.

  1. Run BP. Choose Organization as the BP type.
  2. Select the grouping (for example Z001 Domestic Vendors) and the role FLVN00.
  3. Enter the name, search term SHREEPACK, address (street, city Pune, region MH, country IN, postal code 411001) and language EN.
  4. In the Identification tab, enter tax numbers: GSTIN and PAN, using the tax number categories IN3 (GSTIN) and IN4 (PAN) if they are configured in your system.
  5. On the Payment Transactions tab, add bank details: IFSC in the bank key field, account number and holder name.
  6. Switch to the Vendor: Company Code Data screen: company code 1000, reconciliation account 160000, payment terms ZN30, payment method T.
  7. Add role FLVN01. Enter purchasing org 1000, order currency INR, payment terms and Incoterms.
  8. Save. Note the BP number shown in the status bar.
  9. Check in SE16N table LFA1 for the vendor, and LFM1 for purchasing data. Create a test PO in ME21N with that vendor.

This vendor can now be used in the process described in How to Configure a Complete Purchase Order Cycle in SAP S/4HANA. Vendor purchasing org data also depends on the structure covered in Mastering SAP MM Organisational Structure in S/4HANA.

06Common errors and fixes

Most failures come from configuration gaps, not from user input. Use this table when troubleshooting in a sandbox or project.

Symptom / messageLikely causeFix
"Business partner ... has no vendor role" or vendor not found in POBP only has role 000000Add FLVN00 or FLVN01 and save
"Number range ... not defined" or "Number assignment ... not possible"BP grouping not assigned to a number range, or interval missingCheck BUCF and the grouping assignment node
"Vendor account group could not be determined" (wording varies by release)No mapping from BP grouping to account group in CVIMaintain Define Number Assignment for Direction BP to Vendor
Reconciliation account is requiredAccount group field control in OBD3 or missing FI role dataFill the company code screen, or adjust the field status
Tax number format error for GSTINWrong tax category or lengthUse the correct category and 15-character GSTIN
Mass load creates BPs but no suppliersSynchronisation not run or errors in the CVI logRun CVI_FETCH_ERROR / check the sync cockpit (MDS_LOAD_COCKPIT) and fix the errors

For bulk data, the Migration Cockpit uses the migration object "Supplier" or "Business partner" depending on release. Check which object your release supports before planning the load.

07EWM and logistics impact

EWM consultants are affected too. In EWM, business partners are used for the supplier and carrier in inbound deliveries and for the ship-to party and forwarding agent in outbound. In embedded EWM, BP master data from the S/4HANA system is used directly. In decentralized EWM, partners are transferred through CIF-style or BP replication, depending on the release. See Embedded EWM vs Decentralized EWM on S/4HANA for the architecture differences.

The vendor BP must have a valid role before an inbound delivery can be created from the PO. Missing partner data on the delivery is a frequent cause of EWM inbound issues. The end-to-end picture is in Mastering End-to-End SAP Logistics.

08Interview questions on this topic

  1. What is the difference between BP role FLVN00 and FLVN01? FLVN00 carries FI (company code) data, and FLVN01 carries purchasing data.
  2. How do you keep BP and vendor numbers identical? Use the same interval for both, and set the CVI number assignment so that the BP number is reused as the vendor number.
  3. A BP is saved but the vendor does not appear in ME21N. Why? Check the role (needs FLVN01), the purchasing org data, and the CVI link in CVI_VEND_LINK.
  4. What is the BP grouping? It controls the number range and the vendor account group mapping.
  5. Can one BP be a customer and a vendor? Yes. Add both role sets to one BP. That is the main benefit of the model.

More practice is in Top 30 SAP MM Interview Questions & Scenario-Based Answers. If you practise on an S/4HANA sandbox, create one vendor with each grouping and trace the records in SE16N; that exercise alone prepares you for most BP questions.

๐ŸŽ
Free: SAP MM & EWM video course + interview kit

Get the 40+ lesson playlist, the most-asked interview questions and our 90-day roadmap on WhatsApp.

?Frequently asked questions

What is a business partner in S/4HANA?

A business partner (BP) is the central master data object for any person, organisation or group you do business with. Customers, vendors and contacts are roles of a BP. You maintain it with transaction BP, and the general data is stored once in tables such as BUT000.

How do I configure a business partner vendor in SAP S/4HANA?

Define BP number ranges and groupings in SPRO under SAP Business Partner, then maintain CVI settings: BP role category, number assignment from BP grouping to vendor account group, and the reverse direction. Finally create a test BP with role FLVN00 or FLVN01 and check LFA1 and CVI_VEND_LINK.

What is customer vendor integration (CVI) in S/4HANA?

CVI is the synchronisation layer between the business partner and the legacy customer or vendor records. When you save a BP with a supplier or customer role, CVI generates the corresponding records in tables such as LFA1 and KNA1, so MM, SD and FI processes continue to work.

What is business partner in S4 compared with ECC vendor master?

In ECC the vendor was its own master record created with XK01 or MK01. In S/4HANA the BP is the leading object and the vendor is generated from it. This gives one address and general data for customer and vendor roles.

Can I still use XK01 or MK01 in S/4HANA?

No. In S/4HANA these maintenance transactions are replaced by BP for creating and changing vendors. Use the BP transaction, and check the simplification list for your release for the exact behaviour.

Should the BP number and vendor number be the same?

Yes, SAP recommends identical numbers. Align the BP grouping number range with the vendor account group range and configure CVI number assignment. It makes reporting, interfaces and support much easier.

Which BP role do I need for purchase orders?

You need the supplier purchasing role FLVN01 with purchasing organisation data. If the vendor is also invoiced, add FLVN00 with company code data.

Learn SAP hands-on with theTechMentor

Live weekday & weekend batches or 24/7 recorded courses, with S/4HANA practice server access and interview preparation.