消息类型e之后,程序不会返回到选择屏幕ABAP [英] After message type e, program doesn't return to selection-screen ABAP
本文介绍了消息类型e之后,程序不会返回到选择屏幕ABAP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在报告中使用消息类型E。问题是,当触发消息时,程序不会返回到选择屏幕。谁能帮我?这是我用来实现此目标的代码:
I'm trying to use a message type E in my report. The thing is that when the message is triggered, the program doesn't return to the selection-screen. Can anyone help me? Here's the code I use to achieve this:
IF rb_tri IS NOT INITIAL AND p_trim-low IS INITIAL.
MESSAGE e038.
ENDIF.
谢谢:)
推荐答案
当我将您的问题与您的答案结合在一起时,我会提供另一种解决方案:
When I combine your question with your answer I offer another solution:
在开始该过程后不要进行测试( START-OF-SELECTION
),但是在选择屏幕上:
Don't make your test after starting the process (START-OF-SELECTION
) but on the selection screen:
PARAMETER: p_test.
AT SELECTION-SCREEN.
IF p_test IS INITIAL.
MESSAGE e038(00).
ENDIF.
电子消息会阻塞选择屏幕,直到问题解决。
The E-message blocks the selection screen until the problem is solved.
这篇关于消息类型e之后,程序不会返回到选择屏幕ABAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文