Message type: E = Error
Message class:  HRPAY99LOAN - International Payroll: Company Loans 
Message number: 015
Message text: First delete the associated payments
Changing the object ID is equivalent to deleting an infotype record.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
You must first of all delete the existing payments for this contract.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message HRPAY99LOAN015 typically occurs in the context of payroll processing, specifically when dealing with loan payments or deductions in the HR module. The message indicates that there are associated payments that need to be deleted before you can proceed with the action you are attempting (such as deleting or modifying a loan record).
Cause: The error is triggered when: You are trying to delete or modify a loan record that has associated payments or deductions that have already been processed. The system enforces data integrity by preventing changes to records that are linked to other financial transactions.
Solution: To resolve this error, follow these steps: Identify Associated Payments: Use transaction codes like PA20 (Display HR Master Data) or PA30 (Maintain HR Master Data) to check the employee's loan records and associated payments. Look for any payments or deductions that are linked to the loan you are trying to delete. Delete Associated Payments: Navigate to the relevant payroll or
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAY99LOAN014 &1 can not be transferred as &2 &3 were already paid
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAY99LOAN013 Only loan type &2 is permitted for this employee. (ALOAN)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAY99LOAN016 Loan type &1 is not allowed for this employee. (ALOAN)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAY99LOAN017 Loan infotype not allowed for this employee (s. feature ALOAN)
What causes this issue?  The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Syst...
Click on this link to search all SAP messages.