Skip to Content
avatar image
Former Member

Data Type

Hi,

Plz provide me the information on Data Types and Data objects

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 19, 2007 at 05:35 AM

    <b>Data Types</b>

    As well as occurring as attributes of a data object, data types can also be defined independently. You can then use them later on in conjunction with a data object. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.

    <b>Data types can be divided into elementary, reference, and complex types.</b>

    <b>Data Objects</b>

    Data objects are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.

    Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type). You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.

    reward points if it is usefull ...

    Girish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2007 at 05:33 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2007 at 05:37 AM

    hi,

    Data consists of strings of bytes in the memory area of the program. A string of related bytes is called a field. Each field has an identity (a name) and a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.

    In the ABAP type concept, fields are called data objects. Each data object is an instance of an abstract data type. Data types in ABAP are not just attributes of fields, but can be defined in their own right. There are separate name spaces for data objects and data types. This means that a name can at the same time be the name of a data object as well as the name of a data type.

    Data Types:

    As well as occurring as attributes of a data object, data types can also be defined independently. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program (using the TYPES statement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.

    Data types can be divided into elementary, reference, and complex types

    some of the links below for data types may b useful for u:

    1.http://help.sap.com/saphelp_nw04/helpdata/en/79/c5545eb3dc11d5993800508b6b8b11/frameset.htm

    2.http://help.sap.com/saphelp_nw04s/helpdata/en/43/5d2ea0e84b3e2be10000000a1553f6/frameset.htm

    Go thur this URL:

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ea31446011d189700000e8322d00/content.htm

    Add comment
    10|10000 characters needed characters exceeded