Skip to Content

It can be very frustrating when debugging the SAP CRM Web Channel application when the sysem times out during your debugging session. Lately I have found some of the new features in the “New Debugger” very helpful.

The ability to save the test data for a function module to SE37 is the most useful of these. Not alone does it allow you to capture the data but by doing this it means that you do not have to reproduce the issue over and over from the application side. Simply save the test data and you can debug the issue.

 

The simple steps to capture the data are as follows.

  • Set a break point in the Function module.
  • Reproduce the issue in the SAP CRM Web Channel application B2B or B2C.
  • Once the break point has been hit. Select the “service tool” icon

Service tool image

 

 

  • Select “Save Parameters as Test Data (SE37)

Save Paramater as test data

 

  • Save the test data as “SAP Support Message XXXXXX

Save as

 

 

 

 

 

 

 

 

 

 

 

 

Once this has been save the information will be stored in the Test Data section in SE37 for your function module. This will allow you to bug the issue without risk of time outs from the web application side.

To report this post you need to login first.

18 Comments

You must be Logged on to comment or reply to a post.

  1. Michelle Crapo
    Well thought out with a  side by side.  External break-points.  And in tlot of pictures.  Just how I like them.  There are some other really cool features I use in the new debugger too!  Like displaying internal tableshe future, the break-point will work with more than one application server.

    Yes,I know outside of the context of your blog.  But fun to look at all the same.

    News in ABAP External Debugging – New User Breakpoint
     

    Michelle

    (0) 
      1. Michelle Crapo
        I agree, it could easily be added to the ABAP category.  I know I use it for ABAP and not CRM.  I’m not really a CRM person!

        Again thank you – very nice instructions!

        Michelle

        (0) 
    1. Michelle Crapo
      I agree, it could easily be added to the ABAP category. I know I use it for ABAP and not CRM. I’m not really a CRM person!

      Again thank you – very nice instructions!

      Michelle

      (0) 
      1. Mark Foley Post author
        Thanks, I will look into changing this now, As I work mostly in CRM web application , I found this very helpful is my day to day work. So had targeted this at people in the same area.
        I will try to include both ABAP and CRM catagories if possible.

        Mark

        (0) 
        1. Michelle Crapo
          What it isn’t intutive?  I’m looking forward to the changes to the blogging system.

          Go into your expert blogger home.  You’ll find your blog on the first page.  However, that’s not where you want to be.  Click on the tab for your weblogs.  Now click on the blog you created.  Then edit.  Once you get to the categories section.  Ctrl – click on each of the categories you want to include.  Then save it and mark it as final!

          You’re done.   And it’s not that easy to find out.  I’ve just had to change things before. 🙂

          If you get stuck let me know!

          Michelle

          (0) 
  2. Ashutosh Mishra

    Hi All,

    I m trying to SAVE parameter in Dubug mode while debugging inside FM, i am getting error message.

    ‘Test Data Could not be Saved’.

    Please help me ASAP.

    Thank you in advance.

    Ashutosh

    (0) 
  3. Ashutosh Mishra

    Hi All,

    I m trying to SAVE parameter in Dubug mode while debugging inside FM, i am getting error message.

    ‘Test Data Could not be Saved’.

    Please help me ASAP.

    Thank you in advance.

    Ashutosh

    (0) 

Leave a Reply