| # Configuration Before you can start to archive and reprint reports, you must configure the LN Report Archive. For example, you must define the basic parameters for the archive and you must specify which reports must be archived. To configure the LN Report Archive, take the following steps: Create tables Define Report Archiving Parameters Define Report Archive Groups Specify the reports to be archived After you complete the configuration steps, you can check the Report Archiving Rules. In other words, you can verify, for various run time settings, whether a report will actually be archived. Refer to Check Report Archiving Rules for details. Create tables Use the General Table Maintenance (ttaad4100 ) session to create the following tables: in company 000 only: Report Archiving Parameters (ttaad340) Report Archive Groups (ttaad341) Report Archiving Rules (ttaad342) in all companies where reports must be archived: Archived Reports (ttaad345) Create this table also for company 000 if you want to archive Tools reports. Note To create tables for a company, you must log on with a user account that belongs to the package combination to which the company is linked. For example: company 000 is linked to package combination b61a. To create tables for company 000, log on with a user account that belongs to this package combination. To find out to which package combination a user or a company is linked, use the User Data (ttaad2500m000) and Companies (ttaad1100m000) sessions. Define Report Archiving Parameters Use the Report Archiving Parameters (ttaad3140s000) session to define the basic parameters, such as the directory where the reports must be archived, for the report archive. Define Report Archive Groups Use the Report Archive Groups (ttaad3541m000) session to create one or more Report Archive Groups. You can use Report Archive Groups to group reports of the same type, for example, Sales Invoices and Purchase Orders. In the file system, you can store the archived reports by Report Archive Group: the archive folder specified in the Report Archiving Parameters (ttaad3140s000) session usually contains one or more subdirectories for each Report Archive Group. This enables you to maintain an overview of the archive and improves the file system performance. Most operating systems begin to respond more slowly if a large number of files are stored in a single directory. Specify the reports to be archived Use the Report Archiving Rules (ttaad3542m000) session to define rules that specify which reports must be archived. In a rule you must do the following: Specify the criteria that determine whether a specific report is archived. Link the report to a Report Archive Group. Specify how the report must be split when the report is archived. You can define multiple rules for the same report. For example: The Sales Invoice report must always be archived. The Sales Invoice report must not be archived if the report is printed in company 755 (test company). As a result, the Sales Invoice report is always archived, unless the report is printed in company 755. For details on rules, and the way in which multiple rules for the same report are evaluated, refer to the online Help of the Report Archiving Rules (ttaad3542m000) session and the Check Report Archiving Rules (ttaad3442m100) session. For details on report splitting, refer to the online Help of the Report Archiving Rules (ttaad3542m000) session. Check Report Archiving Rules You can use the Check Report Archiving Rules (ttaad3442m100) session to test the effect of the Report Archiving Rules that were defined. You can, for example, verify for various runtime settings whether a report will actually be archived. This session is particularly useful if you defined various rules for the same report code. Example You defined the following rules for the SALES ORDER report: all companies/sessions/VRCs: Archiving on company 100/all sessions/all VRCs: Archiving off all companies/session X/all VRCs: Archiving on You can use the Check Report Archiving Rules (ttaad3442m100) session to check, for example, whether the SALES ORDER report will be archived when the report is printed in company 100, using session X. In this example, the report will indeed be archived because, according to the priority rules, the session is more important than the company number. For details about the evaluation of report archiving rules, refer to the online help of the Check Report Archiving Rules (ttaad3442m100) session. Related topics Report splitting |