错误消息Parent objects have not been downloaded

Keyword

ERP, BOM, BOMHED, BOMITM, SMOF0_READ_SMOFSUBINT, CRM_BOM_ERP_CHECK_FOR_FATAL

I am researching relationship BOMHED.
I have created the following download request in tcode R3AR2 to try to download a BOM from ERP:

When I perform request download, I meet with the following error message:

I go to tcode R3AC1 to check the parent tab of adapter object BOM_ERP. To my surprise, there is no parent information maintained.

Compare the parent setting for OBJCL:

So where are the parent information Materials, Equipment and Function locations mentioned in the error message coming from?
I debug the request download program itself to know the answer.
Then in sub routine check_parent of function module CRM_BOM_ERP_CHECK_FOR_FATAL, I found out that the parent of BOM_ERP is set dynamically according to the table name maintained in download request. In my case, it is material.

The parent check will only pass if the status of parent object is D ( finished ).

In my case, the download status of MATERIAL is R ( running )

This status could be found in tcode R3AM1:

After I fix the error of MATERIAL itself and repeat request download of BOM_ERP, the error message disappears.

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


你可能感兴趣的:(错误消息Parent objects have not been downloaded)