Locating message source code with message number turns out to be a painful task when you look up the source code and it says 'not found'. The simplest way to deal with this is to execute the your program or transaction (which raised message) via SAT. You can use this method for Program / Transaction / FM.
Note: Applicable for messages raised using MESSAGE statement.
Let's see how it works:
I've a custom program that is returning an error message (highlighted in below screenshot) which is not
coded in it which means it is coming from one of the called FMs/program(s).
(Message number: 729)
To trace from where it has originated, perform runtime analysis
Transaction: SAT
Enter your program name and click on Execute
On execution, your program's selection screen is displayed. Enter details on selection screen and execute.
When the execution is complete, press BACK button twice to return to SAT analysis screen
SAT will display the runtime analysis for your program. Navigate to tab 'Desktop 1' -> Miscellaneous ->
Screen/Transaction Call -> MESSAGE
The right hand side of the screen will have the message number (message 729 highlighted).
Double click the entry and you will be directed to the source code
No comments:
Post a Comment