The length of the OCR payment reference number is not correct

Message type: E = Error

Message class: IDFB - Payment Reference Numbers

Message number: 306

Message text: The length of the OCR payment reference number is not correct



What causes this issue?

The length of the Payment reference need to follow the criteria which
are listed here:
Card type code '71': the length of the payment reference number needs to
be 15.
Card type codes '04', '08', '15' and '75': the length of the payment
reference number needs to be 16.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

Check the length of the payment reference number for the entered card
type code.


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.