SAP Program RJBDFOAC_DEL - Deletion of Fin. Objects for Accounts without Archiving

Purpose
The program RJBDFOAC_DEL deletes financial objects for accounts fromthe database. If you delete a financial object using this program, thefinancial object information is completely deleted (in contrast to thearchiving process) and is no longer available 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 of thefinancial object are deleted.
If the entries you make mean that only the general part of thefinancial object would be left after deletion, the system also deletesthe general part when it deletes the parts you selected. For example,if a financial object only has a general part and an STC part and youdelete 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. 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.
Restrictions for individual parts:
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.
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.
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.
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).
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).
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 STC part without transaction end: If you setthis indicator, the system also processes STC parts for which notransaction end has been defined.
Indicator Delete risk part without transaction end: If you setthis indicator, the system also processes risk parts for which notransaction end has been defined.
Indicator Delete limit part without transaction end: If you setthis indicator, the system also processes limit parts for which notransaction end has been defined.
Indicator Delete inactive parts only: 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.
Control parameters:
Test Run indicator: If you set this indicator, the systemcarries out checks only and does not delete anything from the database.
Field Size of Processing Block: 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 FOAC.
To delete logs, use transaction SLG2.