Wednesday, March 22, 2017

using RANGE tables

(i)Using the data element you are looking for
    DATA : lt_bsart    TYPE RANGE OF ESART,
                 lw_bsart    LIKE LINE OF lt_bsart,


(ii) 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 can include "I" Include "E" Exclude
OPTION can include "EQ" Equal To "BT" Between "CP" Contains Pattern

No comments:

Post a Comment