Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close
" missing for bracket "<"">

How To Fix SG002 - Bracket ">" missing for bracket "<"


SG002 - Overview

  • Message type: E = Error

  • Message class: SG - Global Pool for Cross-Application Developments

  • Message number: 002

  • Message text: Bracket ">" missing for bracket "<"

  • Show details Hide details
  • What causes this issue?

    The pointed brackets "<" und ">" refer to reserved words that are
    substituted at run time.
    An opened bracket was found for which the closed bracket is missing.

    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?

    Enter the missing bracket ">".

    Error message extract from SAP system. Copyright SAP SE.


SG002 - Details

  • The SAP error message SG002, which states "Bracket '>' missing for bracket '<'," typically occurs in the context of ABAP programming or when dealing with XML data. This error indicates that there is a mismatch in the use of angle brackets, which are commonly used in XML and HTML syntax.
    
    Cause: XML/HTML Syntax Error: The error usually arises when there is an improperly formatted XML or HTML string. For example, if you have an opening tag <tag> without a corresponding closing tag </tag>, or if you have nested tags that are not properly closed. ABAP Code Issues: If you are using ABAP code to generate or manipulate XML data, the error may occur if the code does not correctly handle the opening and closing of tags. Data Input Issues: If the data being processed contains malformed XML or HTML, it can lead to this error.
    Solution: Check XML/HTML Structure: Review the XML or HTML content that

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


SG002 - Related SAP Errors

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