Application Development and Automation 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: 
Read only

LSMW

Former Member
0 Likes
612

HI everyone,

How to Debug LSMW.Kindly reply

Ragu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563

Hi Ravi,

Hardcode BREAK-POINT <USERNAME> in the CODE option of the LSMW.

CHeers

VJ

HI everyone,

How to Debug LSMW.Kindly reply

Ragu

4 REPLIES 4
Read only

Former Member
0 Likes
564

Hi Ravi,

Hardcode BREAK-POINT <USERNAME> in the CODE option of the LSMW.

CHeers

VJ

Read only

Former Member
0 Likes
563

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

Read only

Former Member
0 Likes
563

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

Read only

Former Member
0 Likes
563

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