How To Fix 28068 - Object name expected in parantheses


28068 - Overview

  • Message type: E = Error

  • Message class: 28 - Configuration

  • Message number: 068

  • Message text: Object name expected in parantheses

  • Show details Hide details
  • What causes this issue?

    The syntax check found an error in an entry for an object. Parentheses
    are missing from around the key.

    System Response

    The cursor shows where the error occurs.

    How to fix this error?

    To refer to an object, you enter the object type, class type, and
    object key:
    (Material)(300)(NR='M4711')
    The object identifier and object key are defined in the IMG for
    <ZH>Classification</>. In the <LS>Define object types</> step, you can
    see the object key for each object type. The fields of the object key
    are referred to via a special field ID. The object key for materials is
    the material number. The material number is accessed by the field ID
    'NR'.
    The object key can also consist of several parts, as it does for
    documents, for example:
    (Document)(017)(TYPE=DRW, VERSION=00, PART=000, NR='bmw-ca31')
    The key expressions entered must be in parentheses: (NR='M4711') or
    (TYPE=DRW, VERSION=00, PART=000, NR='bmw-ca31'). Check the parentheses
    and correct them according to the pattern shown if required.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 28068 - Object name expected in parantheses ?
    The SAP error message "28068 Object name expected in parentheses" typically occurs in the context of ABAP programming or when working with certain SAP transactions that involve object definitions or references. This error indicates that the system is expecting an object name to be specified within parentheses, but it is either missing or incorrectly formatted.
    
    Cause: Syntax Error: The most common cause is a syntax error in the ABAP code where an object name is expected but not provided. Incorrect Function Module Call: If you are calling a function module or method and the parameters are not correctly specified, this error may arise. Missing or Misplaced Parentheses: If parentheses are not used correctly in expressions or function calls, the system may throw this error. Dynamic Object References: If you are trying to reference an object dynamically and the syntax is incorrect, it can lead to this error.
    Solution: Check Syntax: Review the ABAP code for any syntax

    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:

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