09-12-2006 11:56 AM
Hi all,
In of the interviews i was asked how to debug LSMW? can anyone of u tell me how is it possible?
09-12-2006 11:59 AM
<b>select Display Read Program or Display Conversion Program</b>.
now you will able to see an ABAP program(system generated code). then place the SOFT BREAK POINT where ever you need and then execute.
it will STOP there while executing LSMW.
if you are unable to see these 2 buttons then select USER MENU from application tool bar.now you will get a popup, here select the checkboxes for these 2 fields.
Regards
srikanth
Message was edited by: Srikanth Kidambi
09-12-2006 12:01 PM
hi meenakshi,
LSMW generates ABAP in the background. So you can debug it in the same way you debug any other ABAP. You can debug at READ as well as CONVERSION time. Both are different programs.
Do this :
Lets say you want to debug at the time the data is READ into LSMW. Select the radio button for Read data & hit execute. On the next screen, go to System => Status. This will give you the name of the generated ABAP. Double click on the program name to enter editor in display mode. Put a breakpoint (soft or hard) whereever you wish. Go back one screen & resume execution of the program. The process will stop at the point you set the breakpoint.
if hlped pls rwrd points.
anver
09-12-2006 12:05 PM
hi
LSMW generates ABAP in the background. So you can debug it in the same way you debug any other ABAP. You can debug at READ as well as CONVERSION time. Both are different programs.
Do this :
Lets say you want to debug at the time the data is READ into LSMW. Select the radio button for Read data & hit execute. On the next screen, go to System => Status. This will give you the name of the generated ABAP. Double click on the program name to enter editor in display mode. Put a breakpoint (soft or hard) whereever you wish. Go back one screen & resume execution of the program. The process will stop at the point you set the breakpoint.
Its the same at time of CONVERSION.
Let me know how it went.
Regards,
Tushar
02-02-2010 1:54 PM
02-02-2010 2:01 PM