How To Fix AQ327 - The number of lines in the page header and the page footer is too big


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AQ - Message texts for SAP Query

  • Message number: 327

  • Message text: The number of lines in the page header and the page footer is too big

  • Show details Hide details
  • What causes this issue?

    You have defined header and footer lines for a sub-list, but the number
    of these lines including the standard underscore lines exceeds the
    number of lines you have specified per page.

    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?

    Set your page size so that there is enough space for other lines on the
    page besides the header and footer lines.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AQ327 - The number of lines in the page header and the page footer is too big ?

    The SAP error message AQ327, which states "The number of lines in the page header and the page footer is too big," typically occurs in the context of SAPscript or Smart Forms when the total number of lines defined in the page header and footer exceeds the allowed limit. This can happen when designing forms for printing documents, such as invoices or purchase orders.

    Cause:

    1. Excessive Lines: The primary cause of this error is that the combined number of lines in the page header and footer exceeds the maximum limit set by SAP. Each section (header and footer) has a defined number of lines that can be used, and exceeding this limit will trigger the error.
    2. Layout Design: The layout design may be overly complex, with too many fields or elements included in the header or footer sections.

    Solution:

    1. Reduce the Number of Lines: Review the page header and footer sections in your SAPscript or Smart Form. Try to minimize the number of lines by:

      • Removing unnecessary fields or elements.
      • Combining multiple fields into a single line if possible.
      • Using abbreviations or shorter text where applicable.
    2. Reorganize Layout: Consider reorganizing the layout to fit more information into fewer lines. This may involve adjusting the design to make better use of space.

    3. Check for Hidden Elements: Sometimes, hidden elements or fields may still count towards the line limit. Ensure that any hidden fields are truly not needed.

    4. Use Subforms: If the header or footer is too complex, consider using subforms to break down the information into smaller, manageable sections.

    5. Consult Documentation: Refer to SAP documentation or help resources for specific limits on the number of lines allowed in headers and footers for your version of SAP.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may provide additional guidance or updates related to this error.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they have found.
    • Testing: After making changes, test the form thoroughly to ensure that it meets business requirements and that the error does not reoccur.

    By addressing the number of lines in the page header and footer, you should be able to resolve the AQ327 error and successfully generate your documents.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author