ABAP Keywords and Their Meaning

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

ABAP KEYWORDS AND THEIR MEANING

CLEAR resets the contents of a data object to the type-specific initial value. COMPUTE assigns the result of an arithmetic expression to a variable. You can omit the
keyword COMPUTE

MOVE-CORRESPONDING copies the contents of the source structure to the target structure one component at a time. ONLY components that are available under the same name in both the source and the target structure are considered. APPEND Appends the content of a structure to an internal table. Can only be used with Standard tables. INSERT Inserts the content of a structure into an internal table. Note: In the case of a standard table, this content is appended, in a sorted table it is inserted in the right place according to the key, and in a hashed table it is inserted according to the hash algorithm. READ Copies the content of a table row into a structure MODIFY Overwrites an internal table row with the content of a structure DELETE Deletes a row of an internal table COLLECT Accumulates the contents of a structure in row of an internal table that has the same key. In doing so, only non-key fields are added. Hence, this statement can only be used for tables whose non-key fields are all numeric. FROM / TO Used in a loop to restrict access to certain rows REFRESH Deletes the entire content of an internal table. But memory remains available CLEAR Used for Internal tables without header line, it has the same effect as refresh. For internal tables with header line, only the header line is initialized FREE Deletes the content of the internal table and frees the memory. CLIENT SPECIFIED an addition used after the FROM keyword in a select statement to read data from an explicitly-specified client AUTHORITY-CHECK can be used at runtime to check whether the user has the right access to execute a given function (check the result SY-SUBRC after it) HIDE This statement stores the content of a variable dobj together with the current list line
whose line number is contained in sy-linno in the hide area of the current list level

You might also like