I am new to LSMW.
I am new to LSMW.
I was asked to upload data using LSMW.
the fields given are as and four records for below fields.
sales org DC Div ship to PTP
How can I do this ?
Could you please help me.
Please validate me also in --> "I need to create project, subproject and object using the records given and
I need to give the project to functional consultant to upload the reocrds in bulk"
THANKS IN ADV.
7. SPECIFY FILES.
display change
click on legacy data
attah flat file
give description
select tabulatore
enter
save + back
but the flat file should be .csv/.txt.
and go for SM35 select ur session name>process>choose foreground/background/display errors only.
Initially there will be 20 steps but after processing 1 step it will reduced to 14 for session method.
1. TCode : LSMW.
2. Enter Project name, sub project name and object name.
Execute.
3. Maintain object attributes.
Execute
select Batch Input recording
goto->Recording overview
create
recording name.
enter transaction code.
start recording
do recording as per ur choice.
save + back.
enter recording name in lsmw screen.
save + back
Now there will be 14 steps.
2. MAINTAIN SOURCE STRUCTURES.
Here you have to enter the name of internal table.
display change
create
save + back
3. MAINTAIN SOURCE FIELDS.
display change
select structure
source_fields->copy fields.
a dialogue window will come .
select -> from data file
apply source fields
enter No. of fields
length of fields
attach file
save + back
4. MAINTAIN STRUCTURE RELATIONS
display change
save + back
5. MAINTAN FIELD MAPPING & CONVERSION RULE
display change
click on source field, select exact field from structue and enter
repeat these steps for all fields.
save+back
6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
execute
save + back
7. SPECIFY FILES.
display change
click on legacy data
attah flat file
give description
select tabulatore
enter
save + back
8. ASSIGN FILE
execute
display change
save + back
9. IMPORT DATA.
execute
display change
save + back
10. DISPLAY IMPORTED DATA
enter ok, it willl show records only.
back
11. CONVERT DATA
execute
display change
save + back
12. DISPLAY CONVERTED DATA
execute
display change
save + back
13. CREATE BATCH INPUT SESSION
tick keep batch input folder
F8
back
14. RUN BATCH INPUT SESSION.
sm35 will come
Object name will be shown here
select object & process
All the best
Similar Messages
-
LSMW to create Sales Order refer to Quotation with multiple line items.
Hi Gurus,
I am new to LSMW, and my requirement is that, I have a file downloaded from another system, it is like this:
Quotation No. Sold to party data item no. material no. quatity
556 10000012 10 19077 1
556 10000012 20 19078 1
557 10000011 10 19076 1
And it is required I need to create orders in VA01 refering to quotations, and then delete all the items from quotation, and add the items in the file. I am now doing it through transaction recording in VA01, but I came to a difficult part, that is how I can process line items. Because the items number will only be decided at runtime, so I can not record a BDC for that. And I have read some guides on LSMW, one of it said that transaction recording in LSMW can not deal with deep structures. So could any1 help on this?
Best regards,
VincentDear SD Gurus n Experts,
I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
In SDN Link: LSMW upload Sales Order using VA01/VA02 I have found that there are some date fields which are mandatory to filled. Here I have mapped
VDATU - Requested delivery date, BSTDK - Customer purchase order date, PRSDT - Date for pricing and exchange rate, BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
and PRGRS - Date type is Constant = D
Can any one tell me, where is the priblem.
With thanks,
DSC -
How to use LSMW to upload database table directly from flat file extract
Hi Guru's,
I am new to LSMW tool. I have searched the fourm before posting this thread for my issue but i didn't find any good posts for the same.
my requirement is : I will have a flat ( tab -delimited ) or Excel file with number of records downloaded using the databrowser for some of standard tables from one SAP systesm . I wanted to upload the records using the LSMW to the same tables in some other SAP systesm . Please help me to How to upload the same using the LSMW.
Thanks & Regards,
Praveen.Hi Praveen,
There is a risk trying to migrate data directly into standard tables because this can generate database inconsistences or wrong inserted data according to what is customized in the target system. I do not recommend migrate like this.
With LSMW you use objects like direct input programs, idocs, bapis and recorded batch input. Try to create a project and use an standard object for your data. Also, check in SXDA transaction (Goto-->DX programs) if there is a standard program for your data.
Anyway, if you want to upload data directly to tables, read below thread:
["UPLOAD CSV FILE";
[how to upload .csv file into a custom table;
Regards,
Roger -
Help urgent plz - lsmw retail material.
hi all, i am posting my message again as this problem seems to have taken me too.
i am new to lsmw and trying to create a retail material through lsmw. i chose business object method with
business object as bus1001001.method is 'clone'
everything has gone well and i could create a material too.
but in unit field,(i.e the display of all types of units) the legacy data contains 4 rows of units. when i transfer them the new created material displays only one line of units. the other three rows in material display (code transaction- mm43)are empty.
i have tried using on_change_transfer too but that doesnt seem to make any difference.
your reply will be a great help. thanks and regards
ps: i tried with batch input recording method too. but there ,after execution all the rows are filled with the first line of data from the source file. so a failure again.I have an LSMW which creates alternitive UOMs.
Object type is IDoc
Message Type ARTMAS
Basic Type ARTMAS02
Structure Relationships
E1BPE1MATHEAD
E1BPE1MARMRTX
E1BPE1MAMTRT
E1BPE1MEANRT
Fields
ARTICLE_NUMBER C(018) Article Number
OLD_EAN C(018) Old EAN number
NEW_EAN C(018) New ean number
NEW_UOM C(005) New unit of measure
NUMERATOR C(006) Numerator for conversion to base UoM
DENOMINATOR C(006) Denomator to convert to base UoM
EANTP C(002) EAN type (HE, UC, Z3 etc)
Hope this helps
SC -
hi all
i am new to lsmw and trying to create a retail material through lsmw. i chose business object method with business object as bus1001001.method is 'CLONE'
everything has gone well and i could create a material too.
but in unit field,(i.e the display of all types of units) the legacy data contains 4 rows of units. when i transfer them the new created material displays only one line of units. the other three rows in material display (code transaction- mm43)are empty.
i have tried using on_change_transfer and transfer_transaction too but that doesnt seem to make any difference.
your reply will be a great help. thanks and regardsI have an LSMW which creates alternitive UOMs.
Object type is IDoc
Message Type ARTMAS
Basic Type ARTMAS02
Structure Relationships
E1BPE1MATHEAD
E1BPE1MARMRTX
E1BPE1MAMTRT
E1BPE1MEANRT
Fields
ARTICLE_NUMBER C(018) Article Number
OLD_EAN C(018) Old EAN number
NEW_EAN C(018) New ean number
NEW_UOM C(005) New unit of measure
NUMERATOR C(006) Numerator for conversion to base UoM
DENOMINATOR C(006) Denomator to convert to base UoM
EANTP C(002) EAN type (HE, UC, Z3 etc)
Hope this helps
SC -
Hi all,
i am new to LSMW, when i am transferring data from a notepad file through LSMW, in the last step i got the error that "Maintenance at plant level' and something '000000000000000' after that it close automatically,
plz forward me step by step lsmw.
Thanx in advance,Hai
Check the Step by step process for LSMW
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
Regards
Sreeni -
Hello everyone,
I am trying to post vendor postings for FI using LSMW and program RFBIBL00.
I have to upload the withholding tax(TDS) for this postings. I am assigning 3 files
1) Header Data
2) Line item data and
3)Tax Data.
All the files are read and convertd. everything works fine uptilll i run the last step(Start Direct Input processing). After doing this, I get message Editing is terminated. and i have checked the reason (log File) Which says ' Document 1 record 2 : No acct no.was transferred in field BBSEG-NEWKO'.
I have rechecked the files after conversion, the BBseg-newko field has account number as desired. Did any one faced the similar problem. Please help me solve this.
RegardsHi Kesi,
I'm also trying to create a LSMW using Direct Input method for FB01.
Can you pls send me the example of this?
Atleast the field mapping part.
I'm very new to LSMW direct Input method.
Pls help..It will be really of great help to me. I'm struggling
Thanks -
How to check which is th best method to use in LSMw and the file
Hi all,
I am new to LSMW,
Can know me when i get the file , how to check the which is the Best method ( Batch input, Direct input,BAPI, IDOC) have to use in LSMW .
How to check the input file is completely filled and how to check whether it is correct and also how to Prevalidation check has to be done fior the file before uploading.
Can you provide any documents LSMW also Apprecited.
Regards,
MadhaviHi Madhavi,
To check Correctness & completeness of the file:
1. The input file structure should be same as source structure what you defined whicle creating LSMW.
2. Check the following steps to assure the field mapping is done correctly.
a) Maintain field mapping & conversion rule
b) Check 'Display Read data'
c) Check ' Display Converted data''
Please note LSMW is a tool, which will simply upload the data whatever you are providing. So you need to be careful while making your file and validate it outside SAP ( before upload start)
Pradeep D -
LSMW Recording for CLW1 - Multiple entries
Hi,
I am doing a recording in LSMW for Tcode CLW1. This I thought was relatively simple but I have an issue with the second screen after the first screen is processed. The second screen has multiple entries for this Hierarchy level. I am reading an excel spreadsheet that the users created for the Hierarchy level assignments. There are multiple records for the same Hierarchy level but with different Hierarchy level assignments that need to populate the second screen. Also, I don't know how many entries this second screen will take for the HL assignments. I know one of the business users told me one Hierarchy level has 98 different HL assignments! I have searched on the internet and in the forum to try and find the resolution to this problem, with no luck yet. I am hoping someone out there has had this same issue. I know I can add a loop to the LSMW code but I'm not sure how to handle it. I am new to LSMW (Also ABAP only a year) and am learning but need a little guidance if possible or maybe some code examples.
Thanks for you time and knowledge in advance!Hi,
The same problem we have faced. As it is having multiple entries in second level. It is easy to do with BDC Program than LSMW. U can use table control logic in BDC, So that You can easily upload the data.
Rewardpoint if useful.
Regards
(YUGANDHAR.P) -
hi experts,
I am new for LSMW, i know the first 2 method, How to use BAPI in lsmw,( For example creation of BOM).
Point will be sure.
thanks,
Regards,
GowriA standard test report is attached to BAPI CREATEFROMDAT2, as shown in transaction SXDA/Goto/DX-Program library/Sales order/CreateFromDat2 (Its name is SD_CREATE_TEST_DATA). You can use it as follows:
Run SXDA/Goto/DX- tools/
object type = BUS2032
Program type = bapi
program = CREATEFROMDAT2
file type = physical
file name = <give a name here, say order.txt>
Select From test program pushbutton and the test report is ran and downloads already existing orders to your file name. You can display it or even change it. -
MATERIAL MASTER DATA UPLOADING BY LSMW
Hi.
I am new to lsmw.
we have a requirement to upload the material master data through LSMW,.
the data is on Excel sheet on the Desktop of the system.
Can any body help me to upload the Material Master data, procedure in step wise.
Thanks in advance,
regards,
Eswar.Mhttp://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary -
MATERIAL MASTER DATA UPLOADING THROUGH LSMW
Hi.
I am new to lsmw.
we have a requirement to upload the material master data through LSMW,.
the data is on Excel sheet on the Desktop of the system.
Can any body help me to upload the Material Master data, procedure in step wise.
Thanks in advance,
regards,
Eswar.MHi Venkat,
Go through the following Steps
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.xls"
description : -
separators as select tab 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
Regards
Sreeni -
when i entered the transaction LSMW,i found Project,subproject & object in the session window. what exactly does these project,subproject & object mean. how to explorer these things .....i am very new to LSMW concept. Please help me regarding this.
Hi Gaurav,
jsut download this doc file, this may give you idea about LSMW,
http://www.savefile.com/files/155294
get back if any more information you need.
please allocate points
Regards ,
Swapnil
<a href="http://sapbrain.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html">download</a> -
Hi Experts,
I am new to LSMW idoc process. Please guide me in this. I want all the steps if possible with screen shots involved in idoc processing. Please do it as soon as possible.
Regards,
Nagaraju.Hi
Send me an email to [email protected]
i will send you the ppt which holds all the steps -
Hi Guys
I am new to LSMW and IDoc or BAPI method. Can anyone email me some step by step docs. Pls dont send me other methods, I knew it already! Thx in advance!
Kun BaoLSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
BAPI
www.planetsap.com/LIST_ALL_BAPIs.htm
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
Regards,
Santosh
Maybe you are looking for
-
Error in exporting alarms to file
dear all, I m using Labview 7.1 and its DSC software for exporting alarms to a file. i m using "Alarms and Event Query to SpreadSheetFile.vi" for exporting alarms. First time when i run it then it generates the output alarm file but it was blank havi
-
Do I need to backup my Mac?
I have a Macbook Pro Retina and i've just discovered a small chip in my screen. Since it's still under warranty I'm going to get the screen repaired. Do I need to back it up? I don't have any way of backing it up so before I go out and buy an externa
-
Anyone gone from a 12" iBook to MacBook, is it too wide (big)
Hi, I love my small 12" iBook G4 and was wondering with the extra width does it make it too big. If someone has picture of both side by side, that would be great. Does any one have pictures of the power supply next to an old one
-
What are the standard functions in XI ?
What are the standard functions in XI ?
-
At end of row is skipping inside loop.
MY requirement is for BAPI.but facing problem uploading excel sheet into sap.And in particular at end of row statement is not working.as a result of which data is not coming in IT_FINAL. DATA: it_exload LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.