Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SRF_GENERATION005 - Mandatory parameters Company code or Document date are not passed


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SRF_GENERATION - Messages from report generation

  • Message number: 005

  • Message text: Mandatory parameters Company code or Document date are not passed

  • 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 SRF_GENERATION005 - Mandatory parameters Company code or Document date are not passed ?

    The SAP error message SRF_GENERATION005 indicates that mandatory parameters, specifically the Company Code or Document Date, are not being passed in a transaction or process that requires them. This error typically occurs in the context of document generation or processing within SAP, such as when creating financial documents, invoices, or other related entries.

    Cause:

    1. Missing Parameters: The most common cause is that the required fields (Company Code and Document Date) are not filled in the transaction or program that is being executed.
    2. Incorrect Configuration: There may be issues with the configuration of the document type or the related settings in the SAP system.
    3. User Input Error: The user may have overlooked entering these mandatory fields in the user interface.
    4. Programmatic Issues: If the error occurs in a custom program or report, there may be a bug or oversight in the code that fails to pass these parameters.

    Solution:

    1. Check Input Fields: Ensure that both the Company Code and Document Date fields are filled in correctly before executing the transaction.
    2. Review Configuration: If you have access, check the configuration settings for the document type or process you are working with to ensure that the parameters are correctly defined as mandatory.
    3. Debugging: If the error occurs in a custom program, review the code to ensure that the parameters are being passed correctly. You may need to debug the program to identify where the parameters are being omitted.
    4. Consult Documentation: Refer to SAP documentation or help resources for the specific transaction or process to understand the required parameters and their significance.
    5. User Training: If this is a recurring issue, consider providing additional training or documentation for users to ensure they understand the importance of these fields.

    Related Information:

    • Transaction Codes: Depending on the context, you may be working with various transaction codes (e.g., FB60 for vendor invoices, FB70 for customer invoices).
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Support: If the issue persists after checking the above points, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    By ensuring that the mandatory parameters are correctly provided, you should be able to resolve the SRF_GENERATION005 error and proceed with your transaction or document generation.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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