sap abap

sap abap ranges

2018-08-01  本文已影响0人  风口得猪会飞

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.

上一篇 下一篇

猜你喜欢

热点阅读