Anda di halaman 1dari 36

Electronic Records

Release 622

HELP.CADSGELR

SAP Online Help

02.07.2003

Copyright
Copyright 2003 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, WINDOWS, NT, EXCEL, Word, PowerPoint and SQL Server are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix and Informix Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries. ORACLE is a registered trademark of ORACLE Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, the Citrix logo, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, MultiWin and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc. HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. JAVA is a registered trademark of Sun Microsystems, Inc. JAVASCRIPT is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One. SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are trademarks of their respective companies.

Electronic Records

622

SAP Online Help

02.07.2003

Icons
Icon Meaning Caution Example Note Recommendation Syntax

Typographic Conventions
Type Style Example text Description Words or characters that appear on the screen. These include field names, screen titles, pushbuttons as well as menu names, paths and options. Cross-references to other documentation. Example text EXAMPLE TEXT Emphasized words or phrases in body text, titles of graphics and tables. Names of elements in the system. These include report names, program names, transaction codes, table names, and individual key words of a programming language, when surrounded by body text, for example, SELECT and INCLUDE. Screen output. This includes file and directory names and their paths, messages, source code, names of variables and parameters as well as names of installation, upgrade and database tools. Keys on the keyboard, for example, function keys (such as F2) or the ENTER key. Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Pointed brackets indicate that you replace these words and characters with appropriate entries.

Example text

EXAMPLE TEXT Example text <Example text>

Electronic Records

622

SAP Online Help

02.07.2003

Electronic Records .................................................................................................................... 5 Electronic Records................................................................................................................. 6 Electronic Records Functional Overview ............................................................................... 8 Authorizations for Electronic Records.................................................................................. 10 Comparison Between Customer System and SAP System ................................................ 11 Aligning System Configuration Status.............................................................................. 12 Changing Table and Data Element Logging........................................................................ 13 Changing Logging Settings .............................................................................................. 15 Assigning Changed Objects to Transactions....................................................................... 18 Assigning a Table to a Transaction.................................................................................. 18 Logging Long Texts ............................................................................................................. 20 Managing Long Texts....................................................................................................... 21 Filter for Long Text Logging ............................................................................................. 25 Evaluating Logged Data....................................................................................................... 26 Entering Selection Conditions .......................................................................................... 30 Carrying Out Evaluations ................................................................................................. 31 Archiving Long Text Logs .................................................................................................... 33 Evaluating Archived Long Texts .......................................................................................... 36

Electronic Records

622

SAP Online Help

02.07.2003

Electronic Records
Background
The US health authority the Federal Drug Administration (FDA) requires companies in the pharmaceutical industry that want to introduce their products on to the US market to provide a detailed, complete, and traceable description of their production process. This includes all operations affecting product quality that are carried out during the process of manufacturing and distributing a drug. Naturally, the data that is created or processed during these processes is subject to frequent changes. The FDA requires every change to this data to be documented in a change log. In this log, all data changes must be completely traceable at all times. As a result, it must contain at least the change date and time, the type of change, the data value before and after the change, and identification of the person who made the change. This change logging is a key prerequisite that must be met in order to comply with the regulations for Good Manufacturing Practice (GMP) . These GMP regulations are part of the conditions for regulated production, and were drawn up by the FDA to achieve standardized guidelines for the production of drugs and medicines on the US market. They have since become a quasi-standard in many other countries. Adherence to the GMP rules during production of a drug, and, in particular, proof of this adherence, are absolute prerequisites for successful introduction of a product on to the market. Validation of the quality-relevant business processes is a prerequisite for obtaining product approval. This approval is, in turn, a prerequisite for introducing the product on to the US market. Because of the increasing use of electronic tools, the FDA needed to develop guidelines for the logging of data changes in electronic media. These FDA activities led to the Final Rule 21 CFR Part 11 Electronic Records, Electronic Signature. In this rule, the FDA defines how changes in electronic data records are to be logged, so that these changes are traceable in line with the aforementioned criteria and can be evaluated if necessary taking account of particular factors. The logging of data that currently takes place in the SAP R/3 System as part of change document creation does not satisfy all the FDA requirements. In particular, with the options currently available, it is not possible to evaluate the data to a sufficient extent or with the accuracy demanded by the FDA. In addition, it is extremely difficult to change the logging settings (logging yes or no). The function Part 11 CFR 21 Enhancement on Electronic Records extends the previously available options so that logging settings can be changed easily and without technical modifications, and that evaluations of the changed data can be carried out in line with FDA requirements.

Electronic Records

622

SAP Online Help

02.07.2003

Electronic Records
Purpose
With the function FDA 21 CFR Part 11 Enhancement on Electronic Records (abbreviated to Electronic Records below), you can: Activate and deactivate logging for the required data elements, tables, and long texts specifically and without technical modifications. In the case of corrections or a system update, determine for each object whether you want to retain the logging settings that currently exist in the system, or make different logging settings for the newly imported data. With the evaluation function, find and display the changed objects according to certain criteria, and therefore carry out an evaluation of the changed data conforming to GMP.

Integration
During change document creation and table logging, the SAP R/3 System already logs data changes. Logging can take place on two levels: For individual table fields (data elements) through documentation in change documents For whole tables through table logging

Logging in change documents In order for data changes in table fields to be logged in change documents: the transaction in which the content of the table field can be changed must be connected to change document creation. the table containing the table field must exist in the connected change document object. logging must be active for the data element in the relevant change document.

As not all data is relevant for every application, it does not make sense to activate logging for all data elements from the outset. For further information on change documents, see the SAP Library, under mySAP Technology Components SAP Web Application Server ABAP Workbench Extended Applications Function Library Change documents.

Table logging If the transaction that uses the changed data element is not connected to change document creation, the system cannot log the change made to an individual table field (data element). Instead it logs the whole changed table. For this to be possible, you must set the system profile parameter rec/client to active in every client in which you want to carry out table logging.

Only system administrators can activate or deactivate the system profile parameter rec/client. For further information on logging tables, see the SAP Library under mySAP Technology Components SAP Web Application Server Customizing Customizing System Settings.

Electronic Records

622

SAP Online Help

02.07.2003

In the SAP R/3 System, a lot of transactions, but by no means all of them, are connected to change document creation. For performance and memory reasons, it does not make sense to log every data change. You should only log those that need to be included in subsequent evaluations. It must be possible to specifically change logging of data elements/tables.

Electronic Records

622

SAP Online Help

02.07.2003

Electronic Records Functional Overview


Use
With 21 CFR Part 11 Enhancement on Electronic Records (referred to below only as Electronic Records ) you can change or display the logging settings of individual table fields and whole tables (that is, activate or deactivate logging).

Prerequisites
You must have the authorization to display, change and evaluate the changed data (see: Authorizations for Electronic Records [Page 9]). It must be possible to transport the objects (tables and data elements ) that you want to change the logging settings for. Therefore, local objects cannot be changed. To change the logging setting for individual table fields, the related transaction must be connected to change document creation. If it is not, only the table as a whole can be logged.

The system defines whether a transaction is connected to change document creation. Using the system profile parameter rec/client, you define which clients table logging is active in.

Features
Electronic Records consists of several sub-functions that can be made available individually according to user authorizations: Transaction AUT01 Use Comparison and adjustment of old and new logging settings after a system upgrade (takes place automatically). Also displays manual changes to the setting in other transactions if these were previously configured with transaction AUT01. Change to logging settings for individual table fields or whole tables. The system stores every change to the logging settings so that the previous status can be restored after a system upgrade. Creation of graphical navigation aid so that changed objects can be located again quickly. As an alternative to this, transaction AUT01 contains direct technical access for experienced users. If you are activating or deactivating logging for an object for the first time, you must always use the technical access. Display of logging settings for table fields or tables. If you are not authorized to change the logging settings, you can display them with this transaction. Setting for deleting long text logs. Immediate deletion of long text logs from the logging table. Evaluation of logged data according to individually determined criteria.

AUT01

AUT02

AUT03 AUT04 AUT05 AUT10

Electronic Records

622

SAP Online Help

02.07.2003

Although it is also possible to change the logging settings for tables and data elements by modifying the SAP System, SAP recommends that you use only the Electronic Records function to change logging settings. This is the only way to ensure complete and uniquely traceable change documentation.

Changes to the logging setting are carried out without technical modifications being made to the system. This does not mean that the changes do not have an effect on the business and technical processes of the SAP standard system. If you change logging settings, you have to carry out a thorough test of the business processes you implemented and use in the SAP System. The system stores every change to table or data element logging so that the current logging status can be restored after an upgrade or correction (see: Comparison Between Customer System and SAP System [Page 11]).

Constraints
Electronic Records does not create new change document objects nor does it extend existing ones. The evaluation function does not take account of archived data (for example, on optical data storage media). In an evaluation, it is not possible to determine which changes the user made and which resulting changes were automatically made by the system. Table logging is only able to record tables that are not bigger than the logging table itself. In the current release, the logging table is 16,000 bytes, and is therefore large enough for long text logging. In rare cases, if the structure of a table is significantly different after Release 4.5B, errors may occur during evaluation. It is possible that the changed data is not evaluated correctly, especially if comparisons between the only and new structure are being carried out. The logging settings for some central Basis tables cannot be changed.

Electronic Records

622

SAP Online Help

02.07.2003

Authorizations for Electronic Records


You need the following authorizations to be able to use the Electronic Records functions: Transaction S_TCODE AUT01 (activate directly) AUT01 (mass activation) AUT01 AUT01 S_TABU_DIS Authorization group AUT Authorization group AUT Authorization objects S_DEVELOP OBJTYPE: DTEL, TABT ACTVT: 02, 07 OBJTYPE: DTEL, TABT ACTVT: 02 OBJTYPE PROG ACTVT: 03 OBJNAME: RADMASG0_C3 DEVCLASS: SDTB AUT03 AUT04 AUT03 AUT04 Authorization group AUT Authorization group AUT AUT05 and report AUT_DEL AUT10 AUT05 AUT10 Authorization group AUT OBJTYPE: DTEL, TABT ACTVT: 03 OBJTYPE: TABT (for packet STDX, objects STXL, STXH) ACTVT: SUBMIT S_PROGRAMM -

To be able to use transaction AUT10, authorization object C_AUT_TCD must also contain entries for the transactions that you want to evaluate with AUT10. Contact your system administrator to obtain these authorizations.

You can only execute transactions AUT01 and AUT04 in change mode if the system profile parameter rec/client is active for at least one client/the current client. For archiving, you need the same authorizations as for transaction AUT05. For the evaluation of archived long texts in the Archive Explorer, you need the same authorizations as for transaction AUT10.

Electronic Records

622

10

SAP Online Help

02.07.2003

Comparison Between Customer System and SAP System


Use
With this function, the system compares the logging setting (logging yes or no) in the SAP System and customer-specific system for tables, data elements and long texts. It runs automatically every time the Change configuration of logging (AUT01) transaction is started.

It only compares objects that were configured with transaction AUT01.

Prerequisites
For the comparison to deliver a useful result, you must first have changed the logging settings of tables, data elements or long text tables using transaction AUT01.

Features
If you change the logging setting of a data element or table using transaction AUT01, the system writes the changed logging status to a table, known as the Customizing table. At the same time, it stores an inactive version of the changed object on the database. Initially, the original status of the object is retained on the database, and the system only writes the changed status of the object to the database and deletes the inactive object once the object has been activated. If you start transaction AUT01, the system compares the logging setting of all objects stored in the Customizing table with the equivalent objects on the database. If there are no differences between the logging settings, you go directly to the Change configuration of logging screen. Any differences the system finds between the corresponding objects may be due to one of the following factors: As a result of the import of a Support Package or correction, an object (data element or table) was changed the logging setting of which you already changed with AUT01 before the upgrade in your system. In this case, you can decide whether to keep your existing logging setting for the object, or adopt the SAP standard setting. An error occurred when an object was activated, it was not activated, or was changed with a different transaction (for example, SE11). As a result, an inactive version of the object exists on the database in addition to the active version. In this case, you are not able to subsequently activate the object using transaction AUT01. Start the mass activator [Ext.] manually and activate the object concerned.

Before activation, ensure that no changes except the logging setting exist in the inactive version. If there are other changes, contact your system administrator. You scheduled an object activation job. The job has not yet been run. In this case, wait until the job has run and activation is completed. Leave the differences as they stand (the case for all the factors listed above) Align the logging settings of the objects either to the status delivered by SAP or your own statues (in case 1) Manually activate the objects concerned using the mass activator (in case 2). Here, you can access information on the activated objects in the mass activator log.

If the system finds differences, it lists the tables and data elements separately. You can then:

Electronic Records

622

11

SAP Online Help Then start the Change configuration of logging function.

02.07.2003

Aligning System Configuration Status


Prerequisites
You have already carried out logging for tables or data elements at least once. During the comparison between the previous, customer-specific status and the current status, the system found differences (for example, after the import of a support packages).

Procedure
The system carries out the comparison every time the function Change configuration of logging is started. If no differences are found, the screen is skipped. Align logging setting The data elements that have different logging settings are listed in the top part of the screen, the tables in the bottom part.
...

1. Select the data element or table for which you want to change the logging setting. 2. Choose Copy own settings or Copy system settings, depending on which logging setting you want to copy. A preview of the changed status is displayed. 3. In the Comment field, enter a comment on the change, if required. 4. Choose Copy. The system marks the changed log setting, and the (already changed) icon is displayed in front of the Data elements or Tables column. The changed status is written to the system the next time a save operation is performed. 5. Choose Continue. The Change configuration of logging screen appears. Display own settings You can display all tables and data elements for which logging has changed compared with the original system status. Choose Goto Own settings In the top list, the system displays the affected data elements, and in the bottom list, it displays the affected tables.

Electronic Records

622

12

SAP Online Help

02.07.2003

Changing Table and Data Element Logging


Use
This function enables you to: determine whether the data element behind the table field to be changed is used in tables that are connected to change document creation. activate and deactivate the logging of tables, data elements, and long texts without making technical modifications. assign the tables in which you changed the logging setting to a transaction.

Prerequisites
To create change documents, and therefore change the logging setting for data elements, the underlying table must be included in a change document object. In addition, this change document object must be implemented in the application in which the data change is to be logged. If this is not the case, only the table as a whole can be logged.

The system defines whether a table is contained in a change document object, and whether this is implemented in the application. This can only be changed by modifying the system.

Features
Where-used list For the selected data element, you can first access a where-used list. Here, the system determines which tables use the data element. However, it only takes into consideration tables that are assigned to a change document object.

When the change document objects are checked, the system only takes account of registered change document objects, that is to say, those that were created with transaction SCDO. As a result of this check, the system displays a list of the tables and table fields in which at least one of the selected data elements is used.

Access the where-used list before every change to the logging setting to determine possible effects on other tables. Logging setting for data elements (change document creation) Once you have selected a table, you can select one or more data elements and activate or deactivate the logging of changes made to the table fields that are linked to this data element.

If a change document object does not exist for the selected table, the system displays a warning. Generally, a change to the logging setting has no effect where this data element is concerned (exception: use in non-registered change document objects).

Electronic Records

622

13

SAP Online Help

02.07.2003

If you change the logging setting of a data element, this takes effect across the whole system on all table fields that are based on this data element. You can only change the logging setting if the selected data element is not locked by another user or request. When you save the changed setting, the system first creates an inactive version of the changed data element. When you activate the settings, the system creates an active version of the changed logging setting.

Change logging settings for whole tables In addition to change document creation, you can select a table, and activate or deactivate logging by selecting or deselecting the logging indicator. Here, too, when you save, the system first creates an inactive version, which then has to be activated. Activate changed objects Depending on your authorizations, the system uses different methods to activate the inactive objects. Case 1: You have authorization for the mass activator: In this case, after you save, the system starts the mass activator. You can process the changed objects with the functions available in the mass activator. Case 2: You do not have authorization for the mass activator: In this case, the system activates the inactive objects in the background. You cannot access the objects.

You can choose Goto Activation logs to display the logs of all objects activated in the system with the mass activator. For this, you need the following authorization: S_DEVELOP: DEVCLASS=SDBT; OBJTYPE=PROG; OBJNAME=RADPROTA; ACTVT=03; S_PROGRAMM: ACTVT=SUBMIT

Assign table to a transaction Once you have finished changing the logging setting for tables or data elements, you can assign the changed table or changed change document to a transaction. It then appears in the structure tree under Own assignments and can therefore be accessed more easily at a later date. In addition, the changed table or related change document object is displayed in the SAP Easy Access Menu under the assigned transaction.

You can also assign tables or change document objects to transactions in transaction AUT01. However, we recommend that you use transaction AUT02 for this as it contains a wider range of assignment features.

Electronic Records

622

14

SAP Online Help Icons used:

02.07.2003

The following icons indicate the object status. The icons appear in transaction AUT01 next to the description of the table or data element. Configuration already complete The logging setting of this table or data element has already been changed with transaction AUT01 and the object activated. Already changed The logging setting of the table or data element has been changed, but the change has not yet been saved. Inactive version exists The logging setting of the table or data element has been changed and saved. In addition to the previously active version, the database contains a changed version with an inactive status. For the change to take effect for the object, you must activate it using the mass activator [Ext.]. Object locked The table or data element is currently locked from processing (by another user or request). Wait until the object is released for processing. Changeable You can change the logging setting of this object.

Changing Logging Settings


Prerequisites
You have authorization for the transaction Change configuration for logging (AUT01). To change the logging characteristics of data elements, the underlying table must not be locked, and must be connected to change document creation.

Procedure
You make this setting in Customizing under Logistics - General Engineering Change Management Logging Change Configuration of Logging. Change logging setting for a table You can select the table you want to change using the assigned transaction or its technical name. Select table using transaction:
...

1. In the list field above the object overview, select the Transaction entry. 2. Enter the transaction code and choose Continue. If the transaction is included in the Own assignments overview, it is displayed with the assigned tables. If it does not, the message Assignment does not exist in menu tree appears in the status line. You must then call up the table using its technical name (see below). 3. Select the table you want by double clicking on it. The data elements of the table are displayed in the right-hand part of the screen. Select table by its technical name:

Electronic Records

622

15

SAP Online Help If you know the technical name of the table:
...

02.07.2003

1. In the list field above the object overview, select the Table entry. 2. Enter the technical name of the table and choose Continue. The data elements of the table are displayed in the right-hand part of the screen. Change logging:
...

1. Choose Display Change. The Copy button is displayed to the left of this button. 2. Select the Logging indicator to activate logging for the object, or deselect the indicator to deactivate logging. 3. You can enter a comment in the text field next to the Logging indicator. 4. Choose Copy. The changed table is flagged for saving, and the displayed to the left of Logging. 5. Choose Save. (already changed) icon is

6. Activate the object using the mass activator [Ext.] (see: Changing Table and Data Element Logging [Page 12])

If you want to be able to determine at a later date which changes were made to the log settings for tables, you can use transaction AUT10 to execute a report across the table logs of table AUTTABLOG. Change logging setting for data elements Find data element by table:

If you know the technical name of the data element, you can search for it directly (see below).
...

1. Select one or more data elements that you want to change the logging setting for, and choose Change. 2. Choose Use in change document objects to find out which change document objects the data elements are used in. 3. Select the indicator in the Logging column. 4. Enter a comment in the text line of the data element, if required. 5. Choose Copy. The 6. Choose (already changed) icon is displayed next to the Table fields column. Save.

7. Activate the object using the mass activator [Ext.] (see: Changing Table and Data Element Logging [Page 12])

If you want to be able to determine at a later date which changes were made to the log settings for data elements, you can use transaction AUT10 to execute a report across the table logs of table AUTDTELLOG. Call up data element directly:

Electronic Records

622

16

SAP Online Help If you know the technical name of the data element:
...

02.07.2003

1. In the list field above the object overview, select the Data element entry. 2. In the text field underneath it, enter the technical name of the data element and choose Continue. The data element is displayed in the right-hand part of the screen. 3. Proceed as described from point 2 above.

SAP recommends that, wherever possible, you search for the data elements via the related table, and do not access them directly. Check logging settings If you are not authorized to change the logging settings, you can display them with the transaction Display configuration of logging (transaction AUT03). In the SAP Easy Access menu, choose Logistics Central functions Engineering Engineering Change Management Logging Configuration of Logging. Once you have selected a table or data element, the system displays the current logging settings.

Tables and data elements are displayed in the same way as for the Change configuration of logging function.

Result
The logging settings are changed in line with your entries, and the complete) icon is displayed next to the changed object. (configuration already

Electronic Records

622

17

SAP Online Help

02.07.2003

Assigning Changed Objects to Transactions


Use
You use this function to assign tables or change document objects, whose logging settings you changed, to transactions. This enables you to organize the changed objects and find them again quickly.

Prerequisites
You need the relevant authorization, which depends on which transaction you want to carry out the assignment in.

Features
You can create the assignment of tables and change document objects in the transactions Change configuration of logging (AUT01) and Change transaction/object assignment: overview (AUT02). You use this transaction if you do not have the authorization for transaction AUT01. When you assign a table or change document object to a transaction, it and all its assigned objects are displayed in the transactions Change configuration of logging (AUT01) and Evaluation of audit trail (AUT10) under Own assignments in the menu tree. This list of transactions and their assigned objects provides you with an overview of all changed objects, and makes it easier for you to find them again at a later date.

Assigning a Table to a Transaction


Use
By assigning changed objects (tables, change documents) to the required transactions, you can create a graphical navigation aid. This makes it easier for you to find the objects again at a later date. In the SAP Easy Access menu, the transactions and their assigned objects are displayed under Own assignments.

Prerequisites
You have the authorization for this function. If you do not, contact your system administrator.

Procedure
You make this setting in Customizing under Logistics - General Engineering Change Management Logging Change Transaction/Object Assignment. Create navigation aid with transaction AUT02
...

1. Call up transaction AUT02. A list of transactions with their assigned tables and change document objects is displayed. 2. Choose New entries. 3. In the first column, enter the transaction that you want to assign a table or change document object to. 4. In the second column, enter the technical name of the change document object or in the third column, enter the technical name of the table.

Electronic Records

622

18

SAP Online Help

02.07.2003

You can assign either one change document object or one table to a transaction, but not both, per line. 5. Choose Save. Create navigation aid in the transaction Change configuration of logging If you have authorization for the transaction Change configuration of logging, you can create the navigation aid there, too:
...

1. Select the table that you want to assign to a transaction. 2. On the icon bar, choose Change. 3. In the Assigned transaction code, enter the transaction that you want to assign the table to. 4. Choose Copy and then Save.

SAP recommends that you carry out the assignment in transaction AUT02, as this is easier to use.

Result
In transactions AUT01 and AUT10, the selected transaction and its assigned table appear in the Own assignments menu tree.

Electronic Records

622

19

SAP Online Help

02.07.2003

Logging Long Texts


Use
You can activate and deactivate logging for texts that you enter in certain applications in the form of comments or explanations. Like changes in tables, every change to these long texts is written to a logging table. By using evaluation functions, you can search for the logged long texts using criteria you entered yourself.

Prerequisites
The system profile parameter rec/client must be active for every client in which you want to log the long text tables STXL and STXH (see below). You have activated table logging for the tables STXH and STXL. You have implemented Note 561250 or your system has at least Support Package 12 for SAP_BASIS 620. This ensures that the archiving object BC_DBLOGS does not archive long texts, but rather that all long texts are archived with archiving object ELR_LTXTS.

Features
Logging of long texts in logging table DBTABLOG
When a SAP System is customized, the user has the option of enhancing data for certain applications be entering additional comments or explanations, known as long texts. The system stores these long texts, with various attributes such as object value and ID, in the tables STXL (actual text) and STXH (header data). If table logging is activated for tables STXL and STXH, each time a change is made to a long text, the old long text is entered in the logging table DBTABLOG. The dataset in this table therefore rapidly increases. To prevent this, only long texts relevant to logging (for example, for working in a controlled environment in the pharmaceuticals industry, GxP) and their history should be saved. When table logging is active for STXL and STXH, the system writes all changed long texts to DBTABLOG. However, you can define restrictions by using the filter for long text logging [Page 24], namely for a series of long texts, you can define in advance whether changes are to be logged.

Deletion flag and deletion reports for unwanted long text logs
If long texts were logged, even though the logs are not required, you can delete them from the table by selecting or deselecting a deletion flag in transaction AUT04 (all long text objects in the system are listed in this transaction). Report AUT_DEL, which can be run as a background job, looks through the list in transaction AUT04 to determine whether the deletion flag is selected for a long text object, and removes these long text logs from table DBTABLOG. If the deletion flag is deselected at a later date, from this point in time the system stores all subsequent changes to the long text of this data object in table DBTABLOG. When you start transaction AUT05, the deletion report AUT_DEL does not run as a background job but is started immediately. SAP recommends that you only execute transaction AUT05 for test purposes and with small amounts of data.

Electronic Records

622

20

SAP Online Help

02.07.2003

Managing Long Texts


Use
If you used transaction Evaluation of Audit Trail (AUT10) to evaluate changed data, you can display the texts that were created in addition to the data entered when certain functions were performed (for example, comments on quality reports, creation of batches). When selecting long texts, the system searches only for changed long texts. It does not search for table logs or change documents. You can use the deletion function in transaction AUT04 to delete long texts that are not relevant for logging from logging table DBTABLOG. This enables you to keep the table as small as possible.

Prerequisites
You have carried out an evaluation of the long text logs (see Evaluating Logged Data [Page 25]).

Procedure
Display long texts
...

1. In the log list for the evaluation, select the entries that you want to display long texts for. 2. Choose Text old/new. For the first entry, the system displays the original long text on the left-hand side of the screen, and the changed long text on the right-hand side. Only unformatted text is displayed. Template text also appears, which is standard in some applications (for example, entering quality notifications). If you have changed parts of the document that the system does not display (for example, formatting and graphics), the system displays a message at the beginning of the texts. In this case, you can use the Display function to display the long texts in the way that they were originally entered. 3. Choose or to display the long text for the previous change log or next change log.

If a new long text was created, nothing is displayed in the Old text column. If a long text was deleted, nothing is displayed in the New text column.

Display additional data


Choose Display additional data. The system displays additional data (date changed, changed by, and so on) for the selected long text.

The data is displayed for the text that the cursor is currently positioned on.

Print long texts


Choose Print. The print dialog allows you to display or print the selected long text (cursor position, see above) and additional data in a print display.

Electronic Records

622

21

SAP Online Help

02.07.2003

Export long texts


You can export the displayed old and new long texts (cursor position, see above) into a local file so that you can search for differences in a word processing program, for example.
...

1. Choose

Export to local file.

2. Specify the target folder and the format of the file that you want to export. 3. Choose Transfer.

Delete long text logs


Selection of long text logs to be deleted
...

1. In transaction AUT04, select the required list entries and choose

Delete.

The deletion flag is set. The system writes the current date and time to the columns Date and Time. In this way, you configure the current client to delete from the logging table all long texts that are changed as of this time. (Deletion of long text logs is clientdependent.) If you want to enter a different time from whether the system should delete changed long texts from the logging table:
...

1. Choose

Set time and enter the required time.

2. If you want to define filters for long text logs [Page 24], choose Adjust filter.

When the filter table is compared and data saved, the system and all its application servers must be restarted. When transporting changes, note that the target system must also be completely restarted after the import. 3. Choose Start deletion Continue.

SAP recommends that you only use transaction AUT05 for test purposes and with small amounts of data. Long texts should generally be deleted as a background job with report AUT_DEL. Start the transaction Deletion of long texts (AUT05). A dialog box is displayed in which you can choose one of two methods for deletion: Start Immediately Deletion starts immediately without any further requests for information. Start with Selection Before deletion, you can make the following settings to improve performance: Delete in the period from If you specify a period for deletion, the program only deletes the long text logs within this period from the log table. If you do not enter a start date, the program selects the date from the Customizing settings in AUT04 as the start date. If you do not enter an end date, the program deletes the logs up to the previous day. Exception: You manually entered a start date but not an end date. In this case, the program only deletes the logs from the specified day. Packet size

Electronic Records

622

22

SAP Online Help

02.07.2003

In the Packet size parameter, you define the intervals (measured in number of data records) in which changes are permanently stored on the database. After each deleted packet, the system displays a success message stating the total number of deleted data records. During background processing, these messages are written to a job log. If the packet size is too high, the program may terminate. The ideal value depends on the configuration of your database system; the default value in the system is 1000. Delete in groups In this method, all deletion operations are grouped by text objects, if the following conditions are met: All long texts of a text object are to be deleted Start date and time are identical for all the long texts to be deleted for a text object This optimization can only be taken full advantage of if all the long texts of a text objects are flagged for deletion in transaction AUT04, and the date and time are configured in exactly the same way for all these long texts. If you do not want to delete all the long texts of a text object, at least the date and time should be configured in exactly the same way for all the other long texts of a text object that are flagged for deletion. You only get a restricted log. With this deletion method, the number of deleted data records can only be displayed at text object level. If you want a more detailed log with the number of deleted data records at long text level, you cannot use this deletion method. With this method, if the number of deleted data records is partially displayed at long text level, this indicates that the start date and time are not exactly the same for all long texts belonging to this text object that were to be deleted. Check whether it is possible to configure the start date and start time in exactly the same way for this text object in transaction AUT04. Optimize start date With this optimization feature, the oldest data record to be deleted is determined before deletion is carried out. This date of the oldest data record is then relevant for the deletion of all long texts. Long texts are only deleted as of this date. The settings in transaction AUT04 are not affected by this. You can only take full advantage of this option if you delete long texts at regular intervals. Partial log You can use this indicator to request a partial log. If you set this indicator in connection with grouped deletion, you receive a partial log for each group. If you set this indicator with ungrouped deletion, you get the partial logs at text ID level. Background processing SAP recommends that you only use transaction AUT05 for test purposes and with small amounts of data. Long texts should generally be deleted as a background job with report AUT_DEL. Note that you use a variant here to indicate which deletion method should be used to improve performance (groups and/or optimized start date). SAP also recommends that you execute this as a background job in a period of low system load. By scheduling this report as a background job at short intervals, the performance of both the deletion function and the audit trail evaluation function is considerably improved. It is not possible to give general information on how often this background job should be run. The interval depends on How many entries the system writes to log table DBTABLOG per time unit How often you create and change long texts

Electronic Records

622

23

SAP Online Help

02.07.2003

With both deletion types (direct or in the background), the system deletes the log entries irretrievably from the database. Once the deletion procedure is complete, a log is displayed. Tracking changes during deletion of long text logs If you want to know which changes were made in transaction AUT04, use transaction AUT10 to carry out an evaluation of the table logs of table AUTDELTTXID.

Reactivating long text logging


To include a long text in the logging table again, and therefore to log long text changes:
...

1. In transaction AUT04, select the required list entry and choose 2. Choose Continue.

Log.

For further information, see Logging Long Texts [Page 19]

Electronic Records

622

24

SAP Online Help

02.07.2003

Filter for Long Text Logging


Use
You have activated long text logging in your system. The changes to long texts cause a high data load. The majority of changes are not needed, and the unwanted long text logs are therefore deleted at regular intervals (report AUT_DEL or transaction AUT05). You can use the filter for long text logging to exclude a series of long texts from logging, in order to reduce the data load and improve the runtime for deletion of the long text logs.

Prerequisites
You have applied Support Package 08 for component SAP_APPL 470 in your system.

Features
With the filter function for long text logging, you can define in advance whether changes are to be logged for a series of long texts. When you change the long text, the system decides whether the change needs to be logged. This reduces the data load and improves the runtime for deletion of unwanted long text logs. For performance reasons, the filter function is only defined at text object level. However, you still need to delete long texts regularly, because long texts are only uniquely determined by the text object and text ID. The only case in which you do not need to delete long texts is if you have set a deletion flag for complete text groups in transaction AUT04. (A text group is complete if all the text IDs in it are flagged for deletion and the date and time are standardized for deletion.) In the transaction Configuration of long text logs (transaction AUT04), you define which text objects you want to write to the filter table. If the filter table is empty, all long texts are logged. You can empty the filter table by choosing Goto Delete filter table.

After the filter table has been compared and data saved, the system and all its application servers must be restarted. When transporting changes, note that the target system must also be completely restarted after the import. Report AUT_DEL contains the indicator Consider filter table. If this indicator is set, the system only deletes the long text logs for long texts whose object is contained in the filter table. According to the configuration, logs for other text cannot exist, and therefore do not need to be deleted.

Only deselect the indicator if you want to delete long text logs whose text objects are not included in the filter table. These long text logs could come from a time when the filter function was not yet in use, for example.

Electronic Records

622

25

SAP Online Help

02.07.2003

Evaluating Logged Data


Use
You can use certain criteria (such as a specific period or user) to search for data that was changed in the system. The data that is found in this way is sorted by table logs and change documents, and displayed in the form of a list. In this way, you can trace the change history of certain data, and therefore perform an evaluation of the data in the system that complies with GxP.

The evaluation only takes account of data whose value has changed (for example master or movement/transaction data). If you changed the logging setting for an object, it is not recorded during evaluation of the object concerned. An evaluation of transaction AUT01 is required here.

Prerequisites
To search change documents, the corresponding transactions must be linked with the change document creation function, and they must be active. In addition, logging must be active for the table fields containing changed data. For the system to be able to display the results of the evaluation, in authorization object C_AUT_TCD you must have the authorization for the transactions in which changes were made. If you do not, the system cannot display the full results.

In connection with this, take account a possible transaction switch within an application (for example, transactions SM30 and SM34 are called in many Customizing transactions).

Features
There are two modes for performing an evaluation: standard mode and extended mode. When you start the transaction, standard mode is called up initially. In both modes, you first enter the selection requirements that you want the system to use to search for changed data. Selection conditions can include: Date and time of change Person who changed the data Transaction code used to make the change and so on. Once you start the search function, the system finds all the data that meets the selection conditions, and displays this information in list form. If you double click on a list entry, you can display detailed information for this entry, such as the exact time of the change, the changed data value, the person who made the change, and so on. Carry out evaluation in standard mode You do not require much technical knowledge to enter selection conditions in standard mode. However, evaluation takes longer in this mode because you do not enter many selection conditions, and the system therefore searches an extensive dataset. Selection conditions in standard mode include: Date and time period in which a change was made. This is a required entry.

Electronic Records

622

26

SAP Online Help Name of the user who made a change to the data.

02.07.2003

Transaction to which a changed table or change document object was assigned. This is a required entry, but you can also enter a placeholder (such as *). Long text If this option is activated, the system uses the selection criteria you entered to search for the related, changed long texts in addition to changed data (see Logging Long Texts [Page 19]).

You also have the following additional search options:

Evaluate details This option only effects evaluations of table logs. If it is active, during evaluation the system does not just indicate that a change was made in the case of deleted and inserted data (indicator D for deleted and I for inserted), but also lists the only and new data values.

Carry out evaluation in extended mode In extended mode, you have not only the selection conditions available in standard mode, but also a whole series of other selection conditions which you can use to define the search for changed data. This can reduce the evaluation time considerably. To enter the additional selection conditions effectively, however, you require more in-depth technical knowledge of the processes and links in the logging functions of the SAP System. There are four additional variants available for evaluation in extended mode: Only take account of change document objects Only search in table logs Search in change document objects and table logs Search in long texts

You select an evaluation variant by entering the selection conditions on the relevant tab page. When evaluating table logs and change documents, you can use the following conditions to limit selection in addition to those available for standard mode: Type of change (Insert, Update or Delete): only newly inserted, updated or deleted are searched: inserted: a new data record was added to a table. updated: the data value in a table field was changed. deleted: a data record was deleted from a table. Table name: technical name of the table you want to evaluate. The system only searches in the table you enter. Table field: technical name of the table fields you want to evaluate. The system only searches in the table fields you enter.

Variant 1: Only evaluate table logs: If you only want the system to search in table logs, on the Table logs tab page you can enter the table keys of the table you want to evaluate.

SAP recommends that you use wildcards, because the table keys can also contain fields that you may not be aware of. Variant 2: Only evaluate change document objects:

Electronic Records

622

27

SAP Online Help

02.07.2003

If you only want the system to search for change document objects, you can also enter the following conditions: Change document number: the number under which the change document is stored Object value Change document object: technical name of the change document object Table key: the key of the changed data record

Variant 3: Evaluate table logs and change document objects: If you want to perform a combined search for change document objects and table logs, the selection criteria mentioned above for variants 1 and 2 are available on the relevant tab page. Variant 4: Evaluate long text logs: If you want to evaluate long text logs, you can enter the following selection conditions in addition to those available for standard mode: Text object: describes the application object belonging to the text Text ID: more detailed specification of the text object Text name: together with the text object and text ID, identifies the text.

Once you have entered all the selection conditions, the following options are available to you: Copy current selection conditions and enter further combinations of selection conditions Delete current selection conditions, most recently copied selection conditions, or all copied selection conditions Display a list of all selection conditions copied so far Display number of hits for the current selection criteria

The number of hits displayed by the system represents the hits found for the selection conditions currently visible on the screen. The system does not take account of selection conditions that were already copied. We advise you to determine the number of hits before every evaluation, to avoid a timeout or memory overflow if the selection is not detailed enough. Save or import own selection conditions as a variant.

Delete selection You can delete selection conditions that you have already copied to the system at different levels: Delete current selection: the current selection conditions displayed on the screen are deleted (in standard and extended mode) Delete last copied selection: the selection conditions most recently copied to temporary storage are deleted (extended mode only) Delete complete selection: All selection criteria are deleted from temporary storage (extended mode only)

Electronic Records

622

28

SAP Online Help Display selection conditions

02.07.2003

Choose Display selection conditions to list all selection conditions that you have written to temporary storage with the Copy selection function since the last evaluation, sorted according to the sequence of your entries.

This function is always available in extended mode, and available in standard mode after an evaluation has been performed.

Check number of entries Before the actual evaluation, you can use the Number of entries function to check how many logs exist for the current selection conditions, to decide whether you need to reduce the number of logs by entering further selection conditions.

Change conditions that you have already written to temporary storage using Copy selection are not included in this check. This check does not take account of authorizations and client dependencies. Therefore, it is possible that fewer table logs and change document are included in the actual evaluation than were determined during the Number of entries check. Store selection conditions as a variant You can save a group of selection conditions as a separate variant, and quickly access it using Get variant. If you have created a variant, the Evaluation of Audit Trail function (AUT10) starts immediately in extended mode (otherwise in standard mode).

Every user can create a separate variant. An administrator with the appropriate authorization can also create userindependent variants in the variant maintenance for program AUT_REP10 . When entering selection conditions here, use only one of the following subscreens: 140: for change document objects and table logs 150: for table logs only 160: for change document objects only 170: for long texts only

See also: Maintaining Variants [Ext.] and Report Variant Types in QM [Ext.].

Run evaluation as background job The following prerequisites must be met before an evaluation can be run as a background job: You have entered AUT_REP10 as the name of the program that is to be processed in the background. The selection conditions must be stored as a variant. This must relate to one of the selection screens 140, 150, 160 or 170.

Long texts cannot be displayed in this type of evaluation

Electronic Records

622

29

SAP Online Help

02.07.2003

Entering Selection Conditions


Use
You enter selection conditions on which the system bases its search for changed and logged data records. Depending on whether you are in standard or extended modes, you have a different number of selection conditions available to you.

Procedure
Enter as many selection conditions as possible, as this limits the search, and the results are available more quickly. The entry of selection involves an and operation. As a result, the system only searches for data that meets all the selection conditions. If you put several selection conditions into temporary storage using Copy selection in extended mode, and then start the evaluation, the system searches for all data records that match at least one of the combinations of selection conditions that you copied. Selection conditions in standard mode 1. Enter selection conditions on which the system bases its search for changed data in table logs or change documents.
...

Starting date (required) and finishing date Starting and finishing time Changed by Transaction code (required, wildcards are allowed) Long text Evaluate details

Selection conditions in extended mode 1. Choose Switch standard mode Extended mode to go to extended mode.

2. In addition to the selection conditions in standard mode, enter the further, objectspecific selection conditions on the relevant tab page: for change documents and table logs for table logs only for change documents only for long texts Copy selection.

3. Choose

The system writes the current selection for later evaluation to local temporary storage. 4. Enter further selection conditions or start the evaluation. You can initially store any number of combinations of selection conditions locally, and then perform a general evaluation for them all. The system then determines all data records that match at least one of the copied combination of selection conditions.

If you enter too many combinations of selection conditions, the evaluation may be terminated by a timeout or memory overflow.

Electronic Records

622

30

SAP Online Help Store selection conditions as a variant


...

02.07.2003

1. Choose My default. 2. Enter the required selection conditions and choose 3. Enter attributes for the variant, if required, and choose Continue. Save.

For each user ID, you can only store one variant, and this is stored under the name U_[user ID] (see Evaluating Logged Data [Page 25]). To delete the variant again, choose Goto Variants Delete.

Carrying Out Evaluations


Prerequisites
You have at least entered the required evaluation conditions (starting date and transaction code).

Procedure
Choose Start evaluation. The system starts the evaluation of the table logs, change documents, or long texts using the selection conditions you entered.

Result
The system displays the results on the Audit Trail screen. Audit Trail: x/y Transactions Evaluated is displayed in the title bar. Here, y stands for the number of transactions that can be evaluated, and x for the number of transactions that were actually evaluated. If the two values are not identical, some of the transactions were not evaluated because you do not have the authorization for them.

For more information on non-evaluated transactions, see conditions. The results are displayed in two lists: Evaluation results of the table and long text logs Evaluation results for change documents

Evaluation

Either one or both lists are displayed, depending on whether you carried out an evaluation for table logs only, change documents only, or both. In addition to the general selection conditions such as date, time, and person who made the changes, each list also contains more detailed information about the change document object or table log (for example, the value before and after the change is displayed for each changed data record). Display changed contents of individual table field If you have deleted or inserted data in several fields of a table row, these changes only appear as a single entry in the evaluation of table logs. To list the details of the changes in the individual table fields:
...

Electronic Records

622

31

SAP Online Help 1. Select one or more table logs. 2. Choose Data record.

02.07.2003

In a further list, the system displays the changes to the individual files of the selected table row. Display field contents in full Sometimes, the content of a table field is too long and cannot be displayed in its entirety. In this case, the icon is displayed at the start of the table row. Click on or double click on a field in the row.

The system then displays a dialog box containing the full contents of all table fields in the selected table row. Display long texts
...

1. Select a long text log. 2. Choose Text old/new.

The text prior to the change is displayed on the left-hand side of the screen, the text after the change on the right-hand side of the screen.

Electronic Records

622

32

SAP Online Help

02.07.2003

Archiving Long Text Logs


Use
You can archive logged long texts with archiving object ELR_LTXTS. A complete archiving cycle has the following main steps: Executing the preprocessing program: The data to be archived is prepared for the write program. Generating the archive files: With the help of the write program, the long texts to be archived are sequentially written into newly generated archive files. Note that archiving is client-dependent. Executing the deletion program: Once the long texts to be archived have been completely written to the archive files, the deletion program removes them from the database. For security reasons, the system first reads the archived data, and does not start the deletion run until this read operation has been completed successfully.

SAP recommends that you execute the function Delete long text logs (report AUT_DEL) before you start archiving. As a result, you ensure that irrelevant data records are not archived.

Prerequisites
You have applied Support Package 12 for component SAP_APPL 470 and Note 561250 to your system, or your system has at least Support Package 12 for SAP_BASIS 620. This ensures that the archiving object BC_DBLOGS does not archive long texts, but rather that all long texts are archived with archiving object ELR_LTXTS, and the above-mentioned functions are available to you. You can only evaluate long text logs that were archived with ELR_LTXTS. If you changed the code page of the systems (for example as a result of an upgrade from SAP R/3 4.6C to SAP R/3 Enterprise including a change to a two-byte Unicode code page), you have recorded in the system the time at which this code page switch took place. For further information on this, see Notes 513839 and 514967.

The archiving programs use the code page information to format the data. A different data conversion may be required depending on the current code page at the time of long text logging. Note that if the code page information is incorrect, data may be lost.

Features
Preprocessing program
The preprocessing program prepares the long text data for the write program, in order to save time during the writing of the archive files. On the selection screen of the preprocessing program, you can enter an end date for archiving in the Restrictions area. All the long texts that were created up to this date are prepared for archiving.

Electronic Records

622

33

SAP Online Help

02.07.2003

This date must be in the past. In addition, it cannot fall in a period for which long texts were already archived. You can enter a packet size in the Technical control area. This defines the intervals (measured in number of long texts) in which changed data is permanently stored on the database. If the packet size is too high, the program may terminate. The ideal value depends on the configuration of your database system; the default value in the system is 1000. If data exists that resulted from a previous preprocessing program, but was not archived, the preprocessing program cannot be restarted. A restart of the preprocessing program is only possible once this data has been removed from the system. This can be done either by ending the archiving cycle that was started (write program and deletion program), or by discarding the data of the preprocessing program by using program AUT_ARCH_UNDO.

Write program
The write program writes the long texts to archive files. It is essential that the preprocessing program has been completely finished before the write program is run. On the selection screen of the write program, you can choose between test and production mode in the Processing Options area. If the write program of the archiving object is executed in test mode, the system only simulates the archiving in accordance with the selection criteria you entered. An archive file is not created. You receive statistics on the table entries that would have been written to the archive in production mode, as well as the size and number of archive files that would have been created. In production mode of the write program for the archiving object, the system creates archive files in accordance with your selection criteria. You receive statistics on the table entries that were written to the archive, as well as the size and number of archive files that were created. In addition, you can enter a comment on the archiving run, which for example contains information about the archived periods. This comment is displayed In the overview of archiving runs in archive administration (transaction SARA). It can also be changed here. During manual selection of archive files (e.g. evaluation programs), where it simplifies selection of archive files.

Deletion program
Once the data objects have been written to the archive files, they are deleted from the database. It is essential that the write program has been completely finished before the deletion program is run. Here, you can schedule the deletion program per archive file. You can do this manually or automatically. While the write program is running, you are not able to start the deletion program.

In the Implementation Guide, you can choose SAP Web Application Server System Administration Data Archiving Archiving Object-Specific Customizing to make entries for the deletion program flow for the archiving object. As in the write program, on the selection screen of the deletion program, you can choose between test and production mode in the Processing Options area. If you execute the deletion program of the archiving object in test mode, data is not deleted from the database; the deletion is only simulated. You receive statistics on the table entries that would have been deleted from the database in production mode. If you execute the deletion program of the archiving object in production mode, the archived data is deleted from the database. You receive statistics about the deleted table entries. Electronic Records 622 34

SAP Online Help

02.07.2003

Reload program
You should only reload archived data to the database in exceptional situations. For example, it may be necessary to reload data if you discovered immediately after archiving that too much or the wrong data was archived. This data should be reloaded as soon as possible after archiving has been carried out.

After a release upgrade or code page switch, a reload of archived long texts may lead to a loss of data, and therefore must not be carried out. The reload program cannot be started if data of a non-archived preprocessing program exists. If necessary, discard this data using program AUT_ARCH_UNDO. When you reload archived data, note that active info structures for the reloaded archive files must be manually deconstructed (transaction SARI Status). As in the write program, on the selection screen of the reload program, you can choose between test and production mode in the Processing Options area.

Tracking details for archiving


If you want to track details for archiving, you can use transaction AUT10 to evaluate the table logs of table AUT_ARCH_HIST. You receive the following detailed information: Selection data of the preprocessing program (what data was included in this run) Status of the archiving run: empty (does not contain any data), preprocessing program executed, deletion program executed, or reload program executed Number of the archiving run in the ADK (Archive Development Kit) Date / time / user who executed preprocessing, deletion program or program AUT_ARCH_UNDO

In the standard system, logging is not active for AUT_ARCH_HIST. If you want to use this function, you must activate table logging for table AUT_ARCH_HIST in transaction AUT01.

Electronic Records

622

35

SAP Online Help

02.07.2003

Evaluating Archived Long Texts


Prerequisites
You have applied Support Package 12 for component SAP_APPL 470 in your system. To be able to carry out evaluation using the Archive Explorer, at least one archive info structure must be active and fully constructed. SAP delivers archive info structure SAP_ELR_LTXTS as the minimum archive info structure. Field catalog SAP_ELR_LTXTS is available for archiving object ELR_LTXTS. On the basis of this, you can create your own info structures, if you want to select further fields. If the archive info structure was not active at the time of archiving, you must construct this manually (transaction SARI Status). For the evaluation of referenced long texts, there must be no period for which data exists on the database that is followed by a period for which data is archived. The program determines the long text on the basis of the data in the archive. Under these conditions, it cannot be guaranteed that the displayed texts are correct. For example, the system could display a long text that resulted from a later change, because this is the next available change in the archive. Archive the reloaded period again, or take organizational measures to ensure that the reference target of a long text does not fall in the reloaded period.

Activities
Carrying out evaluations with the Archive Explorer
...

1. In transaction SARI, start the Archive Explorer. 2. Enter the archiving object and archive info structure. 3. On the selection screen, enter the required data, and choose Execute. 4. Double click on the required list entry and choose Display long text in the dialog box that appears. The system displays the selected long text.

Electronic Records

622

36

Anda mungkin juga menyukai