Solution : https://service.sap.com/sap/support/notes/111665 (SAP Service marketplace login required)
Summary :
During cancellation tasks via Transaction VF11 or V.21 in SAP, users may encounter error VF056, indicating a mismatch in the cancellation document and a count discrepancy in billing document items. This issue, stemming from a programming error, affects documents processed before implementing the solution provided in SAP Release 4.5B. The fix involves creating a system message via SE91 to handle data inconsistencies and adjusting the function module RV_INVOICE_CREATE using SE37 to ensure data integrity in future transactions. Ensure to complete any partially reversed transactions prior to applying these changes.
Key words :
field/structure vbsk_e vbsk od_bad_data rvsel-xfeld <<<<<insert 3, partially reversed business transactions created, system displays error message vf056, additional key words cancellation, message class vf, function module rv_invoice_create, export parameters ref, collective cancellation run, original billing document, cancellation billing document
Related Notes :
| 805687 | BAD_DATA is missing in invoice lists |
| 311214 | Doc number with additional 1 in output VF188 |
| 124422 | Number of canceltn. items difs. fr. billing doc. |
| 96722 | Billing doc. causes several cancellation docs. |
| 68981 | Items duplicated in cancellation |