SAP Function TB_LIMIT_WS_FILENAME_GET - Call File Selector

Parameter Reference Type Length Default Optional Text
DEF_FILENAME ANY A 0 SPACE X Preset File Name
DEF_PATH ANY A 0 SPACE X Preset Path
MASK ANY A 0 SPACE X Selection Screen
MODE ANY A 0 SPACE X S = Save, O = Open
TITLE ANY A 0 SPACE X Title of the Selection Window

Parameter Reference Type Length Text
FILE ANY A 0
FILENAME ANY A 0 Selected File Name
PATH ANY A 0

Exception Text
SELECTION_CANCEL Selection was cancelled
SELECTION_ERROR Communication error


Determination of a file name on the presentation server using a fileselection dialog.
MASK is a regular expression that specifies the selectable files.
Selection of MASK: {','','}+'.'
Structure of FILTERGRUPPE: {';'}*
Example: CALL FUNCTION .. EXPORTING .. MASK = ',*.*,*.*.' .. generatesthe file selection screen with the default file name: blank, save astype: *.*
The function module returns one name only, therefore MODE is onlyresponsible for assigning a standard overview (if TITLE is notspecified).
If the title is not specified, a standard text from the Windows systemis displayed, depending on MODE.