我正在调用CALL TRANSACTION
的报告。我不想使用SUBMIT
。我需要为SELECT-OPTIONS
打开按钮并为值'X'
排除值。这是我从注册中找到的代码
ls_bdcdata-fnam = 'BDC_OKCODE'.
ls_bdcdata-fval = '=%020'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-dynbegin = 'X'.
ls_bdcdata-dynpro = '3000'.
ls_bdcdata-program = 'SAPLALDB'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_OKCODE'.
ls_bdcdata-fval = '=NOSV'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_SUBSCR'.
ls_bdcdata-fval = 'SAPLALDB 3010SCREEN_HEADER'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-dynbegin = 'X'.
ls_bdcdata-dynpro = '3000'.
ls_bdcdata-program = 'SAPLALDB'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_OKCODE'.
ls_bdcdata-fval = '=ACPT'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_SUBSCR'.
ls_bdcdata-fval = 'SAPLALDB 3030SCREEN_HEADER'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RSCSEL_255-SLOW_E(01)'.
ls_bdcdata-fval = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
SELECT-OPTIONS
由
ls_bdcdata-fval = '=%020'.
但是当我向被叫报告添加新的SELECT-OPTIONS
时,这个数字发生了变化。我可以使用SELECT-OPTIONS
的名称而不是此'=%020'
值的计算值吗?因此,当我添加新的SELECT-OPTIONS
时,我可以阻止计算的新变化。