Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transaction FILE

Former Member
0 Likes
11,716

Hi,

What is this transaction used for? How can I utilise this in my interface?

Thanks and Regards,

Shivali

Hi,

What is this transaction used for? How can I utilise this in my interface?

Thanks and Regards,

Shivali

4 REPLIES 4
Read only

Former Member
0 Likes
6,076

FILE transaction is used for defining the logical path.

Logical path - The logical name for the physical path of UNIX folder.

For e.g if all Sales related files are stored in physical path /sap/user/module/sales.

The logical path will be created in FILE with name like ZSALES & physical file path /sap/user/module/sales will be defined for it.

Reward if its useful.

Regards,

Sail

Read only

Former Member
0 Likes
6,076

hi,

Genearally you can use the FILE tcode to create the logical file path for the given physical file...

Like in DI method for dataupload you have to specify the logical file path istead of direct physical file path so that at that time with the use of this tcode u can create the logical file path...

~~Guduri

Read only

Former Member
Read only

Former Member
0 Likes
6,076

Hi,

Logical file names and logical file paths are mainly used to have platform independent file names and platform independent file paths to be used in applications.

1. The transaction FILE helps in assigning a logical file name to a logical file path

2. The logical file name will again be associated with the physical file format.

3. One logical file path will be mapped to different physical file paths, depending upon the platform.

4. In your interface you can use the function module FILE_GET_NAME which gives the phsical file path using the logical file name which you supply.

Regards,

Madhusudhan