Skip to content

Stamp Documents


PLOSSYS Distribution Engine can stamp documents with texts from SAP before distribution. A stamp identifies a document on paper and in digital form, for example with the user, the job date, or the system name. PLOSSYS Distribution Engine stamps documents via DPF4Convert.

A stamp layout file defines the position, size, and font of each stamp text. SAP provides the texts themselves with each job.


Configure Stamping

Prerequisites

  • SAP DDD 1.6.0 or later.
  • PLOSSYS Distribution Engine 2.2.0 or later, if stamp texts contain special characters, for example Š or €.

Steps

  1. Create a stamp layout file in the customer-specific stamp directory. As a starting point, copy the template shipped with PLOSSYS Distribution Engine:

    • Windows: from %DPFROOT%\tools\convcfg\pdfstamp\distribute.stp.tpl to %SEAL_CUSTOMDIR%\conf\common\stamp\distribute.stp
    • Linux: from %DPFROOT%/tools/convcfg/pdfstamp/distribute.stp.tpl to %SEAL_CUSTOMDIR%/conf/common/stamp/distribute.stp

    Refer to DPFROOT and SEAL_CUSTOMDIR.

    Hint - keep stamp layout files in the customer directory

    Store stamp layout files only in the customer-specific stamp directory. The file in %DPFROOT% is a template only.

  2. Adapt the text and box definitions in the stamp layout file to the required layout. The comments at the start of the template describe the available settings. The template also contains a text definition for a QR code.

  3. In SAP, set STP_LAYOUT to the file name of the stamp layout file, including the .stp extension, for example distribute.stp.

    Set STP_LAYOUT on the job to use one stamp layout file for all documents. Set it on a document to use a different stamp layout file for this document only. Refer to Job Level and Document Level.

  4. In SAP, set the stamp texts as STAMP_n. SAP DDD passes them to PLOSSYS Distribution Engine as PLS_STAMP_n.

  5. Set DIST_TYPE to PDF or MERGE on each document to stamp. PLOSSYS Distribution Engine does not stamp documents with DIST_TYPE NATIVE or ZIP.

  6. Check that WantPreprocess, WantProcess, and WantConvert are set to Y. All three default to Y. Set them only if a project-specific configuration disabled one of them.

Validation

  1. Trigger a test job in SAP with at least one document with DIST_TYPE PDF and a stamp text.

  2. Check that the distributed PDF shows the stamp texts at the positions defined in the stamp layout file.

  3. If special characters in a stamp text appear as ?, check that PLOSSYS Distribution Engine 2.2.0 or later is installed.


Background Information

Job Level and Document Level

STP_LAYOUT and PLS_STAMP_n can be set on the job and on individual documents. A document value always takes precedence:

  • STP_LAYOUT set on the job:

    PLOSSYS Distribution Engine applies the value to every document to stamp that has no own STP_LAYOUT value.

  • PLS_STAMP_n set on the job:

    PLOSSYS Distribution Engine applies the value to every document that has no own value for the same PLS_STAMP_n.

Stamp Cover, Trailer, and Missing Sheets

Cover, trailer, and missing sheets are not stamped by default. To stamp them, refer to StampCover, StampTrailer, and StampMissing.



Back to top