title: How to get the program call stack trace?
body: <p>My program can be started in 2 ways:</p>
  
  <p>the <code>START OF SELECTION</code> event that calls a <code>MAIN</code> function from one of my local classes.
  the <code>ZAVGTTA4</code> transaction that calls the same method.</p>
  
  <p>at <code>PAI</code>, for the BACK event, when calling <code>LEAVE TO SCREEN '0'.</code>, my program behaves in 2 ways according to how it was started. I want to get back to the selection screen (1000).</p>
  
  <p>I thought about querying the stack, where i'm sure to find how my program was called. I can see that the stack trace is different, but i don't know how to acces my stack from the program. I've heard about the RTTI that i think might be able to help me.</p>