Once you have added ZJERRY1022P1 to object ZJERRY1022O1, there will be one inbound queue automatically generated in CRM:
SMW3_MFLOW_QPROCESSMBDOC\
smw3_flow_execute
首先拿到三个待执行的function module:
拿到replication的module name:
这个FM内并没做实际的事情:
call outbound adapter:
这个function module会determine出CRM使用哪个outbound queue来发送hierarchy change请求:
call mapping function module:
这个mapping function module 里面有一个步骤需要determine出当前CRM发生的hierarchy change:
新的hierarchy:
parent: 3440B5B172DE1EE496B427C619F796DD -
child: 3440B5B172DE1EE496B433D2B35C16DE
parent: 3440B5B172DE1EE496B427C619F796DD -
child: 3440B5B172DE1EE496B433D2B35C16DE
mapping函数执行完后,flow状态设为processed, 同时BAPIMTCS里有一个entry:
在下面这个FM里,进行真正的数据发送:
这个RFC 不会立即执行,而是在CRM的outbound queue里生成一个新的queue:
发送参数:
该step执行完毕后的结果: