sap abap

abap 调用程序

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

假如我们调用一个程序select-options

DATA: RSPAR_TAB TYPE TABLE OF RSPARAMS,

        RSPAR_LINE LIKE LINE OF RSPAR_TAB.

  CLEAR:RSPAR_TAB[],RSPAR_LINE.

* RSPAR_LINE-SELNAME = 'SD_SAKNR'.

*        RSPAR_LINE-SIGN = 'I'.

*        RSPAR_LINE-OPTION = 'BT'.

*        RSPAR_LINE-LOW = '1405010000'.

*        RSPAR_LINE-HIGH = '1405020000'.

*        APPEND RSPAR_LINE TO RSPAR_TAB. CLEAR: RSPAR_LINE.

*

*        RSPAR_LINE-SELNAME = 'SD_SAKNR'..

*        RSPAR_LINE-SIGN = 'I'.

*        RSPAR_LINE-OPTION = 'BT'.

*        RSPAR_LINE-LOW = '1404010000'.

*        RSPAR_LINE-HIGH = '1404020000'.

*        APPEND RSPAR_LINE TO RSPAR_TAB. CLEAR: RSPAR_LINE.

*

*        RSPAR_LINE-SELNAME = 'SD_SAKNR'..

*        RSPAR_LINE-SIGN = 'I'.

*        RSPAR_LINE-OPTION = 'BT'.

*        RSPAR_LINE-LOW = '1403010000'.

*        RSPAR_LINE-HIGH = '1403020000'.

*        APPEND RSPAR_LINE TO RSPAR_TAB. CLEAR: RSPAR_LINE.

*

*        RSPAR_LINE-SELNAME = 'SD_BUKRS'..

*        RSPAR_LINE-SIGN = 'I'.

*        RSPAR_LINE-OPTION = 'EQ'.

*        RSPAR_LINE-LOW = '8030'.

*        .

*        APPEND RSPAR_LINE TO RSPAR_TAB. CLEAR: RSPAR_LINE.

*

*        SUBMIT RFITEMGL WITH SELECTION-TABLE RSPAR_TAB

*        VIA SELECTION-SCREEN AND RETURN.

第二种

第三种

上一篇下一篇

猜你喜欢

热点阅读