Skip to Content
author's profile photo Former Member
Former Member

debugging in LSMW


i am doing LSMW using IDOC. but i got an error in second last stage like

create IDOC overview.

when i clicked on this button ,it displayed status record......... in that status record it displayed an error msg.

how can i debugg it............ how would i know from where this msg is coming.........

i used breakpoint at statement also...but didnt get right msg.

thanx in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 07:02 AM

    Hi Supriya,

    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).


    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.

    if you give me brief i can help you out more.

    if helpful REWARD points

    Thank you .



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.