ABAP

Naming Conventions

Syntax#

  • Characters, numbers and _ can be use for variable name.
  • Two character using for variable state and object type.
  • Local variables start with L.
  • Global variables start with G.
  • Function input parameter start with I (import).
  • Function output parameter start with E (export).
  • Structures symbol is S.
  • Table symbol is T.

Local variable

data: lv_temp type string.
data: ls_temp type sy.
data: lt_temp type table of sy.

Global variable

data: gv_temp type string.
data: gs_temp type sy.
data: gt_temp type table of sy.

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow