How To Fix QG158 - Impermissible page format


QG158 - Overview

  • Message type: E = Error

  • Message class: QG - QM: Evaluation of inspection results

  • Message number: 158

  • Message text: Impermissible page format

  • Show details Hide details
  • What causes this issue?

    In a spool job defined by the function modules OPEN_FORM and CLOSE_FORM,
    only layout sets with identical page formats may be used.
    The new layout set has a page format that differs from the previous
    layout sets used in this spool job.

    System Response

    This causes the program to terminate.

    How to fix this error?

    The problem can only be rectified by a program change.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message QG158 - Impermissible page format ?
    The SAP error message QG158, which states "Impermissible page format," typically occurs in the context of SAPscript or Smart Forms when there is an issue with the page format settings in the form or layout. This error can arise due to various reasons, such as incorrect page size settings, incompatible printer settings, or issues with the form design.
    Causes:
    
    Incorrect Page Size: The page size defined in the SAPscript or Smart Form does not match the printer's capabilities or the specified output format.
    Incompatible Printer Settings: The printer settings may not support the specified page format (e.g., A4, Letter, etc.).
    Form Design Issues: There may be design elements in the form that are not compatible with the defined page format.
    Output Device Configuration: The output device configuration in SAP may not be set up correctly to handle the specified page format.
    
    Solutions:
    
    
    Check Page Format Settings:
    
    Go to the Smart Form or SAPscript and verify the page format

    Already have an account? Login here!




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:
  • QG157 The printout has been successfully completed
    What causes this issue? The printout of the inspection results has been successfully completed. Lots were found for all selection criteria.System Res...

  • QG156 The layout set printout is not open
    What causes this issue? The current layout set function could not be carried out, since the layout set output has nit yet been initialized in the fun...

  • QG159 No form opened yet
    What causes this issue? When calling up one of the parameters FORM or LANGUAGE only blanks were transferred. A layout set has yet to be selected, who...

  • QG160 Text element does not exist
    What causes this issue? The text element entered in the ELEMENT parameter does not exist in the current layout set window. Possible causes: The eleme...

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