Do you have any question about this error?
Message type: E = Error
Message class: FI - TR-FM Funds Management
Message number: 320
Message text: Company code was not entered in the function module interface
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.
FI320
- Company code was not entered in the function module interface ?The SAP error message FI320, which states "Company code was not entered in the function module interface," typically occurs when a function module that requires a company code parameter is called without providing this necessary information. This can happen in various scenarios, such as during the execution of financial transactions, report generation, or custom development.
Cause:
- Missing Company Code: The most common cause is that the company code parameter is not being passed to the function module when it is called.
- Incorrect Configuration: There may be issues with the configuration of the function module or the calling program.
- Custom Development Issues: If the error arises from a custom program or enhancement, it may be due to incorrect coding or logic that fails to set the company code.
- User Input: In some cases, the user may not have entered the company code in the relevant input fields.
Solution:
Check Function Module Call: Review the code where the function module is called. Ensure that the company code is being passed correctly. For example, if the function module is
FI_DOCUMENT_CHECK
, make sure the company code is included in the parameters.CALL FUNCTION 'FI_DOCUMENT_CHECK' EXPORTING company_code = <your_company_code> ...
Input Validation: If the company code is supposed to be entered by the user, ensure that there is proper validation in place to check that the company code is not empty before proceeding with the function call.
Debugging: Use the debugger to step through the code and check the values being passed to the function module. This can help identify where the company code is being lost or not set.
Review Custom Code: If the error is occurring in a custom program, review the logic to ensure that the company code is being set correctly before the function module is called.
Check Configuration: If the error is occurring in standard SAP transactions, check the configuration settings related to the company code to ensure that everything is set up correctly.
Consult Documentation: Refer to the SAP documentation for the specific function module to understand the required parameters and their expected values.
Related Information:
By following these steps, you should be able to identify the cause of the FI320 error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
FI319
Item category &1 does not match item category &2 of top item
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI318
Fin.transaction &1 does not match fin.transaction &2 of top item
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI321
Tax settings have not been made in Customizing for FM; use transactn OFUP
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI322
Functional area and cost of sales accounting (company code &1) active
What causes this issue? The functional area was activated in the basic settings for Public Sector Management. Cost of sales accounting is active in c...
Click on this link to search all SAP messages.