Uploaded by aouraghissam171

SAP S4HANA BP & CVI 10 2022

advertisement
SAP S/4HANA - Business Partner & Customer
Vendor Integration
Chelliah Soundar
SAP S/4HANA Product Expert
October 2022
PUBLIC
This document covers the following topics
▪ Business Partner & Customer Vendor Integration
– BP & CVI in S/4HANA – Overview
– Handling Custom Enhancements
– CVI Synchronization Process
o Preparation
o Synchronization
o Post System Conversion Activities
– Impact on Interfaces
– Lessons Learned
– CVI Synchronization Approach and Recommendation
– Additional Information
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
2
S/4HANA - Business Partner
Harmonized architecture
across applications
Strategic object model in
SAP S/4HANA
BP Categories –
Organization, Person, Group
Relationships between BPs
(“Is Contact Person For”,
“Is Service Provider For”
Business
Partner
Multiple roles such as
customer, vendor
Multiple addresses
General data shared across
different roles
Time dependent addresses,
bank data, relationships
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
3
Customer Vendor Integration (CVI)
– Business Partner is the leading object in SAP S/4HANA
– 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
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
4
S/4HANA – CVI Process
Company Code Data
Sales Area Data
Central Data
CVI Complex Interface
Business Partner
Customer
SAVE
CVI
Customer APIs
CVI Link
Tables
Customer
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
Leading
Object
Background
Object
Leading
Object
Customer
Outbound
Business
Partner
SAP S/4HANA
Synchronization
Vendor
Customer / Vendor
Data Buffer
Get
BP APIs
SAP ERP Synchronization
(Conversion)
Vendor APIs
Customer
Business
Partner
Vendor
Background
Object
Business
Partner
Vendor
Vendor
(Supplier)
5
S/4HANA – Business Partner Data Model
Vendor Data
Business Partner Data
Business
Partner
Organization
Address Data
Address
Central Data
General Data
Roles
Company Code
Data
Phone
Purchasing
Org. Data
Fax
Person
Bank Details
Group
Identification
Numbers
Customer Data
Tax Numbers
Email
URL
General Data
Industry
Sectors
Company Code
Data
Relationships
Contact
Partners
Sales
Org. Data
Address
Address
Usages
ERP
Vendors
ERP
Customers
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
6
BP & CVI in S/4HANA – Business Impact
In S/4HANA the following transactions are no longer available or redirected to transaction BP
▪ Transactions that are obsolete:
– FD06, FK06, MK06, MK12, MK18, MK19, VD06, XD06, XD0, V+21, V+22, V+23, MAP21, FD0
▪ Transactions that get redirected to transaction BP:
– FD01,FD02,FD03, FK01,FK02,FK03, MAP2,MAP3, MK01, MK02, MK03, V-03,V-04,V-05,V-06,V-07,V-08,V-09,
V-11, VAP1, VAP2, VAP3, VD01, VD02,VD03, XD01, XD02, XD03, XK01, XK06, XK07, XK02, XK03
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
7
CVI Synchronization
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.
SAP ERP
SAP S/4HANA
Preparation
Synchronization
Conversion
Post Conversion
Configure CVI in your SAP
ERP system for the
synchronization of
customer/vendor to BP
Create and synchronize
business partners for all the
existing customers and vendors
Convert the system
SAP ERP →
SAP S/4HANA
Configure CVI in your
SAP S/4HANA system for
the synchronization of
Objects in
SAP ERP
Customer
Vendor
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
C/V → BP
The CVI interface ensures the synchronization between the
business partner object and the customer/vendor objects in both
ERP and SAP S/4HANA
BP → C/V
Objects in
SAP S/4HANA
Leading Object
Business Partner
Roles
Customer
Vendor
8
CVI Synchronization – Preparation
Preparation
Archive customer/vendor data (optional)
▪ Implement SAP Notes
▪ Data Cleansing
▪ CVI Configuration
Activate business functions
Integrate custom enhancements (if any)
Implement CVI-related SAP Notes (refer to CVI Cookbook)
Data cleansing (Master data consistency check)
CVI Cockpit
Assign number ranges
Configure CVI in the direction C/V → BP
Implement customer-specific mapping (if necessary)
SAP ERP
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
9
CVI Synchronization – Preparation
Business Function Activation
Activate Business Functions
– CA_SUPPLIER_SOA
– CA_BP_SOA
Ensure switches VENDOR_SFWS_SC1 and VENDOR_SFWS_SC2 are active and have Global Status = on
This is required for the vendor contact persons data to be synchronized with BP contact persons
SAP Note 1454441 - Development of contact person for vendors.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
10
CVI Synchronization – Preparation
Check and Integrate Customer/Vendor Enhancement
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
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
11
CVI Synchronization – Preparation
CVI Cockpit
CVI Cockpit is a comprehensive tool provided by SAP to complete the CVI Synchronization in SAP
ERP system before starting the system conversion. Transaction Code: CVI_COCKPIT
CVI Cockpit – Read Me
CVI Cockpit – Preparation
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
12
CVI Synchronization – Preparation
CVI Cockpit – Data Consistency
Master Data Consistency Check
Master Data Consistency Check
Results
Blogs:
• CVI Cockpit – Master Data Consistency Check
• Improvements to CVI Cockpit as of SAP ERP 6.0 EHP 8 SP17
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
13
CVI Synchronization – Preparation
Number Range
Number Range
 If Customer and Vendor number ranges are not
overlapping → The business partner number
ranges could be the same as the customer and
vendor number
 If Customer and Vendor number ranges are
overlapping → Maintain the business partner
number range in such a way that the most
numbers from customer or vendor stay
unchanged
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
IMG Path
Logistics - General -> Business Partner -> Customers
-> Control -> Define and Assign Customer Number
Ranges
IMG Path
Logistics - General -> Business Partner -> Vendor
-> Control -> Define Number Ranges for Vendor Master
Records
IMG Path
Cross-Application Components -> SAP Business
Partner -> Business Partner -> Basic Settings ->
Number Ranges and Groupings -> Define Number
Ranges / Define Groupings and Assign Number Ranges
14
CVI Synchronization – Preparation
Number Assignment
Option 1 – Same BP number for customer/supplier
Customer 1000
BP 1000
BP 1000
ERP
Supplier 2000
Customer 1000
S/4HANA
BP 2000
BP 2000
Supplier 2000
BP 6000
Customer 1000
Option 2 – New BP number (Different from customer/supplier)
Customer 1000
BP 6000
S/4HANA
ERP
Supplier 2000
BP 7000
BP 7000
Supplier 2000
Option 3 – Merge customer and supplier (Sap Note 2363892)
Customer 1000
S/4HANA
ERP
BP 1000
Supplier 2000
•
Customer 1000
BP 1000
Supplier 2000
Maintain business partner number range in such a way that the most numbers from customer or vendor stay unchanged
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
15
CVI Synchronization – Preparation
Number Range
Define BP Number Range for Contact Person
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
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
16
CVI Synchronization – Preparation
BAdI Implementation
The following BAdIs are provided for CVI data assignment.
You can implement customer-specific mapping like Form of Address from Customer/Vendor to BP
IMG Path
Cross-Application Components -> Master Data Synchronization -> Customer/Vendor Integration ->
Business Partner Settings ->Business Add-Ins (BAdIs)
BAdI Definition
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
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
17
CVI Synchronization – Preparation
One BP for both Customer and Vendor – Optional Feature
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.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
18
CVI Synchronization – Preparation
CVI Cockpit – Check Customizing
CVI Customizing Checks for
Synchronization
Each node on this screenshot
points to a customizing
activity that needs to be
executed or validated
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
19
CVI Synchronization – Preparation
CVI Cockpit – Check Customizing
Activate Synchronization Options
Activate PPO Request
Activate Creation of PPO
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
20
CVI Synchronization – Preparation
CVI Cockpit – Check Customizing
Assign roles to each customer
account group (FLCU00, FLCU01)
If different number
ranges are used this
should be unchecked
Map Account group to BP Grouping
as per customer NR design
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
21
CVI Synchronization – Preparation
CVI Cockpit – Check Customizing
Activate Contact Person
Missing Functions Select appropriate
Function (BP)
These are shown
as examples only
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
22
CVI Synchronization – Preparation
CVI Cockpit – Check Customizing
Assign roles to each vendor
account group (FLVN00, FLVN01)
Map Account group to BP
Grouping as per vendor NR
design
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
Example of different
number ranges
23
CVI Synchronization – Preparation
CVI Cockpit – Suppress Check
Activate Check Suppression
Records not marked
for deletion
Records marked for
deletion
Using this activity, you can suppress field
checks during synchronization of
Customer/Vendor to BP.
Important: The field check suppression
for active records (not marked for
deletion) is provided primarily for POC
(Proof of concept) and is not
recommended for productive
environments.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
24
CVI Synchronization – Synchronization
Preparation
Synchronization
▪ Implement SAP Notes
▪ Data Consistency
▪ CVI Configuration
CVI Cockpit
- CVI Load
- Completeness check
Load Tool
(MDS_LOAD_COCKPIT)
Completeness Check
Correct errors if any and re-run Load Tool
ERP
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
25
CVI Synchronization – Synchronization
CVI Cockpit – CVI Load
CVI Cockpit – CVI Load
Load Tool is used to synchronize
customers and vendors to BP. This
tool when executed creates BPs for
customers and vendors and
associated contact persons as well
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
26
CVI Synchronization – Synchronization
CVI Cockpit – CVI Load – Load Tool
Load Tool
Double click on the desired synchronization Process
Customer -> Business Partner
or
Vendor -> Business Partner
To facilitate error analysis, run a small batch initially
by selecting 10 to 50 customers or vendors.
Execute the report
It creates a corresponding BP for each customer,
vendor and contact person.
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
27
CVI Synchronization – Synchronization
CVI Cockpit – CVI Load – Load Tool
If there are errors in the load tool, the errors will be
captured and displayed under the monitor tab
Go to the monitor tab, select the error from the list and
click on the Call PPO icon
Load Tool
PPO screen shows the details of the error
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.
Correct all master data errors and re-run the report to
complete the synchronization of
customers/vendors/contact persons.
Important: Customers/Vendors with deletion flag will also
have to be synchronized to BP
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
28
CVI Synchronization – Synchronization
CVI Cockpit – CVI Load – Completeness Check
Completeness check
Screenshot after completing
customer records (Shows all the
suppliers as missing link to BP
indicating that the suppliers are not
synchronized yet)
Screenshot after completing both
customer and vendor records
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
29
CVI Synchronization – Synchronization
CVI Cockpit – Upgrade Preparation
Upgrade Preparation
After completing all the activities in
the CVI Cockpit the Overall Status
should show green (Ready)
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
30
CVI Synchronization – System Conversion
Preparation
Synchronization
▪ Implement SAP Notes
▪ Data Consistency
▪ CVI Configuration
CVI Cockpit
- CVI Load
- Completeness check
System Conversion
- Pre-Check
- SUM
Convert system from SAP ERP
to SAP S/4HANA (This activity is
done by the technical team in
the project)
No CVI-related activities during
system conversion
SUM will fail if BPs are not created for
all the customers, vendors, and contact
persons
ERP
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
S/4 HANA
31
CVI Synchronization – Post System Conversion
Post Conversion
Activate synchronization direction BP → C/V
Activate
BP → Cust/Vendor
Test
Deactivate synchronization direction C/V → BP
Activate creation of PPO
Adjust number range definition (Ext/Int) for BP,
customer, and vendor
Test
Additional steps if HCM, CRM, etc. integration is involved
SAP S/4HANA
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
32
CVI Synchronization – Post System Conversion
Activate Synchronization Options
Direction BP -> Customer / Vendor
IMG
Path
Cross-Application Components -> Master Data Synchronization ->
Synchronization Control -> Synchronization Control-> Activate
Synchronization Options
Activate Creation of Post processing Orders (PPO)
for component AP-MD
IMG
Path
Cross-Application Components -> General Application Functions ->
Postprocessing Office -> Business Processes -> Activate Creation of
Postprocessing Orders
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
33
Impact on Interfaces in S/4HANA
– 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)
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
34
CVI Synchronization
How much time do you need?
Time required to complete CVI Synchronization depends on the following and more
− Customer/Vendor/BP number ranges complexity
− Customizing consistency between BP and Customer/Vendor including field attributes
− Customer/Vendor/Business Partner Data consistency and quality
This can be a very long process if the master data needs cleansing, e.g., updating phone numbers/email address,
tax code, etc.
− Customer/Vendor Enhancements
− Data volume
− Master Data / CVI Cockpit / CVI Synchronization Knowledge
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
35
CVI Synchronization
Lessons Learned – Customizing/Master Data issues
Customizing issues (missing or incomplete
customizing)
•
Tax number categories
•
Industries
Master Data quality issues
•
Wrong format for dates, tax codes, trading
partners, bank keys, bank account numbers,
postal code, bank control key
•
Missing / non existing links (e.g. customer <->
vendor)
•
Address forms
•
Departments
•
Non existing TAX and VAT values, bank numbers
•
Legal forms
•
Missing links to ADRC table
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
36
CVI Synchronization
Lessons Learned – Master Data quality issues
Miscellaneous Master Data Errors
Root cause:
•
Human error in data entry
How to resolve:
•
Change master data manually or via tools
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
Customer Conversion
Error Message No.
AM129
AR102
AR103
AR104
AR129
AR191
AR196
BF00211
FSBP_FS_ATTRIBUTES015
GEOCODING002
R1286
R11124
T5002
Message
The transport zone xxxxxx is not defined for country xx
VAT Reg.No. xxxxxxxxxxx must have length 12
VAT Reg.No. xxxxxxxxxxxxx is longer than 12 characters
Bank Key AAA must contain only numbers
Tax code n is not valid
ISO code XX is not correct in the VAT registration number
VAT registration number contains invalid characters
Bank NO does not exist
Company xxx does not exist
Geocoder SAP0: Country specification is incomplete (Customizing)
Business partner x already exists
Business partner with GUID xxxxxx does not exist
Telephone/fax code for country code XX is not maintained
Vendor Conversion
Error Message No.
AR 102
AR 103
Message
VAT Reg.No. BE448696957 must have length 12
Tax Code 1 is longer than 16 characters
37
CVI Synchronization
Approach and recommendation
Goal
Recommendation
▪ Not part of the SAP S/4HANA conversion downtime
▪ Not in the critical path of SAP S/4HANA conversion
▪ No last minute surprises
▪
▪
▪
▪
Run first cycle of CVI in sandbox with a copy of production
Analyze data errors and identify correction approaches
Correct all the data errors in production
Execute CVI synchronization DEV → QAS → PROD
SAP ERP
Continue to use customer /
vendor transactions
CVI creates/updates
corresponding BPs
Convert
data
CVI implementation
Customer
Vendor
Contact
Person
SAP S/4HANA
XD01, XD02…
XK01, XK02…
BP
Use of transaction
BP is not
recommended
Check MDS_PPO2
and address issues,
if any
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
Convert system
from SAP ERP to
SAP S/4HANA
System conversion
may be planned with a
time delay
Execute postconversion
activities
Leading Object
Business Partner
Roles
Customer
Vendor
Contact Person
38
CVI Synchronization
Additional Information
▪ Cookbook
– CVI Cookbook
▪ 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
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
39
Thank you.
Download