Entering content frame

Using Platform-Independent Filenames Locate the document in its SAP Library structure

The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your SAP system is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.

Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.

To make programs portable, the SAP system has a concept of logical filenames and paths. These are linked to physical files and paths. This link is defined in special tables. You can define these tables in accordance with your requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.

Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools Business Engineer Customizing, followed by
Implement. projects
SAP Reference IMG. On the next screen, choose Basis Components System Administration Platform-independent File Names.

For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.

Another way of maintaining platform-independent filenames is to use the Transaction Structure linkFILE. For information about platform-dependent filenames, refer to the Structure linkPlatform Independent Filename Assignment section of the Extended Applications Function Library documentation.

 

Leaving content frame