Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About

Posts Tagged ‘debugging’

8 Nov 2010

ABAP Runtime Analysis – variant setup

Runtime analysis can be used to quickly get to the bottom of which tables are referenced during a transaction/program/function-module call.

I like running SM30 over ST22 because you get a nicer presentation of what tables were hit.  ST22 tends to bee too detailed in majority of my scenarios.

By default the report is initialized with the DEFAULT variant.  This is limiting and will not give you as much information as you might want.  Typically on a new system I set up my own variant that allows me to access more information.

Steps to set up your own variant:

  1. Select the drop down option in the Variant selector panel
  2. Click the green check-box on the next screen without changing the parameters of the Selection Criteria for Variants pop-up
  3. You will be presented with two default Variants – DEFAULT and TMP; ignore those and click on the Create button
  4. Type in the name and continue
  5. Here’s the most important part of this trick.  When you get to the main configuration page of the variant go to the third tab [Duratn/type] and in the Aggregation pick the None option.
  6. Once done click Save as… button and you are ready to run your Analysis.
8 November, 2010 at 13:25 by maxtmax

Tags: configuration, debugging, sap, SAP/ABAP
Posted in Everyday stuff | No Comments »

21 Aug 2009

SAP: debugging in pop-up windows

Debugging in SAP is something that I do almost on a daily basis, most of the time I get by just by typing the /h command in the transaction window and executing the program but this is not always possible.

The scenario that I speak of occurs when you are debugging a pop-up window. When you are working with a pop-up window there is no convenient transaction window where you can turn on the debugger. So what do you do?

Simple.

Create a new file; lets call it debugger.txt and populate the contents of the file with the following lines:

[Function]

Title=Debugger Session

Command=/h

Type=SystemCommand

Save the file and leave it on your desktop.

Now when ever you get to a pop-up window that you want to debug simply drag the debugger.txt file in to the window and you will activate the debugging session.

Happy hunting!

21 August, 2009 at 18:38 by maxtmax

Tags: code, debugging, programmer, sap
Posted in SAP/ABAP | No Comments »

  • Subscribe using FeedBurner
  • Cloud Data

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex function images interesting lesson new paypal Photography php problem problems program programmer programming review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).