How To Fix KY339 - Error occurred when creating print control file


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KY - Messages for SAP-EIS: Presentation

  • Message number: 339

  • Message text: Error occurred when creating print control file

  • Show details Hide details
  • What causes this issue?

    An error occurred which is probably due to a program error.

    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?

    Contact the SAP hotline.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KY339 - Error occurred when creating print control file ?

    The SAP error message KY339, which states "Error occurred when creating print control file," typically occurs during the printing process in SAP, particularly when dealing with forms and print layouts. This error can arise due to various reasons, including configuration issues, file system permissions, or problems with the print driver.

    Causes of KY339 Error

    1. File System Permissions: The user or the SAP system may not have the necessary permissions to create or write to the directory where the print control file is being generated.

    2. Incorrect Configuration: The print settings or the output device configuration may be incorrect. This includes settings in the SAP spool configuration or the printer settings.

    3. Printer Driver Issues: The printer driver may not be installed correctly or may be incompatible with the SAP system.

    4. Network Issues: If the printer is networked, there may be connectivity issues preventing the SAP system from communicating with the printer.

    5. Temporary System Issues: Sometimes, temporary issues with the SAP system or the underlying operating system can cause this error.

    Solutions to KY339 Error

    1. Check Permissions:

      • Ensure that the user account running the SAP system has the necessary permissions to create files in the specified directory.
      • Check the operating system's file system permissions for the directory where the print control file is being created.
    2. Review Printer Configuration:

      • Go to transaction SPAD (Spool Administration) and check the configuration of the output device.
      • Ensure that the output device is correctly configured and that the correct print driver is assigned.
    3. Test Printer Connectivity:

      • Verify that the printer is online and accessible from the SAP system.
      • Perform a test print from the SAP system to ensure that the printer is functioning correctly.
    4. Check Spool Settings:

      • In transaction SP01 (Spool Request), check for any failed spool requests and analyze the logs for more details on the error.
      • Ensure that the spool settings are correctly configured.
    5. Review System Logs:

      • Check the system logs (transaction SM21) for any related error messages that might provide more context about the issue.
    6. Restart SAP Services:

      • If the issue persists, consider restarting the SAP services or the application server to clear any temporary issues.
    7. Consult SAP Notes:

      • Search for relevant SAP Notes in the SAP Support Portal that may address this specific error or provide patches or updates.

    Related Information

    • Transaction Codes:

      • SPAD: Spool Administration
      • SP01: Spool Request
      • SM21: System Log
    • SAP Support: If the issue cannot be resolved with the above steps, consider reaching out to SAP Support for further assistance, providing them with detailed information about the error and the steps already taken.

    By following these steps, you should be able to diagnose and resolve the KY339 error in SAP.

    • 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