Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- gimp
- alv 정형화
- sapa
- Java
- FI 용어정리
- selection screen
- SAP
- badi
- ALV
- 오라클 함수
- Enhancement
- 가계부
- 이명박
- UTF-8
- KOSA
- EXIT
- ABAP
- 스마트폼
- 엑소버드
- ole
- Smart Forms
- 유닉스
- function
- List box
- 방화벽
- Standard Function
- 머니플랜
- EUC-kr
- fi
- 동적 쿼리
Archives
- Today
- Total
Drunken Lion
Types and Objects 본문
http://help.sap.com/saphelp_nw04/helpdata/en/9f/70bed8fe1211d2b92f0000e8353423/content.htm
ABAP distinguishes between types and objects. Types are descriptions that do not occupy memory. Objects are instances of types, and do occupy their own memory space. A type describes the technical attributes of all of the objects with that type.
ABAP types form a hierarchy. Objects in ABAP reflect the same hierarchy.
ABAP has both data types and object types.
- Data types describe data objects. They can be further subdivided into elementary, reference, and complex types. There are predefined data types, but you can also declare your own, either locally in a program, or globally in the R/3 Repository.
- Object types describe objects in ABAP Objects. They can be divided into classes and interfaces. Object types contain not only the data types specified above, but functions as well. There are no predefined object types. Instead, you must declare them in a program or in the R/3 Repository. A class is a full description of an object. It defines the data types and functions that an object contains. Interfaces describe an aspect of an object. The data types and functions of an interface can be implemented by several classes. Objects (instances) can only be created from classes. Object references, on the other hand, can be created with reference to either classes or interfaces.
There are two types of objects that you can create from ABAP types - data objects, and objects.
- Data objects are fields. They contain the data with which programs work at runtime.
- Objects are real software objects in ABAP Objects. They contain methods and events as well as data, and support object-oriented programming.
'SAP > ABAP' 카테고리의 다른 글
SQL Hint 주기.. (0) | 2012.11.14 |
---|---|
SPELL_AMOUNT 금액 읽어주는 펑션. (0) | 2012.10.10 |
Standard Fucntion: String <-> Table (0) | 2012.09.20 |
ABAP TIP 03 (0) | 2012.09.20 |
스마트폼 한글 자료 (0) | 2012.07.03 |