How To Fix DA168 - Row &1: Illegal control printout '&2'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DA - Dictionary: Compare, distribution, timer, instantiation

  • Message number: 168

  • Message text: Row &1: Illegal control printout '&2'

  • Show details Hide details
  • What causes this issue?

    The given control printout is not allowed.

    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?

    Correct the control printout.
    A control printout has the form:
    {x$identifier$ ... }, where x is from 'CFST' or
    {C$identifier op operand$ ... } or
    {T$table_identifier WHERE identifier op operand$ ... }
    op is at most a 2-place ABAP operator and operand is either an
    identifier, a string enclosed in ' or an integer number.
    An identifier only contains alphanumeric characters and '_/-%'. It is
    not enclosed in '&'.
    The control printout must be on a line with the separator '$' preceding
    and following it. You cannot prevent a line feed with '\'.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DA168 - Row &1: Illegal control printout '&2' ?

    The SAP error message DA168, which states "Row &1: Illegal control printout '&2'," typically occurs in the context of SAPscript or Smart Forms when there is an issue with the control printout settings in a print layout or form.

    Cause:

    1. Invalid Control Printout: The error indicates that there is an attempt to use a control printout that is not valid or not defined correctly in the form or layout.
    2. Incorrect Configuration: The control printout may not be configured properly in the SAPscript or Smart Form, leading to this error.
    3. Data Issues: The data being processed may not match the expected format or values for the control printout.

    Solution:

    1. Check Control Printout Configuration:

      • Go to the SAPscript or Smart Form where the error is occurring.
      • Verify that the control printout specified in the form is valid and correctly defined.
      • Ensure that the control printout is supported by the form and that it is not misspelled or incorrectly referenced.
    2. Review the Form Logic:

      • Check the logic in the form to ensure that the control printout is being called correctly.
      • Look for any conditions or loops that might be affecting the control printout.
    3. Test with Sample Data:

      • Run the form with sample data to see if the error persists. This can help identify if the issue is data-related.
    4. Consult Documentation:

      • Refer to SAP documentation or help resources for guidance on control printouts and their usage in SAPscript or Smart Forms.
    5. Debugging:

      • If the issue is not resolved, consider debugging the form to trace where the error is occurring and gather more information about the context of the error.

    Related Information:

    • SAPscript and Smart Forms: These are tools used in SAP for designing and printing forms. Understanding how they work can help in troubleshooting issues like DA168.
    • Transaction Codes: You may need to use transaction codes like SMARTFORMS or SE71 to access and modify the forms.
    • SAP Notes: Check for any relevant SAP Notes that might address this specific error or provide additional troubleshooting steps.

    If the problem persists after following these steps, it may be beneficial to reach out to your SAP support team or consult with an SAP expert 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