1)Standart 2)Local 3)Global
Standart types are divided int 2 groups
1)Complete 2)Incomplete types
Complete types (fixed)
a)D --> format YYYYMMDD length 8
b)T --> format HHMMSS length 6
c) I --> integer length 4
d) F --> length 8
e) STRING
F) XSTRING
Incomplete standart types
a)C
b)N
c)X
d)P the number of decimal points may also be specified
TYPES type_name TYPE ...
DATA myvar TYPE type_name.
DATA myvar2 LIKE myvar.
DEMO_MESSAGES demo program that is shipped in the SAP standart.
MOVE-CORRESPONDING , are available under the same name in both the source and target structure.
After executing the first WRITE statement, an additional button appears in the tool bar.You can use this new button to display the list buffer generated so far.
Caution: DATA itab TYPE TABLE OF table
In doing so, an internal table would be defined, the rows of which would also be internal tables.
APPEND this operation can only be used with standart tables.
INSERT LINES OF itab1
APPEND LINES OF itab1
sy-tabix contains the row number of the current table entry.
WITH TABLE KEY addition all key fields have to be supplied with data.If you want to limit the fields you must use the WITH KEY.
following very old syntax also defines an internal table with header line
DATA: BEGIN OF itab OCCURS n,
field1 TYPE...
field2 TYPE ...
END OF itab.
Hiç yorum yok:
Yorum Gönder