Former Member

# lowest number

Hi

I want to find the lowest number of the 'printto' field. Is there any function module for getting the lowest number. please help me.

##### Add a comment
10|10000 characters needed characters exceeded

### Related questions

• Former Member
Posted on Jun 17, 2008 at 05:03 AM

Hi,

use FM my_Lowest_value_get.

##### Add a comment
10|10000 characters needed characters exceeded
• Former Member
Posted on Jun 17, 2008 at 05:13 AM

Hi..

IF u r not using FAE,

write a SELECT min( field1 ) from table1 into wrkarea .

Rgds

##### Add a comment
10|10000 characters needed characters exceeded
• Former Member
Posted on Jun 17, 2008 at 05:21 AM

Hiii Hima ....

Hima not sure wether there is a FM for that or not ... hoever i could give u a small logic that would sove ur problem of getting hte lowest number in the print to field .

suppose the field that need to be print to be stored in K...

k = 24315.

v = strlen(k).

low = k+0(1).

while i < v .

if low < k+i(1).

low = k+i(1).

i = i + 1.

else.

i = i + 1.

endif.

endwhile.

try this logic .... i havent checked it out in the system ....however such similiar tye of logic would solve ur problem....

regards

chandu reddy.

##### Add a comment
10|10000 characters needed characters exceeded
• Posted on Jun 17, 2008 at 06:05 AM

Hi Hima,

can you please explain where you have this 'printto' field?

If I knew what you are talking about I might be able to give you some help.

Regards,

Clemens

##### Add a comment
10|10000 characters needed characters exceeded