ABAP 如何在bdc调用的时候不显示ok_code
在使用BDC进行录屏后程序运行时仍然需要不断点击OK_CODE进行确认才会跳转到下一屏幕,如何隐藏这些操作,使录屏直接进行到最后一步操作,求详解。...
在使用BDC进行录屏后程序运行时仍然需要不断点击OK_CODE进行确认才会跳转到下一屏幕,如何隐藏这些操作,使录屏直接进行到最后一步操作,求详解。
展开
展开全部
你留意下,有个值MODE控制的,你可以看下下面的资料
The MODE addition
determines the processing mode for batch input processing. As mode, you
can specify a character-type data object. Its possible content and effect is
displayed in the following table. Without use of one of the
additions MODE or OPTIONS
FROM, the
effect is the same as if mode had
the content "A".
MODE选项判断批量数据处理的处理模式。对于mode,你可以指定一个字符型的数据对象。它可能的内容和作用显示在下面的表格中。不使用mode 或者 option
from中的一个和mode的内容是’A’的作用是一样的。
mode
Effect
"A"
Processing with
display of screens处理显示屏幕
"E"
Display of screens
only if an error occurs 只有发生错误时才显示屏幕
"N"
Processing without
display of screens. If a breakpoint is reached in one of the
called transactions, processing is
terminated withsy-subrc same as 1001.
The field sy-msgty contains
"S", sy-msgid contains
"00", sy-msgno contains
"344", sy-msgv1 contains
"SAPMSSY3", and sy-msgv2 contains
"0131".
"P"
Processing without
display of the screens. If a breakpoint is reached in one of the called
transactions, the system branches to the ABAP Debugger.
Others
Like "A".
The MODE addition
determines the processing mode for batch input processing. As mode, you
can specify a character-type data object. Its possible content and effect is
displayed in the following table. Without use of one of the
additions MODE or OPTIONS
FROM, the
effect is the same as if mode had
the content "A".
MODE选项判断批量数据处理的处理模式。对于mode,你可以指定一个字符型的数据对象。它可能的内容和作用显示在下面的表格中。不使用mode 或者 option
from中的一个和mode的内容是’A’的作用是一样的。
mode
Effect
"A"
Processing with
display of screens处理显示屏幕
"E"
Display of screens
only if an error occurs 只有发生错误时才显示屏幕
"N"
Processing without
display of screens. If a breakpoint is reached in one of the
called transactions, processing is
terminated withsy-subrc same as 1001.
The field sy-msgty contains
"S", sy-msgid contains
"00", sy-msgno contains
"344", sy-msgv1 contains
"SAPMSSY3", and sy-msgv2 contains
"0131".
"P"
Processing without
display of the screens. If a breakpoint is reached in one of the called
transactions, the system branches to the ABAP Debugger.
Others
Like "A".
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询