Debugging of lsmw tool
hello friends,
can anybody tell me how to debug the lsmw at the point where i put a brakpoint in the actual program of transaction
here main problem is i did the lsmw processing for one transaction i got all the records poping when i press the enter key after processing of the session with recording but finally i am not finding the recoreds in the database
i used the commitwork bapi also but i donno where the problem is occuring
can anyone guide me in this regard thanks alot in advanse
Naveen,
You can debug any LSMW object (Read or Conversion) program in the usual way by putting a hard breakpoint or soft breakpoint.
In your Field Mapping/conversion, you can code BREAK-POINT at the very first field. Then the program execution will break when it reaches there.
You can also put soft break-points in the generated code. To view your generated code, you need to bring it up in the initial screen of your object. To do so, click on the User Menu button & check the <i>Display Read Progam</i> & <i>Display Conversion Program</i> checkboxes. Hit ENTER. Now you will see 2 additional options on the initial screen of your Object. Double clicking on the <i>Display Read Program</i> or <i>Display Conversion Program</i> will take you into the generated code. Place your soft break-point as you normally do.
Happy Debugging !
Regards,
Homiar.
Similar Messages
-
How to debug the LSMW coding???
Hi Experts,
Any one please tell how to debug the lSMW codings?
Thnx,
MohanaHi,
Go to the 5th Step that is
"5 Maintain Field Mapping and Conversion Rules"
select this radio Button and execute then
you will maping your defining fields to source structure fields
then where ever you want to write validations
you just select that field and click on RULES tab
then select radio-button User defined routine
then you will get a window
you just click on continue button
then you will get a PERFORM opposite to your selected field
save and come back
then select the 6th radio button
that is " 6 Maintain Fixed Values, Translations, User-Defined Routines"
and execute
there you will find your user defind routine
you just double click on the routine
then you will get a editor for writing your code for validations
you just pass p_in as input and you will get the result in p_out parameter
then you will put a Break point or put command like "BREAK-POINT"
then it will automatically triggered while running this project.
To view your generated code, you need to bring it up in the initial screen of your object.To do so,
click on the User Menu button & check the Display Read Program & Display Conversion Program will take
you into the generated code. Place your soft breakpoint as you normally do.
Another option: go to the step DISPLAY READ PROGRAM or DISPLAY CONVERTION PROGRAM.
Now you will see the ABAP editor with the code. Place the breakpoint (soft break point using STOP button on application tool bar) where ever you desire.
Regards. -
How to revert back the loaded records using LSMW tool
Hi Experts,
I have question regarding the loading of a flat file using LSMW tool. I loaded the flat file(.txt) data into prodcution server insted of testing server . Is it possible to revert back the data which was loaded into production? Please provide me if any .............
appriciate your reply
Thanks
Kumar.Hi,
This is the link related to your question which has mass deletion of records..Check it out
http://e-mory.blogspot.com/2008_03_01_archive.html
Award points if useful.
Rewards,
Ravee.. -
hi all
how can we trap errors in lsmw tool?hi,
u can get the log after u process the session
when u go to sm35 u will find the log there u will get the summery of the process in that if u choose only errors to display to then u will get only errors occured in it.
u can refer this thread also, it will give an idea also.
Re: errors record handling in LSMW
Rgds
Anver
<i>if hlped pls mark points</i> -
Is LSMW tool only used to update master data??
Hi experts,
Is LSMW tool only used to update master data??i.e for updating material master,customer master etc.,
or it can be used to updated configuration tables also.i.e when we do configuration a CTS is to be created.then how the CTS generation is handled.
Can anyone plesae explain me in detail?
Thanks in advance,
Regards,
N.SreelathaHi
LSMW is used to transfer Legacy data from one system to another system.
Obvioulsy Configuration objects should be transported through CTS only and not with LSMW .
Cheers,
Hakim -
Hi Gurus
I would appreciate, if you kindly explain the process of using the LSMW Tool (Legacy System Migration Workbench Tool).
I have a list of GL Accounts in an excel sheet which I would like to import to SAP. Please help in explaining the process of importing them.
Thanks
MohitHi Naveen,
do u mean you want to transport the LSMW project from one system to another system? If yes take a look at the link below this should explain how to do the same.
http://www.sap-img.com/basis/transport-guide-tips-for-different-sap-objects.htm
Cheers
Vj -
Hi,
How to debugg in LSMW? How error handling is done in LSMW?
How we can find error in LSMW?
Regards....
Arun.Hi,
go to the 5th Step that is
"5 Maintain Field Mapping and Conversion Rules"
select this radio Button and execute then
you will maping your defining fields to source structure fields
then where ever you want to write validations
you just select that field and click on RULES tab
then select radio-button User defined routine
then you will get a window
you just click on continue button
then you will get a PERFORM opposite to your selected field
save and come back
then select the 6th radio button
that is " 6 Maintain Fixed Values, Translations, User-Defined Routines"
and execute
there you will find your user defind routine
you just double click on the routine
then you will get a editor for writing your code for validations
you just pass p_in as input and you will get the result in p_out parameter
then you will put a Break point or put command like "BREAK-POINT"
then it will automatically triggered while running this project.
Regards
Gaurav -
Upload the master data in abap-hr using Lsmw tool
Hi Friends,
Any one Help me How to Upload the Master data in ABAP-HR using LSMW.
In Recording what need to fill.
If any screenshots are availave please provied me.
Thanks and Regards,
Sai.http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Try this ..... -
Hello All,
I need to update recepient details (email address) in SPRO, below is the link to do this.
SPRO->Production-->Material Requirement Planning
>Master Data--->Define MRP Controllers.
I need to update around 3000 entries so i have decided to go for using LSMW.
Could somebody tell me if this is the right way to to do this task, or is there any other better way to do this? can we use LSMW so config updations.
THanks to reply me at the earliest.
Thanks,
DevasingHi lamani,
ya its a good move. give a go. reply me if u face any dificulties in that.
thanks
karthik -
Changing files to use in LSMW tool
Hi,
I am trying to use LSMW to do Batch Input Processing. I am trying to use the same project, but my text file has changed. However, when I clicked to display the input file and converted file, I still saw the old data. How can I refresh or use another file? I tried changing the file but it is still the same. Did I miss something?
Thank you in advance for your help,
SunnyHi Srinivas,
I did specify a new file and did the assign file again but when I clicked on displaying imported data, I saw the old records. Do you happen to know why this happened and how I can resolve the problem?
Thank you in advance,
Sunny -
Custom Bapi Not able to see in LSMW Tool
Hi,
I have requirement i want upload data using BAPI.....
here i Created a BAPI with 'Z' and released it.....
and when im checking the same BAPI in LSMW F4 help under BAPI radio button
im unable to see my Created custom BAPI IN F4 Help List...
how to get My custom BAPI into that....
Thanks,
Rajeshu need to generate ALE Interface for BAPI using the tcode BDBG
check the below link for more details.
[http://help.sap.com/saphelp_nw04/helpdata/EN/43/b46c4b53c111d395fa00a0c94260a5/content.htm] -
Customer master conversion uing lsmw tool
hi folks,
iam using lsmw customer master conversion ,i facing an issue the subroutine i wrote , accoring the company standards what ever i write subroutine will reflect all the objects in that the particular project i write and leads to dump ,now i should a subrotine in project such that it doesnt reflect all other objects in that project , i should write globally so can any one tell the syntax how i should write subroutine that doesnt reflect others.answered
-
Quartz Debug (Developer Tool)
I downloaded and tried to use Quartz Debug, a developer tool (not actually included in Xtools: I downloaded it as a stand-alone).
My goal was to improve screen resolution on screenshots (for use in KeyNote). It seems to have corrupted my system (not sure: did a clean reinstall eventually). Has anyone had experience iwth this program? Is it safe or unsafe to use? (I assume it modifies the system: I thought it would only do a temporary modification).
It could be that you need to download XTools first then run the program (it never responded correctly for me).
And it could be that I should be in the Developer Forum, but I don't have permission to post in the appropriate group.
Many thanks. JIPThe developer's tools are on your Tiger DVD, you don't need to download them unless you want to download the update to the most recent version. The Quartz Debug tool is not part of CHUD.
-
Working on LSMW using IDoc method for processing Open Sales Orders
We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
1. Each order will have multiple segments with different qualifiers under various segments.
2. Multiple line items would be available under each order.
Issues we are currently looking to solve :
1. How do you manage to loop through the qualifiers during processing for the same segment.
2. How do you prepare the tool to recognise the multiple line items of the same order.
3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
Note : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
Thanks in Advance.hI vikram check this link
and reward points if helpful
http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
http://www.jt77.com/system-dynamics/model-01395.html -
How do I enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer and the latest one says when I attempted to watch a DVD video with VLC media player but this isn't the first error this week saying
that JIT debugging must be enabled and I don't know how to do that : ( "Microsoft Visual C++ Runtime Library" Assertion Failed! Program C:\Program Files (x86) VideoLAN\VLC\vlc.exe File: vm.c
Line: 1765
Expression: pgcit != NULL
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application- JIT must be enabled)Hi Rhondavas77,
To enable/disable Just-In-Time debugging
On the Tools menu, click Options.
In the Options dialog box, select the Debugging folder.
In the Debugging folder, select the Just-In-Time page.
In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types:
Managed, Native, or Script.
To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.
Click OK.
More information is here.
http://msdn.microsoft.com/en-us/library/k8kf6y2a(v=vs.85).aspx
Best Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
i have suddenly got this message 'one of the USB device attached to this computer has malfunctioned, and Windows does not recognise it'. it says error code 43. the usb drives (2 in no.) have stopped working as in they dont recognise the external hard
-
How to Enable Pushbutton at runtime in MPP
Hi Expert, I have problem in the following scenario.. I design screen say '0230' and set property of one push button(Show) is invisible. I am calling screen '0230' multiple time based on run time. When I calling screen '0230' in third time I want to
-
Taking photos off my broken E75 (Nokia suite does ...
I have some important photos on my nokia E75 but the cable between the main part of the phone and the slide up section has broken so when I connect it to the computer I cannot select PC suit on my phone so it will not connect can anyone help
-
I am reading an overwhelming number of negative comments about IOS6. Issues/problems with WIFI, Maps, Youtube, Siri, etc. So, what improvements or pluses can be expected for an iPad 2?
-
Can any body tell me what is the url I should write in my browser to down load the web form tester through which i can send my connection information to the form server . Thanks in advance.