Performance tools in abap

 

ST05 -- Performance trace (Activate the trace, Deactivate the trace, Display the trace).

        Report

            REPORT zab_performance_tool.

        TABLESzstu.
        DATAit_zstu  TYPE TABLE OF zstu,
              it_zstu1 TYPE TABLE OF zstu.
        SELECT-OPTIONSs_id FOR zstu-zstu_id.

        IF s_id IS NOT INITIAL.
          SELECT *
            FROM zstu
            INTO TABLE it_zstu
            WHERE zstu_id IN s_id.

        ENDIF.
        SELECT zstu_id
                FROM zstu
                INTO TABLE it_zstu1
                WHERE zstu_id IN s_id.
  -----------------------------------------------
        * Goto T-code ST05 activate the trace.
               

        * Execute the report in SE38.
      * Now deactivate the trace.
           

        * Click on display trace.
               

        * Execute.
      * Right click on program name and choose filter option and give program name.
                              

        * Select row and click on 'Display ABAP call location'.
        * Select 1.629 row and click on 'Display ABAP call location'.
                


            * Select 957 
row and click on 'Display ABAP call location'.
                


  *************End of ST05*******************  

SE30/SAT -- Old runtime analysis tool/ Runtime analysis tool.

                Old - SE30.

                New - SAT

            * Goto T-code SAT.

            * Give program name and execute.Back.

                



*************End of SAT******************* 

EPC - Extend program check.

         - Used for static code check.

         - Static means no need to run the program. 

         - Mainly used for removing unwanted code in program.

        * Goto T-code SE38 give program and click on display.

        * Program -> check -> Extend program check.

        * Select all in checks tab.

                     


        *    Click on Run checks.
                     

        * Double click and correct the errors and messages and warnings.

*************End of EPC******************* 

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).