Declaring Range Tables
Using the data element you are looking for
DATA : lt_bsart TYPE RANGE OF ESART,
lw_bsart LIKE LINE OF lt_bsart,
Declare your internal table type : RSSDLRANGE
l_t_range-sign = 'I'.
l_t_range-option = 'BT'.
l_t_range-low = zlow_value.
l_t_range-high = zhigh_value
Append l_t_range TO l_t_range
SIGN values "I" Include
"E" Exclude
OPTION values "EQ" Equal To
"BT" Between
"CP" Contains Pattern
STATICS
Variables/table declared with STATICS act like Global variables.
Using the data element you are looking for
DATA : lt_bsart TYPE RANGE OF ESART,
lw_bsart LIKE LINE OF lt_bsart,
Declare your internal table type : RSSDLRANGE
l_t_range-sign = 'I'.
l_t_range-option = 'BT'.
l_t_range-low = zlow_value.
l_t_range-high = zhigh_value
Append l_t_range TO l_t_range
SIGN values "I" Include
"E" Exclude
OPTION values "EQ" Equal To
"BT" Between
"CP" Contains Pattern
STATICS
Variables/table declared with STATICS act like Global variables.
No comments:
Post a Comment