我打电话给报告CALL TRANSACTION
。我不想使用SUBMIT
. 我需要为SELECT-OPTIONS
打开按钮提供值并排除 value '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
.