Getting Source System
Enabling/Disabling 3.X content
Declaring and using range table
DATA: lt_version TYPE RANGE OF rsobjvers,
lw_version LIKE LINE OF lt_version,
lw_version-sign = 'I'.
lw_version-option = 'EQ'.
lw_version-low = 'A'.
APPEND lw_version TO lt_version.
Negative Number to String
String '-2.0481607392E8' to Number, Use DECFLOAT16/34.
DATA: lv_string TYPE string,
lv_number TYPE DECFLOAT16.
lv_string = '-2.0481607392E8'.
lv_number = lv_string.
Dynamic Declaration of internal tables
FIELD-SYMBOLS : <fs_field> TYPE any.
DATA: g_field TYPE REF TO data.
DATA : g_name TYPE string.
g_name = 'RSBKDTP-DTP'.
CREATE DATA g_field TYPE (g_name).
ASSIGN g_field->* TO <fs_field>.
Enabling/Disabling 3.X content
Declaring and using range table
DATA: lt_version TYPE RANGE OF rsobjvers,
lw_version LIKE LINE OF lt_version,
lw_version-sign = 'I'.
lw_version-option = 'EQ'.
lw_version-low = 'A'.
APPEND lw_version TO lt_version.
Negative Number to String
String '-2.0481607392E8' to Number, Use DECFLOAT16/34.
DATA: lv_string TYPE string,
lv_number TYPE DECFLOAT16.
lv_string = '-2.0481607392E8'.
lv_number = lv_string.
Dynamic Declaration of internal tables
FIELD-SYMBOLS : <fs_field> TYPE any.
DATA: g_field TYPE REF TO data.
DATA : g_name TYPE string.
g_name = 'RSBKDTP-DTP'.
CREATE DATA g_field TYPE (g_name).
ASSIGN g_field->* TO <fs_field>.
No comments:
Post a Comment