RANGES:g_ranges FOR spfli-carrid.
*"单值
*CLEAR G_ranges[].
*G_ranges-sign = 'I'.
*G_ranges-option = 'EQ'.
*G_ranges-low = 'AA'.
*APPEND G_ranges.
DATA: R_HKONT TYPE RANGE OF GLT0-RACCT,
WA_HKONT LIKE LINE OF R_HKONT.
LOOP AT IT_SKB1 INTO IS_SKB1.
WA_HKONT-SIGN = 'I'.
WA_HKONT-OPTION = 'EQ'.
WA_HKONT-LOW = IS_SKB1-SAKNR.
high
APPEND WA_HKONT TO R_HKONT.
CLEAR:WA_HKONT.
ENDLOOP.
网友评论