Sub topic 16
Troubleshooting synchronization and data issues
This chapter assumes you know business partner roles, groupings and number ranges, and the role of Customer/Vendor Integration (CVI) in linking a partner to customer and supplier records. It shows how to find the cause of the most common failures.
How a failure shows up
CVI runs when you save a partner in transaction BP. If the business partner part saves but the customer or supplier part fails, the whole save is normally rolled back and you see an error message. The more damaging case is a partner that exists without its link. This happens most often after a migration or a load that bypassed CVI. In that case, downstream processes such as sales orders or invoices cannot find the customer or supplier.
Common problems and causes
| Symptom | Likely cause | Fix |
|---|---|---|
| Customer or supplier cannot be selected in a document | Partner lacks the role, such as FLCU00 or FLVN00 | Extend the partner with the role |
| Save fails with a number error | Grouping has no number range, or the external range is full or the number is already used | Check the grouping and its number ranges in configuration |
| Partner exists but has no customer number | No link row was created, or CVI was not active during creation | Check the link table and resynchronize |
| Company code or sales area data missing | Partner was created only at the general data level | Maintain the company code, sales area or purchasing organization data |
| Required field message on save | A field required by the customer or supplier side is empty | Fill the field in the matching role view |
Check the link directly
The quickest test is to compare partners with their links. This query finds organization partners that have no customer link.
SELECT b~partner
FROM but000 AS b
LEFT OUTER JOIN cvi_cust_link AS c
ON c~partner_guid = b~partner_guid
WHERE b~type = '2'
AND c~partner_guid IS NULL
INTO TABLE @DATA(lt_without_customer)
UP TO 100 ROWS.Many partners are not customers at all, so a row in this list is not an error by itself. Compare it with the partners that you expect to have the customer role.
Resynchronize
If partners exist without links, check that the business partner to customer and supplier mappings are complete in configuration. These cover the number assignment, the grouping mapping and the role mapping. A missing mapping is the usual reason for a failed link. After you correct it, run the synchronization report that SAP provides for CVI. Run it first on a small selection and review its log before you process all partners.
Working method
- Reproduce the error in transaction BP and read the full message text.
- Check the roles on the partner.
- Check the grouping and its number range.
- Check the link table for the partner.
- Check the mapping configuration.
- Retest with one partner before any mass correction.
Exercise
A user created a partner in transaction BP with only the general data. A sales clerk reports that the partner cannot be chosen as a sold-to party. Name two checks to run, and say which one most likely explains the problem.
Show answer
Check whether the partner has the customer role (such as FLCU00 or the sales customer role), and whether the CVI link row and the sales area data exist. The most likely cause is the missing customer role, so no customer record or sales area data was created. Extending the partner with the role and entering the sales area data fixes it.