Show TOC

 SAPscript Forms

Use

You need SAPscript forms when you send a distribution package.

  • Cover sheet

The recipients receive an SAP mail via SAPoffice. This mail contains distribution information. The SAP mail is generated for every distribution type by a SAPscript form that is denoted as a cover sheet.

In the standard system, there are the following forms for the different distribution types:

  • DDS_COVER_PAGE

  • DDS_COVER_ITS

  • DDS_COVER_PLO

  • DDS_COVER_ORI

  • DDS_COVER_HTP

  • Confirmation of receipt

The confirmation of receipt contains information telling the recipient who he/she has to confirm receipt of the document with (distribution point address).

In the standard system, there is the form DDS_RECEIPT for this purpose.

Integration

The function module CVV4_GENERATE_FORMULAR at run-time generates the SAPscript forms. Each form for document distribution is divided into four areas that are denoted as page windows:

  • HEADER

  • ADDRESS

  • ORDER

  • MAIN

The function module calls these windows in a predefined sequence. Language-dependent text elements are called in these windows. The fields are called with different structures. Their data is determined at run-time.

Structure

The following overview shows the text elements of the individual page windows:

HEADER

Text element

Structures

HEADER

None

ADDRESS

Text element

Structures

ADDRESS

ADRS_REC

(DB structure: ADRS_PRINT - recipient’s address in a prepared form)

ADRS_WA

(DB structure: ADDR3_VAL - return structure for recipient’s address)

ADRS_DIS

(DB structure: ADRS_PRINT - distribution point address in a prepared form)

ADRS_DIS_WA

(DB structure: ADDR3-VAL - return structure for distribution point address)

ORDER

Text element

Structures

ORDER

DRZO (DB structure: DRZO - distribution order)

DRZOI (DB structure: DRZOI - initial order)

DRZOP (DB structure: DRZOP - distribution package)

TDICT (DB structure: TDICT - distribution types)

MAIN

Text element

Structures

CHARACTERISTICS

(classification data of the initial order)

CHARACT ( database structure CVI - characteristic)

DESCRIPTION

DESCRIPT (short text, maximum four lines)

HEADER

None (title and text)

DOCUMENTS

(called for every document)

DRZOC (DB structure: DRZOC - part order)

DRZOI (DB structure: DRZOI - initial order)

DRZO (DB structure: DRZO - distribution order)

DRAW_STR (DB structure: DRAW - document info record)

DRAT (DB structure: DRAT - document texts)

ORIGINALS

(called for every original application file)

DRZOF (DB structure: DRZOF - original files of a part order)

URL_PARAM1 (field - file name)

URL_PARAM2 (field - part order ID)

URL_PARAM3 (field - workstation application)

DOL_CHARACTERISTICS

(called for every document)

DOC_CHARACT (DB structure: CVI-CHARACTERISTICS)