Message type: E = Error
Message class:  FINS_MIG_HIST_BAL -  
Message number: 017
Message text: Document Currency must be filled
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message FINS_MIG_HIST_BAL017 indicates that during a migration process, the document currency field is not filled in a historical balance record. This error typically occurs when migrating financial data, such as during a system upgrade or data transfer from legacy systems to SAP S/4HANA.
Cause: The primary cause of this error is that the historical balance records being migrated do not have a value in the document currency field. This can happen due to: Data Extraction Issues: The data extracted from the legacy system may not have included the document currency. Mapping Errors: During the mapping of fields from the legacy system to SAP, the document currency field may not have been correctly mapped. Incomplete Data: The source data may be incomplete or incorrectly formatted, leading to missing values in required fields.
Solution: To resolve this error, you can take the following steps: Check Source Data: Review the source data to ensure that the document currency
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FINS_MIG_HIST_BAL016 G/L Account must be filled
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FINS_MIG_HIST_BAL015 Company Code must be filled
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FINS_MIG_HIST_BAL018 Local Currency must be &1 for &2 company code
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FINS_MIG_HIST_BAL019 Group Currency must be &1 for &2 company code
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.