Академический Документы
Профессиональный Документы
Культура Документы
/n - It closes the existing session and control goes to the SAP Main screen (SAP
Easy Access).
F8 --> Exicute
1. Program Name starting with 'Z' or 'Y' are user defined programs. Others are SAP
built in programs.
2. Program Types :
i. Executable Programs
ii. Include Programs
iii. Module pool
iv. Function group
v. Subroutine pool
vi. Interface pool
vii. Class pool
4. TYPE: To refer to any data type <type> that is already "known" at this point in
the program.
5. Data Type:
Data type Initial field length Valid field length Initial value Meaning
I 4 4 0 Integer
F 8 8 0 Floating
point
P 8 1-16 0 Packed
Number
Character Types
T 6 6 '000000' Time
field (Format: HHMMSS)
Hexadecimal Type
X 1 1-65535 X'0...0'
Hexadecimal field.
6. TypeS : We can define local data types in a program using the "TYPES" statement.
You can position the output of a WRITE statement on the list by making a format
specification before the field name as follows:
Syntax
where
Ex:
Formating Options:
Option Function
***************************************************
DATA: FIELD(10) VALUE 'abcde'.
***************************************************
******************************************************
WRITE: /3 'Name', 30 'RoomNo', 40 'Age'(002).
******************************************************
*************************************************
Ex:
If NO-GAP was not specified here, the output would have been "A B C" because one
blank is always implicitly generated between consecutive output fields.
*************************************************
*************************************************
WRITE: '000123',
/ '000123' NO-ZERO.
*************************************************