Integration of form overlay enables you to define forms for individual documents, or groups of documents, when storing outgoing documents. The forms are then stored together with the document. This means you can include graphics, such as logos, and also variable or fixed texts in the actual content of the outgoing document.
The following examples are available for form overlay when storing outgoing documents in PDF format:
Form S_FORM_TEST_02
Print program OATESTFORM
Form S_FORM_TEST_02
To go to the form painter, choose
.For information on the form painter, see the documentation Forms: Components and Working Procedures.
Enter the name of the example form S_FORM_TEST_02.
Content |
Description |
Main window |
Introduction, content, concluding remark |
Address |
Title, name, street, zip code, town |
Footer |
Variable or fixed text |
Header |
Variable or fixed text |
Sender |
Grayed-out text box with variable and/or fixed text |
Content |
Description |
Main window |
Introduction, content, concluding remark |
Footer |
Variable or fixed text |
Header |
Variable or fixed text |
Page number |
Number |
You can change the elements using the form painters by adding fixed and variable texts, graphics, tables and so on.
Print program OATESTFORM
Execute the program OATESTFORM in the ABAP editor.
The system displays the ArchiveLink: Storing Outgoing Documents with Form screen is displayed.
The following fields already contain entries, as far as is possible:
Customer number from… to…
Object type
Document type
Storage date from
Storage date to
Change the content of the fields if necessary.
Choose Program Execute.
The print screen is displayed.
The fields on the print screen contain entries.
Change the content of the fields if necessary.
Choose
.The object type and document type are already entered in the dialog box containing the storage parameters.
Change the content of the fields as required and choose Store to confirm.
Entries are made in the DARA lines and storing is started for the outgoing document.
You receive a message informing you that the storage or print request has been generated.