Menu

SAP Function Module OPEN_FORM

SAPscript: Open form printing

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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