Application Development 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: 

Logical file / physical file

Former Member
0 Kudos

Hi,

can anybody tell how logical file is different from physical file during the lsmw direct input method.

I am trying to upload Purchase-info data through a source file on presentation server.

I am done with import data, read data, convert data after this in the option

create batch input method, it is asking a file .

when i use f4 here i can find many options in which one is

" usr/sap/tmp<filename>"

these entries can be find in transaction 'FILE'.

let me know if somebody has info regarding my query.

regards

satheesh

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

In LSMW, under the specify files area. Look at the converted data section. Double click it. Enter one of the ones that have correct path.

At time of batch input, this will be default for you.

Logical name is just a sort of alias for physical name.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

I need some immense problem from your end. Because i was also stuck with same problem, which you got earlier. I hope you cleared . But i was trying to resolve. Please guide me how can we assign the logical file and what is the exact use of assigning physical file to logical path.... waiting for reply

Thanks and Regards

partha sarathi.

Former Member
0 Kudos

Hi satheesh,

1. Logical / physcial.

2. The actual (physical)

PATH NAMES in a computer

can be quite long.

3. These paths can be different

in different servers.

4. To make them unique,

(by using logical names)

, the concept of logical has come.

-


Its only PATH which is always logical.

-


the filename, is always actual.

5. just like in ASP, IIS Server,

we map

ACTUAL DIRECTORY <----


> ALIAS FOR WEB

6. In the same way

ACTUAL DIRECTORY <----


> LOGICAL NAMES

7. Just like we MAP a new hard disk name

to a path on the network.

regards,

amit m.

andreas_mann3
Active Contributor
0 Kudos

hi,

try this fm:

  CALL FUNCTION 'FILE_GET_NAME'               
        EXPORTING                              
             LOGICAL_FILENAME = LDS_NAME       
        IMPORTING                              
             FILE_NAME        = FILENAME   
        EXCEPTIONS                             
             FILE_NOT_FOUND   = 01.           

Andreas

hymavathi_oruganti
Active Contributor
0 Kudos

one file is the file in Presentation server

and other is the one in the application server.

-> in the option convert data, it will convert physical to logical.

there is fn module which we can use in a report to convert FILE_NAME_GET

Former Member
0 Kudos

Hi Satheesh,

I was stuck with one problem with purchase info record updation by using LSMW. Please give me your personal id or msngr id. I need very urgent..

Many Thanks,

Partha Sarathi REddy