How To Fix K6021 - Please set the default window size in the batch input


SAP Error Message - Details

  • Message type: E = Error

  • Message class: K6 - EC-EIS/EC-BP data basis: Data entry and collection

  • Message number: 021

  • Message text: Please set the default window size in the batch input

  • Show details Hide details
  • What causes this issue?

    The window does not have exactly 22 lines. This is necessary for
    technical reasons. When creating the session it is not known, how big
    the window is, in which the session is to be processed.

    System Response

    The batch input must be terminated.

    How to fix this error?

    The procedure depends on the window system. You can create a new mode
    under 'Motive'. This automatically has the correct size. Under other
    windows systems you have the opportunity to set the window size to
    'Default' under settings. Reprocess the session.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message K6021 - Please set the default window size in the batch input ?

    The SAP error message K6021, which states "Please set the default window size in the batch input," typically occurs when you are trying to run a batch input session in SAP, and the system requires a specific window size to process the input correctly.

    Cause:

    The error is usually caused by the following reasons:

    1. Window Size Not Set: The default window size for batch input sessions has not been configured in the SAP system.
    2. Incorrect Configuration: The configuration settings for the batch input session may not be aligned with the requirements of the transaction being processed.
    3. Screen Resolution Issues: The screen resolution or display settings of the SAP GUI may not be compatible with the batch input session.

    Solution:

    To resolve the K6021 error, you can follow these steps:

    1. Set Default Window Size:

      • Go to transaction code SHD0 (Transaction Variants).
      • Select the relevant transaction for which you are trying to run the batch input.
      • In the settings, look for the option to set the default window size. You may need to specify the width and height in pixels.
    2. Adjust SAP GUI Settings:

      • Open the SAP GUI and navigate to the options/settings.
      • Check the display settings and ensure that the window size is set appropriately for batch input processing.
    3. Use Transaction SM35:

      • Go to transaction SM35 to process the batch input session.
      • Ensure that the session is correctly configured and that the window size is set as required.
    4. Check for Updates:

      • Ensure that your SAP system is up to date with the latest patches and updates, as this may resolve any underlying issues related to batch input processing.
    5. Consult Documentation:

      • Refer to SAP documentation or help resources for specific instructions related to your version of SAP, as the steps may vary slightly.

    Related Information:

    • Batch Input Sessions: These are used in SAP to automate data entry processes by simulating user input.
    • Transaction Variants: These allow you to customize the behavior of standard transactions in SAP.
    • SAP GUI: The graphical user interface for accessing SAP applications, which can be configured for optimal performance.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or technical team for further assistance, as they may have additional insights or access to system logs that can help diagnose the problem.

    • 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