Created by Jerry Wang, last modified on Oct 16, 2014
参考这篇document给product master 或者其他business transaction 创建word格式的attachment,并且这些word document能够支持web service:
我们可以将Genil model里支持web service的node上的field直接在word application里从右边的树状结构里拖拽到word左边的编辑区域:
当在UI上给product创建word attachment时,系统会自动call Genil Model PROD暴露出来的web service取得当前product instance的值并且赋给wrod document里对应的字段。系统提供了一个BAdI enhancement spot允许客户自定义:
BAdI的filter value设置成webservice的technical name:
可以利用该BAdI implementation 处理一些默认被Web service framework 过滤掉的属性为hidden的字段,如product的UPNAME: