SAP Program RJBDFOLN_DEL - Deletion of Fin. Objects for Loans without Archiving

Purpose
The program RJBDFOLN_DEL deletes financial objects for loans from thedatabase. This program deletes financial objects that belong to datapool transactions only. If you try to use this program to deletefinancial objects that belong to non-data pool transactions, the systemwrites an error message in the log. If you delete a financial objectusing this program, the financial object information is completelydeleted (in contrast to the archiving process) and is no longeravailable in the system.
A financial object can contain several parts: a general part, aprofitability analysis part (STC part), a risk part and a limit part.The entries you make on the initial screen determine which parts ofthe financial object are deleted.
If only the general part of the financial object remains once thesystem has deleted the parts that you specify on the initial screen,the system then deletes this general part automatically. If, forexample, a financial object only has a general part and an STC part andyou delete the STC part, the system then deletes the general partautomatically. If only the general part of the financial object existsin the system and you want to delete that general part, you can do soby selecting all parts of the financial object on the initial deletionscreen for example.

Selection
The initial screen includes several selection options. All selectioncriteria (with one exception) are linked by an 'AND' relationship. Thefields Business Partner and External BP Number
are the exception. 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 till 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 Also delete financial objects for transactions withouttransaction end: If you set this indicator, the system alsoprocesses transactions for which no transaction end has been defined(in the master data).
Restrictions for individual parts:
Single transaction costing part:
Delete STC part indicator: If you set this indicator, the systemprocesses the profitability analysis parts (STC parts). If you do notset this indicator, the system does not process the profitabilityanalysis parts.
STC Part Valid till field: The system selects STC parts 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 STC part without transaction end: If you setthis indicator, the system also processes STC parts for which notransaction end has been defined.
Risk part:
Delete risk part indicator: If you set this indicator, thesystem processes the risk parts. If you do not set this indicator, thesystem does not process the risk parts.
Risk Part Valid till field: The system selects risk parts 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 risk part without transaction end: If you setthis indicator, the system also processes risk parts for which notransaction end has been defined.
Limit part:
Delete limit part indicator: If you set this indicator, thesystem processes the limit parts. If you do not set this indicator, thesystem does not process the limit parts.
Limit Part Valid till field: The system selects limit parts 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 limit part without transaction end: If you setthis indicator, the system also processes limit parts for which notransaction end has been defined.
Delete inactive parts only indicator: If you set this indicator,the system processes inactive parts of the financial object only. Ifyou do not set this indicator, the system processes both active andinactive parts of the financial object.
Other conditions:
Indicator Also delete financial objects of transactions withremaining balances: If you set this indicator, the system alsoprocesses transactions that still have a remaining balance (not equalto 0). If the transaction still has a remaining balance, the systemoutputs a warning message in the log and deletes the transaction aslong as no major errors (indicated by a red traffic light) occur in thedeletion 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 deletion logs is called JB_DEL. You can specify asubobject in order to restrict further the choice of logs offered fordisplay. The subobject for this deletion program is called FOLN.
To delete logs, use transaction SLG2.