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 debugg

Former Member
0 Likes
786

Hi,

can u please explain how to debugg LSMW...

Hi,

can u please explain how to debugg LSMW...

5 REPLIES 5
Read only

Former Member
0 Likes
766

Hi Anil,

Refer to these threads

Regards,

Santosh

Read only

Former Member
0 Likes
766

Hi Anil,

chk this

Read only

Former Member
0 Likes
766

anil,

If you are in LSMW in the project where the radiobuttons show up, in the menu, choose 'Extras-->User Menu'. Select the checkboxes for 'Display Read Program' and 'Display Conversion Program'. Once you select them, you will now see two additional radiobuttons. If you select any one of them, you will go to the program, you can set a breakpoint in there and when you do the 'Read data' you can debug the read program (if you put breakpoint in that program) or when you 'Convert Data' you can debug the conversion program (if you put breakpoint in that program).

(OR)

You can debug any LSMW object program in the usual way by putting a hard 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 breakpoints 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 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) whereever you desire

Don't forget to reward if useful...

Read only

Former Member
0 Likes
766

Hi

If you are in LSMW in the project where the radiobuttons show up, in the menu, choose 'Extras-->User Menu'. Select the checkboxes for 'Display Read Program' and 'Display Conversion Program'. Once you select them, you will now see two additional radiobuttons. If you select any one of them, you will go to the program, you can set a breakpoint in there and when you do the 'Read data' you can debug the read program (if you put breakpoint in that program) or when you 'Convert Data' you can debug the conversion program (if you put breakpoint in that program).

Regards,

pankaj singh

      • reward if helpful

Read only

Former Member
0 Likes
766

hi,

You can debug any LSMW object program in the usual way by putting a hard 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 breakpoints 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 Program & 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 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) whereever you desire.

Rgds,

Prajith