Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Find highest value

Former Member
0 Likes
651

Hi

from the table QAMV depending on the lot number PRUEFLOS

i have to fetch the highest value in SOLLSTPUMF

how to check this????

Regards

Nanda

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
614

This ll do

select single max( SOLLSTPUMF ) 
from QAMV 
into v_SOLLSTPUMF 
where prueflos = p_prueflos.

4 REPLIES 4
Read only

Former Member
0 Likes
615

This ll do

select single max( SOLLSTPUMF ) 
from QAMV 
into v_SOLLSTPUMF 
where prueflos = p_prueflos.

Read only

0 Likes
614

Hi Jose

thanks for your reply. How it will check for the highest value???

Depending on the lot number prueflos i have to fetch the highest value in the field SOLLSTPUMF.

For ex it is having the highest value as 10 then it has to show that value at that place

Regards

Nanda

Read only

Former Member
0 Likes
614

Hi

Plz reply me

Regards

Nanda

Read only

0 Likes
614

Hi,

dont give any parameter there..just get the max using the query.

select max( SOLLSTPUMF )

from QAMV

into v_SOLLSTPUMF .

Hope this will be useful for u