Naming notation


ABAP has a large number of naming conventions for different language elements. These are conventions and not rules, so an ABAP programmer is free to abide by them or not. However ABAP code developed by SAP itself generally respects these naming rules. Below is a list.

  • ALV_* SAP List Viewer
  • AS_* Methods that perform type conversions
  • CHECK_* Check Methods
  • CH_* Changing Parameters
  • CT_* Changing Table
  • CL_* Class name
  • CO_*/C_* Constants
  • DR_* Data reference
  • G_* Global variables/data objects
  • GT_* Global table
  • GX_* Global boolean field (X or space)
  • IF_* Interface
  • INT_*/IT_ Internal Table
  • IS_* Methods that return a Boolean value
  • L_* Indicates the data object is local. Often, before underscore, put a 'type letter' in case of simple type (LC_,LF etc.)
  • LC_* Local Constant
  • LV_* Local Variable
  • LR_* Local Range
  • LT_* Local Table
  • LS_* Local Structure
  • LVC_* List Viewer Control
  • ON_* Event handler
  • PA_* Parameters
  • PE_*/EX_* Export parameter
  • PI_*/IM_* Input parameter
  • RA_* Ranges/Type Range Of
  • RE_* Result
  • RF_* Reference Variable
  • SET_* Accessors Methods
  • SO_* Select-Options
  • ST_* Structure
  • TA_* Internal Standard Table
  • TC_* Table Control
  • TH_* Internal Hashed Table
  • TP_* Other Variables
  • TS_* Internal Sorted Table
  • TT_* Table type
  • TY_* Types
  • T_* Variable is a table (T_MY_TABLE_VARIABLE)
  • X* Source/first data object (e.g. XVBAK)
  • Y* Destination/second data object (e.g. YVBAK)
  • WA_* Work Area
  • $* Static Variable
  • ** Secondary working area (e.g. *VBAK in TABLES statement. Obsolete)