Home > SAP > ABAP – RANGE

ABAP – RANGE

October 21st, 2009 admin Leave a comment Go to comments

Nous allons faire un petit zoom sur la fonction : “RANGE” en ABAP.

** ancienne méthode ==> ranges : wr_range for qmel-qmnum. ” plus utilisé en objet

data : wr_range type range of qmel-qmnum,

  ws_range like line of wr_range.

….

loop at wt_qmel into ws_qmel.

ws_range-option =’EQ’.  “NE, CP, NP, GE, LT, LE, GT

ws_range-sign = ‘I’. “E

ws_range-low = ws_qmel-qmnum.

append ws_range to wr_range.

endloop.

….

Check ws_qmel-qmnum in wr_range

Categories: SAP Tags:
  1. No comments yet.
  1. No trackbacks yet.