Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Integration (CVI)
in ERP2005
Steffen Dockhorn
SAP AG
Overview
Controller and Strategy
Key Mapping and Key Assignment
Data Mapping
Dialog Extensions@FS-BP
Complex Interface for CVI
Special Functions
Documents & Question & Answers
Overview
General Information
The replication between business partner, customer master (including
customer contact) and vendor master is bidirectional and synchronous. The
changes in the business partner are replicated directly within the same LUW
to the corresponding ECC object and vice versa.
CVI is part of MiniPlatform in ERP2005 where a common architecture for
business partner and product master is used.
Coding is located in SW layer SAP_ABA 7.0 (general parts of controller) and
SAP_APPL 6.0 (maintenance systems S7B and P7D)
It is possible to switch on (or switch off) the whole replication or even parts of
the replication.
CVI was designed to be used in one system in one client (no distribution)
CVI was not designed to replace maintenance transactions from FI/SD/MM
Architecture
Architecture
CVI Complex Interface
Dialogue Direct
BUS BURS VMDS CMDS (Classic Dynpro) Input
XO
Get
CVI
Outbound
Customer Vendor
APIs APIs
Validation
Packages and Responsibilities method calls
BDT objects
CVI_FS_UI_CU CVI_FS_UI_VE
STOMER NDOR
AP-MD-BP-SYN
FS-BP
company code
LO-MD-BP-SYN
handling
business logic
(xo technology
adoption)
CVI_MAPPING_ BUPA_INTERFAC
EXTENSION E_COMPLETE
data completion
method calls
Controller
Platform specific tool residing in software layer SAP_ABA called by every
maintenance operation of master data (implementation in SAP_APPL)
Controls the synchronization of data between the different object types
including data locking/unlocking and avoiding roundtrips during the
synchronization
Each source object sends data to the controller without knowledge of the type
or number of target objects:
Business Partner using BP outbound (CRMC_BUT_CALL_FU )
Customer using BTE 00001321
Vendor using BTE 00001421
Realized in class MDS_CTRL_CONTROLLER
Controller - Customizing I
Synchronization Objects - MDSV_CTRL_OBJ
Delivered by SAP (AP-MD-BF-SYN)
Based on table MDSE_CTRL_OPT (type E)
Available in IMG via Cross-Application Components Master Data Synchronization
Synchronization Control Synchronization Control Synchronization Objects
Controller - Customizing II
active synchronization strategies - MDSV_CTRL_OPT_A
Not delivered by SAP in SAP_APPL, BP relevant entries delivered in EA-FINSERV
Based on table MDSC_CTRL_OPT_A (type C manual transport required!)
Available in IMG via Cross-Application Components Master Data Synchronization
Synchronization Control Synchronization Control Activate Synchronization
Options
Strategy
Called by the controller
Creates entries for Post Processing Office in case of errors (if active)
Calls the strategy implementations for the active combinations of source and
target object
business partner to customer: CVI_STRATEGY_BP_CUSTOMERPROCESS
business partner to vendor: CVI_STRATEGY_BP_VENDORPROCESS
customer to business partner: CVI_STRATEGY_CUSTOMER_BPPROCESS
vendor to business partner: CVI_STRATEGY_VENDOR_BPPROCESS
Also used to synchronize SAP product and material master data
Key mapping
Key mapping is used to create and read assignments of BPs to customers,
customer contact persons and vendors if required (and vice versa)
Realized in classes in package CVI_MAPPING
CVI_KA_BP_CUSTOMER to assign customers and contact persons to BPs
CVI_KA_BP_VENDOR to assign vendors to BPs
Important methods:
GET_ASSIGNED_CUSTOMER_FOR_BP
IS_CUSTOMER_REQUIRED_FOR_BP
GET_ASSIGNED_VENDOR_FOR_BP
IS_VENDOR_REQUIRED_FOR_BP
CVI_VEND_LINK
Migration of existing link tables BD001 and BC001 is not required for general
functionality
Old and new link tables are used for reading
New entries are saved to new tables only
Migration reports are offered by SAP
CVI_MIGRATE_CUST_LINKS
CVI_MIGRATE_VEND_LINKS
Data mapping
Data mapping is used to synchronize data that is available at BP as well as at
customer/vendor master with same meaning
It is initiated by the responsible strategy triggered by
Business partner outbound
Customer BTE 00001321
Vendor BTE 00001421
Complex structures are used for CVI objects
BUS_EI_EXTERN for BP and BP relationship data
CMDS_EI_EXTERN for customer data
VMDS_EI_EXTERN for vendor data
Dialog Extensions
Additional fields for customer and vendor are offered in BP dialog,
especially in company code, sales and purchasing data (all fields already
offered in the old solution + extensions according to requirements)
Fields are arranged in a way to easily differentiate responsible objects
Header data in company code, sales and purchasing organization can be
changed within one transaction for single BPs
XO
Get
CVI
Outbound
Customer Vendor
APIs APIs
Customer objects
1..* * 1..* * * 1
cvi_ao_customer cvi_po_customer
cvi_mo_customer
fsbp_bo_cvi
cvi_po_cust_text
cvi_ao_customer_company_code cvi_ao_customer_sales_area
CMD_INTERFACE
fsbp_company_code cvi_sales_area
cvi_mo_cust_text cvi_mo_kna1 cvi_mo_knat cvi_mo_knb1 cvi_mo_knb5 cvi_mo_knbw cvi_mo_knex cvi_mo_knva cvi_mo_knvi cvi_mo_knvp cvi_mo_knvv
Vendor objects
1..* * 1..* * * 1
VMD_INTERFACE
cvi_ao_vendor_company_code cvi_ao_vendor_purchase_org
fsbp_company_code cvi_purchasing_org
XO
Get
CVI
Outbound
Customer Vendor
APIs APIs
CVI_EI_INBOUND_MAIN
Submit BP and BP relationship data, submit customer and vendor data
(except attributes mapped from BP)
Optional customer/vendor based roles can be switched
No call of default value implementations/function modules
Not RFC enabled, not released for customer use
CVI_EI_EXTERN
BUS_EI_EXTERN – Business Partner Master Data
CVI_EI_INBOUND_MAIN_DEFAULT
Submit BP and BP relationship data
Optional customer/vendor based roles can be switched
call of default value implementations/function modules
Call of CVI_EI_INBOUND_MAIN
Not RFC enabled
CVI_EI_EXTERN
BUS_EI_EXTERN – Business Partner Master Data
FLBPC1 – Create BP
from Vendor
FLBPC2 – Assign BP
to Vendor
Synchronization Cockpit
Transaction MDS_LOAD_COCKPIT
Mass synchronization of BP and customer/vendor master data (especially for
initial load)
Several options can be selected (e.g. number range or account group)
Initial reports for customizing adjustment can be started
Synchronization Cockpit
Migration reports
Tax data
Adjust tax data entries in DFKKBPTAXNUM and KNA1/KNAS/LFA1/LFAS
Required due to implementation of tax data mapping (prevent data loss)
CVI_ANALYZE_CUST_TAX_NUMBERS, CVI_ANALYZE_VEND_TAX_NUMBERS,
CVI_SYNC_CUST_TAX_NUMBERS, CVI_SYNC_VEND_TAX_NUMBERS
Link table entries
Copies link entries from BD001/BC001 to CVI_CUST_LINK/CVI_VEND_LINK,
entries have to be deleted manually from old tables
Not required but recommended for performance and search help
CVI_MIGRATE_CUST_LINKS, CVI_MIGRATE_VEND_LINKS
Role customizing
Replace BDT data sets and applications by new ones, adjust field status settings
Only required if customer uses own roles
CVI_ADJUST_ROLE_CUSTOMIZING
Important Notes:
851444 - BP_CVI: Data assignment of CVI in ERP 2005
851445 - BP_CVI: Details for the reports to be executed for ERP 2005
852870 - BP_CVI: Changes in BDT Customizing for ERP 2005
852991 - BP_CVI: Extension options of CVI in ERP 2005
858005 - ERP 2005 SP Stack 1 (10/2005) Release and Information Note
872185 - BP_BCL: Performance optimization in the XO framework
874412 - Additional info about upgrading to SAP ECC 6.0 with IS-M
878817 - BP_BCL: Date fields in the direct input are not initialized
879287 - BP_CVI Deleting mandatory partner roles
880840 - BP_CVI Deleting dunning area deletes everything
881467 - Notification workflow when creating a postprocessing order
890371 - BP_CVI: Missing names in the BP dialog
898519 - BP_CVI: CVI_SYNC_CUST_TAX_NUMBERS - lock table overflow
898560 - BP_BCL: Blank change indicator is not ignored
905917 - BP_CVI: Company code w/o customer/vendor results in error
907860 - ERP 2005: Details for the Business Partner administration
Important Notes:
908022 - International Version of address not synchronized completely
912426 - Usability of maintenance views
912884 - BP_CVI: BP maintenance module with defaults
914027 - Special processing in the controller for return vendors
916443 - BP_CVI: Call for the entry of an order during the saving
921848 - BP_CVI: Own role not possible when creating customer/vendor
923833 - BP_CVI: Performance problem with tax data conversion
925837 - BP_CVI: Preassigned company code is not transferred
928145 - BP_CVI: Company code automatically created for customer
928616 - BP_CVI: Customiz of required entry fields at BP/cust/vendor
929320 - BP_CVI: Field control with inactive strategy
929557 - Credit card synchronisation leads to a dump
932820 - BP_CVI: Error in company code maintenance
936646 - BP_CVI: Reading business partner customer data
936660 - BP_CVI: Übersicht von Buchungskreis, Vertrieb und Einkauf
956054 - BP_CVI Debitoren/ Kreditoren Integration ab ERP2005 (ECC600)