ITeye博客

How to check if data has been changed

huang850625 · 2014-08-04 16:07 · 行业应用 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。