LSMW - source file from Logical Path and Files?
Hi,
When specifing the source file (legacy data) you want to use to load from - you can choose a file from the application server.
For the application server file does anyone know is there anyway that you can use a logical path and file to represent this source file?
I do not see this option in LSMW and am surprised at this as it necessitates changing the LSMW in each target system.
Thanks in advance.
Kind regards,
Mark
Hi,
When specifing the source file (legacy data) you want to use to load from - you can choose a file from the application server.
For the application server file does anyone know is there anyway that you can use a logical path and file to represent this source file?
I do not see this option in LSMW and am surprised at this as it necessitates changing the LSMW in each target system.
Thanks in advance.
Kind regards,
Mark
Similar Messages
-
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 -
Hi Experts,
I have created the logical path and filename in FILE tcode.I am trying to upload the pdf file to application server by using this path.But
I am getting message like "Unable to open the file".Even I cannot find the this path in AL11 tcode.Kindly anyone advise how to upload pdf file using
custom path and file created from FILE tcode.
Thanks & Regards,
Anusha.Hi Anusha,
Please give as below.
I forget to say you cannot open the PDF in AL11 and for that you need some configuration, i think it can be done using content server,not sure completely please wait for some more suggestions.
Regards,
Pavan -
Definnig logical path and file names
hallow experts,
i wont to now about definnig logical path and file names,
did some one have something that can help me in that
regardsHi Rodrigo,
Have a look at this link... i guess it explains what you are looking for...
http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
regards,
Naveen -
Regarding the Logical Path and file name
Hi all ,
I am using LSMW for creating the BOM of a material .
I am getting problem at step 7 , saying the logical path is pointing to physical directory .
Then i did some R & D . I created the logical path and logical file name using transaction FILE . Then i got the physical path using FM file_get_name.
But when i give those logical path and logical file names , still i am getting prob.... at step 7 of lsmw.
Pls let me know . I did my best unti l now ....
RegardsHi Raj,
Can you send the Error which you got at Step 7??
It would be of great help if you can send the File Path and the file names you have used.
Regards,
-Syed. -
Hi Everybody,
How could I check the actual value of 2 variables which I defined with transaction \nFILE for the Logical Path and the logical file name?
Background to this question is that I am experiencing problems in using them and want to check if the variables have correct values.....
Thanks in advance
FedeX.Hi FedeX,
Did not get exactly what you wanted.
May be you can try this: You can check the varibale values in the table V_PARAMVAL.
Bye
Dinesh -
LSMW: Error concerning the logical path in Specify Files step
Hi,
I am trying on an ECC 6.0 EHP6 system to upload (open) POs from an existing SAP ERP system. Since I faced some complications in batch input recording method, I decided to go with the standard batch/direct input method.
I selected object 0085 (Purchase Order) and method 0001 (Purchase Order). The program that is used is RM06EEI0. I followed all the usual steps, but in the "Specify Files" step I get the message:
'****.lsmw.conv' does not exist; edit the logical path using transaction FILE
Being aware of both the FILE and SF01 transactions, I created the logical path and file (through the FILE transaction). However, after the modification, I get the message:
Logical file '****' is not assigned to physical file '****.lsmw.conv'
There is also the related SAP Note 753511 (Logical and physical path and file name in transaction LSMW) that refers to this case.Hi,
Click on specify file radio button>Legacy data-on the PC Front end
where input file location like C:\mydocument\desktop\test.txt
and give input in Name field: mydocument
in delimiter section > select Tabular
File structure section> tick on Field order matches source structure definition
File type: Record end marker(Text file)
then press enter key and other steps as same.
Second thing you said that you have used Batch input recording
after creation and recording finish , scroll the page below on recording and put a cursor unwanted field and remove unwanted input field.
I hope your problem will resolve. you can find the steps pdf on Google search try now.
Thanks
Sanjeet Kumar -
LSMW : Unable to Specify Files . Logical path incorrect ?
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 fuHi,
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, -
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 - 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 -
Path and file name problem when I want to download files from html
Hi all,
I want to write a small program to allow users download files from jsp file
but the following files don't work .
<%@ page language="java" import="java.net.*,java.io.*"%>
<%@ page import ="java.util.*"%>
<%
try
String SContent = request.getParameter("click");
String SDocName = "temp.doc"; // out put file File Name
ServletOutputStream stream= response.getOutputStream(); // Getting ServletOutputStream
response.setContentType("application/msword"); // Setting content type
response.setHeader("Content-disposition","attachment;filename=\"" +SDocName+"\""); // To pop dialog box
BufferedInputStream in = new BufferedInputStream(new FileInputStream(SContent));
int c;
while ((c = in.read()) != -1){
stream.write(c);
in.close();
stream.flush();
catch(final IOException e)
System.out.println ( "IOException." );
catch(Exception e1)
System.out.println ( "Exception." );
%>I am so confuse, what is the path and file name I sould give ? for example my click should equal to http://******/Test/display.jsp?click=00-1Hi all,
I got error at
java.lang.IllegalStateException: getOutputStream() has already been called for this response
org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
if I want ot download file from html file.
String SContent = request.getParameter("click");
if I hard code like follow it work fine.
String SContent ="C:/Project Coding.doc";
what mistake I make.
Thank you! -
Get path and file name from Bfile
Hi,
I'm using Bfile to store images in a database. Is there a way to get the path and file name of the image from Bfile, because I need to pass that information into an image processing function.
Many thanks.
SheldonCan you use FILEISOPEN in the DBMS_LOB package?
See http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96591/adl03prg.htm#281893
-- CJ -
How to make SSIS packages automatically read the input file from a path?
Currently I am using a SSIS package to read data from a .dat file and load it into SQL Server tables.
I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
Please let me know how to do it. Any help would be highly appreciated.....
Thanks in advance.Hi SQL_SSIS_Dev,
According to your description, you want to get the latest file from a path to a SQL Server table. After testing the issue in my environment, we can refer to the following steps to achieve your requirement:
Create two variables, VarFolderPath stores the folder path in which our files exist, VarFileName hold the value of most recent File Name.
Drag a Script Task from SSIS Toolbox to Control Flow Pane, then select “User::VarFolderPath” as ReadOnlyVariables, select “User::VarFileName” as ReadWriteVariables.
Then Edit Script with the C# code below:
Add “using System.IO;” into namespace.
Add the code below under Main function:
var directory= new DirectoryInfo(Dts.Variables["User::VarFolderPath"].Value.ToString());
FileInfo[] files = directory.GetFiles();
DateTime lastModified = DateTime.MinValue;
foreach (FileInfo file in files)
if (file.LastWriteTime > lastModified)
lastModified = file.LastWriteTime;
Dts.Variables["User::VarFileName"].Value = file.ToString();
Drag a Data Flow Task to Control Flow Pane and connect to Script Task.
In the Data Flow Task, drag a Flat File Source with a file in the source folder as all the files have same structure as the File name.
Add the property below the Flat File Connection Manger expression:
Property: ConnectionString Expression: @[User::VarFolderPath] +"\\"+ @[User::VarFileName]
Drag an OLE DB Destination that connect to the Flat File Source, then configure a table to store the data.
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Can't export an EPS file from Photoshop CS5 and open in Illustrator CS5.
I'm on Mac OS X Lion 10.7.5
I am making DVD covers for print. The barcodes for the DVD covers have to be done in Illustrator. But the original designs are done in photoshop including the text. For years this hasn't been a problem. Right before adding the barcodes I create an EPS file from photoshop, open that file in Illustrator and all my text is automatically coverted to perfect crisp clean vectors, viola! I add the barcodes and export the PDF for the printers.
But now I can't open my EPS files in Illustrator CS5 even though I'm exporting them the same way I always have from Photoshop CS5. Illustrator says... "The operation cannot complete because of an unknown error." --> Note it does not give an error number after this warning like I see it does for so many other people.
I have been trying to fix this for over 10 HOURS spanning 2 days! I'm infuriated I can't get help from Adobe on this and have read all the forums and don't see my problem listed anywhere.
I've tried:
- Deleting the .plist file and the Settings folder & resetting my permissions
- Uninstalling and Reinstalling Illustrator
- Turning off all other applications
- Creating more disk space on my hard drive (even though I have 200gb available)
- Restarting the computer
- Disabling my Font book and still I can't open the EPS file
I thought maybe it's possible it's the font I'm using Fontesque OT so I even tried converting text to objects prior to exporting the EPS file from photoshop to illustrator and turning off my font book, but still it won't open. And if I open the PSD directly in Illustrator, text comes out a bit fuzzy in the PDF I export.
If anyone can provide any solutions I would be so grateful! I'm at my wits end here, this should have taken under an hour to do and now it's ruining my entire weekend. I'm completely panicked because I was suppose to have these to my client over the weekend so they could turn them in for Print frist thing on Monday morning and of course Adobe provides no chat support or phone support after 7pm on weekday or on the weekend which is when this all started.I never even thought of reinstalling photoshop, but I think this was a font issue. I'd never saved an EPS with Fontesque OT Regular enabled, only Fontesque OT Bold. Somehow I think the font was causing the problem because ridding the font from the equation allowed me to open the EPS file.
After 12 HOURS of trying different things I found a WORK AROUND...
I had to:
- Select the Text in Photoshop (with Fontesque OT enabled) --> Select Create Work Path --> Covert to Shape on each of the text items
- Save EPS file out of Photoshop
- Disable Fontesque OT font in Font Book
- Then open EPS in Illustrator add in my Barcodes and export the PDF
(the barcodes have to be added in Illustrator because they need to be pure 100% black with no CMYK color in them. You can't save them out of Photoshop that way, only Illustrator, otherwise I would have made my pdf straight out of photoshop like any other normal human
This work around is the only way I could get the EPS files to open in Illustrator and still have the text remain super crisp like a vector.
NOTE to others in the future about crisp text from Photoshop to Illustrator:
- Simply "converting to shape" did not preserve the vector. You have to Select Create Work Path --> then Covert to Shape on each of the text items (with the font enabled) for this to work and preserve the crispness of the text. Even creating "smart object" did not truly preserve my vectors or the text crispness in the EPS file once I imported it into Illustrator.
DrStrik9 thank you SO MUCH for trying to help me. You did give me ideas that helped me figure out the workaround and also helped me feel not so alone as I struggled through this. I'm going to follow up with your other suggestions about reinstalling photoshop and also checking my RAM, etc. But I just want to that you so so so SOOOO much for all your time and consideration in this matter. I hope you have a wonderful amazing week ahead and that someone does something very nice and thoughtful for you too -
Open a pdf file from a path with GetFileFromPathAsync
Hi, I'm trying open docxs and pdfs files from her path on Windows Phone 8.1. I could achieve this with images with the next line:
await StorageFile.GetFileFromPathAsync(path);
The problem is that when I try bring other type of files as the docxs or pdfs I have a exception E_ACCESSDENIED. The capabilities of de app are well configured to acces a the files of phone but I don't know because
El problema es que cuando intento traer otro tipo de archivos como los docx o pdf tengo un problema de E_ACCESSDENIED . Las capacidades de la aplicacion estan bien configuradas para acceder a los archivos pero no entiendo porque no puedo get this others
files.I have addressed a similar issue in this
forum post. You need to add the File Type Associations for the file types your app needs to access. This is required when accessing files from DocumentsLibrary and RemovableDevices.
Abdulwahab Suleiman
Maybe you are looking for
-
Hello! There is a problem in my XI 3.0 system: 1 time in 1-2 weeks our XI server hangs. The symptoms are: 1) There are many messages in queue in transaction smq2. 2) I cannot enter rwb. I try to open it but it hangs. 3) GUI is working correctly 4) Al
-
Lightroom will not read sony ARW files
I understood the latest version of Lightroom supported the recent Sony A7 series, whose RAW files are Sony's own ARW files. I have the latest Lightroom but it will not read these files.
-
IOException: There is no process to read data written to a pipe
Do anyone know what is the meaning of this exception?
-
Hello, my question is regarding to HW handling "best practice". I have a LV project which connects (beside other things) to a MKS PR4000 control station (this is a digital PSU and readout/controller device for pressure sensors and flow controllers).
-
How do I burn a cd on macbook pro to play on cd player?
How do I burn a cd on macbook pro to play on cd player? Spotlight has never heard of such a thing.