When I create a client in xd01, not being completed for the synchronization bp. I went into the transaction mds_ppo2 to analyze the log and the following message appears:
"Business Partner Grouping foreign assignment is XXXX, enter a number."
I found it, numbering would automatically synchronize to the BP.
The number range of the client is the same as that bp.
maintain the number range for account group and maintain same number range in BP group and mark this as external number.
when you create customer through xd01, system check the BP group assigned to account group and the same number will flows for creation of BP.