在消息类型 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屋!
查看全文