‎2008 Feb 15 9:35 AM
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
‎2008 Feb 15 9:44 AM
This ll do
select single max( SOLLSTPUMF )
from QAMV
into v_SOLLSTPUMF
where prueflos = p_prueflos.
‎2008 Feb 15 9:44 AM
This ll do
select single max( SOLLSTPUMF )
from QAMV
into v_SOLLSTPUMF
where prueflos = p_prueflos.
‎2008 Feb 15 9:47 AM
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
‎2008 Feb 15 10:02 AM
‎2008 Feb 15 10:22 AM
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