ABAP AT & ENDAT Keywords

The keyword “AT” is used with screen events and internal table loops. Here is the various syntax usage of ABAP AT keyword.

With Screen Events

  • AT SELECTION-SCREEN…
  • AT LINE-SELECTION.
  • AT USER-COMMAND.
  • AT PFn.

Inside Loops

  • AT NEW <f>.
  • AT END OF <f>.
  • AT FIRST.
  • AT LAST.
  • AT <fg>.

The statements are enclosed within AT and ENDAT keywords.

Also Read : View Other ABAP Keywords & Syntax -> ABAP Transaction codes