2006 May 20 11:17 AM
2006 May 20 11:20 AM
Hi Ravi,
Hardcode BREAK-POINT <USERNAME> in the CODE option of the LSMW.
CHeers
VJ
HI everyone,
How to Debug LSMW.Kindly reply
Ragu
2006 May 20 11:20 AM
Hi Ravi,
Hardcode BREAK-POINT <USERNAME> in the CODE option of the LSMW.
CHeers
VJ
2006 May 20 11:37 AM
Hi,
You can debug any LSMW object 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 Display Read Progam & Display Conversion Program checkboxes. Hit ENTER. Now you will see 2 additional options on the initial screen of your Object. Double clicking on the Display Read Program or Display Conversion Program will take you into the generated code. Place your soft break-point as you normally do
Cheers,
Susmitha
2006 May 20 1:14 PM
or go to the step DISPLAY READ PROGRAM or DISPLAY CONVERTION PROGRAM.
now you will see ABAP editor with the code. place the break point (soft break point using STOP button on application tool bar) where ever you required.
Regards
srikanth
2006 May 20 2:36 PM
hi ravi,
depends on where you want to debug the program at
there are events at the beginning and end of each run in lsmw.
you could also place the break points in the conversion program.
It would be more useful to place it in the events so that you could see before it is processed and also after the data has been processed
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |