SAP OBJECTS STATEMENTS SAP Info












ARTICLE ( Version: 0008)

Keywords for Data Objects
Summary:


  The DATA statement allows you to create local, global, or cross-program variables. CONSTANTS creates local or global constants, and STATICS creates locally-visible variants with global validity.

  The TABLES and NODES statements allow you to use data objects that are visible in more than one program. These data objects are required only for transporting data between screens and ABAP programs or between logical databases and ABAP programs.

  Parameters SELECT-OPTIONS are used to create data objects that can be provided with values when a report is called. A selection screen is Parameters fields, while SELECT-OPTIONS are internal tables used to specify value ranges.

  RANGES create internal tables for value range specification, just as SELECT-OPTIONS do, however these data objects are all program internal and do not influence the selection screen in any way.


ARTICLE ( Version: 0024)

Data Objects
A data object is an instance of a data type and occupies as much memory
space as is specified by its type. ABAP programs only process data that is available as the content of data objects. Data objects are either created implicitly as named data objects or explicitly as anonymous data objects using CREATE DATA.
In addition to named and anonymous data objects, data objects can also
be defined as literals in the source code of a program.
Statements for the declaration of data objects:

  DATA

  CLASS-DATA

  CONSTANTS

  STATICS

  STRUCTURE

  TABLES

  NODES

ARTICLE ( Version: 0028)

Declaring Data Objects
A data object is an instance of a data type and occupies as much memory
space as is specified by its type. ABAP programs only process data that is available as the content of data objects. Data objects are either created implicitly as named data objects or explicitly as anonymous data objects using CREATE DATA .
In addition to named and anonymous data objects, data objects can also
be defined as literals in the source code of a 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

ARTICLE ( Version: 0031)

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.
In addition to named and anonymous data objects, data objects can also
be defined as literals in the source code of a 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

ARTICLE ( Version: 0035)

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

ARTICLE ( Version: 0036)

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)
Message text extract from SAP system. Copyright SAP SE.


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!