Message type: E = Error
Message class:  F0 - FI batch program messages 
Message number: 313
Message text: Payment & contains more than one line item with reference number
Several line items with different customer ID numbers have been
processed in payment &V1&. However, the payment medium may only include
one customer ID number per payment.
The program does not transfer any of the customer ID numbers included
in the items in payment &V1&.
If you require a customer ID number to be transferred to the payment
medium, you must ensure that items with different customer ID numbers
are processed with individual payments. Please see also the explanation
in the <DS:RE.RFFONO_D>report documentation</>.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message F0313 ("Payment & contains more than one line item with reference number") typically occurs during the processing of a payment document in the SAP system. This error indicates that the payment document you are trying to process has multiple line items that share the same reference number, which is not allowed in certain payment processing scenarios.
Cause:
Duplicate Reference Numbers: The payment document contains multiple line items that have the same reference number. This can happen if multiple invoices or transactions are being paid with the same reference.
Configuration Issues: The system may be configured to disallow multiple line items with the same reference number for specific payment methods or transaction types.
Data Entry Errors: Manual entry errors during invoice or payment processing can lead to duplicate reference numbers being assigned to different line items.
Solution:
Review Payment Document: Check the payment document in question to identify the line items that have Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
F0312 Deleting of cross-referenced texts is not allowed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
F0311 The line item for payment &2&3 does not contain a reference number
What causes this issue?   The item being processed in the payment &V1& &V2&&V3& does not contain a valid reference number. How...
F0314 The reference numbers contained in the line items have not been copied
What causes this issue?  Several line items have been processed in payment &V1&. However, because the payment medium can only include one cust...
F0315 No minimum amounts have been entered as yet
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.