April 2017
Intermediate to advanced
706 pages
17h 8m
English
The simplest debug method is to insert MESSAGE statements at key points in our logic. This is very simple and, if structured properly, provides us with a simple trace of the code logic path. We can number our messages to differentiate them and display any data (in small amounts) as part of a message like the following:
MESSAGE('This is Test 4 for %1',Customer."No.");
A big disadvantage is that MESSAGE statements do not display until processing either terminates or is interrupted for user interaction. Also, if you create a situation that generates hundreds of messages, you will find it quite painful to click through them individually at process termination.
If we force a user interaction at some point, ...
Read now
Unlock full access