您的位置:首页 > 其它

How to check if data has been changed

2014-08-04 16:07 99 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/huang850625/article/details/84622246 There is a system variable SY-DATAR. If any value is changed in the screen it will have 'X'.Otherwise it will be initial.

SY-DATAR is to be used along with a flag.

In PAI set flag using SY-DATAR.

ie

if sy-datar is not initial.
flag = 1.
endif.

Now in
Module exit_command..
if sy-datar is initial and flag is initial.
...
else.
.....
endif
endmodule


refer to:http://scn.sap.com/thread/787703
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐