LSMW.READ builder
Hi Gurus,
Does any one know which Program/Function Module converts and generates the .lsmw.read file specifically for the LSMW for FB01 using the RFBIBL00 standard program.
So in essence, when creating an LSMW for the transaction FB01 using the above mentioned program and you're specifying the FIle where data to be posted resides on your Local Drive and the Imported Data Section is auto populated by generating a file of format .lsmw.read.
Please help in this regard.
not answered
Similar Messages
-
I am using LSMW to upload Header Text data In Delivery (VL02N).while running LSMW system giving an error "No Authorisation to open the file "ZSDTEXT_DELIVERY_TEXT_DEL_UPDATE.lsmw.read ".As per company policy they dont want to give authorisation for the same.Is there any way to run LSMW without this authorisation or This authorisation have to give to solve this error.?
Regards
Pash@SDHi
You will need the authorization unless you can arrange with the BASIS team to run it using the BATCH user or other one created with the necessary authorizations.
Kind regards
Dawn -
hi,i m upoladed the data lsmw through. i already Assign the files in lsmw,but when i import the data through Execut- import data for z92.fi, vendor. and when i execut the import data The " Errors, Unable to write to file 'd:\Z92_FI_VENDORS.lsmw.read'
Message no. /SAPDMC/LSMW804
so, if anybody knows then reply very soon.
because its very urgent
Reagrds,
pritesh
9898986357Hi,
I have posted one invoice for vendor which has reconcialtion A/c 28000.
Now i have changed the Reco. A/c in vendor master from 28000 to 28100.
now the problem is that i want to transfer the posted entries ,which was in A/c 28000 (Reco. A/c), to 28100 (Reco. A/c)
So, how can i transfer the same and if any t.code to run then whic is the t.code for the same.
Its very urgent
Regards,
Pritesh -
Hi guys..
I'm currently testing out on LSMW
I'm trying to create new material for transaction MM01.
But when i click on Step 9: Read Data
i get a shortdump
What happened?
The current ABAP program had to be terminated becaus
ABAP processor detected an internal system error.
The current ABAP program "/1CADMC/SAP_LSMW_READ_0000
because the ABAP
processor discovered an invalid system state.
1: SQL error
2: Invalid value in call
3: Screen number in header (field DNUM) and in ID
4: Internal error in the database interface
8: Memory filled (used up)
16: Buffer too small for data
32: Unkown table in call
64: Invalid selection
128: Object with this key exists more than once
Here is my source Fields
Source Fields
MM01SS MM01 Source Structure
MATNR C(018) Material
MBRSH C(001) Industry Sector
MTART C(004) Material Type
MEINS C(003) Base Unit Of Measure
MAKTX C(040) Material Description
Below are links to the field mapping stuff
<a href="http://img93.imageshack.us/img93/4043/1ju0.jpg">Screen shot 1</a>
<a href="http://img167.imageshack.us/img167/3240/2rn4.jpg">Screen shot 2</a>
the dummy.txt is having :
MATNR MBRSH MTART MEINS MAKTX
AC26 I aa BAG xxx1
AC27 I bb BAG xxx2
AC28 I aa BAG xxx3
AC29 I bb BAG xxx4
AC30 I aa BAG xxx5
AC31 I bb BAG xxx6
AC32 I aa BAG xxx7
AC33 I bb BAG xxx8
AC34 I aa BAG xxx9
AC35 I bb BAG xxx10
AC36 I aa BAG xxx11
AC37 I bb BAG xxx12
AC38 I aa BAG xxx13
AC39 I bb BAG xxx14
AC40 I aa BAG xxx15
AC41 I bb BAG xxx16
AC42 I aa BAG xxx17
AC43 I bb BAG xxx18
AC44 I aa BAG xxx19
AC45 I bb BAG xxx20
AC46 I aa BAG xxx21
AC47 I bb BAG xxx22
AC48 I aa BAG xxx23
Did i leave out anything?oh yea, one more thing , the file assigning part
Files
Legacy Data On the PC (Frontend)
Test data C:\Documents and Settings\XXXXXXX\Desktop\dummy.txt
Data for One Source Structure (Table)
Separator Tabulator
Field Names at Start of File
With Record End Indicator (Text File)
Code Page ASCII
Legacy Data On the R/3 server (application server)
Imported Data File for Imported Data (Application Server)
Imported Data TEST_CREATE_MATERIAL.lsmw.read
Converted Data File for Converted Data (Application Server)
Converted Data TEST_CREATE_MATERIAL.lsmw.conv
Wildcard Value Value for Wildcard '*' in File Name -
LSMW unable to read lsmw.read file
Hi,
I am trying to create Org. Unit using LSMW through batch processing with transaction code PPOC. I specify the file and the import and convert file on the application server is automatically showed up. But when I click on display the imported file and display converted file, it returned teh error "Unable to read file 'LSMWDEMO_ORGUNIT_ORGUNITS_REC.lsmw.read'"
Can anyone tell me how I can resolve this?
Thank you in advance,
SunnyYou may not have access or permition to read or write in the server.
Go to transaction AL11
Search for a temporary folder (like /tmp)
Then, change the patch from:
e.g. /project/subproject/object/LSMWDEMO_ORGUNIT_ORGUNITS_REC.lsmw.read
To
/tmp/LSMWDEMO_ORGUNIT_ORGUNITS_REC.lsmw.read
It must work! -
Hi All,
Business is trying to use LSMW to upload condition records. When we executed LSMW project, it worked well.
Now, when tester runs it gives a short dump. error messages says
u201Cno authorization to open file " test_create_cond.lsmw.read":
I am thinking that the user is not having authorization to access the file u201Ctest_create_cond.lsmw.read u201C.
How can I check whether the user is having user authorization or Not.
However, When i looked in Al11 the imported file is there. Please help me
Thank you
Madhu.Hi
It's a problem of authorizations and policy to manage it: B_LSMW_EXEC can be only a part of the authorization profile of a user.
All authorizations of a user can have are the set of all authorizations of the assigned profiles: that means when u assign a certain profile to a user, the authorizations belonging to that profile will be valid for all transactions.
That's very important when it creates a user profile or rule:
example, if a user can't open a file, it must be careful not to give profiles that allow him to open a file, else the user can do it in all SAP transactions.
Now the problem is to understand if your user can't or couldn't open a file: if the user has to be run the trx LSMW, the user can open a file, but now you'll have conflict:
if you'll assign the authorization-object S_DATASET, the user can open a file in trx LSMW but also in all other transactions: do you really want to allow it? as it's conflict with the original user profile.
The user can or can't open a file:
- if he can't, he shouldn't have B_LSMW_EXEC,
- if he can, probably its original profile is wrong.
So before assigning an authority-object like S_DATASE, u should speak about this problem to people manage the user profile in order not to create some conflict for the other transactions.
Max -
How to transport the changes of lsmw "Read display Program" changes to prod
Hi,
i have made some changes in the SAP generated program /1CADMC/SAP_LSMW_READ_<>.
i.e., in step : Read display program
the issue is that i made changes...but the changes are stored in $tmp.
now how to move these changes to Production.
when i assign to any package it is showing an error saying
"/1CADMC/SAP_LSMW_READ_<>cannot be assign to package.move to package starting with "/1CADMC/".
Thanks.
Kumar.HI,
LSMW cannot be transported from one client to another.
You will have to do IMPORT EXPORT.
Run transaction LSMW:-
Give the Project, Subproject and Object.
From Menu go to Extras->Export Project.
Specify the project name
By default everything in the project will be selected.
If you want to transfer only a single subobject of the whole project then first deselect everything.
Deselection can be done by clicking on the description besides then project name.
After that just select the individual object.
Then press the export button.
It will prompt you to save the lsmw in your local machine.
Save it.
Similarly Import it to the production system.
Please note that your changes in the read program will not be copied via import export.
You will again have to make it in the production system.
Changing the read program is not advisable as the changes will be lost if someone once again regenerates the progrsm.
Regards,
Ankur Parab -
LSMW - Read Data not showing in Converted Data
Hi,
I am using LSMW to load data from a flat file (via recording). I have it working except I have one issue. When I display the data in read data all fields are showing. No errors popup when I select convert data. When I select display converted data the last few fields are missing. Any ideas why or how to fix this?
Any help is appreciated as I do not know how to proceed.
Thanks,
Annette
Edited by: Annette Ameel on Dec 4, 2008 5:37 PMHI Bush,
Currently I am also facing the same problem. In "display read data" it is showing all the field values. No error msg in "convert data". But only 2 fields are displaying in "display converted data". not showing any values in rest of the fields. Kindly suggest me how you fixed this problem -
Hi
I am using an LSMW to create BOMs.
There are two files one for header and one for Items.
When we execute read the data from the files step.
The output is
Records read from header file and wriiten as well.
Records read from Item file and not written.
So i am unable to upload the item data.
The LSMW is failing in read data step.
It is unable to write data after reading from file.
Any help is more than appreciated.
RegardsHello Plaban,
What is your purpose? Are you tring to upload the data with more file variant?
There are two possibilities to make file names more variable:
1.If you choose system dependent file names by setting the according flag (in the first step 'Maintain object attributes'), you can define file names for each system in step 'Specify files' by assigning the files to a specific system ID (with a double-click on the specified file).
2.You can use wildcards in the file names where you can assign several values.
I hope this helps you.
Regards,
Blanca -
LSMW Read Data behaving differently in production and in ECC
Hi All,
I have writte a LSMW for CJ12 longtext and it is working fine in development but in production it giving error message at 13th step as BDC_INSERT, Transaction code .. is invalid and when i try to simulate the issue i found that in Read Data step i found the difference as transactions read in development are 399 where as the transactions read in production are 267 for the same file.And i debugged the Display Read program and observed that the read program used GUI_UPLOAD to read the data from the text file.and there itself the GUI_UPLOAD internal table contains 399 in development and 267 in production.I tried to simulate why this is happening but coldn't figure out.Can any one help me why this has happened.And we are using ECC6 with EHP4 in development and EHP3 in production and it has to upgrade to EHP4.if you are really certain about the source file (I doupt too) then there are only 2 more possibilities
a) your LSMW object is different (transport it again from developement to production, only so you can be sure that LSMW object and source will be the same)
b) a real SAP error because of different release levels. Open a ticket at SAP to get help. -
LSMW Read/Converted File Name
Hi,
Normally when you specify file, a name will be generated for the read and converted file with different extention. Now, is it possible to have a more dynamic way of naming this file? My requirement would be to have the read/converted named differently on each load (without changing the name in LSMW config on each run), for eg. lsmw_read_20022009.read and lsmw_read20022009.conv. In this example, the date is the variable and should change base on system date, so the next load on a different will have a different date. I got some ideas from logical/physical file, but I am not sure how and if its applicable. Any ideas?
Thanks!
cadyregarding the LSMW we have lot of tables , if you chnage the file names in table level based on dates it will fick the files form tables
goto se11 and give the /SAPDMC* then press the F4 you will get 48 tables, if its possible to chnage the file names your probelm is solved.... -
Hi Experts,
While Specifying the path to upload legacy data in lsmw, i have mentioned the lan server path directly to read flat file from specified network location.
Say example:
beprod4\em\4_Testing_Phase\05_Object\Upload Files\Master Codes\Master Codes.txt
An error message "File '
beprod4\em\4_Testing_Phase\05_Object\Upload Files\'does not exist or is currently locked" is coming up while reading the data from the specified path.
Can you advice me possible reasons for the error and to resolve it.
Thanks,
Kris.Hi,
In LSMW, steps; After Specify File, Did u assign the file in the next step?
Also check if the file exists in the location and is in the same format(Separators..etc) as specified while in the LSMW step: Specify files.
Regards
Shiva -
LSMW - Read Data vs Convert Date for DATES
Hi everybody,
I have a problem with my LSMW for a <b>date field</b>.
In the .txt file it is defined as 01.01.1900.
(I can change it, e.g. make 01011900 but at the end SAP wants to have 01.01.1900 as input)
In the 'Maintain Source Fields' of my LSMW I defined it as a DDMY(010) field.
When 'Reading the Data' you can choose to check Date Value -> YYYYMMDD
When I <u>check</u> it, it gives:
For 'Display Read Data': 19000101
And after 'Convert Data' : 01011900
When I <u>don't check</u> it, it gives:
For 'Display Read Data': 01.01.1900
And after 'Convert Data' : 191.01.0 (?!?)
The fact is that in SAP it needs to be in following format: 01.01.1900 (so DD.MM.YYYY) so none of both solutions is right.
Can anybody tell me how I should configure this LSMW that I can transfer dates properly?
Thank you very much!
Kind Regards,
CarolineHi Caroline,
before doing upload change ur system settings to yyyy.mm.dd (just go to menu bar click on System->user profile->own data in this go for default ) and save it and do log off and log in ,
and then go for source fields and specify the Date field length as 8 char,
and then in mapping step for that particular field write the code as per the below
just change as per ur Target structure and Source structure and field name .
Make sure that in ur input file the Date field is in the format of yyyy.mm.dd
if not as91_ztable-AKTIV is initial.
replace '.' with '' into as91_ztable-AKTIV.
replace '.' with '' into as91_ztable-AKTIV.
condense as91_ztable-AKTIV no-gaps.
BALTD-AKTIV = AS91_ZTABLE-AKTIV.
else.
baltd-aktiv = '/'.
endif.
Thanks
Naveen khan
Message was edited by:
Pattan Naveen -
Hello,
I am trying to load Open PR using the program RM06BBI0. I have defined the structures, maintained source fields and identified they key that i incorporated into the my load file. However, when after the step Read, I noticed that LSMW is not writing the records. I have tried changing the keys or filling in STYPE or sometimes the PR Number but still the LSMW is not writing. Any help?Hi
In the reading step LSMW uploads your file only, so do you mean any data is uploaded?
If I've understood your file has different strictures (probably one for heade and one for item): have you defined the file links for both structures?
Max -
Hi,
I'm reading a file from the local PC for conversion. All the appalication server file paths for both READ and CONVERT files are correct on the server.
Till yesterday everything was fine.
But suddenly in the READ file ..there are not records read .I see everyting as 0
Pls help what could be the problem Im new to LSMW
PrabhaHi,
<b>Goto the specify files and assign files path and see whether u have specified the correct path for file.</b>
See whetehr u have followed the following steps:
Hi,
1. Maintain Attributes:
Here you have to choose the second option and you can do the recording how this should work. Then assign the same to the Batch Input Recording name.
2. Maintain Source structure:
Create a structure name
3. Maintain Source field:
In this you have to create a structure same as taht of the input file
eg: name
age
4. Maintain structure relations:
This will link the structure to the input file.
5. Maintain field mapping and conversion rules:
Here is the place where you can do coding, depending upon the code you have written or assignment you have done the values will get picked up from the file and get processed.
6. Maintain field mapping and conversion rules:
If you have any fixed values you can define here.
7. Specify files:
Specify the input file path and type.
8. Assign files:
This will assign ur file to the Input file
9. Read Data:
This will read ur data from teh file.
10. Dispaly Read Data:
You can see the uploaded data
11. Convert Data
This will convert the data to the corresponding format for processing
12. Display Converted data:
13. Create batch input session
Here this will create a batch input session for processing
14. Run Batch Input session:
By clicking on the session and process the same you can do teh needfu.
Hope this helps you.
Maybe you are looking for
-
Adding Business Days to a formula
All- The formula below is adding a certain number of days to a call date based on dialer result code, but I want to be able to exclude Saturdays and Sundays.... And if it's not too much trouble holidays when adding the days. My formula is called @Wor
-
ODI Procedure to read a directory/folder in interface during package.
Hello, A have a ODI package including 1 procedure and 1 interface I will like get the filename in interface (datastore source) with procedure. Its possible? Thanks!
-
If record become larger after stored in disk file?
for example, a 50 bytes record(including key and data), after it is stored in disk file, how does it organized in the disk file? if BDB add some medata information to make the record occupy the larger disk space? best regards.
-
Hi I am a fresh graduate with 1yr experience working with portal.I have an interview coming up next week.Can anyone tell me sample interview questions in portal that can be expected in the interview? Please help Thanks
-
Mplayer errors since Pulseaudio upgrade
Hey all... wondering if anyone has seen this problem yet... I've searched high & low but I've not been able to find any bugs raised in the mplayer project or any recent posts in here... Since upgrading pulseaudio from version 5 to version 6, mplayer