Do you have any question about this error?
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
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Check the length of the payment reference number for the entered card
type code.
Error message extract from SAP system. Copyright SAP SE.
IDFB306
- The length of the OCR payment reference number is not correct ?The SAP error message IDFB306, which states "The length of the OCR payment reference number is not correct," typically occurs when the payment reference number provided in an OCR (Optical Character Recognition) payment file does not meet the expected length requirements defined in the system.
Cause:
- Incorrect Length: The payment reference number may be shorter or longer than the required length specified in the configuration settings.
- Format Issues: The reference number may contain invalid characters or formatting that does not comply with the expected standards.
- Configuration Settings: The settings in the SAP system for OCR payment processing may not be aligned with the requirements of the payment reference number.
Solution:
Check Configuration: Review the configuration settings for OCR payment processing in SAP. Ensure that the length of the payment reference number is correctly defined according to the requirements of your payment processing system.
- You can check this in transaction code OBPM1 (for payment methods) or OBPM2 (for payment method in company code).
Validate Input Data: Ensure that the payment reference number being inputted adheres to the required length and format. If you are generating this number programmatically, ensure that the logic correctly formats the number.
Adjust Length: If the length of the payment reference number needs to be adjusted, you may need to modify the relevant settings in the SAP configuration or adjust the data being sent to match the expected length.
Testing: After making any changes, perform a test transaction to ensure that the error does not reoccur.
Consult Documentation: Refer to SAP documentation or help resources for specific details on the expected format and length of the OCR payment reference number.
Related Information:
By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
IDFB305
The OCR payment reference is incomplete
What causes this issue? The OCR payment reference consists out of the following three components: - Card type code - Payment reference number - Bank ...
IDFB304
The OCR payment reference contains invalid characters
What causes this issue? The OCR payment reference must contain characters of the string '+ <>1234567890 ' only.System Response The s...
IDFB307
The check digit of the payment reference number is wrong
What causes this issue? The last digit of the payment reference number contains a check digit which was calculated according to the modulus 10 proced...
IDFB308
The length of the payee's bank account is wrong
What causes this issue? The bank account number of the payee needs to consist out of seven or eight digits.System Response The system issues an erro...
Click on this link to search all SAP messages.