The table CRMM_BUT_CUSTNO in CRM stores the mapping between CRM BP and ECC Customer. It corresponds to table CRMKUNNR (in ECC).
Entries are created in both the above tables when BP is replicated from ECC to CRM (during both Initial and Delta load)
However, the issue is whenever a BP is created in CRM WebUI it does not create entries in either of the above tables.
As a result searching ERP Orders based on BP number fails, since it does not find an entry in table CRMM_BUT_CUSTNO
(Searching logic in Class - CL_CRM_QORDER_RUN_ERPIL, Method - IF_CRM_QUERY_RUNTIME_ERPIL~GET_DYNAMIC_QUERY_RESULT)
Any idea on why the entries are not created when BP is created from CRM ?
PS - We have been through posts that discuss on how to synchronize both the above tables (eg:- SAP Note 536026). However, thats not the issue.