0% found this document useful (0 votes)
76 views13 pages

Analysis and Test Tools: IBM Global Business Services

18.02-Anaylsis and Test Tools

Uploaded by

bakkali_bilal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views13 pages

Analysis and Test Tools: IBM Global Business Services

18.02-Anaylsis and Test Tools

Uploaded by

bakkali_bilal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13

IBM Global Business Services

Analysis and Test Tools

Additional Topics | Analysis and Test


Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Objectives
The participants will be able to:
Have a basic understanding of how to analyze and test ABAP code, using:
Program Extended Syntax Check.
Runtime Analysis.
SQL Trace.
Computer Aided Test Tool (CATT).

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Program Extended Syntax Check

Transaction SLIN
Double click

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Runtime Analysis

The Runtime Analysis


Tool lets you analyze
the performance of
any transaction or
program created in
the ABAP Workbench
in more detail.

Transaction SE30

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Runtime Analysis Results


Transaction SE30

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Tips and Tricks

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Getting Runtime in code


tmin = 1000000.
DO 10 TIMES.
GET RUN TIME FIELD t1.
MOVE f1 TO f2. "Time measurement of the move
GET RUN TIME FIELD t2.
t2 = t2 - t1.
IF t2 <tmin.
tmin =t2.
ENDIF.
ENDDO.
WRITE: 'MOVE 4000 bytes takes', tmin, 'microseconds'.

Additional Topics | Analysis and Test Tools |

Dec-2008

Syntax to get runtime

IBM Corporation 2013

IBM Global Business Services

SQL Trace
Transaction ST05

Turn Trace on and off


for full Database
interaction
For a single SQL
request

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Computer Aided Test Tool (CATT)

Transaction SCAT
The Computer Aided
Test Tool (CATT) is
fully integrated into the
ABAP/4 Development
Workbench. It allows
you to assemble and
automate business
processes in test
procedures.

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Summary
The Program Extended Syntax check is the simplest and least CPU-intensive
analysis tool. It can be found from ABAP Editor by following the menu path:
Program-> Check->Extended program Check.
The Runtime Analysis Tool lets you analyze the performance of any transaction
or program created in the ABAP Workbench in more detail. An additional very
valuable function of the Runtime Analysis tool is the Tips and Tricks. This lists
coding tips and examples, which can be used to improve coding efficiency.
(Transaction SE30)
You can use the SQL Trace tool to examine the database interfaces of reports
and transactions. (Transaction ST05)
The Computer Aided Test Tool (CATT) is fully integrated into the ABAP/4
Development Workbench. It allows you to assemble and automate business
processes in test procedures.

10

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Demonstration
Run Extended Syntax Check for any customer program and rectify the
errors,warnings, if any.

11

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Practice
Run Extended Syntax Check for any customer program and rectify the
errors,warnings, if any.

12

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

IBM Global Business Services

Questions
How do you measure runtime of a program?
SQL TRACE allows you to see how OPEN SQL statements get converted to
EMBEDDED SQL. True or False?

13

Additional Topics | Analysis and Test Tools |

Dec-2008

IBM Corporation 2013

You might also like