sapdev logo background
sapdev logo sapdev logo
Comments

SAP OBJECTS STATEMENTS documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Declaring Data Objects
A data object is an instance of a data type and occupies as much memory space as its type specifies. An ABAP program only works with data that is available as content of data objects. Data objects are either created implicitly in their declaration as
named data objects or explicitly as anonymous data objects using CREATE DATA or the instance operator NEW .
  • Data objects that are not declared using key words:

  • Literals are data objects that are declared in operand positions using literal source code.

  • Text symbols are character-like constant data objects that are declared outside the program.

  • Declaration of variables and constants in every context:

  • DATA

  • CONSTANTS

  • Declaration of static attributes in classes:

  • CLASS-DATA

  • Declaration of static variables in procedures:

  • STATICS

  • Declaration of interface work areas:

  • TABLES

  • NODES (obsolete)
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




  • OBJECTS_KEYWORDS_VARIANTS
    OBJECT_COMPONENT_SELECTOR




    comments powered by Disqus