Definition of Contents and Layout of Archive Documents 
Use
In the standard system, a particular layout defined by SAP is used to create the documents with the R/3 data. You can thus use the batch record without having to define your own layout. If, however, you have certain company-specific requirements on what the documents should look like, you can tailor their contents and layout to your needs as follows:
For more information, see
Customizing for Batch Records.
The sections below describe what you must bear in mind here.
Features
Settings for the Browser-Based PI Sheet
The browser-based PI sheet is an XML document that is prepared as an HTML document using an XSL style sheet and is then loaded into the SAP HTML control for display or processing.
SAP provides the special archiving style sheet PMC_STY_A_DEFAULTX.XLS for the display of archive documents. The style sheet controls which data is selected, how they are formatted, and in which sequence they are displayed in the archive document. Unlike the PMC_STY_DEFAULTX.XLS style sheet for processing it also takes the data entered during PI sheet maintenance into account but only permits displaying this data. The advantage as opposed to SAPscript forms is that interactive elements (such as hyperlinks or expanding/collapsing of additional information) can be used.
If you want to use your own archiving style sheets, proceed in the same way as when defining your own processing style sheets (see Process Management documentation, section
Definition of XSL Style Sheets for PI Sheets and Cockpits). However, note the following:
Layout Definition for PI Sheets and Cockpits):
<LAYOUT>
...
<ARCHIVE>
<STYLE>
In the browser-based PI sheet, the settings for output control made in the document profile (see Customizing for Batch Records) are not taken into account.
<STYLE> ... </STYLE> (without the archiving tag) specifies the XSL style sheet for PI sheet maintenance. This information is not taken into account for archiving.
<FRAMESET...> ... </FRAMESET> is only taken into account for PI sheet maintenance. The PI sheet alone is archived without its surrounding frameset.
<HEADER> ... </HEADER> used for displaying the PI sheet and the archive document.