Chained Statement in ABAP/4
The statements that same keyword can be chained by colon (:). Between the statements separated by ",". When you apply this method, ensure that the chained statement ended by ".".
Example
Normal Statement
PARAMETERS p1(10) TYPE C.
PARAMETERS p2 TYPE D.Chained Statement
PARAMETERS: p1(10) TYPE C,
p2 TYPE D.Normal Statement
WRITE ’First’.
WRITE ’Second’.Chained Statement
WRITE: ’First’, ’Second’.
- thitima's blog
- 1904 reads
Post new comment