Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg- LSMW

Former Member
0 Kudos

Hi all,

In of the interviews i was asked how to debug LSMW? can anyone of u tell me how is it possible?

5 REPLIES 5

Former Member
0 Kudos

<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

anversha_s
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

useful

0 Kudos

After 4 years?

oO