SAP CRM One Order shipping set的两步创建步骤

Created by Wang, Jerry on May 09, 2017

The creation of shipping set is splited into two steps.

  1. triggered by CRM_SHIPPING_MAINTAIN_OW:
SAP CRM One Order shipping set的两步创建步骤_第1张图片

in this step since it is in creation, no link is found.

SAP CRM One Order shipping set的两步创建步骤_第2张图片

As a result execute CRM_SHIPPING_CREATE_OW.

SAP CRM One Order shipping set的两步创建步骤_第3张图片

In this function module the set guid of shipping is generated by CRM_GUID_CREATE.

SAP CRM One Order shipping set的两步创建步骤_第4张图片

An initial shipping data( all other fields are initial except guid ) are put to object buffer.

SAP CRM One Order shipping set的两步创建步骤_第5张图片 SAP CRM One Order shipping set的两步创建步骤_第6张图片

Inside this OW function module the link record is created.

SAP CRM One Order shipping set的两步创建步骤_第7张图片

shipping guid: 6C0B84B754971ED78D81942811CF4011
header: 6C0B84B754971ED78D818B08FB1C000A
Then we come to CRM_SHIPPING_CHANGE_OW, here now ls_shipping_wrk already contains the latest data maintained in WebUI:

SAP CRM One Order shipping set的两步创建步骤_第8张图片 SAP CRM One Order shipping set的两步创建步骤_第9张图片 SAP CRM One Order shipping set的两步创建步骤_第10张图片

This latest data is set to object buffer now accordingly:
SAP CRM One Order shipping set的两步创建步骤_第11张图片
SAP CRM One Order shipping set的两步创建步骤_第12张图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

你可能感兴趣的:(CRM,CRM)