About LSMW
Hi Developers,
can any one tell the events in lsmw.
Thanks&Reagards,
phani.
Hi,
Processing time Meaning Default setting
<b>__<b>BEGIN_OF_PROCESSING__</b></b> Before the beginning of
data processing
(blank)
<b>__<b>BEGIN_OF_TRANSACTION__</b></b> Before the beginning of
transaction data
processing
(blank)
<b>__BEGIN_OF_RECORD__</b> Before applying the
conversion rules for a
source structure
Initialize the structure <segment>
(Name of target structure)
Batch Input, Direct Input:
<segment> = init_<segment>.
BAPI, IDoc:
g_edidd_segnam = '...'.
g_edidd_segnum = '....'.
g_edidd_psgnum = '......'.
g_edidd_hlevel = '..'.
Clear <segment>.
<b>__END_OF_RECORD</b> After applying the
conversion rules for a
source structure
Transfer_record.
<b>__END_OF_TRANSACTION__</b> After finishing transaction
processing
Transfer_transaction.
<b>__END_OF_PROCESSING__</b> After finishing data
processing
(blank)
<b>transfer_record.</b> Transfers the current record (i.e. for the current target
structure) to the output buffer.
<b>transfer_this_record</b> '...'. Transfers a record of another target structure to the output
buffer. The name of the target structure has to be specified as
argument in single quotes.
<b>at_first_transfer_record.</b> Transfers the current record to the output buffer, if it is the first
transaction.
<b>on_change_transfer_record.</b> Transfers the current record to the output buffer, if it has
changed compared to the last record.
<b>transfer_transaction.</b> Writes the current transaction to an output file. All records of
Legacy System Migration Workbench
38
the output buffer are transferred to the output file.
<b>skip_record.</b> The current record is not transferred to the output buffer.
<b>skip_transaction.</b> The current transaction is not written to the output file
Check this threads.
Events In LSMW
Regards,
Maha
Similar Messages
-
Send me link to learn about LSMW - Direct input
hi
Pls send me link to learn about LSMW - Direct inputHi,
See below links
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://66.102.7.104/search?q=cache:-DE9K5Tj0j8J:www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doclsmwdoc&hl=en
Steps to create
Create project, Subproject, Object (freely definable, for the purpose of
identification) Use create icon in the menu. For example
Project FI Finance
Subproject GL GL MASTER
Object GL GL Master
2. Continue F8, Now you will see series of steps. Select the step and execute
it (Ctrl-F8). In each steps, we will do some activity and save it. Then
system prompts for the next activity.
3. Maintain object attributes. By default the screen in display mode, Click
on pencil button to get into change mode. (This is applicable to upto the
activity assign files). In this screen select Batch input recording and
in Recording give name (freely definable) sal GL01 and click on Overview.
In this screen button (Recordings overview). Now click on create button for
recording. Give name and description, Now it will ask for the transaction
code, enter the transaction code and enter the data, the way you want fill in
the SAP screens/fields with legacy data. Then save the transaction. Now save
again to save the recording. After that you select the button default all,
then save it. And come back, now the cursor is on next activity.
4. Maintain source structures. Here create the structure by specifying name
(freely definable).
5. Maintain source fields. In this screen, click on copy fields (Ctrl+F8),
here select From data file(field names in 1st line). Now the system asks
for the file, select your text file, the system will copy the fiedls from
text file (tab delimited file. It contains field names in the first row).
Save it.
6. Maintain structure relations. Generally, we need not do anything here.
7. Maintain field mapping and conversation rules. Here put the cursor on the
field and click on source field, now you can see the list of field available,
from which select one which is equal to the field on which you out the
cursor. You can also write coding (ABAP Code) on any field for the purpose of
validation of data. Save it.
8. Maintain fixed values, translations, user-defined routines. Here also you
can maintain values, if required.
9. Specify files. In this screen, place the cursor on Legacy data, then click
on create button. The system asks for the file name, (the text file, in which
the legacy data is there), enter the file name, description and select Data
for one source structure (table), delimiter as Tabulator, file structure
as Field names at the beginning of the file.
10. Assign files. The file name you specified in earlier step comes
automatically here, If the file name does not come, then click
on assignment button and assign the file.
11. Read data. Here specify the transaction number (the number not less
than the number of rows in the text file). Execute it.
12. Display read data. Here, you can see the values, how the system read the
data.
13. Convert data. Here specify the transaction number (the number not less
than the number of rows in the text file). Execute it.
14. Display converted data. Here, you can see the values, how the system
converted the data, after interpreting conversion rules specified in the
earlier steps. This is the data that is actually goes into SAP, once the
Batch Input session is run.
15. Create batch input session. Specify the batch input session name for
identification and also select the keep session.
16. Run Batch Input Session. Select the batch input and click Process, from
there select foreground or background. Now the program runs and update
the data in to SAP. You can analyze the batch input for the successful
postings, errors.
Regards,
Omkar. -
Can anyone explain me in detail about LSMW?:
Can anyone explain me in detail about LSMW?How the process of migration takes place from Non-sap to SAP in flat files?
Hi,
http://sap.niraj.tripod.com/id61.html
Pl. check this site, useful one.
Regards,
Senthilkumar SD -
i dont know the conscept of LSNW. please share with me if any information or links you have.
thanks in advanceFew more useful links
[LSMW step by step 1|http://www.scribd.com/doc/27601698/Step-by-Step-Lsmw-Tutorial]
[LSMW step by step 2|http://www.google.co.in/url?sa=t&source=web&cd=2&ved=0CB4QFjAB&url=http%3A%2F%2Fwise.winshuttle.com%2FgetAttach%2F65%2FAA-01185%2FLSMW%2BSTEP%2BBY%2BSTEP%2BRECORD.pdf&rct=j&q=lsmw%20step%20by%20step&ei=KWKxTanrOIXQiAK9uemvBg&usg=AFQjCNGe36riCePq-c1PDpMVr9Kz4i0-7g]
[LSMW step by step 3|http://www.sap-basis-abap.com/sapgeneral/step-by-step-legacy-system-migration-workbench-lsmw.htm]
[LSMW step by step 4|http://www.google.co.in/url?sa=t&source=web&cd=3&ved=0CCQQFjAC&url=http%3A%2F%2Fwww.scmexpertonline.com%2Fdownloads%2FSCM_LSMW_StepsOnWeb.doc&rct=j&q=lsmw%20step%20by%20step&ei=tWSxTcudEuvUiALl_KCwBg&usg=AFQjCNFsgE_hPJfH8OVqC_8PRhSEoIRcCA]
Regards
Jogeswara Rao -
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 -
I want a doc about LSMW steps for HR,PLZ help me!
hi everyone:
Can anyone pls send me a doc with LSMW steps regarding some HR function/project (as an example) for which I would be more than grateful.
thanks!
Message was edited by:
Zsolt MarkusHi 4K!
I hope you already know the rules of SDN -
> no private mailing, knowledge sharing platforms are Forums, Blogs, Articles, etc...
Please do not use your e-mail.
I have deleted them from your question.
Best regards,
Zsolt -
LSMW only apply for recordings with standard transaction or also for create recordings with Z transactions?
I have a Z transaction to lapse contracts do you believe that I could create a LSMW recording using this Z transaction I mean if i should generate the LSMW differently than I used to do with standard transactions.
Thanks
Edited by: Csaba Szommer on Feb 19, 2012 8:30 AMLSMW should work for ZTcodes also. You can do a simulation in tcode SHDB, record and the click on process (do some experimentation, you will understand).
-
why r we using lsmw .
Shankar,
This might help you...
<a href="http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html">http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html</a>
<a href="http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc">http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc</a>
Chandra. -
What are the transaction codes we use for LSMW in MM, SD, PP & FI/CO gnrly
Hi all,
What are the transaction codes we use for LSMW in MM, SD, PP & FI/CO generally?
Help will be surely rewarded.
Thanks and Regards,
Creasy> What are the transaction codes we use for LSMW in MM, SD, PP & FI/CO generally?
General threads about LSMW in MM, SD, PP, FICO will be locked and deleted generally.
> Help will be surely rewarded.
&********************** Please read "the rules" if found usefull... ************************&
Cheers,
Julius -
Required an example excel inputfile for RFBIBL00 LSMW
I have been reading a lot about LSMW and RFBIBL00, but I could nowhere find an example of the input (excel) file to be loaded into LSMW.
I would love to receive example files ([email protected]), adjust the emailaddress for spamfiltering please.Hi
I have sent you a sample file and the source structure
Please check your mail id
Hope this helps
Thanks
Dominic -
LSMW - cannot be run in background since recent SAP Notes
Hi
Sorry if this needs to be moved as not really S&A.
We are on a 4.6C R3 system and are in the process of importing Basis Support Package 61 SAPKB46C61 and I now seem to have lost the ability to run an LSMW in background - the thing runs but does nothing and the logs shows errors on a one to one.
I can run in foreground and also 'Display errors only' but that means my laptop becomes a dedicated LSMW machine for the duration of the process (the screen refreshes and locks you into watching a static screen...
There's plenty about LSMW in SAP Notes but I haven't found anything relevant (611 notes on 'LSMW' and 31 notes on LSMW Background. I remember this happening at a prvious client after they applied some SAP notes but they were on a much later release
Cheers
David
(Next to Derived and composite roles and custom tables and PID's, LSMW isn't one of my favorites...)
Been looking on Google and found a thread shown below on SDN which may help but I can't check until the LSMW running on my works laptop either completes or fails (86,917 entries)
Run the Lsmw in Background or Jobschedule
Posted: Nov 22, 2005 2:06 PM
Edited by: David Berry on Mar 11, 2011 7:07 PMHi Martin
Looks like it's either me or the table I'm trying to update which is the cause as I can still create a user or a user group in background fine...
I'm not aware of any changes to SUKRI in SM30 - bit out of my depth when it comes to this area unfortunately.
THis is the recording for two tcodes in SUKRI
Cheers
David
SAPMSVMA 0100
BDC_CURSOR VIEWNAME
BDC_OKCODE =UPD
VIEWNAME SUKRI SUKRI SUKRI
VIMDYNFLDS-LTD_DTA_NO X X X
SAPLUSKR 0100
BDC_CURSOR SUKRIT-TEXT(01)
BDC_OKCODE =NEWL
SAPLUSKR 0100
BDC_CURSOR SUKRI-TCD2(01)
BDC_OKCODE =SAVE
SUKRI-TCD1(01) TCODE1 TCODE1
SUKRI-TCD2(01) TCODE2 TCODE2
SAPLSTRD 0300
BDC_CURSOR KO008-TRKORR
BDC_OKCODE =LOCK
KO008-TRKORR DEVK9A060G
SAPLUSKR 0100
BDC_CURSOR SUKRI-TCD1(02)
BDC_OKCODE =BACK
SAPLUSKR 0100
BDC_CURSOR SUKRI-TCD1(02)
BDC_OKCODE =BACK -
LSMW - Maintain Fixed Values, Translations, User-Defined Routines
Hi all,
I know a little about LSMW.I can perform all the steps and I have uploaded from flatfile to standard tables for transaction XK01. I just want to know what we can perform in sixth step.If I want to write a user defined routine how can I do that ? Can anyone explain me with a simple example and detailed description.
Regards,
Vijay.hi, you means the 'Maintain fixed values, translations, user-defined routines'.
You can definite some fixed values and translations rule in this step.
And go back to the 'Maintain field mapping and conversion rules' steps.
You can utility these pre-defined in the data mapping.
E.G.
You defined a fixed valued name 'BUKRS'
Through click the button in the application bar in step 5,
you can use a FV_BUKRS in data mapping.
FV_BUKRS is the name of the fixed value name in data mapping.
thanks -
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> -
LSMW How to compare projects from 2 diffrent systeme ?
Hello all,
I need to know how to compare all the lsmw object from one systeme to another systeme,
ex : form D01 (4.6) to DC1 ECC
more information :
this is the table which contain all information about lsmw :
/SAPDMC/LSOINP
thankswe know that LSMW will generate abapcode in step generate conversion program by using display conversion program notedown the program name: like that second one also and go for se39.
and follow the steps to compare the program from one system to another system how just normal report we do.
just have a try.
All the best -
Upload table T510 by using LSMW
Hi .
CAn any one help me to upload data to V_T510_C by uning LSMW.
i need to update table with rates for the dates 01.01.2010 to 31.12.2010 and 01.01.2011 to 31.12.9999 to each group and level.
For eg:
payscale type 04, payscale area:04,Payscale group z000 and level 01.
for above record rates - 01.01.2010 to 12.31.2010 is 29.1 USD
01.01.2011 to 12.31.9999 is 30.01 USD,.
Like this i need to upload for all records with different dates and rates.
Please let me know how to create the LSMW record for above senario..
Please take it as priority
Thanks in advance.Hi,
I believe it is not convenient to describe LSMW creation process on this forum. Please refer, for example, to this document to learn about LSMW: http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Then you can create your own LSMW using recording with transaction SM30 and table V_T510 (every time record only 1 record in the recording).
Cheers
Maybe you are looking for
-
FTP Adapter - Filename of archived XML File
Hi All, We are trying to poll Files from Remote Servers using FTP Adapter, after its polled we are keeping the archived file in a directory. Files are archived but its with other name eg: XXXXX.XML is archived as XXXXX.XML_HmuUJDA1qKj2btjp_y1JUeLmgZs
-
How to get the latest Version of Interface Mapping
Hi I made some changes in IR, and when I am sending the Request...as per Monitor..it is not picking up the latest Interface Mapping Object. I am checking it from Trace in Monitor and then cross checking it with Object Version ID in Repository for Int
-
Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception
I am getting below error when I am trying to upload a document to SP 2013 using CSOM (Of BizTalk) Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRC
-
Help my macbook has an annoying line!
Hey, i have a late 07 macbook with 2 gb of ram, 2ghz dual core and a 128 gb ssd. I've recently have devloped this horizontal line accrosed the screen this line is white. Im a very capable computer tech but i wanted to talk to sombody more experinced
-
Transaction for overview of all custom (Z) programs in ERP.
Dear gurus, I am looking for a transaction/report which gives me an overview of all custom programs/elements build in a system. I used to know this transaction but I cannot find it anymore (searched throughout Google and SDN ). Can anyone help me out