Skip to Content
author's profile photo Former Member
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

4 Answers

  • author's profile photo Former Member
    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

  • author's profile photo Former Member
    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

  • author's profile photo Former Member
    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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.