Menu

SAP Function Module PC_SPLIT_COMPLETE_FILENAME

Divides a complete PC file name into disk drive, path, file and exten

The Function Module PC_SPLIT_COMPLETE_FILENAME (Divides a complete PC file name into disk drive, path, file and exten) 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_SPLIT_COMPLETE_FILENAME
Short Text Divides a complete PC file name into disk drive, path, file and exten
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 Kennzeichen: Auf DOS-Format prüfen
COMPLETE_FILENAME LIKE PCFILE-PATH The file name to be split

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DRIVE LIKE PCFILE-DRIVE The disk drive specification (without colon)
EXTENSION LIKE The file name extension (extension)
NAME LIKE The file name (without extension)
NAME_WITH_EXT LIKE The file name (with extension)
PATH LIKE PCFILE-PATH The path (without disk drive and file 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
INVALID_DRIVE Incorrect disk drive specification
INVALID_EXTENSION Incorrect file name extension
INVALID_NAME Incorrect file name
INVALID_PATH Incorrect path