We have a requirement to create customers in ECC (ECC 6.0 EhP4) from CRM (CRM 7.0 SP4) Business Partners. The issue is BDoc is failing with error"Fill in required fields".
On debugging I found that system is doing a BDC to transaction XD01 and the BDC screen sequence is generated by a function DEBITOR_BDCDATA. This function is not generating the screen data for mandatory address fields and hence this error.
On further analysis I found that system checks if you have central address management (BAS) active and if yes it skips that part of code which is responsible to generate screen sequence for address fields. This is due to that fact that system has already posted the address data and issued an address number before moving to FM DEBITOR_BDCDATA (ALE serialization where address should be posted before customer/vendor master data).
The serialization concept is fine to me however the issue is how do we generate the skipped address fields here to post the customer. I did find a BADI to implement custom screen data in internal table FT but I am not sure if I should use it as posting ECC customer is supposed to be a standard SAP behavior and there might be something I am missing here.
Has anyone tried this scenario before? Any ideas on this?
Thanks for looking into my thread.