关于DS中别名SAP官方文档是下面这样解释的,乍看一遍不知道在什么地方会用到,实际项目中都是有开发测试生产三台机器的,
至少也有两台,如果两台机器的schema名字不同,DS的传输就会造成麻烦,要么导入传输文件之前手动修改,要么导入后手动修改Data Store。至于造成Schema不同的原因,除了前期考虑不周外,如果数据库是SAP ERP,开发测试用不同的系统ID也正常。
这时候如果用别名把三个系统的Schema名字都映射到一个名字上,传输过程就不会产生手动工作量了。
About working with Aliases
An alias is a logical owner name that you create for objects that you use in different database environments.
Create an alias in the Configurations for Datastore dialog box that you open from the datastore editor. Create an alias for any datastore configuration as applicable. An alias maps to an owner name.
Example
>>>If the real owner name of a table is real_owner1, create an alias name of ALIAS1 and relate the alias name with the real owner name. Each time you use the table object in Data Services, the owner name displays as ALIAS1.
When you delete an alias name, the delete operation also deletes each owner name applied for each configuration. The software removes the selected row from the Configurations for Datastore dialog box, which includes the alias and all assigned owner names.