May 2019
Beginner to intermediate
548 pages
12h 39m
English
A field symbol is an instrument in which applications are created with elasticity. Field symbols do not have any memory; instead, they will be pointing to a memory location. An element can be compared to a pointer from other programming languages. The following code will help you to declare field symbols using different typing methods:
TYPES: BEGIN OF ts_type, first_data TYPE string, second_data TYPE i, third_data TYPE c, END OF tt_type. DATA : ls_type TYPE tt_type, lt_type TYPE STANDARD TABLE OF tt_type. FIELD-SYMBOLS: <fs_type1> TYPE c, <fs_type2> TYPE tt_type, <fs_type4> TYPE data, <fs_type5> TYPE any, <fs_type6> TYPE ANY TABLE, <fs_type7> LIKE ls_type, <fs_type8> LIKE LINE OF lt_type.
In order to use a field symbol, we ...
Read now
Unlock full access