Message type: E = Error
Message class:  FKK_ID_XX_SAFT - SAFT message 
Message number: 004
Message text: Company code &1 is not valid for country &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 FKK_ID_XX_SAFT004 indicates that the company code specified in the transaction is not valid for the country associated with that company code. This error typically arises in the context of the SAP Convergent Charging or SAP Contract Accounts Receivable and Payable (FI-CA) modules, especially when dealing with country-specific regulations or configurations.
Cause: Invalid Company Code: The company code entered does not exist in the system or is not properly configured for the specified country. Country Configuration: The company code may not be assigned to the correct country in the system settings. Data Entry Error: There may be a typographical error in the company code or country code entered in the transaction. Missing Configuration: The necessary configuration for the company code in relation to the country may not have been completed.
Solution: Verify Company Code: Check if the company code entered is correct and exists in the system. You can do this by navigating to
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FKK_ID_XX_SAFT003 Function module &1 not yet defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKK_ID_XX_SAFT002 Function module &1 and &2 must have the same parameter settings
What causes this issue?  You are creating a function module based in a pre-delivered function module and you are not able to assign it in the Customiz...
FKK_ID_XX_SAFT005 Enter a value in the field 'Document Type From'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FKK_ID_XX_SAFT006 Enter a value in the field 'Origin Key From'
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.