Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

更新SELECTION-SCREEN

1.source code

{

AT SELECTION-SCREEN ON cb_rep.

PERFORM sub_set_para1.

AT SELECTION-SCREEN ON p_para1.

PERFORM sub_validate_para1.

}

2.problem:

Subroutine 'sub_set_para1' 会取出数据并进行处理,最后的结果就是得到 P_PARA1 = 'ABC' 之类的结

果。

Subroutine 'sub_validate_para1.' 会对上面的得到的P_PARA1的值进行CHECK, 例如:

{

IF P_PARA1 = 'ABC'.

MESSAGE e398(00) with p_para1 'is wrong' space space.

ENDIF.

}

问题就在于这时候程序报的是'E'类型的MESSAGE, 程序还停留在SELECTION-SCREEN的PAI,

Parameter 'P_PARA1' 的值不会显示出来。所以用户看到这个消息会很费解,因为他还看不到那个值

P_PARA1 = 'ABC'.

如果能知道如何在两个u2019AT SELECTION-SCREEN ON u2018 之间刷新SELECTION-SCREEN就好了,不知道

可不可行。

试过u2019DYNP_VALUES_UPDATEu2018 ,好像不行。

Former Member
Not what you were looking for? View more on this topic or Ask a question