LSMW logical file
Hello Gurus,
I'm creating the transfer programs via LSMW, and I have fo
und problems with the source list and inforecord program (RM06IBI0), For this case in the step "specify file" it's mandatory assign the logical path and the logical file in the converted data.
I the customer systems it doesn't work, for example if I select the logical path TMP and logical file A, I have the following error:
Logica path TMP doesn' not point to a directory.
I create via transaction FILE and SARA ( checking the cutomizing against SAP notes) a new logical path ZLSMW and logical path ZLSMW, with transacion AOBJ I relate all to a object.
But I continue with the same error.
I test the LSMW in another systems, and it work I select any logical path and any logical file and !! it work !!
It seems something related with the administration systems, something missing in the system of the customer and not in other systems,,,,,but ¿what?
Thanks
Hi Anuj,
Check this link:
LSMW BOM Direct Input
LSMW BOM
Regards,
Chandra Sekhar
Similar Messages
-
LSMW - Logical File Path not pointing to Physical Path
Hi All,
I'm trying to upload some MIGO goods movement transactions through LSMW. I'm to step 7, specifying files, and am getting the error "No logical file path has been specified. I saw another thread which helped me, but I am still stuck after reading it.
Re: Error in Creation of Purchase Requisition through LSMW
I have gone into transaction FILE and created the logical file name MM_GOODS_MOVEMENT, and set the physical file as the .lsmw.conv converted data file as the above thread says. I also tried using the logical path LOCAL_TEMPORARY_FILES for the converted data, but I get the error telling me that the path does not point to a physical directory. I then tried creating my own file path, and setting the path to my desktop where the source file is, and the same error occurred.
Does anyone know why it is not recognizing the physical path maintained in the logical path?
Thanks,
JThanks for both replies,
I have full authorization across all transactions in the sandbox system I am working in, so that is not an issue. I filled the logical path field in the MM_GOODS_MOVEMENT logical file with LOCAL_TEMPORARY_FILES, as well as trying my own created file path, and I recieved the same error for each. Here is how the config is currently:
Logical File Path Definition: MM_GOODS_MOVEMENT
Syntax Group: WINDOWS NT
Physical path: C:\Documents and Settings\jchanski\Desktop\<FILENAME>
or,
Logical File Path Definition: LOCAL_TEMPORARY_FILES
Syntax Group: WINDOWS NT
Physical path: C:\temp\<FILENAME>
Logical File Name Definition: MM_GOODS_MOVEMENT
Physical file: MM_MM_MIGO_INVUPLOAD.lsmw.conv
Data format: ASC
Applicat.area: MM
Logical path: LOCAL_TEMPORARY_FILES or MM_GOODS_MOVEMENT
Do you see any error with this Brajvir? Thanks! -
LSMW Logical file 'CS_BI_BOM_CREATE' is not assigned to physical file
Hi all,
I am creating LSMW tool for BOM by standard batch input program.
In the specify files push button i m getting this error
Logical file 'CS_BI_BOM_CREATE' is not assigned to physical file 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
Message no. /SAPDMC/LSMW_OBJ_060045
anybody know how to proceed?
If i am going to Tcode - file and setting this one then i require a change request.
Is this the right way to proceed by changing it in "file" tcode.
Tell me all possible options.Hi,
double click on row Converted data with file 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
enter in field Logical Path: LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv
enter in field Logical File: LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv
and SAVE
the second option is go in transaction file and create the missing 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
Regards Vassko! -
Using a Logical File definition in LSMW
Hi all,
is there any way that we can use a Logical File (defined in transaction FILE) as an application server file in the "specify files" step, instead of having to enter the physical path/file?
Thanks in advance,
JustinHello,
Check pages 46 and 47 of the following document :
[http://sapabap.iespana.es/manuales/pdf/lsmw.pdf|http://sapabap.iespana.es/manuales/pdf/lsmw.pdf]
You can only use a logical filename for subsequent programs (example direct input programs) not for the actual input file of your LSMW.
Wim -
LSMW - Logical Path/File - No logical path has been specified
Hello,
I am trying to create a LSMW with the RM06EEI0 direct input program for ME21N transaction.
At the SpecifyFiles step I get the error message "No logical path has been specified".
My dilemmas are:
1. How can I solve this error? Is the FILE transaction only solution? If yes, where and how I must define the logical path/file?
2. Why in the case of the Batch Input Recording LSMW Method this files are created automatically? (I can see them in the AL11 transaction and I didn't define them by myself).
3. Why on other system this error is just an warning message? If you look at this tutorial http://****************/Tutorials/LSMW/PO/Page4.htm at Step7.g. you can see that there is no need of defining the file/path in FILE transaction.
More info about the system I am working in:
SAP ECC 6.0.
LSMW 4.0.0. Version.
Thank you.
DanielaHi
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,
Sunil -
Logical file path problem in lsmw
Hi folks,
I created logical file path in FILE tcode. its created and assigned physical file path to logical file path.
then i am assigning that logical file path into lsmw step (specify file step).
under specify file i am assigning into import data and convert data.
once read data step completed read data must be save under this physical file but data is not saving under this path.
can any one help me out this..
1.can any one help how to create physical file in file tcode
2.how to assigne that physical file to lsmw step specify fileHi Srikanth,
There is no need to create the logical file path using the FILE transaction.
Under Specify file step, you need to give your local file path in LEGACY DATA Section.
Please check the below link in using the LSMW step by step.
http://wiki.sdn.sap.com/wiki/display/ABAP/LSMWStepsin+Detail
Hope this helps.
Regards,
Satish Kanteti -
In LSMW while executing the specify file step logical file name and path.
Hi ,
In LSMW , while executing the specify file step, logical file name and path is mandatory field to entry, but in some of other LSMW objects, these fields are not mandatory one, i want to know is it possible for me to do hide the logical file name and path field in specify file step.
thanks
Md nisarHi,
For some Transactions while executing the Specify file step Logical File and Logical Path are mandatory.
In this case Converted file will be stored in the application server. According to the specified Logical File and Logical path.
Hope this will help you....
Regards,
Tirumala Reddy -
LSMW -Specify files -No logical path specified
HI,
While i specify a file in lsmw in specify files from pc front end in legacy data and i try to save. It says " no logical path specified " in the message bar.
kindly help me in this issue.
i am unable to go further as I cant specify files.
Thank in advanceHi Srivasta
You just put any, not used logical file name in your file definition step. LSMW will create this logical file byself und will use when is needed, but you just forget about it in future. Don't forget to recreate this file, when you move your LSMW to test and production systems, it is not created automaticaly there.
The way you enter logical path and logical name is,
Within the LSMW option 'Specify Files', Double click on
'Converted Data' and a popup box will allow you enter
file name , logical path and logical file.
cheers
Sameer -
LSMW accept file from logical path?
Dear All,
Can LSMW designs for conversions accept file from logical path?
The requirement is during actual conversion execution -the conversion team can store files anywhere they want, configure logical file names/paths and use our LSMWs without needing program modifications.
Kindly let me know.
Thanks in Advance
RanjanHai KCR
Using Tcode MM01 -- Maintain the source fields are
1) mara-amtnr char(18)
2) mara-mbrsh char(1)
3) mara-mtart char(4)
4) makt-maktx char(40)
5) mara-meins char(3)
the flate file format is like this as follows
MAT991,C,COUP,Srinivas material01,Kg
MAT992,C,COUP,Srinivas material02,Kg
AMT993,C,COUP,Srinivas material03,Kg
MAT994,C,COUP,Srinivas material04,Kg
MAT995,C,COUP,Srinivas material05,Kg
goto Tcode LSMW
give Project Name
Subproject Name
object Name
Press Enter -
Press Execute Button
It gives 13 radio-Button Options
do the following 13 steps as follows
1) select radio-Button 1 and execute
Maintain Object Attributes
select Standard Batch/Direct Input
give Object -- 0020
Method -- 0000
save & Come Back
2) select radio-Button 2 and execute
Maintain Source Structures
select the source structure and got to click on create button
give source structure name & Description
save & Come Back
3) select radio-Button 3 and execute
Maintain Source Fields
select the source structure and click on create button
give
first field
field name matnr
Field Label material Number
Field Length 18
Field Type C
Second field
field name mbrsh
Field Label Industrial Sector
Field Length 1
Field Type C
Third field
field name mtart
Field Label material type
Field Length 4
Field Type C
fourth field
field name maktx
Field Label material description
Field Length 40
Field Type C
fifth field
field name meins
Field Label base unit of measurement
Field Length 3
Field Type C
save & come back
4) select radio-Button 4 and execute
Maintain Structure Relations
go to blue lines
select first blue line and click on create relationship button
select Second blue line and click on create relationship button
select Third blue line and click on create relationship button
save & come back
5) select radio-Button 5 and execute
Maintain Field Mapping and Conversion Rules
Select the Tcode and click on Rule button there you will select constant
and press continue button
give Transaction Code : MM01 and press Enter
after that
1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
finally
save & come back
6) select radio-Button 6 and execute
Maintain Fixed Values, Translations, User-Defined Routines
Create FIXED VALUE Name & Description as MM01
Create Translations Name & Description as MM01
Create User-Defined Routines Name & Description as MM01
after that delete all the above three just created in the 6th step
FIXED VALUE --MM01
Translations --MM01
User-Defined Routines --MM01
come back
7) select radio-Button 7 and execute
Specify Files
select On the PC (Frontend) -- and click on Create button(f5)
give the path of the file like "c:\material_data.txt"
description : -
separators as select comma radiao- button
and press enter save & come back
8) select radio-Button 8 and execute
Assign Files
Save & come back
9) select radio-Button 9 and execute
Read Files
Execute
come back
come back
10) select radio-Button 10 and execute
Display Imported Data
Execute and press enter
come back
Come back
11) select radio-Button 11 and execute
Convert Data
Execute
come back
Come back
12) select radio-Button 12 and execute
Display Converted Data
Execute & come back
13) select radio-Button 13 and execute
Start Direct Input Program
select the Program
select continue button
go with via physical file
give the lock mode as 'E'
and execute
Thanks & regards
Sreenivasulu P -
LSMW - Create Logical File Name so that the physical file name is automatic
Hello,
In LSMW, I do not want to create a logical file name for each project. I would like the logical file name to automatically assign the physical file to the *.lsmw.conv of the project being executed. Is there a way of doing that? If so, could someone share?
Regards, Dean.not possible to create the logical file name to physical file name automatiically.
because the logical file name created like PROJECT name + SUB PROJECT name +OBJECT NAME .*.lsmw.conv
if you change the object name the file will be change.... -
Reading Data from a SQL table to a Logical file on R/3 appl. Server
Hi All,
We would like to create Master Data using LSMW (direct Input) with source files from R/3 Application Server.
I have created files in the'/ tmp/' directory however I do not know how to read data from the SQL table and insert it into the logical file on the R/3 application server.
I am new to ABAP , please let me know the steps to be done to acheive this .
Regards
- AjayHi,
You can find lot of information about Datasets in SCN just SEARCH once.
You can check the code snippet for understanding
DATA:
BEGIN OF fs,
carrid TYPE s_carr_id,
connid TYPE s_conn_id,
END OF fs.
DATA:
itab LIKE
TABLE OF fs,
w_file TYPE char255 VALUE 'FILE',
w_file2 TYPE char255 VALUE 'FILE2'.
SELECT carrid connid FROM spfli INTO TABLE itab.
OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
" Server to write data
LOOP AT itab INTO fs.
TRANSFER fs TO w_file. "" Writing the data into the Application server file
ENDLOOP.
CLOSE DATASET w_file.
OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
" server to read data
FREE itab.
DO.
READ DATASET w_file INTO fs.
IF sy-subrc EQ 0.
APPEND fs TO itab.
OPEN DATASET w_file2 FOR APPENDING IN TEXT MODE ENCODING DEFAULT. "Appending more data to the file in the
" application server
TRANSFER fs TO w_file2.
CLOSE DATASET w_file2.
ELSE.
EXIT.
ENDIF.
ENDDO.
Regards
Sarves -
I am working on creating LSMW - sample conversion for PIR. I struck up in the u201CSpecify filesu201D step by creating Logical Path.
Step 1 : I have done it thru T.Code : FILE in that first by creating Logical File path.
Step 2 : Assignment of Physical Paths to Logical Path
I have maintained Syntax Group as WINDOWS NT and given the Physical path as C:\TEMP\<FILENAME>
Step 3 : Logical File Name Definition , Cross Client
I have maintained Logical File, Name, Physical File , Data Format ,App Area , Logical Path.
After maintaining I am getting the error message u201C LOGICAL PATH PUR_INFO_RECORD DOES NOT EXISTu201D.
Please help me out to solve this issue.
Thanks & Regards,
Manispecific to LSMW there is OSS note 753511 that describes what to do.
If you have authority for x-client customizing then you can directly type a name for logical path and file name
e.g. LSMWLOGPATH and LSMWLOGFILE, hit enter and LSMW will create the logical path and file name for you.and you dont need to do it with transaction FILE.
Go into the step "Specify files".
place cursor onto line "converted data"
click change button.
you get a pop-up with the logical path.
Just hit enter and LSMW will create the path itself. -
Error in LSMW Specify Files option
Hi Gurus,
I am getting error while doing Specify Files option while using below mentioned object:
Object 0210 Storage bin (WM)
Method 0000
Program name RLPLAT00
Program type B Batch input
Error :
In Convert data option i am entering below details:
Logical Path /TMP
Logical File MM_WM_BIN_TAKEOVER
I am getting error :
Logical file 'MM_WM_BIN_TAKEOVER' is not assigned to physical file 'UPGRD_MTD_WM_TEST.lsmw.conv'
Cany anyone suggest what should i do to execute this?
Regards,
ArpitHi Guys,
I have solved my problem. Please refer below note for solution of this problem:
Note 753511 - Logical and physical path and file name in transaction LSMW
Our LSMW version was upgraded to 4.0 hence i was getting this error. I have provided Logical file name and Path accordingly to solve my problem
Arpit -
hi all,
i am loading sales order using lsmw direct input, and find a question. is it a must to specify a logical path and file name for the converted data at step specify file? at first, i didn't specify it and at the last step, i choose the flat file at my desktop in "File on presentation server with a physical file name", not the upper one "File on application server with a logical file name". and the result is "Table name not allowed". does that mean i have to use the logical one? any input will be appreciated.Hello Daniel Zhou,
It is must to specify the file path in the step "Specify file", here you mentioned your flat file name in "Legacy data - On the PC (frontend)" based on that the system will create logical file path for converted data.
Hope this helps.
Regards,
Arif Mansuri
Reward if answer is helpful. -
Logical file / physical file
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
satheeshHi 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.
Maybe you are looking for
-
I have three tables to move from SYSTEM tablespace to USERS. But i am unable to move such tables which have long or long raw datatype columns.please suggest how to move chk and lng tables. SQL> CREATE TABLE THR( SNO INT ); SQL> CREATE TABLE CHK( S NU
-
Disk Warrior 3.0.3 on OSX 10.6.8?
I'm having major problems with my iMac (2.4 Ghz Intel Core 2 Duo/2 GB 66 MHz DDR2 SDRAM/running OSX version 10.6.8). Very, very slow to login, hangs up during normal use, slows to a crawl, etc. I did some searching on this forum and have tried some s
-
Hi Everybody, I just tried a simple file to file scenario. File was deleted and message was seen in sxi_monitor but file is not created in receiver folder. When checked in RWB, in Message monitoring the message got status as system failure. Both send
-
ORA-01476: divisor is equal to zero Error in tabular form
Hello, My tabular form will give me this error sometimes: Error in add row internal routine: ORA-01476: divisor is equal to zero. I don't understand what causes it. On the form I have a on load - before header process that will add 5 blank rows autom
-
ITunes Match not actually working
I run iTunes Match and it does it's scanning files thing and finds 3500 songs and then needs to upload 370. So I let it do this, and then it says 3900 songs are ready. The catch is, it didn't actually do anything. The only songs available to me on iT