Menu

SAP Function Module SO_OBJECT_DOWNLOAD

SAPoffice: Allgemeine Routine für PC Download

The Function Module SO_OBJECT_DOWNLOAD (SAPoffice: Allgemeine Routine für PC Download) is a standard Function Module in SAP ERP and is part of the function group SO30 within the package SO.

Technical Information

Function Module SO_OBJECT_DOWNLOAD
Short Text SAPoffice: Allgemeine Routine für PC Download
Function Group SO30
Package SO
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BIN_FILESIZE LIKE SOXWD-DOC_LENGTH 0 Length of the file to be downloaded (file type BIN)
CODEPAGE TYPE ABAP_ENCODING Codepage für Download (nur ASCII)
DEFAULT_FILENAME LIKE SPACE Default file name, wildcards allowed
FILETYPE LIKE 'ASC' BIN for binary, ASC for ASCII
PATH_AND_FILE LIKE SPACE Default-Dateiname

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACT_FILENAME LIKE Rückgabewert Dateiname
ACT_FILETYPE LIKE Rückgabewert Dateityp
FILELENGTH LIKE SOXWD-DOC_LENGTH Length of downloaded file
F_CANCELLED LIKE SONV-FLAG Flag: download was cancelled

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OBJCONT LIKE Contents of downloaded file

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
FILE_WRITE_ERROR File could not be written
INVALID_TYPE Invalid file type parameter
X_ERROR Unknown error