网络上一直没有很好的总结它们之间不同之处的文章, 我在这里做一下总结:
1, smartform在激活的时候会自动地创建一个功能模块, 而SAPscript则不会;
2, smartform可以直接书写子程序, 使用"Program Line"节点, 而SAPscript则只能使用控制命令语句PERFORM调用subroutine;
3, SAPscript是基于client的, 而smartform不区分在任何client;
4, smartform的字体可以应用color, 而SAPscript则不能;
5, SAPscript的每个page都只能统一按照横向和竖向页面格式, 而smartform则可以不统一格式;
另外在这里对网上一些错误的理解做一下纠正:
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
它们都可以支持多页面格式
b) It is possible to have a smartform without a main window .
smartform是默认就有main window, 而不是可以不需要main window.
c) Labels cannot be created in smartforms.
smartform同样可以在smartstyles里面定义BARCODE字体.
d) Sapscript can uploaded/Downloaded whereas smartforms cannot.
它们都可以下载和上传.