Message type: E = Error
Message class:  AA - Messages for Asset Accounting 
Message number: 678
Message text: Incorrect return data from BAdI &1 method &2
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 AA678, which states "Incorrect return data from BAdI &1 method &2," typically occurs when there is an issue with the implementation of a Business Add-In (BAdI) in the SAP system. This error indicates that the return data from the BAdI method does not match the expected format or structure.
Cause: Incorrect Implementation: The BAdI implementation may not be returning the expected data structure or type. This can happen if the developer has not correctly implemented the interface or method. Data Type Mismatch: The data types of the return values may not match what the calling program expects. Missing Return Values: The BAdI method may not be returning all the required values, leading to incomplete or incorrect data being processed. Versioning Issues: If there are multiple versions of the BAdI or if the BAdI has been changed but the implementation has not been updated accordingly, this can lead to discrepancies.
Solution: Check BAdI Implementation:
Get instant SAP help. Sign up for our Free Essentials Plan. 
AA677 Subsequent acquisition in depreciation area &1 although net book value 0
What causes this issue?  A subsequent acquisition (during the fiscal year) or a partial retirement was posted to depreciation area &V1&, altho...
AA676 The remaining support amount on asset &1-&2 will be negative
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AA679 Prohibited value transfer in field ORD_REV_CU for area &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AA680 *****Error Messages for Depreciation Posting
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.