Symptom
Document Reference Numbers of AR/AP Items from Advanced Intercompany Sales Not Matched in Intercompany Matching and Reconciliation (ICMR) in the "Manage Assignments" app.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Cause
The difference in code logic between SD and MM prevents matching.
- The AR line journal entry is created in SD-BIL, and the system-generated invoice field 'reference' includes leading zeros.
- The AP line journal entry is automatically generated in MM, and the document reference ID lacks leading zeros.
Resolution
- If you expect consistency in the leading zeros of the SAP standard document reference, it is suggested to vote for the request in the Customer Influence Portal.
Customer Influence - ICMR cannot match Reference Ids on AP and AR documents due to one missing leading zeroes - As a workaround, modify the function in the “Define Matching Methods” app to fulfill the requirement.
See Also
SAP Help Portal - Functions and Comparison Operators
Keywords
document reference, ID, ICMR, mismatch, assignment, intercompany billing, leading zeros, custom matching rule, LPAD, function, automated billing, AP, AR , KBA , SD-BIL-IV-IB-2CL , Intercompany Billing (Public Cloud) , FIN-CS-ICR-2CL , S/4HANA Intercompany Matching and Reconciliation (Publ Cld) , MM-IV-2CL , Invoice Verification (Public Cloud) , Problem
SAP Knowledge Base Article - Public