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.
- Pick the posting route. In API mode, choose Business partner (create): PostNow.ai reads the
API_BUSINESS_PARTNERservice 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 forBAPI_BUPA_CREATE_FROM_DATA(Find with AI suggests it for transaction BP) or type the name of the RFC function your SAP team provides. - 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.
- 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.
- 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.
- Test on a quality client. In BAPI mode, Simulate calls the function for every row and then
BAPI_TRANSACTION_ROLLBACKinstead 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. - 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
BUSINESSPARTNERexport, orBusinessPartnerin 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. - 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.
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 ECC | On SAP S/4HANA | Where the data lands |
|---|---|---|
| Any of these jobs, in PostNow.ai | An API or BAPI template that posts to the Business Partner | BUT000, plus the customer or supplier tables below |
XD01 customer, all views | BP with customer roles FLCU00 and FLCU01 | KNA1, KNB1, KNVV |
FD01 customer, accounting | BP role FLCU00 with company code data | KNA1, KNB1 |
VD01 customer, sales | BP role FLCU01 with sales area data | KNA1, KNVV |
XK01 vendor, all views | BP with supplier roles FLVN00 and FLVN01 | LFA1, LFB1, LFM1 |
FK01 / MK01 vendor, accounting / purchasing | BP role FLVN00 / FLVN01 | LFA1, 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 role | Meaning | Data you maintain with it | Table behind it |
|---|---|---|---|
FLCU00 | Customer, financial accounting | Company code data: reconciliation account, payment terms, accounting clerk | KNB1 |
FLCU01 | Customer | Sales area data: sales office, currency, shipping, partner functions | KNVV, KNVP |
FLVN00 | Supplier, financial accounting | Company code data: reconciliation account, payment terms, payment methods | LFB1 |
FLVN01 | Supplier | Purchasing organisation data: order currency, incoterms, purchasing terms | LFM1 |
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 activity | What 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.
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.
| Table | What it holds | Use it to check a load |
|---|---|---|
BUT000 | Business Partner central data: number, category, grouping, names | Every row in the file has a partner, in the right grouping |
CVI_CUST_LINK | Partner GUID to customer number | Every partner with a customer role has a customer |
CVI_VEND_LINK | Partner GUID to supplier number | Every partner with a supplier role has a supplier |
KNA1, KNB1, KNVV | Customer general, company code and sales area data | The customer views your roles asked for exist |
LFA1, LFB1, LFM1 | Supplier general, company code and purchasing data | The 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.
| Route | What one row creates | Best for | Plan for |
|---|---|---|---|
PostNow.ai API mode: API_BUSINESS_PARTNER | The partner with its roles, addresses, bank details, tax numbers and identification numbers, plus the customer and supplier general data, in one request | New partners in bulk on S/4HANA, with SAP's published API as the contract | The 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_DATA | The partner: category, grouping, central data, person or organisation name, address and communication data. It returns the new number in BUSINESSPARTNER | Partners whose roles and organisational data are added in a second step, and ECC systems with the BP in use | The function has no role, company code or sales area parameters |
| PostNow.ai BAPI mode: an RFC function on SAP's CVI interface | The partner with customer or supplier roles, company code data and sales area or purchasing data, in one save | Complete customers and suppliers, ready to use the moment the row posts | Your 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 objects | Complete customers and suppliers from SAP's migration templates | The initial load of a whole partner base during a migration | A 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.
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 template | How it posts | What 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 between | Only 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_CHANGE | Central data: search terms, language, form of address, central block, person or organisation names, with the matching update flag in CENTRALDATA_X | Map 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
LFA1andKNA1by VAT numberSTCEG. Two rows match: one company is already supplier100045, 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 code1010and purchasing organisation1010are 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 checksLFB1andLFM1. - Run the rest. The remaining 20 rows post. Each row shows its new BP number; with the same-numbers setting, the supplier number in
LFA1is identical. A query onCVI_VEND_LINKconfirms 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.
- Category per row: organisation, person or group, decided before the run, because it cannot be changed later.
- Grouping and number range: internal or external, and whether the customer or supplier takes the same number as the BP.
- Roles per partner:
FLCU00andFLCU01for customers,FLVN00andFLVN01for suppliers, each with the organisational data it needs. - Duplicates removed: the file is checked against existing customers and suppliers by tax number, and against itself.
- 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.
- 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.
- Check report ready: a saved query on
BUT000and the CVI link tables, to confirm every partner got its customer or supplier. - 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 see | What it means | Fix |
|---|---|---|
The appropriate role (like FLCU00, FLCU01) is not maintained | The 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 supplier | No customer or supplier role was sent, or the synchronisation failed after the partner was saved | Check 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 fields | The category was wrong: a person was created as an organisation, or the reverse | Block the partner and create it again in the right category; the category cannot be changed |
MD_BP028 when XD01 or XK01 is called | The transaction is redirected to BP on S/4HANA | Use API mode or the CVI route; BP itself does not support batch input |
| Required field missing for one grouping only | Field status comes from the role, the grouping and the account group together | Find 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 changed | An 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 read | Read the row message: it names what was saved. Download again if needed, fix the row and post it again |
| Row marked UNKNOWN | The answer was lost after the request may have reached SAP | Search 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.

