ABAP常用小技巧-知识点积累

7.4 Pretty Printer格式化打印机:
菜单项: Utilites->settings有相关项,选中Indent,Convert upper/lowercase同Keyword Uppercase.
7.5 建表或者结构的时候,会用到货币,数量等字段,此时系统会提示必须有一个引用表和引用字段。下面是F1帮助里的解释
A reference table is specified for fields containing currency amounts (date type CURR) or quantities (data type QUAN).
This must be a field ( reference field) with the currency key format (data type CUKY) or format for quantity units (data type UNIT). The assignment of the field to the reference field does not take place until runtime and is carried out by a program.
一个指定的参考表包含货币金额(数据类型为CURR)或者数量(数据类型为QUAN)字段。必有要有一个对应的参考字段(数据类型为CUKY或者数据类型为UNIT)。字段的分配是当程序调用运行时分配的。(翻译的不一定准确)
CURR<–>CUKY           QUAN<–>UNIT 需要成对出现
7.6 程序调用smartform的时候,一定要先用CALL FUNCTION ‘SSF_FUNCTION_MODULE_NAME’得到函数模块名称fm_name,
再用CALL FUNCTION fm_name进行调用SmartForm。直接使用/1BCDWB/SF00000228的话不安全,因为此值是会变化的。
(刚创建未激时与激活后此值不一样,其它什么时候会变化暂时不清楚)

相关新闻

联系我们

联系我们

130-0752-1773

在线咨询:点击这里给我发消息

邮件:info@sapzx.com

工作时间:周一至周五9:00-18:00,节假日正常休息

关注微信
关注微信
分享本页
返回顶部