Configuration
To configure the LN Report Archive:
- 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. You can verify, for various run time settings, whether a report is archived. See "Check Report Archiving Rules".
Create tables
Use the session to create in company 000 these tables:
- Report Archiving Parameters (ttaad340)
- Report Archive Groups (ttaad341)
- Report Archiving Rules (ttaad342)
Create in all companies where reports must be archived the Archived Reports (ttaad345) table. You can create this table also for company 000 to archive the Tools reports.
To create tables for a company, 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 and session is password-protected. You can change the password for this session sessions.
Define Report Archiving Parameters
Use the session to define the basic parameters for the report archive. For example, define the directory where the reports must be archived.
Define Report Archive Groups
Use the 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 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 session to define rules that specify which reports must be archived.
In a rule you must specify this information:
- The criteria that determine whether a specific report is archived.
- Link the report to a Report Archive Group.
- 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, the test company.
This results in, the Sales Invoice report is always archived, unless the report is printed in company 755.
For details on rules, see the online Help of these sessions:
For details on report splitting, see Report splitting and the online Help of the session.
Check Report Archiving Rules
You can use the session to test the effect of the defined Report Archiving Rules. You can, for example, verify for various runtime settings whether a report is archived.
This session is useful if you defined various rules for the same report code.
Example
You defined these 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.
Use the session to check, whether the SALES ORDER report is archived and printed in company 100, using session X.
In this example, the report is indeed 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, see the online help of the session.