Symptom
You have created an Organizational unit XYZ, and Associated Business Partner which is Account XYZ has also been created but there is mismatch between the Organizational Unit Id and the Account Id when the Company indicator was set.
Environment
SAP Cloud for Customer
SAP Business ByDesign
Reproducing the Issue
- Go to Organizational Management work center
- Go to Org Structures view
- Search the Org Unit XYZ
- View the Org Unit
- In the Header section, the Associated Business Partner is YYYYY instead of XYZ
Cause
For the example in scenario, the situation of Organizational Unit XYZ and Account XYZ in the system may be as follows:
On DD1.MM1.YYYY1 HH1:MM1:SS1 the Account XYZ was created.
On DD2.MM2.YYYY2 HH2:MM2:SS2 the Account XYZ was set to status Obsolete.
On DD3.MM3.YYYY3 HH3:MM3:SS3 the Organizational Unit XYZ was created.
On DD4.MM4.YYYY4 HH4:MM4:SS4 the Company indicator for Organizational Unit XYZ was set.
The company indicator for Organizational Unit XYZ was not changed since then. ( i.e. Here XYZ is an Account ID and Organizational Unit)
Resolution
When an Organizational Unit is turned into a Company, but an Account with a matching Internal ID already exists the program logic has to assume that this Account is unrelated to the Organizational Unit since it has been created prior. Hence in this case (and only this case) the Account gets an Internal ID drawn from the Internal Number Range. Otherwise, when the Company indicator is reverted (and subsequently set) for an Organizational Unit this should not change the related Account.
Also, the Business Partner ID will be generated when the org unit is activated for the first time. During this time the business partner ID will be generated based on the Organizational Unit. If you desire to have a different or a new Business Partner ID, then it can be provided by using the internal Business Partner ID. This should be done before the Organizational Unit is activated for the first time.
If the Organizational Unit is already activated, there is no way to change the associated Business Partner ID.
Keywords
Organizational Unit, Company, Associated Business Partner, Account, Active, Business Partner ID , KBA , organizational unit , associated business partner , active , business partner id , AP-OM , Organisational Management , Problem