Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SMARTFORMS591 - For tips, see long text


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SMARTFORMS - Smart Forms - Form Builder

  • Message number: 591

  • Message text: For tips, see long text

  • Show details Hide details
  • The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    The internal display of a Smart Form
    Tables <AB>t_ntokens, t_objt, t_ltext</> are output. The
    language-dependent texts of the Smart Form are contained in <AB>t_ltext
    </>. All objects of the Smart Form, with the exception of those of the
    classes <AB>lcl_smartform</> and <AB>lcl_node</>, are listed in
    <AB>t_objt</>. The values that assume the attributes of these objects
    are stored in <AB>t_ntokens</>.
    The lines of <AB>t_ntokens </> have two components. The first component
    contains a node type (NO, PA, WI, and so on). The second component
    contains a table, the lines of which have the following components:
    <AB><ZH>tbegin</> </> numbers the lines
    <AB><ZH>ttype</> </> can have the values {, }, [, ], (, ), <(><<)>, >,
    and @. Meaning (see Example): The different types of open and closed
    brackets indicate the start or the end of an object, a table, a table
    line, or a structure. @ indicates a field. The name of the node, the
    table, the structure, or the field is found in <AB>tname</>.
    <AB><ZH>tend</></>. If a bracket is open in <AB>ttype</>, <AB>tend</>
    contains the number of the line in which this bracket closes.
    Otherwise <AB>tend
    </> is initial.
    <AB><ZH>tname</></> contains the name of a table, a structure, or a
    field.
    <AB><ZH>value</></> is initial if <AB>ttype</> is a bracket. If
    <AB>ttype = '@'</>, <AB>value</> contains the value of the field whose
    name is in <AB>tname</>.
    <ZH>Example </> of the type of storage in <AB>t_ntokens</>: Let us
    assume that an object of the class <AB>lcl_node</> has the two
    attributes <AB>nodetype = 'TI'</> and <AB>l_obj_name</>; the latter is
    a structure with components <AB>iname = 'TEXT1'</> and <AB>vari = space
    </>. Six lines of the table are filled: The start and the end of the
    object are marked in the first and sixth lines. Line 2 contains the
    name and value of the field <AB>nodetype</>. Lines 3 to 5 are available
    for the structure <AB>l_obj_name</>: namely, line 3 for the start of
    the structure, line 4 for the name and the value of the field <AB>iname
    </> and, finally, line 5 for the end of the structure. The field
    <AB>vari</> is not listed because its value is initial.,,
    ,,t<AB>begin,,</>ttype,,<AB>tend,,</>tname,,,,value,,
    ,,<AB>000001,,{,,000006,,%NODE0000000058,,,,</>
    ,,000002,,@,,000000,,nodetype,,,,TI,,,,
    ,,000003,,<,,000005,,l_obj_name,,
    ,,000004,,@,,000000,,iname,,,,TEXT1
    ,,000005,,>,,000000,,l_obj_name
    ,,000006,,},,000000,,%NODE0000000058
    Functions of extended internal display
    You can choose between two displays of the internal form of a Smart
    Form. In contrast to the old display, the extended display provides the
    functions listed below.
    To increase clarity, you can hide lines of the list.
    <ZH>"Collapse All": </> Only the lines with <AB>ttype = '{'</> or
    <AB>'}'</> are displayed. This is the default display.
    <ZH>"Expand All": </>All lines are displayed.
    <ZH>Choose Line and "Collapse" or "Expand": </> The lines with an open
    or closed bracket in the component <AB>ttype</> form pairs. If you
    select one of the two lines of such a pair and choose "Collapse", all
    the lines in between are hidden. If you choose "Expand", these lines
    are made visible again. Choose "Expand Once" to display only the lines
    of the next nesting level.
    You can navigate between the lines of the list.
    <ZH>Navigation: </> A line pair with curved brackets in the component
    <AB>ttype</> refer to an object in the Smart Form. The lines in between
    hold the information about the attributes of this object. This includes
    references to successor objects in the Smart Form. You can double-click
    on a line with the name of a successor ( <AB>ttype = '@'
    </>, <AB>tname = 'iname'
    </>, <AB>value = <Successor></>) and then navigate to the lines of the
    list that refer to this successor.
    <ZH>"Parent Node": </> Revokes the above navigation. If you select a
    line with curved brackets in the component <AB>ttype</> and choose
    "Parent Node", the object that has the chosen object as its successor
    is displayed (provided such an object exists).
    You can make changes to the table <AB>t_ntokens</>.
    <ZH> "Value Entry": </> The tables can be configured so that they can
    receive entries. The value of the component <AB>value </> can then be
    changed in every line in which the component <AB>ttype </> has the
    value <AB>'@'</>.
    <ZH>Choose Lines and "Delete": </>. If <AB>ttype = '@'</>, only the
    selected line is deleted. If the value of <AB>ttype </> is a bracket,
    both lines are deleted with the corresponding open and closed bracket
    and all lines in between.
    <ZH>"Save": </> The table <AB>t_ntokens </> could be changed by
    choosing "Value Entry" and "Delete". These changes are saved using
    <AB>export t_ntokens t_objt t_ltext to database stxfconts id
    <formname></>.
    <AB> </>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SMARTFORMS591 - For tips, see long text ?

    The SAP error message SMARTFORMS591 typically indicates that there is an issue with the Smart Form you are trying to execute or process. The message usually suggests that there is a problem with the form's configuration or the data being passed to it.

    Cause:

    1. Missing or Incorrect Data: The data being passed to the Smart Form may be incomplete or not in the expected format.
    2. Form Configuration Issues: There may be issues with the Smart Form itself, such as missing elements, incorrect field mappings, or other configuration problems.
    3. Authorization Issues: The user executing the Smart Form may not have the necessary authorizations to access certain data or execute the form.
    4. Technical Errors: There could be underlying technical issues, such as problems with the SAP system or the print layout.

    Solution:

    1. Check Data: Ensure that the data being passed to the Smart Form is complete and correctly formatted. You can do this by debugging the program that calls the Smart Form and checking the data being passed.
    2. Review Smart Form Configuration: Open the Smart Form in the Smart Forms transaction (SMARTFORMS) and check for any configuration issues. Look for missing fields, incorrect field types, or other discrepancies.
    3. Check Authorizations: Verify that the user has the necessary authorizations to execute the Smart Form and access the required data.
    4. Debugging: Use the debugging tools in SAP to step through the program that calls the Smart Form. This can help identify where the issue is occurring.
    5. Consult Long Text: The error message may have additional long text that provides more context or specific tips for resolving the issue. You can view this by clicking on the message or using the transaction code SE91 to look up the message.

    Related Information:

    • Transaction Codes:
      • SMARTFORMS: To create or modify Smart Forms.
      • SE71: To work with SAPscript forms.
      • SE78: To manage SAP ArchiveLink and forms.
    • Documentation: SAP Help Portal and community forums can provide additional insights and solutions from other users who may have encountered similar issues.
    • SAP Notes: Check for any relevant SAP Notes that may address known issues with Smart Forms or provide patches.

    If the problem persists after trying the above solutions, consider reaching out to your SAP support team or consulting 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. Sign up for our Free Essentials Plan.


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