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

Have you ever found yourself scratching your head wondering why your Smartform wouldn't go?

$
0
0

Scratch no longer!

 

Ok, so this is going to be a really quick post, just because I think there's a lot of people out there who didn't know about this functionality and it's very helpful.

 

Many times it has happened to me, I'm working on a Smartform, and I try to test it and nothing happens, the function module aborts with some formatting error or sometimes a "others" exception, and I had to go and try to understand what happened, comment out code or delete windows (making a backup) until I found where the problem was, usually a missing logo or a window exceeding the page limits. A missing text module will also do this.

 

But there's an easier way to find out what the problem is, SFTRACE!

 

Let's work through an example.

 

So, I tried to print/preview a print out, it didn't work, what now?

 

I execute transaction SFTRACE and turn the trace on:

 

sftrace1.png

 

 

Try to print again. Refresh the trace. An entry will appear!

 

sftrace2.png

 

Now look at the info... in my case apparently there's a missing graphic!

 

sftrace3.png

 

 

There you have it. I hope this is helpful.

 

Best regards,

Bruno Esperança


Viewing all articles
Browse latest Browse all 948

Trending Articles



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