How To Fix 5M279 - You must give the company name when sending/receiving via RFC


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5M - Error Messages for Denmark

  • Message number: 279

  • Message text: You must give the company name when sending/receiving via RFC

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 5M279 - You must give the company name when sending/receiving via RFC ?

    The SAP error message 5M279, which states "You must give the company name when sending/receiving via RFC," typically occurs in the context of Remote Function Call (RFC) communications between different SAP systems or between an SAP system and an external system. This error indicates that the company code (or company name) is required for the operation being performed, but it has not been provided.

    Cause:

    1. Missing Company Code: The most common cause of this error is that the company code is not specified in the RFC call. This can happen if the calling program or configuration does not include the necessary company code information.
    2. Configuration Issues: There may be issues in the configuration of the RFC destination or the function module being called, which may not be set up to handle the company code correctly.
    3. Authorization Issues: Sometimes, the user or system may not have the necessary authorizations to access the company code, leading to this error.

    Solution:

    1. Specify Company Code: Ensure that the company code is included in the RFC call. This can usually be done by modifying the parameters of the function module being called to include the company code.
    2. Check RFC Destination: Verify the configuration of the RFC destination in transaction SM59. Ensure that the destination is correctly set up and that the necessary parameters, including the company code, are configured.
    3. Review Function Module: If you are using a custom function module, check its implementation to ensure that it correctly handles the company code parameter. If it is a standard SAP function module, refer to the documentation to understand the required parameters.
    4. Authorization Check: Ensure that the user or system executing the RFC call has the necessary authorizations to access the specified company code. This can be checked in transaction SU53 after the error occurs.
    5. Debugging: If the issue persists, consider debugging the RFC call to trace where the company code is being omitted. This can help identify if the issue is in the calling program or in the configuration.

    Related Information:

    • Transaction Codes:
      • SM59 - To manage RFC destinations.
      • SE37 or SE80 - To view or modify function modules.
      • SU53 - To check authorization issues.
    • Documentation: Refer to SAP Help documentation for the specific function module you are using to understand its parameters and requirements.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional context or solutions.

    By following these steps, you should be able to resolve the error message 5M279 and ensure that the company code is correctly included in your RFC communications.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant