Message type: E = Error
Message class:  FCO_SFIN - FI-CO Simplified Financials 
Message number: 145
Message text: Profile &2: COGS account &1 is not a cost element
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 FCO_SFIN145 indicates that the system has encountered an issue with the configuration of the Cost of Goods Sold (COGS) account in relation to the cost element. Specifically, the error states that the COGS account specified is not recognized as a cost element in the system.
Cause: Missing Cost Element: The COGS account specified in the error message is not defined as a cost element in the SAP system. Incorrect Account Assignment: The account may not be properly assigned to the relevant controlling area or may not be set up correctly in the financial accounting module.
Configuration Issues: There may be issues with the configuration of the controlling area or the account assignment in the financial settings.
Solution: To resolve this error, you can follow these steps: Check Cost Element Configuration: Go to transaction code KA01 (Create Cost Element) or KA02 (Change Cost Element). Verify if the COGS account specified in the error message is defined
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FCO_SFIN144 Profile/Account &1/&2: Strategy is not unique in strategy sequence
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FCO_SFIN143 Profile/Account &1/&2: Sequence Number is initial
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FCO_SFIN146 Profile &2: Offsetting account &1 is not a cost element
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FCO_SFIN147 Profile &2: Target account &1 is not a cost element
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.