Debugging LSMW

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.

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.

    Requires Free Membership to View

This was first published in May 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.