Menu

SAP Function Module OPEN_FORM

SAPscript: Open form printing

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module OPEN_FORM (SAPscript: Open form printing) is a standard Function Module in SAP ERP and is part of the function group STXC within the package STXD.

Technical Information

Function Module OPEN_FORM
Short Text SAPscript: Open form printing
Function Group STXC
Package STXD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
APPLICATION LIKE TTXOB-TDAPPL 'TX' Application code for interface
ARCHIVE_INDEX LIKE TOA_DARA Archive index
ARCHIVE_PARAMS LIKE ARC_PARAMS Archive parameters
DEVICE TYPE C 'PRINTER' Device type
DIALOG TYPE C 'X' Indicator: Dialog for print options
FORM TYPE C SPACE Form name
LANGUAGE LIKE THEAD-TDSPRAS SY-LANGU Language variant of form
MAIL_APPL_OBJECT LIKE SWOTOBJID MAIL: Application object (type of document)
MAIL_RECIPIENT LIKE SWOTOBJID MAIL: Recipient object ID
MAIL_SENDER LIKE SWOTOBJID MAIL: Sender object ID
OPTIONS LIKE ITCPO Print Options
RAW_DATA_INTERFACE TYPE C '*' Indicator for Raw Data Interface (RDI)
SPONUMIV TYPE NRIV-NRRANGENR Number range number

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
LANGUAGE LIKE THEAD-TDSPRAS Language variant of form
NEW_ARCHIVE_PARAMS LIKE ARC_PARAMS Archive parameters (return value)
RESULT LIKE ITCPP Print options (return values)

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CANCELED User cancelled print dialog
CODEPAGE Codepage not allowed
DEVICE Device type
FORM Form name
OPTIONS Print Options
SPOOL_ERROR Error at Transfer to Spool
UNCLOSED A form is still active