. form . .
form:
form s [tables t1 t2... ]
[using u1 value(u2)... ]
[changing c1 value(c2)... ].
---
Endform.
:
s
t1, t2, u1, u2, c1 c2
form:
, , ..: tables, using, changing
tables
, , ,
( )
10. perform.
perform:
perform a) s
b) n of s1 s2 s3...
[tables t1 t2... ]
[using u1 u2... ]
[changing c1 c2... ].
:
s, s1, s2, s3
n
a) b)
tables, using changing a) b)
value() perform
b), , . n - . , n = 2, .
, .
:
Exit
Check
Stop
check exit, . stop , .
:
check exit , perform
stop end-of-selection
check, exit stop sy-subrc.
.
, :
Tables
Data
, . .
.
, :
Local
Data
Statics
, , .
|
|
, local, ; , data statics, . , , , local, , , data statics .
, local data, . , . , statics .
14. tables.
, tables, . tables Field String. Field String . tables , ; .
local tables. , tables, Field String . , local, , .
, , . , 10, 11 , 10. local local.
15. .
c tables, local, data statics form. . . .
form, perform .
, form, , , perform .
16. .
.
, form.
, form
. . , p1 , p1 . 3 , 3.
:
form s1 using u1 type t value(u2) type t
|
|
changing c1 type t value(c2) type t.
:
s1
u1, u2, c1 c2
t ABAP/4, ,
:
form ,
, ( d, t, i f),
:
. ,
. , ,
. , , . ,