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: 

LSMW : Unable to Specify Files . Logical path incorrect ?

Former Member
0 Kudos
20,926

Hi Guys,

I am trying to upload Goods movement Using the Standard LSMW 0110 program RM07MMBL.

When I try to execute the step Specify Files ,system displays an error message "No Logical Path specified."

The Source File is in my Local PC .

When I click the Converted Data File in the Specify files list

I get a popup which asks me for a Logical path and a Logical File and both these parameters a mandatory.

I tried to maintain the parameters and entries in transaction FILE also.

But it says 'logical path not assigned to the physical directory.'

What is the correct method for this.

What steps should I follow ..

Pls advice

Message was edited by: hao fu

15 REPLIES 15

Former Member
0 Kudos
7,191

Hi,

You also need to assign the physical file to the logical file created, in trxn 'FILE', go to 'Logical file name Definition' and assign the Physical file & Logical path there, this is available as a display icon towards the left of 'file' transaction,

You may have to move your PC file to application server in order to access it using logical file,

Hope this helps,

Rgds,

Former Member
0 Kudos
7,191

Hi,

in transaction FILE, follow the procedure below

1. Create a logical file path definition ( eg zfile )

2. Assignment of Physical File : Select ur file and goto Assignment of Physical File. new entries. give syntax group as windows NT or ur preference and physical path something like D:\SAP_TEMP\<FILENAME> ( this file needs to be created in application server)

3. Create a logical file. double click, give the physical filename and other entries..

This should work.

Regards,

Bikash

0 Kudos
7,191

Hi

As you say, I Creat a logical file path definition (zfile)

Assignment of Physical:

syntax group : Windows NT

physical path: F:\usr\sap\QA2\DVEBMGS00\work\<FILENAME>

Last,Creat a logical file (ztest).

After do that,It is still not work.

When i inpute logical zfile and logical name ztest in LSMW Converted Data,it's still dispay 'Logical path zfile does not point to physical directory'.

Could you give some advice. Thanks.

Message was edited by: hao fu

0 Kudos
7,191

Hi,

Refer the oss note 753511 released for this kind of error you face in LSMW, I am pasting the content of the note below,

******************Note Content,

Symptom

The system issues an error message for the logical path or file when you perform the "Specify files" step in the Legacy System Migration Workbench (transaction LSMW) although you have made the correct assignment in transaction FILE.

The error messages are as follows:

The logical path <PATH> does not point to the physical directory.

The logical file <FILE> is not assigned to the physical file.

or

A logical path was not specified.

Other terms

Logical path, logical file, transaction FILE, LSM Workbench

Reason and Prerequisites

Some import interfaces that you can also use with transaction LSMW work with logical path and file names.

Transaction LSMW itself, however, works with physical file names. To be able to transfer the LSMW file with the converted data to the import program, you must specify a logical file name for the file with the converted data in addition to the physical file name. In this case, the system displays additional fields in the 'Specify files' step in which you must enter the logical path and file name.

Solution

The error messages may be due to several causes. Check the following:

Have you maintained the logical path and logical file name and have you assigned them to the physical file specified in the "File" input field of transaction LSMW?

These settings are maintained in transaction FILE.

When you use logical file and path names, you must specify the name of the physical file with its path. If you have not specified any directory, you cannot assign any directory to the logical path in transaction FILE. In this case, the system uses the SAP Home directory on the application server by default. Bear in mind that the file name must not exceed the maximum length of 45 characters, including the path.

Up to LSMW version 1.7.2 (*):

If the logical file name specified does not point to the physical file (although it should do), the system adjusts the logical file name, that is, the information in transaction FILE is changed to the entries made in transaction LSMW. This may lead to unwanted side effects if the logical file is also used somewhere else. Therefore, SAP recommend that you always use separate logical paths and file names for transaction LSMW (the problem is corrected as of LSMW version 1.8.0, see below). If the logical file does not exist yet, it will be created upon request.

As of LSMW version 1.8.0 (*):

The settings of the logical file are checked but no longer adjusted automatically as in version 1.7.2 (see above). If there are inconsistencies, the system issues an error message. If the user is authorized to maintain logical paths and file names (as for transaction FILE: "Maintenance authorization for cross-client tables"), transaction LSMW can create the logical path, the file name and the file. Due to this automatic generation, the user no longer needs to make adjustments in transaction FILE. Therefore, we especially recommend this procedure.

(*):

To display the version of transaction LSMW, select "Extras" --> "Display LSMW version" in the main menu of the initial screen.

You should also bear in mind that as of Basis Release 6.20, that is, as of LSMW version 4.0, transaction LSMW is no longer an add-on but is delivered with the standard system.

Hope this helps,

Rgds,

0 Kudos
7,191

Hi ,Sailatha Nagasamudram ,thanks ! I see that note, but i still cann't solve the problem. Can somebody help me?

0 Kudos
7,191

Hi,

You need to apply the note in order to make the LSMW working, go thro' the note as it self explanatory, follow the guidelines given by the note, this should work.

Please reward points if the answer really helped you in idetifying the exact problem,

Rgds,

0 Kudos
7,191

Hi

This note i had see before i Post New Topic in forum.

Can somebody give me some useful suggestions.

thanks!

0 Kudos
7,191

Hi Hao Fu,

I read all your messages regarding LSMW error. I was also stuck with same. I hope you got this errot so long back and might be resolved. So could you help me regarding that... if possible please send me step by step.

Many Thanks

Partha Sarathi Reddy

0 Kudos
7,191

Hi Hao Fu, i want to know if u solved problem with the LSMW and the logical path file but the system display me : "Logical Path XXX does not point to physical directory"

Did u solve that problem??

thx

diego

Message was edited by: Diego Helfer

0 Kudos
5,350

Hi,

the field 'physical path' have to be just <FILENAME> not the full path as you did. This is a placeholder to be overwritten by SAP during runtime.

Former Member
0 Kudos
7,191

I meet the same problem, debug the program, and find the solution.

Add one logical file path, using Tcode "file".

the field "Physical path" only input "<FILENAME>".

And add one logical file,

the field "Physical file" must same as LSMW converted data file,

for example, my bom input LSMW converted data file name is BOM_BOM_INPUT_CS01.lsmw.conv, the field "Physical file" also is BOM_BOM_INPUT_CS01.lsmw.conv.

0 Kudos
7,191

thank you zhang zhenguo,

your answer helped me solve the problem.

0 Kudos
7,191

Thanks zhang zhenguo !

It was exactly what i need.

Former Member
0 Kudos
7,191

Hello Hao fu,

You have to include the entire directory path in front of your file name in the physical file field on the specify files screen just above where you enter the logical file path and logical file name.

In your example that would be

F:\usr\sap\QA2\DVEBMGS00\work\<filename>

That is what the SAP Note 753511 is telling you to do.

I had exactly the same issue and by doing this, I am now able to run my LSMW.

Regards,

Monika

Former Member
0 Kudos
7,191

Hi, On the step “7 Specify Files” I filled in the name of the file under “Legacy Data” tab. I included all the path, that is c:\Temp\lsmw.txt. After that I created logical path and logical file in file transaction. Logical path ZLSMW (physical path - ) and logical file ZLSMW, where I included name in such a way as they were generated in the LSMW transition on step 7. I worked, however I am getting an error message on step “13 Create Batch Input Session” SG809 that says I can not use this particular logical file name. Could you please suggest what might be the problem?