Message type: E = Error
Message class:  FINS_ACDOC_CUST - Unified Journal Entry - Customizing 
Message number: 178
Message text: Ledger &2 assigned to company code &1
You have assigned ledger &V2& to company code &V1&.
Postings exist in company code &V1&.
To ensure the consistency of the data for a company code that is already
used, other activities need to be performed, such as the following:
Define assignment time/date
Ensure completeness
Build opening balances of the new ledger
This function can only be performed with the assistance of the SAP
General Ledger Migration Service.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If company code &V1& is already used in your production system, you need
to cancel the assignment and start by activating the migration service.
Otherwise, it is not possible to update the posting data consistently to
the ledger or to build balances.
If company code &V1& is not used in your production system, you can save
the assignment in this step. In this case, however, the data in the
ledger will not be complete, and the system cannot create opening
balances for the ledger.
If company code &V1& has been created as new, you can save the
assignment in this step and create the data by transferring it from the
feeder system or by using opening postings.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message FINS_ACDOC_CUST178 indicates that there is an issue with the assignment of a ledger to a company code in the system. Specifically, it means that the ledger you are trying to use is not assigned to the specified company code.
Cause: Missing Assignment: The ledger you are trying to use has not been assigned to the specified company code in the configuration settings. Incorrect Configuration: There may be a misconfiguration in the financial accounting settings, leading to the ledger not being recognized for the company code. Data Entry Error: The company code or ledger being referenced may have been entered incorrectly.
Solution: To resolve this error, you need to ensure that the ledger is properly assigned to the company code. Here are the steps to do this: Access the Configuration: Go to the SAP Easy Access screen. Navigate to the following path: SPRO -> SAP Reference IMG -> Financial Accounting (New) -> General Ledger Accounting (New)
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FINS_ACDOC_CUST177 Check currency code &2 of currency type &1, CoCode &4; it should be &3.
What causes this issue?  The currency code of a currency type is defined by its base currency type. For company code &V4&, the currency key of...
FINS_ACDOC_CUST176 Please check currency code &2 of currency type &1; it should be &4.
What causes this issue?  The currency code of a currency type is defined by its base currency type. Currency type &V3& is the base currency ty...
FINS_ACDOC_CUST179 Please define currency code for currency type &1, company code &2.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FINS_ACDOC_CUST180 The following messages appeared for client &1:
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.