Quick answer

What is an SAP Business Partner, and how do you mass create Business Partners from Excel?

An SAP Business Partner (BP) is the one master record S/4HANA keeps for every organisation or person you do business with. You maintain it in the BP transaction, and its roles decide whether SAP also creates a customer (KNA1) or a supplier (LFA1) behind it. PostNow.ai does the SAP Business Partner mass upload from Excel in two ways. API mode posts each row to SAP's published API_BUSINESS_PARTNER with its roles, addresses, bank details and tax numbers in one request. BAPI mode calls BAPI_BUPA_CREATE_FROM_DATA, or the RFC function your SAP team builds on SAP's customer/vendor integration for company code and sales area data. Every row gets SAP's answer and the new BP number back.

  • Decide before the first row: BP category, grouping (it sets the number range) and the roles each partner needs.
  • Post through an interface SAP supports for BP. SAP does not support batch input in transaction BP, so a screen recording of BP is not a route to build on.

This page is for master data teams on SAP S/4HANA who create or change Business Partners in bulk as daily work: new suppliers from onboarding, new customers, corrected search terms or blocks. For the ECC customer and vendor transactions, see the XD01 customer master upload and the XK01 vendor master upload; for a one-time load during a migration, see SAP master data migration.

How PostNow.ai mass creates SAP Business Partners from Excel

PostNow.ai treats a Business Partner upload as a template: a designer builds it once against your SAP system, publishes it, and operators run their own Excel files through it under their own SAP user. One row is one Business Partner, and SAP's answer lands on that row.

  1. Pick the posting route. In API mode, choose Business partner (create): PostNow.ai reads the API_BUSINESS_PARTNER service definition from your own system and offers the partner fields plus the role, address, bank, tax, identification, customer and supplier parts that your service version contains. In BAPI mode, search for BAPI_BUPA_CREATE_FROM_DATA (Find with AI suggests it for transaction BP) or type the name of the RFC function your SAP team provides.
  2. Map the columns. Drag fields onto columns, use Auto Map, or let Mapping AI propose the matches from your headers or a screenshot; it never sees the cell values. When a partner needs several lines in one list, such as two roles or two bank accounts, use header and detail rows: the H row carries the partner, and each D row adds one line.
  3. Fix what must not vary. Make the BP category, the grouping and the roles fixed values, because they decide the number range and the customer or supplier record SAP creates. Give country, region and tax number category a value list with Restrict on, so Validate refuses anything outside it.
  4. Validate the file. Validate checks every cell offline for required values, type, length, characters, dates and allowed values, and colours the failing cells. With Pre-Validation on, it also asks SAP whether each code exists in its check table.
  5. Test on a quality client. In BAPI mode, Simulate calls the function for every row and then BAPI_TRANSACTION_ROLLBACK instead of a commit, so SAP's own checks come back without creating anything. In API mode, Simulate checks the row formats and sends nothing to SAP, so prove a new API template with Run Scope on two or three rows in a quality client and open the result in BP.
  6. Run and write the BP number back. Run posts each row under your own SAP user. In BAPI mode PostNow.ai commits a row only when SAP returns no error. The new number (the BAPI's BUSINESSPARTNER export, or BusinessPartner in the API response) goes to a column next to the source row. If you click Run again on the same sheet, PostNow.ai first lists the rows that already posted and offers Skip posted rows, Post again or Cancel. Retry Failed re-posts only rows marked ERROR, scanning from the current Start Row.
  7. Publish for the team. Operators get a run-only template: they paste their partners, validate and run. If an approval policy covers the template, the run waits for an approver, and the central audit records each run's template, system, client, user and result.
ⓘ
A row marked UNKNOWN needs a look in SAP first. When SAP's answer is lost after the request may have reached SAP, PostNow.ai marks the row UNKNOWN instead of ERROR, and Retry Failed leaves it alone. Search for the partner in BP before you post it again, or you may create a second Business Partner.

How the BP transaction works and what it replaced

On S/4HANA the BP transaction is the single point of entry to create, edit and display business partners, customers and suppliers (SAP conversion guide). PostNow.ai posts to the same object through SAP's interfaces, so every partner it creates is the one your users open in BP.

A Business Partner has three layers: central data (category, grouping, name, address, tax numbers, bank details), roles (customer, supplier, contact person), and role data per organisational unit (company code, sales area, purchasing organisation).

Job on SAP ECCOn SAP S/4HANAWhere the data lands
Any of these jobs, in PostNow.aiAn API or BAPI template that posts to the Business PartnerBUT000, plus the customer or supplier tables below
XD01 customer, all viewsBP with customer roles FLCU00 and FLCU01KNA1, KNB1, KNVV
FD01 customer, accountingBP role FLCU00 with company code dataKNA1, KNB1
VD01 customer, salesBP role FLCU01 with sales area dataKNA1, KNVV
XK01 vendor, all viewsBP with supplier roles FLVN00 and FLVN01LFA1, LFB1, LFM1
FK01 / MK01 vendor, accounting / purchasingBP role FLVN00 / FLVN01LFA1, LFB1 / LFA1, LFM1

Call XD01 or XK01 on S/4HANA and SAP sends you to BP; SAP's conversion guide lists the redirect, and the notice on screen is message MD_BP028, “Redirecting to transaction BP, as transaction & is obsolete”. Recording BP instead is not an option to build on: SAP knowledge base article 1951318 says batch input and eCATT are not supported in transaction BP, because BP runs on the Business Data Toolset. That is why every route on this page goes through an API or a function module.

Business partner category: person, organisation or group

Every Business Partner is created in one category: 1 person, 2 organisation or 3 group (field BU_TYPE). The category decides which name fields exist, first and last name for a person and name 1 to 4 for an organisation, and it cannot be changed once the partner is saved. A supplier list that mixes sole traders and companies needs a category column, or two templates.

Business Partner roles in SAP: FLCU00, FLCU01, FLVN00, FLVN01

In PostNow.ai the roles are fixed values or role lines in the template, sent with the partner in the same request. A role is what turns a Business Partner into a customer or a supplier, and each organisational view needs its own role.

BP roleMeaningData you maintain with itTable behind it
FLCU00Customer, financial accountingCompany code data: reconciliation account, payment terms, accounting clerkKNB1
FLCU01CustomerSales area data: sales office, currency, shipping, partner functionsKNVV, KNVP
FLVN00Supplier, financial accountingCompany code data: reconciliation account, payment terms, payment methodsLFB1
FLVN01SupplierPurchasing organisation data: order currency, incoterms, purchasing termsLFM1

The general part of the customer or supplier, KNA1 or LFA1, is created with the first customer or supplier role. Company code and sales or purchasing data need the matching role on the partner first. SAP's knowledge base article 2736246 shows the error you get otherwise, here in the Manage Customer Master Data app: the appropriate role, like FLCU00 or FLCU01, is not maintained. The fix is to add FLCU00 for company code data and FLCU01 for sales data.

One partner can hold customer and supplier roles at the same time. Before you create a supplier, check whether the company already exists as a customer: if it does, extend that partner with the supplier roles in BP instead of creating a second one.

Business Partner grouping and number range

In a PostNow.ai template the BP grouping is a fixed value, because the grouping decides the number range, and the number range decides whether your file carries the BP number or SAP assigns it. With internal numbering the BP number column stays empty and SAP's number is written back; with external numbering the number is a column the Validate step checks like any other.

SAP keeps three independent number ranges: the Business Partner in BUT000, the customer in KNA1 and the supplier in LFA1. The BP grouping picks the BP number range, the customer or supplier account group picks the customer or supplier number range, and customer/vendor integration links the two (SAP conversion guide, Number Assignment). These Customizing activities carry the design:

Customizing activityWhat it decides
Define Number Ranges and Define Groupings and Assign Number Ranges (SAP Business Partner > Basic Settings > Number Ranges and Groupings)Which number range each BP grouping uses, and whether that range is internal or external
Define Number Assignment for Direction BP to Customer (Customer/Vendor Integration > Settings for Customer Integration > Assign Keys)Which customer account group a BP grouping creates, and whether the customer gets the same number as the BP (the Same Numbers indicator)
The same activity for suppliers (Settings for Vendor Integration > Assign Keys)Which supplier account group a BP grouping creates, and the same-number setting for suppliers

SAP recommends identical numbers for the Business Partner and its customer or supplier wherever the ranges allow it, because two different numbers for one partner confuse users in every transaction. Identical numbers need number ranges that fit into each other, so settle this before the first load.

ⓘ
Watch files that mix groupings. A file that mixes domestic suppliers, foreign suppliers and employees usually spans several groupings, and each grouping can create a different account group with different required fields. Split the file by grouping, or give the grouping a column with a Restrict list and check the account group behind each value.

CVI: how a Business Partner becomes a customer or supplier

PostNow.ai creates the Business Partner; customer/vendor integration (CVI) creates the customer or supplier behind it in the same save. When a partner gets a customer role, CVI writes the customer record and links it to the partner; with a supplier role, it does the same for the supplier.

TableWhat it holdsUse it to check a load
BUT000Business Partner central data: number, category, grouping, namesEvery row in the file has a partner, in the right grouping
CVI_CUST_LINKPartner GUID to customer numberEvery partner with a customer role has a customer
CVI_VEND_LINKPartner GUID to supplier numberEvery partner with a supplier role has a supplier
KNA1, KNB1, KNVVCustomer general, company code and sales area dataThe customer views your roles asked for exist
LFA1, LFB1, LFM1Supplier general, company code and purchasing dataThe supplier views your roles asked for exist

A designer can add these tables to the PostNow.ai query builder by name, join BUT000 to CVI_VEND_LINK and LFB1, and save the check as a report operators run after every load. A partner that has a supplier role but no row in CVI_VEND_LINK is the one to investigate.

When the synchronisation fails, SAP records it in post-processing: transaction MDS_PPO2 shows the error state of the Business Partner, customer and supplier synchronisation. SAP's conversion guide has you activate post-processing orders for the direction BP to customer and supplier (business processes CVI_03 and CVI_04) so that these errors are recorded there. MDS_LOAD_COCKPIT synchronises existing customers and suppliers to Business Partners during an ECC to S/4HANA conversion; the SAP data quality guide covers cleaning duplicates before that synchronisation runs.

API_BUSINESS_PARTNER, BAPI_BUPA and the CVI-safe route

PostNow.ai offers two routes into the SAP Business Partner, and the right one depends on how much of the customer or supplier you create in the same step. API mode posts to SAP's published OData service API_BUSINESS_PARTNER; BAPI mode calls any RFC-enabled function module by name and reads SAP's verdict from its RETURN parameter.

RouteWhat one row createsBest forPlan for
PostNow.ai API mode: API_BUSINESS_PARTNERThe partner with its roles, addresses, bank details, tax numbers and identification numbers, plus the customer and supplier general data, in one requestNew partners in bulk on S/4HANA, with SAP's published API as the contractThe service must be active in your Gateway; on S/4HANA Cloud it belongs to communication scenario SAP_COM_0008
PostNow.ai BAPI mode: BAPI_BUPA_CREATE_FROM_DATAThe partner: category, grouping, central data, person or organisation name, address and communication data. It returns the new number in BUSINESSPARTNERPartners whose roles and organisational data are added in a second step, and ECC systems with the BP in useThe function has no role, company code or sales area parameters
PostNow.ai BAPI mode: an RFC function on SAP's CVI interfaceThe partner with customer or supplier roles, company code data and sales area or purchasing data, in one saveComplete customers and suppliers, ready to use the moment the row postsYour developers wrap SAP's class CL_MD_BP_MAINTAIN in an RFC-enabled Z function with a RETURN table; KBA 2850047 covers a known issue with partner functions and internal numbering in that class
SAP S/4HANA Migration Cockpit, Customer and Supplier objectsComplete customers and suppliers from SAP's migration templatesThe initial load of a whole partner base during a migrationA project tool run by the migration team; see SAP Migration Cockpit

What API mode sends

PostNow.ai sends the partner and its lists as one deep insert: the root A_BusinessPartner with to_BusinessPartnerRole, to_BusinessPartnerAddress, to_BusinessPartnerBank, to_BusinessPartnerTax, to_BuPaIdentification, to_Customer and to_Supplier, offering only the parts your service's metadata contains. SAP processes a deep insert as one unit, creating all of it or none of it (SAP tutorial), so a failed row leaves no half-built partner behind. The new number comes back as BusinessPartner and is written to the row. Company code and sales area or purchasing data sit one level further down in the API, under the customer and the supplier; for those, use the CVI route in BAPI mode.

What BAPI mode needs from the function

PostNow.ai calls the function under the user's own SAP login, reads RETURN, and then commits with BAPI_TRANSACTION_COMMIT (WAIT = 'X') only when SAP returned no error or abort message; otherwise it rolls back. Simulate calls BAPI_TRANSACTION_ROLLBACK instead of a commit. So a Z function built for this should not commit on its own: PostNow.ai's commit and rollback then decide whether the partner exists, and Simulate stays a true test. BAPI mode needs no PostNow.ai objects in SAP, only RFC access and the normal Business Partner authorisations.

ⓘ
Which interfaces SAP supports. SAP Note 2417298, "Integration of Business Partner with Customer and Supplier Roles", lists the interfaces SAP releases for creating customers and suppliers through the Business Partner. Do not build on RFC_CVI_EI_INBOUND_MAIN: KBA 2650140 says it is not supported from S/4HANA 1709 FPS2 on. The general trade-off between function modules and recordings is in BAPI vs BDC in SAP.

Mass change Business Partners from Excel

PostNow.ai mass changes Business Partners with Mass Change: a designer saves a query on the partner tables, the operator downloads the partners into the template sheet, edits the cells that need to change, and Update changed rows posts only the rows that differ from the download. PostNow.ai keeps a hidden baseline copy of the download to tell which rows changed, and each changed row gets SAP's answer in its Run Log.

Change templateHow it postsWhat to know
PostNow.ai API mode: Business partner (change)One update per entity: the partner first, then each address, role, bank or tax line that has values in the row. Each update first reads the record and sends its ETag where SAP provides one, so SAP refuses the change if someone else changed that record in betweenOnly filled cells are sent, so a blank cell never clears a value in SAP. If one update fails, the row stops there and its message names what was already saved
PostNow.ai BAPI mode: BAPI_BUPA_CENTRAL_CHANGECentral data: search terms, language, form of address, central block, person or organisation names, with the matching update flag in CENTRALDATA_XMap only the fields you mean to change. A mapped field travels with its update flag, so an empty cell in a mapped column clears that value in SAP

Start the download from a query that selects only the partners in scope, for example BUT000 filtered by grouping and creation date, so the sheet holds nothing you do not intend to touch. Download again just before you edit if others maintain the same partners in BP; your row overwrites their change if you changed that row too. More on the mechanics is in SAP mass change from Excel.

SAP's own route for governed bulk changes is SAP Master Data Governance, whose consolidation and mass processing can update business partners in bulk and apply data quality rules (SAP Learning). It is the governed route for organisations that run MDG; the older ECC mass maintenance transactions are compared in SAP mass change.

Worked example: 25 new suppliers for company code 1010

PostNow.ai handles this with one published BAPI template on the CVI route. Procurement sends 25 new suppliers for company code 1010 and purchasing organisation 1010. All are companies, so the category is organisation (2). The SAP team has built an RFC-enabled function on CL_MD_BP_MAINTAIN that takes the partner, roles FLVN00 and FLVN01, one company code and one purchasing organisation per call, and returns a RETURN table.

  • Check for duplicates first. A designer's query reads LFA1 and KNA1 by VAT number STCEG. Two rows match: one company is already supplier 100045, so it leaves the file; the other exists only as a customer, so it goes to the master data team, who add the supplier roles to that partner in BP.
  • Build the template. Category 2, the supplier grouping with internal numbering, both roles, company code 1010 and purchasing organisation 1010 are fixed values. Country, payment terms and reconciliation account have value lists with Restrict on.
  • Validate. Two cells fail: a VAT number one character too long and a payment term outside the list. Procurement corrects both in the sheet.
  • Simulate and pilot. Simulate runs all 23 suppliers and rolls back. One row returns a reconciliation account error for company code 1010; Finance supplies the right account. Run Scope then posts three rows, and the team opens them in BP and checks LFB1 and LFM1.
  • Run the rest. The remaining 20 rows post. Each row shows its new BP number; with the same-numbers setting, the supplier number in LFA1 is identical. A query on CVI_VEND_LINK confirms 23 links for 23 partners.

Checklist before an SAP Business Partner mass upload

PostNow.ai enforces formats, fixed values and allow-lists in the template; this list covers the decisions that sit with your SAP team and the business.

  1. Category per row: organisation, person or group, decided before the run, because it cannot be changed later.
  2. Grouping and number range: internal or external, and whether the customer or supplier takes the same number as the BP.
  3. Roles per partner: FLCU00 and FLCU01 for customers, FLVN00 and FLVN01 for suppliers, each with the organisational data it needs.
  4. Duplicates removed: the file is checked against existing customers and suppliers by tax number, and against itself.
  5. Field status known: the BP role, the grouping and the account group can all make a field required; the template's required columns match your configuration.
  6. Tested in a quality client: Simulate or a Run Scope pilot of a few rows, opened in BP, with the customer or supplier views checked.
  7. Check report ready: a saved query on BUT000 and the CVI link tables, to confirm every partner got its customer or supplier.
  8. Answer for UNKNOWN rows: who looks the partner up in BP before anyone posts that row again.

Common SAP Business Partner upload errors

PostNow.ai writes SAP's message to the row it belongs to, and AI Review explains a failed row from SAP's messages and the field schema, without the cell values. These are the errors Business Partner loads meet most often.

What you seeWhat it meansFix
The appropriate role (like FLCU00, FLCU01) is not maintainedThe row sends company code or sales data without the role that carries it (KBA 2736246)Add FLCU00 for company code data and FLCU01 for sales data, or the supplier roles for supplier data
The partner exists, but there is no customer or supplierNo customer or supplier role was sent, or the synchronisation failed after the partner was savedCheck the roles on the partner, then MDS_PPO2 for the CVI error; check the grouping's account group assignment
Partner created with the wrong name fieldsThe category was wrong: a person was created as an organisation, or the reverseBlock the partner and create it again in the right category; the category cannot be changed
MD_BP028 when XD01 or XK01 is calledThe transaction is redirected to BP on S/4HANAUse API mode or the CVI route; BP itself does not support batch input
Required field missing for one grouping onlyField status comes from the role, the grouping and the account group togetherFind which of the three makes the field required, then add the column or a fixed value
A change row stops after the first part is saved, or SAP refuses it because the record changedAn API change template sends one update per entity, stops at the first failure, and where SAP provides an ETag, checks that nobody changed the record since it was readRead the row message: it names what was saved. Download again if needed, fix the row and post it again
Row marked UNKNOWNThe answer was lost after the request may have reached SAPSearch for the partner in BP; post the row again only if it is not there

What to plan for in a Business Partner upload

PostNow.ai posts each partner through SAP's own Business Partner logic, so SAP's checks, number ranges and CVI rules apply to every row.

  • Match the route to the data. API mode carries the partner and its lists; company code and sales area or purchasing data travel on the CVI route in BAPI mode.
  • Look up the customer or supplier number afterwards. The row receives the BP number; read the customer or supplier number from the CVI link tables, or rely on the same-numbers setting.
  • Plan the run with the person who owns it. PostNow.ai posts under the user's own SAP login, from their own computer, when they start the run.

Templates like this become repeatable for a team, with designers who build, operators who only run, and approvals tied to the data, as described in Excel to SAP automation. Other master data objects are covered in SAP master data mass upload.

Frequently asked questions

How does PostNow.ai mass create SAP Business Partners from Excel?
PostNow.ai posts one Business Partner per Excel row, under your own SAP user. In API mode it sends each partner to SAP's API_BUSINESS_PARTNER with its roles, addresses, bank details, tax numbers and customer or supplier general data in one request. In BAPI mode it calls BAPI_BUPA_CREATE_FROM_DATA, or an RFC function your SAP team builds on the CVI interface for complete customers and suppliers. Validate checks the file first, and the new BP number is written back to each row. A 14-day free trial is available.
What is a Business Partner in SAP S/4HANA?
A Business Partner is the single master record S/4HANA keeps for an organisation, person or group you do business with. Transaction BP is the single point of entry for business partners, customers and suppliers. The partner's roles decide whether SAP also keeps a customer record in KNA1 or a supplier record in LFA1, which customer/vendor integration (CVI) creates and links to the partner.
Which BP roles do I need for a customer and for a supplier?
A customer needs FLCU00 for company code data and FLCU01 for sales area data. A supplier needs FLVN00 for company code data and FLVN01 for purchasing organisation data. Assign the role before you send its data, or SAP reports that the appropriate role is not maintained.
Can I still use XD01 or XK01 in S/4HANA?
No. On S/4HANA, XD01 and XK01 redirect to transaction BP, and SAP does not support batch input in BP. Customers and suppliers are created as Business Partners with customer or supplier roles. On SAP ECC, XD01 and XK01 remain the transactions for customer and vendor master data, and PostNow.ai uploads them from Excel as recorded transactions.
How does CVI keep KNA1 and LFA1 in sync with the Business Partner?
Customer/vendor integration creates or updates the customer in KNA1 and its company code and sales area tables, or the supplier in LFA1, LFB1 and LFM1, when you save a Business Partner with the matching roles. It records the link in CVI_CUST_LINK and CVI_VEND_LINK. Synchronisation errors are shown in transaction MDS_PPO2.
Which API or BAPI creates a Business Partner?
SAP's published OData service API_BUSINESS_PARTNER creates a partner with roles, addresses, bank details and customer or supplier data in one deep insert. BAPI_BUPA_CREATE_FROM_DATA creates the partner's central data and address and returns the number in BUSINESSPARTNER, but has no role, company code or sales area parameters. For complete customers and suppliers in one save, SAP Note 2417298 lists the interfaces SAP supports; SAP's class CL_MD_BP_MAINTAIN maintains a partner together with its customer and supplier data, and developers wrap it in an RFC-enabled function to call it from Excel.
How do I mass change existing Business Partners from Excel?
Download the partners you want to change into Excel with PostNow.ai Mass Change, edit the cells, and post only the changed rows. An API change template updates each part of the partner separately, sends only filled cells, and where SAP provides an ETag it refuses a change if someone else changed the record in between. A BAPI change template uses BAPI_BUPA_CENTRAL_CHANGE for central data such as search terms and the central block.
How are BP grouping and number range connected?
Each BP grouping is assigned one Business Partner number range, internal or external, in Customizing under Number Ranges and Groupings. The grouping is also assigned to a customer or supplier account group under Define Number Assignment for Direction BP to Customer, which sets the customer or supplier number range. SAP recommends the same number for the partner and its customer or supplier where the ranges allow it.
A professional working in PostNow.ai on a laptop

Roles, grouping, CVI. Settled once.

Load your next Business Partner file into SAP

Map the partner once, check every row before it posts, and get each new BP number back on its row.

Request a demo
Book a demo

Bring one SAP process. We show it end to end.

Tell us where to reach you and which process matters. The PostNow.ai team replies by email to arrange the demo.

  1. 01You send the formIt goes straight to the PostNow.ai team.
  2. 02We agree a timeWe reply to your work email to set up the call.
  3. 03You see your own processA process from your own SAP work, shown from start to finish.

Request your demo

Name, work email and company are needed.

Please use your company email address.
What would you like to see?

We use your details only to arrange the demo. See our privacy policy.