SAP Program RJBDLN_DEL - Deletion of Loan Master Data without Archiving

Purpose
The program RJBDLN_DEL deletes loan master data from the database. Thisprogram deletes data pool transactions only. If you try to use thisprogram to delete non-data pool transactions, the system writes anerror message in the log. If you delete a transaction using thisprogram, the transaction information is completely deleted (in contrastto the archiving process) and is no longer available in the system.
Transactions are deleted in reverse order. This means that you cannotdelete loan master data if a financial object for the loan still existsin the system (the system checks this automatically). You must deletethe corresponding financial object (transaction JBDFOLN_DEL - deletionof financial objects for loans) before you can delete the master data.

Selection
The initial screen includes several selection options. All selectioncriteria (with one exception) are linked by an 'AND' relationship. TheBusiness partner and External BP Number fields are theexception. These two fields are linked to one another by an 'OR'logical operator. This gives you the option of entering both thebusiness partner and the external business partner number for the samedeletion run. An 'AND' logical operator links these two fields to theother selection criteria.
Further restrictions:
Transaction End to field: The system selects transactions thathave a transaction end date that is before or equal to the date enteredin this field. If you do not enter a date, the system enters themaximum date (31.12.9999).
Indicator Delete transactions without transaction end: If youset this indicator, the system also processes transactions for which notransaction end has been defined.
Further selections:
Indicator Delete transactions with remaining balance: If you setthis indicator, the system also processes transactions that still havea remaining balance (not equal to 0). If the transaction still has aremaining balance, the system outputs a warning message in the log anddeletes the transaction as long as no major errors (indicated by a redtraffic light) occur in the deletion run.
Control parameters:
Test Run indicator: If you set this indicator, the systemcarries out checks only and does not delete anything from the database.
Size of Processing Block field: You can use this field tocontrol performance.

Output
Once you have run the deletion program, the system displays and saves alog. If no errors occurred during the deletion run, the system flagsthe log with a green traffic light. If only minor errors occurredduring the deletion run, the system flags the log with a yellow trafficlight. If you started the run as an update run, the yellow trafficlight indicates that the system has deleted all selected transactionsor financial objects. If you started the run as a test run, the yellowtraffic light indicates that the system would have deleted all theselected transactions or financial objects, had the run been an updaterun. If the system could not delete all selected transactions orfinancial objects, it flags the log with a red traffic light. You canuse transaction SLG1 to display the log at a later point in time. Theobject for selecting the deletion log is called JB_DEL. You can specifya subobject in order to restrict further the choice of logs offered fordisplay. The subobject for this deletion program is called LN.
To delete logs, use transaction SLG2.