Variables for Printing Data on Cover Pages 

There are two types of texts on cover pages:

R/3 cover page actions use the "TP_" variables of the spool system to print out these texts. TP_ variables are translatable and are output in the language specified in the output device definition in the SAP spool system.

R/3 cover page actions use three types of variable to output dynamic texts. These are spool, user address, and profile variables.

"TP_" Translatable Variables for Static Texts

The TP_ variables let you insert static texts, such as field names, in a cover page.

The standard set of TP_ variables with their default English translations is shown in the table below. However, you can add your own TP_ variables and your own translations of these variables. For more information, see Working with the "TP_" Cover Page Variables.

"TP_" Variables: Static Texts on Cover Pages

Predefined TP_ Variable Name


Default Value (English)

TP_CLIENT

Client

TP_COUNT

Number

TP_CREATE

Created

TP_DEPART

Department

TP_DEVICE

Device

TP_DEVTYP

Device type

TP_DTABSE

Database

TP_FORM

Format type

TP_FROM

From

TP_HOST

Host

TP_OUTREQ

Output request

TP_OWNER

Owner

 

Dynamic Variables: Spool, User Address, and Profile Variables

You can use any of the variables shown in the following tables on your cover page.

Enter the variables in the following format: $(<variable>).

Each set of dynamic variables derives its values from a different source:

To see what is recorded in the user address variables, choose:

If you have maintained the user addresses in your user master records, then you can output these values on cover pages by using the "User address" variables. For example, you can print a user’s name, room number, and telephone number as they are recorded in the user master record on a cover page.

User Variables: Cover Page Values Supplied from the User Address Data

Variable

Meaning

$(USR_SALUT)

Salutation or form of address from the Form of address field

$(USR_NAME1)

First line of Name field

$(USR_NAME2)

Second line of Name field

$(USR_NAME3)

Third line of Name field

$(USR_NAME4)

Fourth line of Name field

$(USR_ABTLG)

Department field

$(USR_KOSTL)

Cost center field

$(USR_BUINR)

Building number field

$(USR_ROONR)

Room number field

$(USR_STRAS)

Street field

$(USR_PFACH)

PO Box field

$(USR_PSTLZ)

Postal code field

$(USR_PSTL2)

Postal code extension field (neighborhood-level codes)

$(USR_ORT01)

First Location field

$(USR_ORT02)

Second Location field

$(USR_REGIO)

Region field

$(USR_LAND1)

Country key field

$(USR_TELNR)

Telephone no. field

$(USR_TEL01)

Extension field (first part)

$(USR_TEL02)

Extension field (second part)

$(USR_TELPR)

Private telephone number (No data entry field in the user address screen. Value provided only if users’ private numbers are inserted directly in the USR03 table with an ABAP program.)

$(USR_TELX1)

Telex number field

$(USR_TELFX)

Telefax number field

$(USR_TELTX)

Teletex number field

 

Spool System Variables: Cover Page Values Supplied by Spool System

Variable

Meaning

$(ANZAHL)

Number of copies to be printed.

$(ABTEILUNG)

Department of the user who created the spool request.

$(ANGELEGT)

Date and time when the spool request was created.

$(BENUTZER)

User who requested the print out.

$(DB)

Storage location of the output request.

$(DRUCKAUFTRAG)

ID number of the output request (sequential number starting with 1 and referring only to the output requests generated from a particular spool request.

$(DRUCKER)

Name of the destination output device, as defined in the SAP spool system.

$(DRUCKERTYP)

Type of output device, as defined in the SAP spool system.

$(DSN)

First part of the three-part name generated by the SAP System for a spool request. (See also the SUFFIX1, SUFFIX2, and TITLE variables.)

$(ERZEUGT)

Date and time when the output request was generated.

$(EIGNER)

User who generated the spool request. (This may be a different user than the creator of the output request in the BENUTZER variable).

$(EMPFAENGER)

The user to whom the print out should be delivered.

$(FORMULAR)

The spool format used for an output request. If the document is an SAPscript document, then this is also the name of the SAPscript form used to format the document.

$(GEDRUCKT)

Date and time when an output request was processed by the SAP spool system.

$(MANDANT)

Client in which an output request was generated.

$(PRIO)

Priority within the SAP spool system.

$(RECHNER)

The name of the host system in which an output was processed.

$(SPOOLID)

ID number of the spool request in the SAP spool system.

$(SUFFIX1)

Second part of the three-part name generated by the SAP System for a spool request. (See also the DSN, SUFFIX2, and TITLE variables.)

$(SUFFIX2)

Third part of the three-part name generated by the SAP System for a spool request. (See also the DSN, SUFFIX1, and TITLE variables.)

$(TITEL)

Name given to a spool request by a user. Shown instead of the spool name (variables DSN, SUFFIX1, and SUFFIX2) if defined.

Profile variable: Values supplied by the system profile

Variable

Meaning

$(PARAM_)

The value of the system profile parameter rspo/layout.

 

  First Page of SAP Printing Guide