Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

Various ways to debug a smartform

$
0
0
  1. SFTRACE transaction.
  2. Hard break point.
  3. Debugging the actual function module generated on activation of smartforms.

 

 

1. SFTRACE transaction:

    This transaction is useful when you need to debug in production systems or when you need to find out which smartform is triggered in the system.

 

    Using SFTRACE transaction:

          1. Go to SFTRACE transaction.

          2. Switch on the Trace and select the level of trace.

          1.png

          3. Now execute the smartform.

          4. Switch of the trace in SFTRACE transaction and check the Traces in Database section select the log you want to check and click Display Trace.

              2.png

                    The log displays the list of errors:

                        3.png

2. Hard break point

This technique is useful when you want to debug your smartform from a particular point.

Using hard break point technique:

          1.Open the smartform that you want to debug in the smarforms transaction.

          2.Put a hard break point in the section that you want to debug(normal break points don't work in the smarform editor) e.g. BREAK <your SAP T-code>

4.png

          3. Execute your smarform and it will stop at the point where you have put the break point.

 

3.    Debugging the actual function module generated on activation of smartforms.

      This technique is useful when you want to debug the entire smartfrom.

      Steps to debug the actual code of smartfroms:

        http://wiki.scn.sap.com/wiki/display/ABAP/Easy+Step+To+Debug+a+Smartform

   

         


Viewing all articles
Browse latest Browse all 948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>