Reason of using OK_CODE
January 19th, 2010
No comments
In the ABAP dynpro programming, we always deals with OK_CODE which contains the function code user triggers. For each screen, there is a default UI element with type OK. The element is used to pass function code to the program for further processing.

But new comer may raise a question: the system field SY-UCOMM also contains the function code that user triggers. Why we still need another field OK_CODE for this purpose.