|
在使用BAPI和IDOC的方式进行数据迁移之前,都需要提前定义好partner profiles和ports。
这个这两者都是RFC,所以需要做这个操作一定程度上都能理解。
1、WE21 创建端口

2、WE20 创建伙伴参数

Add Inbound Message Type

3、维护对象属性

4、定义资源结构

5、定义字段
可以手动填上,也可以通过识别本地文件,TXT。

6、定义关系结构

7、字段mapping ,和转换规则
https://blogs.sap.com/2012/12/27/lsmw-material-master-by-bapi-method-part-1/
https://blogs.sap.com/2012/12/27/lsmw-material-master-by-bapi-method-part-2/
https://blog.csdn.net/zjjmac/article/details/2628390 |