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

Close

How To Fix VF274 - You cannot use custom routines to create BDRs - only billing documents.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VF - Billing

  • Message number: 274

  • Message text: You cannot use custom routines to create BDRs - only billing documents.

  • Show details Hide details
  • What causes this issue?

    You have tried to enter a custom routine number for a billing type that
    represents a billing document request. Examples of these billing types
    include BDR1, BDRC, and SVCB.
    However, you cannot assign a custom routine number to this billing type
    because custom routines can only be used to create billing documents.
    Custom routines cannot be used to create billing document requests.

    System Response

    No custom routine number is assigned.

    How to fix this error?

    You can assign a routine number to any other billing types, just not
    those billing types that represent billing document requests.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VF274 - You cannot use custom routines to create BDRs - only billing documents. ?

    The SAP error message VF274, "You cannot use custom routines to create BDRs - only billing documents," typically occurs in the context of billing document processing in SAP. This error indicates that there is an attempt to use a custom routine for creating Billing Document Requests (BDRs), which is not allowed. Instead, custom routines can only be used for creating billing documents.

    Cause:

    1. Custom Routines Misconfiguration: The error usually arises when a custom routine is incorrectly configured or called in a context where it is not applicable, specifically when trying to create BDRs instead of billing documents.
    2. Incorrect Function Module: The function module being used may not be appropriate for the operation being performed, leading to this error.
    3. Process Flow Issues: The process flow may be incorrectly set up, leading to an attempt to create a BDR using a method that is only valid for billing documents.

    Solution:

    1. Review Custom Routines: Check the custom routines that are being used in the billing process. Ensure that they are only being called in the context of creating billing documents and not BDRs.
    2. Adjust Function Module Calls: If a custom routine is being called in the wrong context, modify the code to ensure that it is only invoked when creating billing documents.
    3. Use Standard Functionality: If possible, rely on standard SAP functionality for creating BDRs instead of custom routines. This can help avoid compatibility issues.
    4. Debugging: Use the SAP debugger to trace the execution flow and identify where the custom routine is being incorrectly invoked. This can help pinpoint the exact cause of the error.
    5. Consult Documentation: Review SAP documentation or notes related to billing document processing to ensure compliance with best practices.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide guidance on best practices for billing document processing.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as VF01 (Create Billing Document), VF02 (Change Billing Document), and VF03 (Display Billing Document) to understand the standard processes.
    • Custom Development Guidelines: If custom development is necessary, ensure that it adheres to SAP's guidelines for enhancing standard processes without causing conflicts.

    By following these steps, you should be able to resolve the VF274 error and ensure that your billing processes function correctly. If the issue persists, consider reaching out to SAP support or consulting with an SAP expert for further assistance.

    • 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