SAP ABAP IMG Activity _RMPS_SCMG_DOC_TEMPL (Include Data for Document Templates)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-RCM (Application Component) Records and Case Management
     RMPS_CUSTOMIZING (Package) Customizing Records Management for Public Sector
IMG Activity
ID _RMPS_SCMG_DOC_TEMPL Include Data for Document Templates  
Transaction Code S_KRM_01000030   (empty) 
Created on 20021015    
Customizing Attributes RMPS_SCMG_DOC_TEMPL   Include Data for Document Templates 
Customizing Activity RMPS_SCMG_DOC_TEMPL   Set Registry 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name RMPS_SCMG_DOC_TEMPL    

Use

In this IMG activity you can include data from the system, record or case (see PSRM Terminology) from which you create the document in your document templates for Office documents.

In addition to the attributes of the record or case, the following fields are available. Note that you must use the technical name given in brackets for the defining the document template.

Document Data

The attributes defined in the content model of the document are available with the prefix "DOC_" in the document. This means that you can distinguish between attributes of records and documents with the same names and both attribute groups can be used in the document.

Example:

The time the last a change was made to the document is entered in the field DOC_LAST_CHANGED_AT. However, the time of the last change to the super-ordinate record is entered in the field

Data on Creator

Field    Technical Name

Name    (PS_USER_NAME)

Title    (PS_USER_TITLE)

Work description    (PS_USER_WORK_TITLE)

Telephone number    (PS_USER_TELEPHONE)

Fax number    (PS_USER_FAX)

E-mail address    (PS_USER_EMAIL)

Room number    (PS_USER_ROOMNUMBER)

In-house mail code    (PS_USER_INHOUSEMAIL)

Short name for correspondence    (PS_USER_MAILSHORTKEY)

You can create and change this data with the user maintenance (transaction SU01).

The same fields as mentioned above but with the prefix "PS_SIGN_" instead of "PS_" are available for the final signatory if the document was created in a case in which the process route is in a final signature. The final signature must be the current or a future circular step.

You can only use some of the template fields once in the document templates. However, for the input as barcode it makes sense to include this field twice in a document; once as a plain text and once as a barcode. This means that the unique indicator is redundant.

  • The document number of the document itself (PS_BAR_DOC_REFERENCE) or
  • The case number of the superordinate case (PS_BAR_CASE_REFERENCE).

Address data

You can include the following address data in document templates:

Field    Technical Name

Institution    (PS_<prefix>_INST)

Last name    (PS_<prefix>_L_NAME)

First name    (PS_<prefix>_F_NAME)

Form of address    (PS_<prefix>_FORM_OF_A)

Title    (PS_<prefix>_TITEL)

Telephone number    (PS_<prefix>_PHONE)

Fax number    (PS_<prefix>_FAX)

E-mail address    (PS_<prefix>_E_MAIL)

City    (PS_<prefix>_CITY)

Post code    (PS_<prefix>_P_CODE)

Street    (PS_<prefix>_STREET)

House number    (PS_<prefix>_HOUSE_NO)

Post office box    (PS_<prefix>_POST_BOX)

Country    (PS_<prefix>_COUNTRY)

The <prefix> in the technical name can have the following values:

  • A Addressee                (duplicate with prefix AA)

    Example:

    The field PS_A_L_NAME is filled with the last name of the addressee maintained in the attributes of the document.

  • Annn     n. other Addressee

    Example:

    The field PS_A015_L_NAME is filled with the last name of the 15 addressee maintained in the attributes of the document.

  • ACURR Current addressee for letter printing (Duplicate with prefix AACURR)

    Example:

    The field PS_ACURR_L_NAME is filled with the last name of the address which has just been processed in the function Print Standard Letter.

As a field name can only be used once in office documents, the fields for Addressee and Current Addressee are displayed twice in Standard Letter Printing with the prefixes A and AA and/or ACURR and AACURR.

Example:

The field PS_AA_L_NAME is filled with the last name of the addressee who was maintained in the attributes of the document in the same way as the field PS_A_L_NAME. In this way, the last name of the addressee can be entered in the postal address and the form of address for the letter.

Requirements

The document templates with the appropriate fields must be created.

You have set the circular type of the activity final signature.

Standard settings

SAP delivers the function module RMPS_SET_FORM_DATA.

Activities

If you want to use the data mentioned for document templates, enter the function module RMPS_SET_FORM_DATA in the parameter FUNCTION_GET_FORM_DATA of the element type for office documents.

Example

Note

You can also use your own function module in ABAP and enter it. You can then call up the standard function module in this function module.

Business Attributes
ASAP Roadmap ID 899   not to be assigned 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG RMPS_SCMG_DOC_TEMPL 0 ABB0000001 Records and Case Management 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
IMGDUMMY D - Dummy object SRMREGEDIT  
History
Last changed by/on SAP  20021015 
SAP Release Created in 110_620