Skip to Content
avatar image
Former Member

Who Wants to debug in Production?

This issue is about my previous thread which has been resolved:

"Missing segment in invoice idoc" https://www.sdn.sap.com/irj/sdn/collaboration

Can we debug this in production system?

please vote to NO or YES then give your wildest comments...

Thank you all 😊

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Mar 28, 2007 at 04:47 PM

    Hi Pablito,

    Yes we can debug the issue in producion if have the access.but if the programm is linked with other things, it may leads to many coplications.

    But sincerly not advisabel.

    Reward if really helpful.

    Regards,

    Sateesh.Kandula

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      yes it really is not advisable...

      but if we do this what can we do to prevent the creation of IDOC? 😊

  • avatar image
    Former Member
    Mar 29, 2007 at 04:53 AM

    Hi,

    Sure you can debug the idoc in the production system also.

    But every body wants testing data not to post in the data base.

    So for this first you find out COMMITWORK statement in the idoc.

    If you dont find this you will try to find MODIFY or UPDATE or INSRET statement in the program and put breakpoint in these points and you can debug upto before above these statements when you encounter these statements you can RESTART the begug screen.In this way you can do this.

    As my understanding this is only the way to debug.

    Thanks,

    shyla

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 29, 2007 at 05:24 AM

    Yes, Incase of error / problem, it is required to debug in production server also.

    Regards,

    Rajesh Banka

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 29, 2007 at 06:18 AM

    Hi,

    Normally debugging in production is not advised/allowed because it will have an impact on the system performance. What we normally do is replicating the same issue in the staging/integration system. If it can be reproduced the staging system, we can debug in the staging system. There is no need to debug in production system. More than 80% scenarios, we should be able to replicate the issue in staging system since it is a production copy (Staging system should be refreshed by copying from Production system periodically, atleast once in a month). If it can not be replicated in the staging system, as a last resort we can debug in the production system , probably in the non-peak hours. Commit to database or document posting may not be an issue. We can stop proceeding the debug session by just quitting. Since IDOC is in error stage, it may not get posted. Even if it is posted, we can cancel the document.

    Normally for production debugging, special user id is issued by Basis/Security team.

    Regards

    Anil

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      And one more thing.. because the program that we are going to debug is for Outbound IDOC...

      Hope this will create more idea...