sapdev logo background
sapdev logo sapdev logo
Comments

SAP OO OBS NAMING 1 documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
ARTICLE

New Naming Conventions

The names of class components - that is, attributes, methods, and events - can be made up of the characters "A-Z", "0-9" and "_" only. Names cannot begin with a digit. The "/" characters for namespace prefixes must occur as pairs and a namespace prefix must be at least 3 characters long; as of release 7.0, this also applies outside of classes.

  • In ABAP Objects, the following statements cause an error message:


  • DATA: field-name TYPE ...,
    1name TYPE ...
  • Correct syntax:


  • DATA: field_name TYPE ...,
    name1 TYPE ...
  • Cause:


  • You cannot use special characters in names, because they often have a particular meaning in the system. The new naming conventions correspond to those for other programming languages.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    OO_OBS_NAMES_1
    OO_OBS_NEW_PAGE_1




    comments powered by Disqus