ABAP Keyword Documentation → ABAP - Reference → ABAP Syntax → ABAP Statements
ABAP Words
ABAP words are the vocabulary of the ABAP language. ABAP statements are composed of ABAP words, operands, and operators according to defined syntax rules. ABAP words are taken from the English language and are grouped into
ABAP language elements and
ABAP language element additions that express the semantics of a statement. In addition to letters, ABAP words can also contain hyphens
(-
) to form multi-word expressions. As well as ABAP words, some operators are also made up of letters.
If a statement is introduced using an ABAP word, the word is an
ABAP keyword. The remaining
ABAP words are additions to a keyword. A single ABAP word can be used both as a keyword and as a non-keyword.
For example, DATA
is used as a keyword as well as an addition to other keywords.
Not all statements are introduced using a keyword or contain ABAP words. Assignments with the assignment operator =
or
method calls, for example, do not contain a keyword and do have to contain any other ABAP word.
ABAP words are not reserved names as in some programming languages. Although the use of an ABAP word for naming conventions is not forbidden, it should be avoided if possible. Since following this rule can itself lead to a situation caused by the introduction of new elements, suitable naming conventions should be observed for reserved names to avoid conflicts with language elements.
The following table contains all ABAP words, the names of predefined data types and the names (consisting of letters) of operators. Names in ABAP programs are not case-sensitive.
ABAP-SOURCE | ABBREVIATED | ABS | ABSTRACT | ACCEPT |
---|---|---|---|---|
ACCEPTING | ACCESSPOLICY | ACCORDING | ACTIVATION | ACTUAL |
ADD | ADD-CORRESPONDING | ADJACENT | AFTER | ALIAS |
ALIASES | ALIGN | ALL | ALLOCATE | ALPHA |
ANALYSIS | ANALYZER | AND | ANY | APPEND |
APPENDAGE | APPENDING | APPLICATION | ARCHIVE | AREA |
ARITHMETIC | AS | ASCENDING | ASPECT | ASSERT |
ASSIGN | ASSIGNED | ASSIGNING | ASSOCIATION | ASYNCHRONOUS |
AT | ATTRIBUTES | AUTHORITY | AUTHORITY-CHECK | AVG |
BACK | BACKGROUND | BACKUP | BACKWARD | BADI |
BASE | BEFORE | BEGIN | BETWEEN | BIG |
BINARY | BIT | BIT-AND | BIT-NOT | BIT-OR |
BIT-XOR | BLACK | BLANK | BLANKS | BLOB |
BLOCK | BLOCKS | BLUE | BOUND | BOUNDARIES |
BOUNDS | BOXED | BREAK-POINT | BT | BUFFER |
BY | BYPASSING | BYTE | BYTE-CA | BYTE-CN |
BYTE-CO | BYTE-CS | BYTE-NA | BYTE-NS | BYTE-ORDER |
CA | CALL | CALLING | CASE | CAST |
CASTING | CATCH | CEIL | CENTER | CENTERED |
CHAIN | CHAIN-INPUT | CHAIN-REQUEST | CHANGE | CHANGING |
CHANNELS | CHAR-TO-HEX | CHARACTER | CHECK | CHECKBOX |
CI_ | CIRCULAR | CLASS | CLASS-CODING | CLASS-DATA |
CLASS-EVENTS | CLASS-METHODS | CLASS-POOL | CLEANUP | CLEAR |
CLIENT | CLOB | CLOCK | CLOSE | CN |
CO | COALESCE | CODE | CODING | COL_BACKGROUND |
COL_GROUP | COL_HEADING | COL_KEY | COL_NEGATIVE | COL_NORMAL |
COL_POSITIVE | COL_TOTAL | COLLECT | COLOR | COLUMN |
COLUMNS | COMMENT | COMMENTS | COMMIT | COMMON |
COMMUNICATION | COMPARING | COMPONENT | COMPONENTS | COMPRESSION |
COMPUTE | CONCAT | CONCATENATE | COND | CONDENSE |
CONDITION | CONNECT | CONNECTION | CONSTANTS | CONTEXT |
CONTEXTS | CONTINUE | CONTROL | CONTROLS | CONV |
CONVERSION | CONVERT | COPIES | COPY | CORRESPONDING |
COUNT | COUNTRY | COVER | CP | CPI |
CREATE | CREATING | CRITICAL | CS | CURRENCY |
CURRENCY_CONVERSION | CURRENT | CURSOR | CURSOR-SELECTION | CUSTOMER |
CUSTOMER-FUNCTION | DANGEROUS | DATA | DATABASE | DATAINFO |
DATASET | DATE | DAYLIGHT | DD/MM/YY | DD/MM/YYYY |
DDMMYY | DEALLOCATE | DECIMAL_SHIFT | DECIMALS | DECLARATIONS |
DEEP | DEFAULT | DEFERRED | DEFINE | DEFINING |
DEFINITION | DELETE | DELETING | DEMAND | DEPARTMENT |
DESCENDING | DESCRIBE | DESTINATION | DETAIL | DIALOG |
DIRECTORY | DISCONNECT | DISPLAY | DISPLAY-MODE | DISTANCE |
DISTINCT | DIV | DIVIDE | DIVIDE-CORRESPONDING | DIVISION |
DO | DUMMY | DUPLICATE | DUPLICATES | DURATION |
DURING | DYNAMIC | DYNPRO | E | EDIT |
EDITOR-CALL | ELSE | ELSEIF | EMPTY | ENABLED |
ENABLING | ENCODING | END | END-ENHANCEMENT-SECTION | END-LINES |
END-OF-DEFINITION | END-OF-FILE | END-OF-PAGE | END-OF-SELECTION | ENDAT |
ENDCASE | ENDCATCH | ENDCHAIN | ENDCLASS | ENDDO |
ENDENHANCEMENT | ENDEXEC | ENDFORM | ENDFUNCTION | ENDIAN |
ENDIF | ENDING | ENDINTERFACE | ENDLOOP | ENDMETHOD |
ENDMODULE | ENDON | ENDPROVIDE | ENDSELECT | ENDTRY |
ENDWHILE | ENGINEERING | ENHANCEMENT | ENHANCEMENT-POINT | ENHANCEMENT-SECTION |
ENHANCEMENTS | ENTRIES | ENTRY | ENVIRONMENT | EQ |
EQUIV | ERRORMESSAGE | ERRORS | ESCAPE | ESCAPING |
EVENT | EVENTS | EXACT | EXCEPT | EXCEPTION |
EXCEPTION-TABLE | EXCEPTIONS | EXCLUDE | EXCLUDING | EXEC |
EXECUTE | EXISTS | EXIT | EXIT-COMMAND | EXPAND |
EXPANDING | EXPIRATION | EXPLICIT | EXPONENT | EXPORT |
EXPORTING | EXTEND | EXTENDED | EXTENSION | EXTRACT |
FAIL | FETCH | FIELD | FIELD-GROUPS | FIELD-SYMBOL |
FIELD-SYMBOLS | FIELDS | FILE | FILTER | FILTER-TABLE |
FILTERS | FINAL | FIND | FIRST | FIRST-LINE |
FIXED-POINT | FKEQ | FKGE | FLOOR | FLUSH |
FONT | FOR | FORM | FORMAT | FORWARD |
FOUND | FRAME | FRAMES | FREE | FRIENDS |
FROM | FUNCTION | FUNCTION-POOL | FUNCTIONALITY | FURTHER |
GAPS | GE | GENERATE | GET | GIVING |
GKEQ | GKGE | GLOBAL | GRANT | GREEN |
GROUP | GROUPS | GT | HANDLE | HANDLER |
HARMLESS | HASHED | HAVING | HDB | HEAD-LINES |
HEADER | HEADERS | HEADING | HELP-ID | HELP-REQUEST |
HIDE | HIGH | HINT | HOLD | HOTSPOT |
I | ICON | ID | IDENTIFICATION | IDENTIFIER |
IDS | IF | IGNORE | IGNORING | IMMEDIATELY |
IMPLEMENTATION | IMPLEMENTATIONS | IMPLEMENTED | IMPLICIT | IMPORT |
IMPORTING | IN | INACTIVE | INCL | INCLUDE |
INCLUDES | INCLUDING | INCREMENT | INDEX | INDEX-LINE |
INFOTYPES | INHERITING | INIT | INITIAL | INITIALIZATION |
INNER | INOUT | *-INPUT | INPUT | INSERT |
INSTANCES | INTENSIFIED | INTERFACE | INTERFACE-POOL | INTERFACES |
INTERNAL | INTERVALS | INTO | INVERSE | INVERTED-DATE |
IS | ISO | ITNO | JOB | JOIN |
KEEP | KEEPING | KERNEL | KEY | KEYS |
KEYWORDS | KIND | LANGUAGE | LAST | LATE |
LAYOUT | LE | LEADING | LEAVE | LEFT |
LEFT-JUSTIFIED | LEFTPLUS | LEFTSPACE | LEGACY | LENGTH |
LET | LEVEL | LEVELS | LIKE | LINE |
LINE-COUNT | LINE-SELECTION | LINE-SIZE | LINEFEED | LINES |
LIST | LIST-PROCESSING | LISTBOX | LITTLE | LLANG |
LOAD | LOAD-OF-PROGRAM | LOB | LOCAL | LOCALE |
LOCATOR | LOG-POINT | LOGFILE | LOGICAL | LONG |
LOOP | LOW | LOWER | LPAD | LPI |
LT | M | MAIN | MAJOR-ID | |
MAPPING | MARGIN | MARK | MASK | MATCH |
MATCHCODE | MAX | MAXIMUM | MEDIUM | MEMBERS |
MEMORY | MESH | MESSAGE | MESSAGE-ID | MESSAGES |
MESSAGING | METHOD | METHODS | MIN | MINIMUM |
MINOR-ID | MM/DD/YY | MM/DD/YYYY | MMDDYY | MOD |
MODE | MODIF | MODIFIER | MODIFY | MODULE |
MOVE | MOVE-CORRESPONDING | MULTIPLY | MULTIPLY-CORRESPONDING | NA |
NAME | NAMETAB | NATIVE | NB | NE |
NESTED | NESTING | NEW | NEW-LINE | NEW-PAGE |
NEW-SECTION | NEXT | NO | NO-DISPLAY | NO-EXTENSION |
NO-GAP | NO-GAPS | NO-GROUPING | NO-HEADING | NO-SCROLLING |
NO-SIGN | NO-TITLE | NO-TOPOFPAGE | NO-ZERO | NODE |
NODES | NON-UNICODE | NON-UNIQUE | NOT | NP |
NS | NULL | NUMBER | O | OBJECT |
OBJECTS | OBLIGATORY | OCCURRENCE | OCCURRENCES | OCCURS |
OF | OFF | OFFSET | OLE | ON |
ONLY | OPEN | OPTION | OPTIONAL | OPTIONS |
OR | ORDER | OTHER | OTHERS | OUT |
OUTER | OUTPUT | OUTPUT-LENGTH | OVERFLOW | OVERLAY |
PACK | PACKAGE | PAD | PADDING | PAGE |
PAGES | PARAMETER | PARAMETER-TABLE | PARAMETERS | PART |
PARTIALLY | PATTERN | PERCENTAGE | PERFORM | PERFORMING |
PERSON | PF | PF-STATUS | PINK | PLACES |
POOL | POS_HIGH | POS_LOW | POSITION | PRAGMAS |
PRECOMPILED | PREFERRED | PRESERVING | PRIMARY | |
PRINT-CONTROL | PRIORITY | PRIVATE | PROCEDURE | PROCESS |
PROGRAM | PROPERTY | PROTECTED | PROVIDE | PUBLIC |
PUSHBUTTON | PUT | QUEUE-ONLY | QUICKINFO | RADIOBUTTON |
RAISE | RAISING | RANGE | RANGES | RAW |
READ | READ-ONLY | READER | RECEIVE | RECEIVED |
RECEIVER | RECEIVING | RED | REDEFINITION | REDUCE |
REDUCED | REF | REFERENCE | REFRESH | REGEX |
REJECT | REMOTE | RENAMING | REPLACE | REPLACEMENT |
REPLACING | REPORT | REQUEST | REQUESTED | RESERVE |
RESET | RESOLUTION | RESPECTING | RESPONSIBLE | RESULT |
RESULTS | RESUMABLE | RESUME | RETRY | RETURN |
RETURNCODE | RETURNING | RIGHT | RIGHT-JUSTIFIED | RIGHTPLUS |
RIGHTSPACE | RISK | RMC_COMMUNICATION_FAILURE | RMC_INVALID_STATUS | RMC_SYSTEM_FAILURE |
ROLE | ROLLBACK | ROUND | ROWS | RUN |
SAP | SAP-SPOOL | SAVING | SCALE_PRESERVING | SCALE_PRESERVING_SCIENTIFIC |
SCAN | SCIENTIFIC | SCIENTIFIC_WITH_LEADING_ZERO | SCREEN | SCROLL |
SCROLL-BOUNDARY | SCROLLING | SEARCH | SECONDARY | SECONDS |
SECTION | SELECT | SELECT-OPTIONS | SELECTION | SELECTION-SCREEN |
SELECTION-SET | SELECTION-SETS | SELECTION-TABLE | SELECTIONS | SEND |
SEPARATE | SEPARATED | SET | SHARED | SHIFT |
SHORT | SHORTDUMP-ID | SIGN | SIGN_AS_POSTFIX | SIMPLE |
SINGLE | SIZE | SKIP | SKIPPING | SMART |
SOME | SORT | SORTABLE | SORTED | SOURCE |
SPACE | SPECIFIED | SPLIT | SPOOL | SPOTS |
SQL | SQLSCRIPT | STABLE | STAMP | STANDARD |
START-OF-SELECTION | STARTING | STATE | STATEMENT | STATEMENTS |
STATIC | STATICS | STATUSINFO | STEP-LOOP | STOP |
STRUCTURE | STRUCTURES | STYLE | SUBKEY | SUBMATCHES |
SUBMIT | SUBROUTINE | SUBSCREEN | SUBSTRING | SUBTRACT |
SUBTRACT-CORRESPONDING | SUFFIX | SUM | SUMMARY | SUMMING |
SUPPLIED | SUPPLY | SUPPRESS | SWITCH | SWITCHSTATES |
SYMBOL | SYNCPOINTS | SYNTAX | SYNTAX-CHECK | SYNTAX-TRACE |
SYSTEM-CALL | SYSTEM-EXCEPTIONS | SYSTEM-EXIT | TAB | TABBED |
TABLE | TABLES | TABLEVIEW | TABSTRIP | TARGET |
TASK | TASKS | TEST | TESTING | TEXT |
TEXTPOOL | THEN | THROW | TIME | TIMES |
TIMESTAMP | TIMEZONE | TITLE | TITLE-LINES | TITLEBAR |
?TO | TO | TOKENIZATION | TOKENS | TOP-LINES |
TOP-OF-PAGE | TRACE-FILE | TRACE-TABLE | TRAILING | TRANSACTION |
TRANSFER | TRANSFORMATION | TRANSLATE | TRANSPORTING | TRMAC |
TRUNCATE | TRUNCATION | TRY | TYPE | TYPE-POOL |
TYPE-POOLS | TYPES | ULINE | UNASSIGN | UNDER |
UNICODE | UNION | UNIQUE | UNIT | UNIT_CONVERSION |
UNIX | UNPACK | UNTIL | UNWIND | UP |
UPDATE | UPPER | USER | USER-COMMAND | USING |
UTF-8 | VALID | VALUE | VALUE-REQUEST | VALUES |
VARY | VARYING | VERIFICATION-MESSAGE | VERSION | VIA |
VIEW | VISIBLE | WAIT | WARNING | WHEN |
WHENEVER | WHERE | WHILE | WIDTH | WINDOW |
WINDOWS | WITH | WITH-HEADING | WITH-TITLE | WITHOUT |
WORD | WORK | WRITE | WRITER | XML |
XSD | YELLOW | YES | YYMMDD | Z |
ZERO | ZONE | 1 | 2 | 3 |
4 | 5 | 6 | 7 |