Views 739
Visitors 478

Chained Statement

Home 
| Top Page | Threads |
Previous  Next

ABAP has classical language program caracteristic, that is, in every statement in main program or in block statement will be executed in sequence from the top to bottom.

 

Example :

 

No.

Statement

1

Data :  a TYPE i,

 

       b TYPE i,

 

       c TYPE p DECIMALS 2.

 

 

2

START-OF-SELECTION.

3

a = 10.

4

b = 100.

5

c = a / b.

6

WRITE : / 'Hitung : ', a, '/', b, '=', c.

 

From the example above, ABAP will execute from number 1 to 6.

User Threads | New Thread ( Only for Donators )

Threads Last Post Replies Views