How To Fix AQ793 - Program names AQ...... are reserved for ABAP query


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AQ - Message texts for SAP Query

  • Message number: 793

  • Message text: Program names AQ...... are reserved for ABAP query

  • Show details Hide details
  • What causes this issue?

    The ABAP query names its generated reports according to certain
    conventions. The names of all reports generated from queries start with
    the characters AQ.
    If you create your own report and its name begins with AQ, you interfere
    with the work of the ABAP query since queries then cannot be defined
    with certain names. Since the namespace for queries is not very large,
    every extra restriction is bothersome.

    System Response

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

    How to fix this error?

    Do not use a name beginning with AQ for your own reports.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AQ793 - Program names AQ...... are reserved for ABAP query ?

    The SAP error message AQ793 indicates that the program names starting with "AQ" are reserved for ABAP Query. This error typically occurs when a user attempts to create or execute a program with a name that begins with "AQ", which is not allowed due to naming conventions in SAP.

    Cause:

    1. Naming Convention Violation: The program name you are trying to use starts with "AQ", which is reserved for ABAP Query programs.
    2. User Error: A user may have mistakenly tried to create a report or program with an invalid name.

    Solution:

    1. Rename the Program: Change the name of your program to something that does not start with "AQ". For example, you could use a prefix like "Z" or "Y", which are commonly used for custom developments in SAP.
    2. Check Existing Programs: If you are trying to execute an existing program, ensure that it is not mistakenly named with the "AQ" prefix. If it is, you will need to rename it.
    3. Consult Documentation: Review SAP documentation or guidelines regarding naming conventions for custom programs to avoid similar issues in the future.

    Related Information:

    • ABAP Naming Conventions: SAP has specific naming conventions for different types of objects. Custom programs typically start with "Z" or "Y" to differentiate them from standard SAP objects.
    • ABAP Query: ABAP Query is a tool in SAP that allows users to create reports without needing to write ABAP code. Programs starting with "AQ" are automatically associated with this functionality.
    • SAP Notes: Check SAP Notes for any updates or additional information regarding this error message, as there may be specific patches or recommendations from SAP.

    If you continue to experience issues or if the error message appears in a different context, it may be helpful to consult with your SAP Basis or ABAP development team for further assistance.

    • 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