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.
Execute function module SMOF0_READ_SMOFSUBINT with the following parameters:
There are eight check function modules returned as the error message is raised within function module CRM_BOM_ERP_CHECK_FOR_FATAL:
Then in sub routine check_parent, 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.