Hierarchy
⤷ FS (Application Component) Financial Services
⤷ FS_PSJ_CORE (Package) Core Functionality for Process Step Journal
Basic Data
Data Element | PSJ_DAYS_OF_STAY |
Short Description | Resid. time |
Data Type
Category of Dictionary Type | Direct Type Entry | |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | ||
Data Type | INT1 | 1-byte integer, integer number <= 255 |
Length | 3 | |
Decimal Places | 0 | |
Output Length | 3 | |
Value Table |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | Res. Time |
Medium | 15 | Resid. Time |
Long | 20 | ResidenceTime (days) |
Heading | 25 | Residence Time in Days |
Documentation
Definition
Specifies the number of days that must pass before the system deletes an entry in the process activity log. The basis for calculating the residence time is the day on which the system logs the last activity for the underlying business process.
Use
SAP recommends choosing the residence in such a way that the report Delete Log Entries does not delete entries for current processes. This applies particularly to log entries for subprocesses in different systems that have already been completed but for which the related cross-system, overall process has not been completed yet.
Always schedule the report with the same residence time and at the same point in time across all systems. In this way the execution will take place synchronously in all participating systems. Make sure you schedule sufficient buffer time, so that you avoid deleting relevant data in case of time delays in the subprocesses.
Note: If you enter the value 0 here, or if you delete predefined values, the system deletes all log entries in the dialog, regardless of the residence times, upon execution. SAP recommends doing this only for test purposes and only in the development system.
Deleting all log entries is not possible in background processing. In this case, the system terminates processing.
Dependencies
Example
Below, you will find a fictitious, highly simplified example of a cross-system overall process. It illustrates the relevance of having a sufficient residence time. This is in regards to awarding loans in a bank. The process consists of the following six subprocesses:
- Read business partner data
- Reserve line of credit for loan
- Create loan account
- Execute distribution of loan
- Execute payment order
- Create correspondence
The first three subprocesses take place in System A. The last three subprocesses take place in System B. Each subprocess takes one day. This means the overall process usually takes 6 days. In this case it begins on 02/02/09. The distribution of the loans is delayed by 10 days as some documents are missing.
Case 1:
Start the report Delete Log Entries on 02/10 in both systems with a residence time of 3 days. At this point in time, all subprocesses in System A have exceeded the residence time. The report deletes them. However, since the subprocesses in System B have not been completed, the entries for them are retained. An evaluation of the overall process is therefore no longer possible, as the subprocess data in System A is no longer available.
Case 2:
You start the above mentioned report on 02/10 in both systems with a residence time of 30 days. Because the overall process and all subprocesses are completed within 16 days in both systems, an evaluation is not possible before the report deletes the data.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 300 |