ABAP Max and Min Function

data max type min type i.

* maximum 9 values can be passed
max nmaxval1 10
val2 12
val3 14
val4 16
val5 18
val6 20
val7 25
val8 7
val9 3  ).

min nminval1 10
val2 12
val3 14
val4 16
val5 18
val6 20
val7 25
val8 7
val9 3  ).

WRITE ‘Maximum :’max.
WRITE ‘Minimum :’min.


 


 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s