Printing Graphics

Prerequisites

You use the Administration of Form Graphics (transaction SE78)

  1. to import graphics into the SAP System: Double-click on a graphic format in the tree structure in the folder Start of the navigation pathStore on Document Next navigation step GRAPHICS General graphicsEnd of the navigation path.

  2. Choose Start of the navigation pathGraphic Next navigation step ImportEnd of the navigation path.

    The transaction imports the graphic and stores it on the Business Document Server (BDS). Now you can display it in a form.

Context

Under the graphic node, you can insert graphics, such as a company logo, to be used in the form output. For performance reasons, make sure that the graphics are held in the printer memory. SAP Smart Forms supports this method, provided that:

  • The printer can be controlled accordingly

  • There is enough memory space on the printer

  • You activated this property in transaction SE78 (see below)

    In this case, the system sends the graphics to the printer only once during one print job.

Procedure


  1. Create a node of type Graphic in the navigation tree of the Form Builder.

  2. Enter a unique name for the node and a description (for example, customer address).

  3. On the General Attributes tab, specify whether you want to include a colored graphic or a graphic in black and white.

  4. Use the fields Object, ID, and Name to identify the graphic. Use F4 help of the Name field to copy the values of these fields. If you copy them with ENTER, the system displays the graphic in the Form Painter.

  5. In the Technical Attributes box, determine the graphic resolution according to what the printer supports. Small resolutions increase the size of the graphic on the form, higher resolutions reduce the size.

  6. For graphic nodes that are displayed in a window, there is a box Horizontal Position in addition to the general output options. The parameters Reference Point and Alignment determine the horizontal position in the window, while the vertical position is determined by the previous output in the window.

Results

The system displays the node in the tree structure, including its name and description. If you insert a graphic as the directly inferior node of a page or if you used the Form Painter, the system displays the graphic. Graphics in windows are inserted only when the form is processed. You can therefore not see them in the Form Builder. In addition, the system automatically displays the graphic on the next page if there is not enough space left on the current page.