LSMW X-files
Hello,
I am working with LSMW in order to post AP open items by means of FB01 t-code. Although HBKID field is set in the recording ready to be fulfilled and, during the batch input execution is supposed to be fulfilled with the values that I assigned, it appears empty when I go through the documents created.
¿Can anybody explain me the reason for it?
Greetings,
P.S.: I have made sure that the field mapping and conversion rules were done right.
Hi Arnaldo,
In the step Display Converted Data, check the field HBKID contains data or not.
If not then definetly field mapping or source field step is missing something.
Regards
Velu Mudaliar
Similar Messages
-
Could not open LSMW conversion file for Material Master uplo
Hi,
When i am uploading Material Master data the error says Could not open the file proj_subproj_obj.lsmw.conv file.
I could read the conversion data in LSMW but there is a problem with session creation. I have created a Job and assigned a variant to it.
Please sugget me to resolve this.
Thanks.The following files must be in the path described by
the environment variable "LIBPATH":
Check your env variables...
LIBPATH path must contain quoted libraries,
libicuuc30.a, libicudata30.a, libicui18n30.a
regards
Juan -
Regarding LSMW help files.
Hi,
Could anyone please guide me to extensive LSMW help files where the exact use of each step of LSMW is explained clearly and elaborately.
Thanks in Advance for your esteemed replies.
Regards,
Goutham.check out this link
http://www.sap-img.com/sap-data-migration.htm
and this online help from help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm
Regards
Raja -
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 -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 -
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 -
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 - 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,
MarkHi,
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 -
In lsmw im not able to get any our put in the step read data it is showing me error not able to read file.
i check with the files in apllication server as well as the path i specified in lsmw .they both are same with out any case sensitive.
step specify files:
so now import data
and convert data are there in the same step.
now when i specify the import data ,it is throwing me an information message this file has already been assign to another object.
it is showing the same for convert data as well
so now my question is due to this i may not be able to read the data or what ?
thanks in advance
Aru
reward points given .Hi this can happen because of 2 reasons
1) If you are using 2 structures ( Header and Item ) then their are some fields which should be in both structures . And those field should have same value
You can check this in step ( Generate read programme ) . At this step there is statement like
loop at HEADER_ITEM_DATA
where OLD_SERVTICKET_NUM =
HEADER_DATA-OLD_SERVTICKET_NUM
in the above example OLD_SERVTICKET_NUM is a field which both structures should have same value
2) Second reason can be that number of fields in your flat file might not be same in your structures fields which you have defined in 3rd step
Plz check
Reward points
Thanks -
LSMW Specify files - file on Application server
Hi friends,
I have a silly doubt, how can i speify the file for LSMW on Application Srever, i mean i want the example, i tried giving logical path and file name, but it gives error saying file can't read.
Thanks a lot.In the Specify file step double click on the following option
Legacy Data On the R/3 server (application server)
Enter the application server file name with full path and description.
Like /tmp/test.txt -
LSMW - Specify Files - erro message
Hi,
Getting the erro message "No logical path specified" when specify files.
how to solute it.thank you.
regards.
sophiain step 7 where u specify file, drop down imported data folder and give any file name like "test.lsmw.read" .
also specify a file name for converted data "test.lsmw.conv"
the system will automatically generate files on application server..
dont use " " with file name..and remember to use correct extension i.e. .lsmw.read & .lsmw.conv
plz reward points if dis helps
Edited by: abapuser on May 8, 2008 12:05 PM -
Hi,
In the LSMW steps, when I am using SPecify Files , I want to set values of 'File Content' , 'Delimiter', 'File Structure',
'File Type','Code Page' along with the Path and Name of a excel file. Can you tell me what will be these values when the
file is an EXCEL file.
Useful answer will be rewarded.
Regards,
Tanmayhi Tanmay,
for uploading data from excel sheet you have to save your excel file in ".csv" format. i.e. "csv-comma delimited" or "text with tab delimited".
FIRST SAVE YOUR EXCEL SHEET WITH ",csv" format
In the step SPECIFY FILES->SELECT LEGACY DATA ON pC->select create button on toll bar->specify path->give name
here only u can specify 'File Content' as data from one structure , 'Delimiter as comma', 'File Structure' as filed order matches source structure definition,
'File Type' as Record end marker(text file),'Code Page' as ASCII.
if useful reward points -
A little help gurus
When I save the .txt file into the LSMW, an error comes out that says "File Name 'Converted Data' : Max 45 Characters . Remaining data saved."
What does this mean? What impact does it have in LSMW?
Thanks in advanceHi,
For example if the field name in sap, say name of the vendor is only 35 characters and you have maintained in the flat file 40 characters. the system will through a warning saying that the data is exceeding my 5 characters so the sap system will reduce that 40 characters to 35(means the system will cut the last 5 characters) and load it.
It is recommended that the field name should not be over the size of the field length provided my SAP.
Thanks & Regards,
Kiran -
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. -
In LSMW flat file date format to be converted to user profile date setting.
hi all,
i got a flat file in which date is in mm/dd/yyyy format.i converted the data using lsmw but this conversion is valid only if user has set his date profile as mm/dd/yyyy in his user profile setting->own data. now if user has some other setting then it will give error. so how to convert date and how to do mapping with same . please help.Sunil,
use below fm to get current user date format:
data: idate TYPE sy-datum,
tdat8 type string.
CALL FUNCTION 'DATUMSAUFBEREITUNG'
EXPORTING
IDATE = idate
IMPORTING
TDAT8 = tdat8.
Amit. -
Hi,
I want to upload the excel file through LSMW, pls let me know how to do this.
I have converted the excel file to .csv and .txt file and can upload the fiel, but not able to upload when trying to do with .xls file.
Pls let me know.
Thanks,
Raju
Moderator message: please search for available information, consult LSMW documentation.
Edited by: Thomas Zloch on Oct 15, 2010 4:23 PMHi,
It's no possible to upload directly Excel file in LSMW.
You must transform to an flat File.
There are 6 delimiters
- No Separator
- Tabulator
- Semi-Colon
- Comma
- Blanks
- Others
or
In txn LSMW, then create an object for your purpose. The txn can guide you to create the template.
The Excel file needs to be converted to a text file and uploaded through LSMW. If necessary, you may need to change the input file so that the column layout matches with the LSMW object.
or
But in essence this is what you need to do:
Create a headers datafile, and a lines datafile.
Go through the routine of setting up LSMW to read both files, one the subordinate of the other.
Link files together using "Fields with identical names" button (turns pink!)
When you specify your structure relations, make the header datafile relate to the header structures, and your lines datafile relate to the lines structures.
LSMW will work out the loops for you!
Hope it helps.
Mathew
Moderator message: copy/pasted from several sources, do not repeat, might lead to account deletion!
http://www.google.com/search?hl=en&q=%22Gothroughtheroutineofsettingup+LSMW%22
Edited by: Thomas Zloch on Oct 15, 2010 4:21 PM
Maybe you are looking for
-
Hp 4000n, WIN 7 HOME NETWORK PRINTER GOES OFFLINE ON REBOOT
I have 2 WIN7 desktops and 2 printers. One HP L4000n is attached locally to one computer and shared by the other computer on the home network. It is attached to a standard parallel printer port (via) a IEEE1284 controller card. The other printer i
-
When I enter new contact info into address book it won't show up in my iphone or web address book. System Preferences is checked to sync address book, same with dot mac, the info is not getting through. I've tried everything. So, why do deleted conta
-
Use of digital signatures within a workflow
Hello all, We attempt to build a workflow, where users will be digitally signing the forms being routed. However there are implications some implications with signing the documents. Here is the use scenario 1. Initiator fills a form with datadigitall
-
PROBLEMS w/ internet explorer
For some reason my site is fine with all other browsers except for Internet Explorer. Using CSS templates and just checking if someone may be able to assist in this situation. THANKS. sandiegoraw.com
-
"The Server cannot find the document corresponding to the document id"
Periodically when we schedule a Discoverer Report (Apps EUL) we get the following error: "The Server cannot find the document corresponding to the document id sent for open" Months back Oracle told us to do the following as a workaround: Log into Ora