12 Inserting Header and Footer Sections

This chapter contains the following topics:

12.1 Understanding Header and Footer Sections

Header and footer sections are special-purpose sections that contain constant, variable, and runtime fields. They typically contain information regarding the content of the report, the intended audience, or disclaimers.

Because header and footer sections typically provide commentary or system-related information rather than data from tables, they are not associated with business views.

When you create a new report template, you are presented with header and footer section options on the welcome form of the Director. You can also add these sections to report templates from the Oracle's JD Edwards EnterpriseOne Report Design Aid (RDA) menu.

When you add header and footer sections to a report template from within RDA, they are added to the bottom of the RDA workspace. However, when you print the report, the sections print in the appropriate order. The properties and format of report headers and footers and of page headers and footers are similar to group sections.

See Chapter 22, "Understanding Report Processing".

12.2 Creating Header and Footer Sections

This section provides overviews of header sections and footer sections, lists the prerequisites, and discusses how to:

  • Create report headers.

  • Create page headers.

  • Create page footers.

  • Create report footers.

12.2.1 Understanding Header Sections

RDA presents you with two header options:

  • Report headers

  • Page headers

12.2.1.1 Report Headers

Report headers appear once at the beginning of the report, before the page header. You can create only one report header in a report template. Use the report header to include information regarding the entire report. Appropriate information for report headers might be the time frame that is covered by the report or the confidentiality of the report.

12.2.1.2 Page Headers

Page headers appear on every page of the report. You can create only one page header in a report template. The page header is typically populated by the system using runtime fields that capture the company name, report name and description, date, time, and page number. These fields can also be added manually in RDA from the Insert menu.

You can include a page header from the welcome page of the Director. You can also add a page header to an existing report template from the Section menu in RDA. Either way, you can create an empty page header section or allow the system to populate the section automatically.

12.2.2 Understanding Footer Sections

RDA presents you with two footers options:

  • Page footers

  • Report footers

12.2.2.1 Page Footers

Page footers appear on every page of the report. You can create only one page footer in a report template. You typically add information to the page footer using constants. A page footer might include a description of the content of the report. Appropriate information for page footers might be the region or business unit to which the data pertains.

12.2.2.2 Report Footers

Report footers appear once, on their own page, at the end of the report after the last record is printed. You can create only one report footer in a report template. A report footer might include a legal disclaimer or some other text to conclude the report. Appropriate information for report footers might be the name of the company that has exclusive legal rights to the report information.

12.2.3 Prerequisites

Before you begin creating headers and footers, ensure that you:

  • Create a batch application object.

  • Complete the design of the report template without including header and footer sections.

12.2.4 Creating Report Headers

Open a report template in RDA.

  1. From the Section menu, select Create, Headers and Footers, Report Header.

    An icon is added to the Report Tree window, and an empty section is added to the RDA workspace.

  2. Click the report header.

  3. Select fields from the Insert menu, and drag them to the report header section.

    You can add any type of data field except business view columns.

  4. Double-click the report header section to open the Report Header properties form.

  5. Define section properties as appropriate, and click OK.

12.2.5 Creating Page Headers

Open a report template in RDA.

  1. From the Section menu, select Create, Headers and Footers, Page Header.

  2. Select Section Only to create an empty page header to which you can manually add fields.

    An icon is added to the Report Tree window, and an empty section is added to the RDA workspace.

    You can also select Auto Create to allow the system to populate the page header section.

  3. Click the page header.

  4. Select fields from the Insert menu, and drag them to the page header section.

    You can add any type of data field except business view columns and the Page n of Total runtime field.

  5. Double-click the Page Header section to open the Page Header properties form.

    Note:

    You can add extra white space between the page header and the subsequent report section by placing a blank constant field below the header text.
  6. Define section properties as appropriate, and click OK.

12.2.6 Creating Page Footers

Open a report template in RDA.

  1. From the Section menu, select Create, then select Headers and Footers, and then select Page Footer.

    An icon is added to the Report Tree window, and an empty section is added to the RDA workspace.

  2. Click the page footer.

  3. Select fields from the Insert menu, and drag them to the page footer section.

    You can add any type of data field except business view columns.

  4. Double-click the Page Footer section to open the Page Footer properties form.

  5. Define section properties as appropriate, and click OK.

    Note:

    You can add extra white space between the previous report section and the page footer by placing a blank constant field above the footer text.

12.2.7 Creating Report Footers

Open a report template in RDA.

  1. From the Section menu, select Create, Headers and Footers, Report Footer.

    An icon is added to the Report Tree window, and an empty section is added to the RDA workspace.

  2. Click the report footer.

  3. Select fields from the Insert menu, and drag them to the report footer section.

    You can add any type of data field except business view columns and the Page n of Total runtime field.

  4. Double-click the Report Footer section to open the Report Footer properties form.

  5. Define section properties as appropriate, and click OK.