Customer-Vendor Integration (CVI)
Customer-Vendor Integration (CVI)
Vendor Integration
Chelliah Soundar
S/4HANA Product Expert
April 2021
PUBLIC
This document covers the following topics
– CVI synchronization must be completed in SAP ERP before starting the technical conversion of the system to
S/4HANA
– SAP supports the synchronization of existing SAP ERP Customers and Vendors to Business Partners using guided
procedures and reports prior to system conversion
– The CVI component ensures the synchronization between Customer/Vendor objects and Business Partner object in
ERP in the direction C/V -> BP
– The CVI component ensures the synchronization between the Business Partner object and the Customer/Vendor
objects in S/4HANA in the direction BP -> C/V
BP APIs
Customer / Vendor Leading Background Leading Background
Data Buffer Object Object Object Object
Get
SAVE CVI
Outbound Customer Customer
Business Business
Partner Partner
Customer APIs Vendor APIs
Vendor Vendor
Business
Central Data General Data Address
Partner
Address
Address
Usages
ERP
Vendors
ERP
Customers
CVI implementation is a prerequisite for converting an SAP ERP system to an SAP S/4HANA system.
All the customers, vendors, and contact persons must be converted to business partners in ERP before starting system conversion.
Objects in Objects in
SAP ERP SAP S/4HANA
The CVI interface ensures the synchronization between the
Customer business partner object and the customer/vendor objects in both Leading Object
ERP and SAP S/4HANA Business Partner
Vendor Roles
Customer
Vendor
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8
CVI Synchronization – Preparation
Preparation
Archive customer/vendor data (optional)
CVI Cockpit
Assign number ranges
SAP ERP
Customer-specific fields (enhancements) in Customer and Vendor need to be included in transaction BP.
Integrate these custom fields to Business Partner so that maintenance of these fields is possible after moving to
S/4HANA.
SAP Notes:
2309153 - BP_CVI: Guideline Version 1.14 for customer enhancements in CVI (customer/vendor
integration) in SAP S/4HANA releases
2295823 - BP_CVI: Transfer of customer / vendor fields to the business partner – template source code
1623809 - Developer documentation for the XO framework
For more details please visit my blog post on CVI Cockpit – Master Data Consistency Check
Number Range
If Customer and Vendor number ranges are not
overlapping. → The business partner number IMG Path
Logistics - General -> Business Partner -> Customers
-> Control -> Define and Assign Customer Number
ranges could be the same as the customer and Ranges
• Maintain business partner number range in such a way that the most numbers from customer or vendor stay unchanged
CVI Synchronization report MDS_LOAD_COCKPIT (Load tool from CVI Cockpit) will assign an internal BP
number to contact persons during synchronization. The internal number is from the number range identified
as the internal standard grouping . Missing this configuration could cause error – R11124 “Business partner
with GUID xxxx does not exist”.
SAP Note 2344905 - BP cannot be created from Customer due to error R11124
Cross-Application Components -> Master Data Synchronization -> Customer/Vendor Integration -> BAdI Definition
IMG Path Business Partner Settings ->Business Add-Ins (BAdIs)
a. BAdI: Data Assignment BP <-> Customer/Vendor/Contact Person a. CVI_CUSTOM_MAPPER
b. BAdI: Data Assignment of Bank Details BP -> Customer/Vendor b. CVI_MAP_BANKDETAILS
c. BAdI: Data Assignment of Payment Cards BP <-> Customer c. CVI_MAP_CREDIT_CARDS
d. BAdI: Data Assignment of Form of Address from Customer/Vendor to BP d. CVI_MAP_TITLE
e. BAdI: Defaults for Creating Data from BP to Customer/Vendor e. CVI_DEFAULT_VALUES
If one legal entity is represented in the SAP ERP system as both customer and vendor,
SAP Note 2363892 enables creation of a single BP with both customer and vendor roles.This is an
optional feature available in BP. The MDS_LOAD_COCKPIT report converts such customers and the
vendors to a single BP if Note 2363892 is applied and its prerequisites are met.
Alternatively, the customer or the vendor could be converted to a BP first. The remaining customer or
vendor is then linked to the BP via transaction FLBPD2 or FLBPC2, see Note 954816. The transaction
can only create one BP role, e.g., FLVN00 or FLVN01.
Often the customer and vendor used for intercompany sales or plant-to-plant stock transport order
(STO) have the same number assigned.
If different number
ranges are used this
should be unchecked
Missing Functions -
Select appropriate
Function (BP)
Preparation Synchronization
Completeness Check
ERP
Go to the monitor tab, select the error from the list and Load Tool (Transaction MDS_LOAD_COCKPIT)
click on the Call PPO icon
You could resolve the master data errors from the PPO
screen or fix the errors outside PPO. See Synchronization
Cockpit help document for more information.
Completeness check
Upgrade Preparation
Post Conversion
Test
SAP S/4HANA
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 32
CVI Synchronization – Post System Conversion
– The API CL_MD_BP_MAINTAIN is used to create business partners in the same system
– To integrate BP/Customer/Supplier master data across different systems, IDOCs or SOA Service can be
used. (SAP Note 2417298 - Integration of Business Partner with Customer and Supplier Roles)
– The following interfaces for business partners still work in S/4HANA side-by-side implementation
▫ CIF interface for business partner, e.g., SCM-EWM, TM
▫ Middleware for BP synchronization, e.g., CRM
▫ BW report on customers and vendors (SAP Note 2500202 - S4TWL - BW Extractors in SAP S/4HANA)
Time required to complete CVI Synchronization depends on the following and more
Vendor Conversion
Error Message No. Message
AR 102 VAT Reg.No. BE448696957 must have length 12
AR 103 Tax Code 1 is longer than 16 characters
Goal Recommendation
▪ Not part of the SAP S/4HANA conversion downtime ▪ Run first cycle of CVI in sandbox with a copy of production
▪ Not in the critical path of SAP S/4HANA conversion ▪ Analyze data errors and identify correction approaches
▪ No last minute surprises ▪ Correct all the data errors in production
▪ Execute CVI synchronization DEV → QAS → PROD
▪ Notes
– 2713963 - FAQ: CVI - Customer Vendor Integration for system conversion to SAP S/4HANA
– 2823632 - Consulting Note for Business Partner Approach and CVI Process
▪ Blogs
– CVI Customizing – Check Report
– CVI Cockpit – Master Data Consistency Check
▪ IS Utilities: SAP Note 2344100 - S4TWL - CVI Integration for SAP ISU
▪ Credit Management: SAP Note 2270544 - S4TWL - Credit Management
▪ IS Retail: SAP Note 2310884 - SAP S/4HANA conversion for site master
▪ HCM: SAP Note 2340095 - S4TWL - Conversion of Employees to Business Partners
▪ CRM: SAP Note 2285062 - S4TWL: Business partner data exchange between SAP CRM and S/4HANA, on-premise edition