Menu

SAP Function Module PC_BUILD_COMPLETE_FILENAME

Builds complete file name from disk drive, path, file name and extension

The Function Module PC_BUILD_COMPLETE_FILENAME (Builds complete file name from disk drive, path, file name and extension) is a standard Function Module in SAP ERP and is part of the function group C0PC within the package CNIS.

Technical Information

Function Module PC_BUILD_COMPLETE_FILENAME
Short Text Builds complete file name from disk drive, path, file name and extension
Function Group C0PC
Package CNIS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHECK_DOS_FORMAT LIKE RC27X-FLG_SEL SPACE Kennzeichen: Auf DOS-Format prüfen
DRIVE LIKE PCFILE-DRIVE SPACE Disk drive specification without colon (A..Z)
EXTENSION LIKE SPACE File name extension (without leading period)
NAME LIKE SPACE File name without extension and without path
PATH LIKE PCFILE-PATH SPACE Path specification without disk drive and without file name

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
COMPLETE_FILENAME LIKE PCFILE-PATH Complete file name with disk drive, path, name

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
FILENAME_TOO_LONG The complete file name has more than 66 characters
INVALID_DRIVE The disk drive specification is incorrect (not A..Z)
INVALID_EXTENSION The file name extension is incorrect
INVALID_NAME The file name is incorrect
INVALID_PATH The path specification is incorrect
MISSING_FILENAME No file name was specified