Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How many type of data element exist

Former Member
0 Kudos

How many type of data element exist.

Saurabh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi saurabh,

A data element describes either an elementary type or a reference type.

An elementary type is defined by the built-in data type, length and possibly the number of decimal places. These type attributes can either be defined directly in the data element or copied from a domain.

A reference type defines the types of reference variables in ABAP programs.

plz reward points if helpful..

7 REPLIES 7

Former Member
0 Kudos

eight

Former Member
0 Kudos

Hi

Hope it will help you.

Pls reward pts if help.

Data elements are dictionary objects that are assigned with the domains.

uses:'

  • data elements are used to create relation between tables.

  • data elements are used to transfer the data from one R/3 to another R/3.

  • to create search helps.

Data Elements

Data elements in the ABAP Dictionary describe individual fields. They are the smallest indivisible units of the complex types described below, and are used to specify the types of columns in the database. Data elements can be elementary types or reference types.

· Elementary Types

Elementary types are part of the dual-level domain concept for fields in the ABAP Dictionary. The elementary type has semantic attributes, such as texts, value tables, and documentation, and has a data type. There are two different ways to specify a data type:

¡ By directly assigning an ABAP Dictionary type.

You can assign a predefined ABAP Dictionary type and a number of characters to an elementary type. The ABAP Dictionary has considerably more predefined types than the ABAP programming language. The number of characters here is not the field length in bytes, but the number of valid characters excluding formatting characters. The data types are different because the predefined data types in the ABAP Dictionary have to be compatible with the external data types of the database tables supported by the SAP Web AS ABAP.

When you refer to data types from the ABAP Dictionary in an ABAP program, the predefined Dictionary types are converted to ABAP types as follows:

Dictionary type

Meaning

Maximum length n

ABAP type

DEC

Calculation/amount field

1-31, 1-17 in tables

P((n+1)/2)

INT1

Single-byte integer

3

Internal only

INT2

Two-byte integer

5

Internal only

INT4

Four-byte integer

10

I

CURR

Currency field

1-17

P((n+1)/2)

CUKY

Currency key

5

C(5)

QUAN

Quantity

1-17

P((n+1)/2)

UNIT

Unit

2-3

C(n)

PREC

Accuracy

16

Internal only

FLTP

Floating point number

16

F(8)

NUMC

Numeric text

1-255

N(n)

CHAR

Character

1-255

C(n)

LCHR

Long character

256-max

C(n)

STRING

String of variable length

1-max

STRING

RAWSTRING

Byte sequence of variable length

1-max

XSTRING

DATS

Date

8

D

ACCP

Accounting period YYYYMM

6

N(6)

TIMS

Time HHMMSS

6

T

RAW

Byte sequence

1-255

X(n)

LRAW

Long byte sequence

256-max

X(n)

CLNT

Client

3

C(3)

LANG

Language

internal 1, external 2

C(1)

("max" in LCHR and LRAW is the value of a preceding INT2 field. The "internal" length of a LANG field is in the Dictionary, the "external" length refers to the display on the screen.

¡ Assigning a domain

The technical attributes are inherited from a domain. Domains are standalone Repository objects in the ABAP Dictionary. They can specify the technical attributes of a data element. One domain can be used by any number of data elements. When you create a domain, you must specify a Dictionary data type (see above table) and the number of characters.

· Reference Types

Reference types describe single fields that can contain references to global classes and interfaces from the ABAP class library.

In an ABAP program, you can use the TYPE addition to refer directly to a data element. The predefined Dictionary data types of the domain are then converted into the corresponding ABAP types.

If you define a local data type in a program by referring to a data element as follows:

TYPES dtype TYPE data_element.

the semantic attributes of the data element are inherited and will be used, for example, when you display a data object with type dtype on the screen. Since all data types in the ABAP Dictionary are based on data elements, they all contain the corresponding semantic attributes.

Former Member
0 Kudos

hi saurabh,

A data element describes either an elementary type or a reference type.

An elementary type is defined by the built-in data type, length and possibly the number of decimal places. These type attributes can either be defined directly in the data element or copied from a domain.

A reference type defines the types of reference variables in ABAP programs.

plz reward points if helpful..

Former Member
0 Kudos

Hi,

Data Element Types

Introduction

The following tables identify and describe the valid data element types that may be specified for the -type option. The first table covers some general data element types. The remaining tables cover data element types specific to each diagram type identified in the Diagram Types table above.

General Data Element Types

The following table covers some general data element types.

Data Element Type Description

Actor Actors on CCDs and DFDs

Class Classes on CDs, CCDs, and STDs

Event Events on SDs and STDs

External Actors on CCDs and DFDs

Flow Control Flows, Data Flows, Result Flows, and Update Flows

Interface Communication Messages, Control Flows, Data Flows, Event Messages, Result Flows, and Update Flows

Message Communication Messages and Event Messages

AD Data Element Types

The following table identifies and describes the data element types for the Activity Diagram (AD).

Data Element Type Description

ADAction Actions on ADs

ADEvent Events on ADs

ADState States on ADs

ActionState Action States

ObjectInState Objects In States

CD Data Element Types

The following table identifies and describes the data element types for the Class Diagram (CD).

Data Element Type Description

ActualType Actual Types

AssocClass Association Classes

CDAggregation Aggregations on CDs

CDAssociation Associations on CDs

CDClass Classes on CDs

CDComposition Compositions on CDs

CDContainer Containers on CDs

CDGeneralization Generalizations on CDs

CDInterface Interfaces on CDs

Package Packages

Propagation Propagations

TemplateClass Template Classes

CCD Data Element Types

The following table identifies and describes the data element types for the Class Communication Diagram (CCD).

Data Element Type Description

CCDActor Actors on CCDs

CCDClass Classes on CCDs

CCDContainer Containers on CCDs

ComMessage Communication Messages

Subject Subjects

COD Data Element Types

The following table identifies and describes the data element types for the Collaboration Diagram (COD).

Data Element Type Description

CODActiveObject Active Objects on CODs

CODActor Actors on CODs

CODMessage MEssages on CODs

MultiObject MultiObjects

NaryLink N-ary Links

RoleEnd RoleEnds

RoleStart RoleStarts

CPD Data Element Types

The following table identifies and describes the data element types for the Component Diagram (CPD).

Data Element Type Description

CPDComponent Components on CPDs

CPDInterface Interfaces on CPDs

DFD Data Element Types

The following table identifies and describes the data element types for the Data Flow Diagram (DFD).

Data Element Type Description

ControlFlow Control Flows

DataFlow Data Flows

DataProcess Data Processes

DataStore Data Stores

DFDActor Actors on DFDs

ResultFlow Result Flows

UpdateFlow Update Flows

DPD Data Element Types

The following table identifies and describes the data element types for the DeploymentDiagram (DPD).

Data Element Type Description

ActiveObject ActiveObjects

Connection Connections

DPDActiveObject Active Objects on DPDs

DPDComponent Components on DPDs

DPDObject Objects on DPDs

Node Nodes

NodeInstance Node Instances

MGD Data Element Types

The following table identifies and describes the data element types for the Message Generalization Diagram (MGD).

Data Element Type Description

MessageDef Message Definitions

SD Data Element Types

The following table identifies and describes the data element types for the Sequence Diagram (SD).

Data Element Type Description

Object Objects

SDInitiator Initiators on SDs

SDMessage Messages on SDs

SDObject Objects on SDs

STD Data Element Types

The following table identifies and describes the data element types for the State Transition Diagram (STD).

Data Element Type Description

CDClass Classes on CDs associated with the STD

EventMessage Event Messages

STDAction Actions on STDs

STDClass Classes on STDs

STDEvent Events on STDs

STDState States on STDs

UCD Data Element Types

The following table identifies and describes the data element types for the Use Case Diagram (UCD)

Data Element Type Description

DirectedComm Directed Communication Association

UCDActor Actors on UCDs

UndirectedComm Undirected Communication Association

UseCase Use Cases

-


Reward If Helpful

Regards Madhu

Former Member
0 Kudos

Hi,

it may help u.

Data Element Types

Introduction

The following tables identify and describe the valid data element types that may be specified for the -type option. The first table covers some general data element types. The remaining tables cover data element types specific to each diagram type identified in the Diagram Types table above.

General Data Element Types

The following table covers some general data element types.

Data Element Type Description

Actor Actors on CCDs and DFDs

Class Classes on CDs, CCDs, and STDs

Event Events on SDs and STDs

External Actors on CCDs and DFDs

Flow Control Flows, Data Flows, Result Flows, and Update Flows

Interface Communication Messages, Control Flows, Data Flows, Event Messages, Result Flows, and Update Flows

Message Communication Messages and Event Messages

AD Data Element Types

The following table identifies and describes the data element types for the Activity Diagram (AD).

Data Element Type Description

ADAction Actions on ADs

ADEvent Events on ADs

ADState States on ADs

ActionState Action States

ObjectInState Objects In States

CD Data Element Types

The following table identifies and describes the data element types for the Class Diagram (CD).

Data Element Type Description

ActualType Actual Types

AssocClass Association Classes

CDAggregation Aggregations on CDs

CDAssociation Associations on CDs

CDClass Classes on CDs

CDComposition Compositions on CDs

CDContainer Containers on CDs

CDGeneralization Generalizations on CDs

CDInterface Interfaces on CDs

Package Packages

Propagation Propagations

TemplateClass Template Classes

CCD Data Element Types

The following table identifies and describes the data element types for the Class Communication Diagram (CCD).

Data Element Type Description

CCDActor Actors on CCDs

CCDClass Classes on CCDs

CCDContainer Containers on CCDs

ComMessage Communication Messages

Subject Subjects

COD Data Element Types

The following table identifies and describes the data element types for the Collaboration Diagram (COD).

Data Element Type Description

CODActiveObject Active Objects on CODs

CODActor Actors on CODs

CODMessage MEssages on CODs

MultiObject MultiObjects

NaryLink N-ary Links

RoleEnd RoleEnds

RoleStart RoleStarts

CPD Data Element Types

The following table identifies and describes the data element types for the Component Diagram (CPD).

Data Element Type Description

CPDComponent Components on CPDs

CPDInterface Interfaces on CPDs

DFD Data Element Types

The following table identifies and describes the data element types for the Data Flow Diagram (DFD).

Data Element Type Description

ControlFlow Control Flows

DataFlow Data Flows

DataProcess Data Processes

DataStore Data Stores

DFDActor Actors on DFDs

ResultFlow Result Flows

UpdateFlow Update Flows

DPD Data Element Types

The following table identifies and describes the data element types for the DeploymentDiagram (DPD).

Data Element Type Description

ActiveObject ActiveObjects

Connection Connections

DPDActiveObject Active Objects on DPDs

DPDComponent Components on DPDs

DPDObject Objects on DPDs

Node Nodes

NodeInstance Node Instances

MGD Data Element Types

The following table identifies and describes the data element types for the Message Generalization Diagram (MGD).

Data Element Type Description

MessageDef Message Definitions

SD Data Element Types

The following table identifies and describes the data element types for the Sequence Diagram (SD).

Data Element Type Description

Object Objects

SDInitiator Initiators on SDs

SDMessage Messages on SDs

SDObject Objects on SDs

STD Data Element Types

The following table identifies and describes the data element types for the State Transition Diagram (STD).

Data Element Type Description

CDClass Classes on CDs associated with the STD

EventMessage Event Messages

STDAction Actions on STDs

STDClass Classes on STDs

STDEvent Events on STDs

STDState States on STDs

UCD Data Element Types

The following table identifies and describes the data element types for the Use Case Diagram (UCD)

Data Element Type Description

DirectedComm Directed Communication Association

UCDActor Actors on UCDs

UndirectedComm Undirected Communication Association

UseCase Use Cases

regards,

vasavi.

kindly reward if helpful.

former_member469721
Participant
0 Kudos

Hi Vasavi,

There is a blog on how to carry out planning to WBS using Excel. Please have look into it and hoping it helps you.

For On-Premise:

https://blogs.sap.com/2008/02/25/wbs-integrated-excel-planning/

You can check on implementing Commercial Project management, which also support planning via excel.

On Cloud:

I'm not sure of any app that support such planning.

Professional service on cloud (using CPM in Background) is available in case you are looking for service based company.

Regards,

Pradeep

former_member469721
Participant
0 Kudos

Hi Vasavi,

There is a blog on how to carry out planning to WBS using Excel. Please have look into it and hoping it helps you.

For On-Premise:

https://blogs.sap.com/2008/02/25/wbs-integrated-excel-planning/

You can check on implementing Commercial Project management, which also support planning via excel.

On Cloud:

I'm not sure of any app that support such planning.

Professional service on cloud (using CPM in Background) is available in case you are looking for service based company.

Regards,

Pradeep