Archived discussions are read-only. Learn more about SAP Q&A

How to debug the LSMW coding???

Hi Experts,

Any one please tell how to debug the lSMW codings?

Thnx,

Mohana

Tags:
replied

Hi,

-


Go to the 5th Step that is

"5 Maintain Field Mapping and Conversion Rules"

select this radio Button and execute then

you will maping your defining fields to source structure fields

then where ever you want to write validations

you just select that field and click on RULES tab

then select radio-button User defined routine

then you will get a window

you just click on continue button

then you will get a PERFORM opposite to your selected field

save and come back

then select the 6th radio button

that is " 6 Maintain Fixed Values, Translations, User-Defined Routines"

and execute

there you will find your user defind routine

you just double click on the routine

then you will get a editor for writing your code for validations

you just pass p_in as input and you will get the result in p_out parameter

then you will put a Break point or put command like "BREAK-POINT"

then it will automatically triggered while running this project.

-


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) where ever you desire.

Regards.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question