Passing from max to min value

Hi there.
Im build a program in LabView 8.5 and I have a problem.
Im calculating an angle to use it after as a comparison with another value to stop the loop. The problem is that when the value gets to 180º its supposed to continue from the -180 but instead he stays at 180 value.
The problem here is that if he doesnt get from 180 to -180 i cant activate the while loop again and i have part of my program stuck until i start the problem again :/.
If any1 could help im happy to answer any questions you may have from this msg and the problem here.
Thanks

Janitor wrote:
Hi there.
Im build a program in LabView 8.5 and I have a problem.
Im calculating an angle to use it after as a comparison with another value to stop the loop. The problem is that when the value gets to 180º its supposed to continue from the -180 but instead he stays at 180 value.
The problem here is that if he doesnt get from 180 to -180 i cant activate the while loop again and i have part of my program stuck until i start the problem again :/.
If any1 could help im happy to answer any questions you may have from this msg and the problem here.
Thanks
There is a vi call Wrap Angle.vi in the Mathematics ->  Geometry  -> Angle palette that does that.
Ben64

Similar Messages

  • Get max and min values from waveform chart

    Hi all
    Ive got a waveform chart and want to display the max and min value for the graph. How do i get the respective values?? Im using LabView 8.2
    holla
    Attachments:
    Untitled 231_LV80.vi ‏23 KB

    Thanks Mike

  • I am a rookie and need help with max and min values

    Hello all, i am into this intro to java class. my assignment is to write a program that prompts the user for two integers and then prints the sum, difference, average, product , distance (absolute value of the difference) Maximum(largest of the two) and Minimum(smallest fo the two) here is my code so far
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.lang.Math;
    public class Sample4
       public static void main(String[] args) throws IOException
          try // attempt the following
    {           // create the stream to read from
    InputStreamReader istream = new InputStreamReader(System.in);   // create a buffer to hold the stream
    BufferedReader console = new BufferedReader(istream);           // prompt the user
          System.out.println("Enter a number please");              // get input as a string
          String input = console.readLine();                        // convert to an integer
          int num1 = Integer.parseInt(input);
          System.out.println("Enter a number please");              // get input as a string
          String input2 = console.readLine();                       // convert to an integer
          int num2 = Integer.parseInt(input2);
          int sum = num1 + num2;                                    // get the sum of the two inputs
          int difference = num1 - num2;                             // get the difference of the two inputs
          int product = num1 * num2;                                // get the product of the two inputs
          int average = sum / 2;                                    // get the average of the two inputs
          int abs = Math.abs(difference);                           // get the absolute value of the two inputs
              // new section
                 // display the number
          System.out.println("The total sum = " + sum);
          System.out.println("The total difference = " + difference);
           System.out.println("The total product = " + product);
           System.out.println("The total average = " + average);
           System.out.println("The total absolute value = " + abs);
    } // if something breaks, catch the exception
    catch (IOException e)
       System.out.println(e); // displays the exception
       System.exit(1);  // quits the program
    }what will be the right syntax or code to find the MAX and MIN values of two numbers a User Inputs, hope someone can help with this. thank you for your help.

    Thanks alot man, sheesh i do not know why my book
    doesnt give me all the static methods. but i do really
    appreciate your help. peaceA complete list of the java.lang.Math methods can be found at http://java.sun.com/j2se/1.4/docs/api/java/lang/Math.html
    btw,
    max(a, b) == (a > b) ? a : b
    min(a, b) == (a < b) ? a : b

  • Query Designer in BI - How to cumulate value and get the Max and Min value.

    I want to create a report with  query designe of BI 7r. is it possible. the data from the cube will be
    Year ,           Exposed Quantity
    1999 ,             200
    2000 ,            100
    2001 ,            -100
    2002 ,             300
    2003 ,           - 200
    2004 ,             100
    2005 ,            -200
    Calculation should be - Refer the cumulative value field
    Year  ,          Exposure Quantity ,   Cumulative value
    1999  ,            200   ,                             200
    2000  ,            100  ,                              300
    2001  ,           -100 ,                               200
    2002  ,            300  ,                              500
    2003  ,          - 200  ,                              300
    2004  ,            100  ,                              400
    2005  ,           -200  ,                              -200
    An the out put of the report  should be Max value ie 500 and Min Value -200.
    My question is that is it possible to do in the front end ie in the Query Designer (BI 7) If so how.
    Edited by: Parakadavil Chacko Mathew on Oct 8, 2009 3:52 AM

    Hi there,
    Create 4 column,
    1st will show regular values for the key figure,
    2nd will show Cumulative value, in Query Designer, Just right click on the this 2nd key figure properties, calculation tab there you can check on Cumulated option, and define the calculation direction as Calculate along the Column.
    3rd will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as minimum.
    4th will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as Maximum.
    Regards,
    Rajdeep Rane.

  • Finding Max and Min values

    Hi Gurus,
    I have a table with one column as data type NUMC of lenth 5.
    Now, I have to get the max value and minimum value from that column into two variables of same type.
    Could you please help me with the logic and code in ABAP.
    Thanks,
    Regards,
    aarthi

    select single MAX( <field> ) from table into <variable>.
    select single MIN( <field> ) from table into <variable>.
    Message was edited by:
            S B

  • How to set checkbox to fill max or min value in field

    Hi all,
    I am pretty new to the adobe acrobat and I just created my first pdf form. I would ask for a help:
    In this form I have 2 fields where in one is price with VAT and in other without VAT. I also have a check box and total price field in form.
    I would like to set this form in a way that if check box is checked price with VAT is copied in the total price field and if check box is unchecked the price without VAT would be copied in the total price field.
    My idea is to set the checkbox to copy max value to total price field if checked and min if unchecked. Is there a way to do that? Is there a better way to achieve that?
    Thanks for sour help, I appreciate it!
    Luka
    (I am not familiar with Java)

    You can set the min/max to int.MIN_VALUE/int.MAX_VALUE or
    Number.MIN_VALUE/Number.MAX_VALUE
    It isn't unbounded, but will hopefully meet your needs.

  • Report required max and min value on daily basis

    Hello EXPERTS
    I have requirement to create a report. Requirement is like this. I have a dealer say d1. This dealer has 6 supervisor say sup1, sup2, sup3…..sup6. Daily they open jobcards.
    suppose on 1st march sup1 opened 6 jobcard, sup2 opened 4, sup3 8 and so on. similarly on 2nd march sup1 opened 5 sup2 6 sup4 15 and so on.
    I have all dimension and facts are available.
    The report should display this
    -------------------------------------------------- 1-Mar ---------2-Mar
    Max no of open jobcard per sup------ 8--------------- 15
    Min no of open jobcard per sup------- 4----------------- 5
    Your help will be much apriciated
    Regards

    Hello David,
    Thanks for response. But the below solution is not meeting our requirement. By doing this, it is giving the total no of Jobcard opened on a particular date.
    I have a requirement , suppose on 1st march supervisor 1 opens 20 jobcard, sup 2 opens 25 jobcards and sup 3 opens 15 jobcards. So, if i am selecting max value then my result should be like this
    March 1 --------------------------- 25
    Regards
    Niraj

  • How to get Max and Min value entered in a DOS console?

    Hi there? I wanted to get the Maximum and Minimum value that I entered in a console and displays it. This is using the java.lang.Math class and using it's method max and main. please help. thanks - new to java

    Sounds like you need very basic advice: Start with the tutorials: http://java.sun.com/docs/books/tutorial/index.html
    And if the algorithm is the problem:
    - Make two variables that hold the current maximum and minimum value
    - whenever a value is entered, compare it with the minimum, if it is smaller, set the minimum to that value
    - ditto with maximum
    at the end the two variables contain the maximum and minimum values.

  • Is there an easy way to make JSpinner wrap around at max/min values?

    I have several pages with a couple dozen JSpinners to set various values - mostly numeric, but some are not.
    I would like to make them wrap around when either the max or min values are reached.
    Is there an easy way to do this?
    I was hoping for something like an "enableWraparound" property, but I haven't found such an animal.
    I suspect I could add value change listeners to all the components and do it by brute force,
    but there are too many spinners scattered around to make that an option I would like to take.
    Any suggestions?
    Thanks.

    Ok, it looks like custom spinner models are the way to go.
    Hopefully, I can create a couple that are generic enough to meet my requirements without too much pain.
    It looks like the ones I have already created will be easy enough to modify.
    Thanks for the feedback.

  • Displaying Max/Min values with time for analog signals.

    I am sampling analog inputs. I simply want to display the max and min values with the time they occurred. This seems simple but I am new to LabView and can't find a Vi to do this.

    Here's the code. When you run the demo program, you'll see three traces: Green is the max so far, Red is the min so far, and White is the current signal value.
    As the input value cycles, you'll see the two limit values track its extremes. If you have any questions about how it works, just holler.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    min-max_plotter.vi ‏82 KB
    min-max_tester.vi ‏37 KB

  • How to get Max and Min in one line .

    Hi Guys
    I know the program which I did is stupid .. I am getting the result for max and min value?
    But I how can I get the value of km, h, lit in one line
    Equno..max_date,min_date,min_value_km..max_value_km....min_value_h...max_value_h...min_value_l...max_value_l
    with my program i am getting the vlaue of max and min value but not in one line.
    the main parameter is recdu which is KM,L,H
    Can anyone tell me the logic please
    REPORT ZFUEL LINE-SIZE 200 LINE-COUNT 75
    NO STANDARD PAGE HEADING.
    TABLES : equi,
    equz,
    imptt,
    imrg,
    eqkt,
    iloa.
    Type Declaration
    TYPES: BEGIN OF ty_data ,
    equnr type equnr, " Euipment no
    eqktx type eqkt-eqktx, " Equipment Text
    eqfnr type iloa-eqfnr, " Equipment Sort field
    idate type imrg-idate, " Measuring Date
    recdu type imrg-recdu, " Unit of measuring ='KM','L','H'
    recdv type imrg-recdv, " Counter reading data
    END OF ty_data.
    TYPES: BEGIN OF ty_final,
    equnr type equnr, " Equipment no
    eqktx type eqkt-eqktx, " Equipment Text
    eqfnr type iloa-eqfnr, " Equipment Sort field
    min_date type imrg-idate, " Min Date
    min_km type p decimals 2, " Max Km
    max_km type p decimals 2, " Min km
    t_max_min_km type i, " Total min_km-max_km
    max_date type imrg-idate, " Max Date
    min_hr type imrg-recdv, " Max hr
    max_hr type imrg-recdv, " Min hr
    t_max_min_hr type i, " Total min_hr-max_hr
    min_lit type imrg-recdv, " Max lit
    max_lit type imrg-recdv, " Min lit
    t_max_min_lit type i, " Total min_lit-max_lit
    fuel_con type p decimals 2, " Total_hrs / t_max_min_hr
    km_l type p decimals 2, " km / L
    lit_per_hr type i , " fuel comsumed / t_max_min_hr
    END OF ty_final.
    DATA: i_data TYPE TABLE OF ty_data, " internal table
    wa_data TYPE ty_data, " work area
    i_final TYPE TABLE OF ty_final, " internal table
    wa_final TYPE ty_final. " work area
    data: begin of itab occurs 0,
    num type i,
    end of itab.
    data: v_min_1 type i,
    v_max_1 type i,
    min_km like imrg-recdv,
    max_km like imrg-recdv,
    min_l like imrg-recdv,
    max_l like imrg-recdv,
    max_dt like imrg-idate,
    min_dt like imrg-idate,
    t_ma_mi type p decimals 2,
    V1 LIKE IMRG-RECDV ,
    V2 LIKE IMRG-RECDV .
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: p_equnr FOR equi-equnr ,"no-extension no intervals,
    p_idate FOR imrg-idate. "NO-EXTENSION NO INTERVALS OBLIGATORY,
    "p_recdu FOR imrg-recdu NO-EXTENSION NO INTERVALS default 'KM' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    SELECTION-SCREEN END OF BLOCK blk2.
    SELECTION-SCREEN END OF BLOCK blk.
    TOP-OF-PAGE.
    FORMAT INTENSIFIED ON.
    WRITE:/1(40) ' INVESTMENT LIMITED '.
    WRITE:/50(40) ' FUEL CONSUMPTION REPORT ' CENTERED ,
    2 'Page', sy-pagno.
    FORMAT INTENSIFIED OFF.
    WRITE:/50(40) '----
    ' CENTERED .
    FORMAT INTENSIFIED ON.
    WRITE:/2 sy-datum COLOR 3, sy-uzeit .
    "WRITE:/1 S903-SPMON ."p_yearf.
    ULINE.
    "CENTERED.
    write: /2 'Date From :'.
    write: /2 'Equipment No :'.
    write: /2 'Unit :'.
    SKIP.
    ULINE.
    WRITE:/1 sy-vline,
    2 'EQUIP NO', 10 sy-vline,
    11 'NAME', 40 sy-vline,
    41 'min date', 50 sy-vline,
    51 'max date', 60 sy-vline,
    61 'min km', 70 sy-vline,
    71 'max km' , 80 sy-vline,
    81 't_max_min_km', 90 sy-vline,
    91 'min hr', 100 sy-vline,
    101 'max hr', 110 sy-vline,
    111 't_max_min_hr' , 120 sy-vline,
    121 'min lit', 130 sy-vline,
    131 'max lit', 140 sy-vline,
    141 't_max_min_lit', 150 sy-vline,
    151 'fuel con', 160 sy-vline,
    161 'km_l', 170 sy-vline,
    171 'lit_per_hr', 180 sy-vline.
    FORMAT COLOR 3 ON.
    ULINE.
    END-OF-PAGE.
    START-OF-SELECTION.
    select aequnr deqktx feqfnr eidate erecdu erecdv
    into table i_data
    from equi AS a
    inner join equz as b
    on aequnr = bequnr
    inner join iloa as f
    on biloan = filoan
    inner join imptt as c
    on aobjnr = cmpobj
    inner join eqkt as d
    on aequnr = dequnr
    inner join imrg as e
    on epoint = cpoint
    where a~equnr in p_equnr
    and
    e~idate in p_idate
    and
    e~recdu = 'KM'.
            SORT i_data BY equnr idate descending .
            loop at i_data into wa_data.
            max_km = wa_data-recdv.
            min_km = wa_data-recdv.
        at new equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,'MAX KM',max_km EXPONENT 0 DECIMALS 2 color 7,wa_data-recdu .
        endat.
    at end of equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,'MIN KM', min_km EXPONENT 0 DECIMALS 2 color 7, wa_data-recdu .
    endat.
    at end of equnr.
    write: / '----
    write: /50(80) 'Subtotal' COLOR 4 .
    write:/ '----
    endat.
    endloop.
    select aequnr deqktx feqfnr eidate erecdu erecdv
    into table i_data
    from equi AS a
    inner join equz as b
    on aequnr = bequnr
    inner join iloa as f
    on biloan = filoan
    inner join imptt as c
    on aobjnr = cmpobj
    inner join eqkt as d
    on aequnr = dequnr
    inner join imrg as e
    on epoint = cpoint
    where a~equnr in p_equnr
    and
    e~idate in p_idate
    and
    e~recdu = 'L'.
            SORT i_data BY equnr idate descending .
            loop at i_data into wa_data.
            max_km = wa_data-recdv.
            min_km = wa_data-recdv.
        at new equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,'MAX LIT',max_km EXPONENT 0 DECIMALS 2 color 7,wa_data-recdu .
        endat.
    at end of equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,'MIN LIT', min_km EXPONENT 0 DECIMALS 2 color 7, wa_data-recdu .
    endat.
    at end of equnr.
    write: / '----
    write: /50(80) 'Subtotal' COLOR 4 .
    write:/ '----
    endat.ENDLOOP.
    select aequnr deqktx feqfnr eidate erecdu erecdv
    into table i_data
    from equi AS a
    inner join equz as b
    on aequnr = bequnr
    inner join iloa as f
    on biloan = filoan
    inner join imptt as c
    on aobjnr = cmpobj
    inner join eqkt as d
    on aequnr = dequnr
    inner join imrg as e
    on epoint = cpoint
    where a~equnr in p_equnr
    and
    e~idate in p_idate
    and
    e~recdu = 'H'.
            SORT i_data BY equnr idate descending .
            loop at i_data into wa_data.
            max_km = wa_data-recdv.
            min_km = wa_data-recdv.
        at new equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,'MAX H',max_km EXPONENT 0 DECIMALS 2 color 7,wa_data-recdu .
        endat.
    at end of equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,'MIN H', min_h EXPONENT 0 DECIMALS 2 color 7, wa_data-recdu .
    endat.
    at end of equnr.
    write: / '----
    write: /50(80) 'Subtotal' COLOR 4 .
    write:/ '----
    endat.
    endloop.

    Hi Guys
    How can I split the max and min value with if condition for KM L AND H as below
    I am getting the km value correctly but rest fields for L and H (lit and hours) it is not ?
    Please comment.
    *APPEND wa_data to i_data.
            SORT i_data BY equnr idate descending .
            loop at i_data into wa_data.
            if wa_data-recdu = 'KM'.
            max_km = wa_data-recdv.
            min_km = wa_data-recdv.
            endif.
            if wa_data-recdu ='H'.
            max_h = wa_data-recdv.
            min_h = wa_data-recdv.
            endif.
            if wa_data-recdu ='L'.
            max_l = wa_data-recdv.
            min_l = wa_data-recdv.
           endif.
        at new equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,
            'Min KM',min_km EXPONENT 0 DECIMALS 2 color 7 ,
             'Min H',min_h EXPONENT 0 DECIMALS 2 color 7 ,
              'Min L',min_l EXPONENT 0 DECIMALS 2 color 7.
        endat.
    at end of equnr.
            read table i_data into wa_data index sy-tabix.
            write:/ wa_data-equnr, wa_data-eqktx ,wa_data-eqfnr ,wa_data-idate ,
            'Max KM', max_km EXPONENT 0 DECIMALS 2 color 7,
            'Max H', max_h EXPONENT 0 DECIMALS 2 color 7,
            'Max L', max_l EXPONENT 0 DECIMALS 2 color 7.
    endat.
    regards
    Piroz

  • Thread use to find max and min in an array of objects??

    Hello everyone,
    I need to find the min and max int value in a array of Objects.
    This has to be done using threads--like divide the entire array into 10 or so blocks and find the local min and max in each block., Each block is run on a thread and finally comparing them to find the global max and min.How should I do this? I am new to Java programming and in particular to threads.
    Thanks for your time and patience in answering this newbie question.
    JP

    Hi,
    if i understand your problem, you have a big array with a lot of int values and you need to create a few arrays with a part of the big one in each, next each in a thread find the max and the min, next return the max and the min of each thread and compare these max and min to obtain the globals max and min?
    In that case you can create a class in which is your big array. you create a second class implementing Runnable, in its creator you put the instance of the
    first class and 2 int which are the beginning and the ending index. in this class add a method run in this method you create a loop to compare the current value to the max and min values, and you replace if you need to do. In the first class you put the main where you create a few instance of the second class in a thread :
         private Thread threadName = new Thread(new SecondClass(this, start, end));
    Next you start all these thread:
    threadName.start();
    At the end of the run method of the second class you have to write your result in the max and min fields of the first class(int type, you have to create it)
    Write it only if it's necessary (if the current max is > than the already existing max).
    I think it's complete!
    Sorry if it's not really easy to understand, I'm french, but you can answer if you have more questions.
    S�bastien

  • Unexpected Result Sets by Changing MAX to MIN

    I was expecting the identical result sets from the following two SQL statements:
    SELECT HIST.LDR_SYSTEM_ID "MISSING SYSTEM PK"
    FROM GM_SYSTEM_HIST HIST
    WHERE HIST.SYSTEM_HIST_ID = (SELECT MAX (DUPL.SYSTEM_HIST_ID) /* SYSTEM_HIST_ID is the PK for GM_SYSTEM_HIST */
    FROM GM_SYSTEM_HIST DUPL
    WHERE HIST.LDR_SYSTEM_ID = DUPL.LDR_SYSTEM_ID)
    AND HIST.LDR_SYSTEM_ID NOT IN (SELECT SYSTEM_ID FROM GM_SYSTEM) /* SYSTEM_ID is the PK for GM_SYSTEM */
    AND HIST.SYSTEM_HIST_ID IN
    (SELECT SYSTEM_HIST_ID FROM GM_INTGRTY_INVN
    UNION
    SELECT SYSTEM_HIST_ID FROM GM_INTGRTY_PROXIMITY);
    SELECT HIST.LDR_SYSTEM_ID "MISSING SYSTEM PK"
    FROM GM_SYSTEM_HIST HIST
    WHERE HIST.SYSTEM_HIST_ID = (SELECT MIN (DUPL.SYSTEM_HIST_ID) /* SYSTEM_HIST_ID is the PK for GM_SYSTEM_HIST */
    FROM GM_SYSTEM_HIST DUPL
    WHERE HIST.LDR_SYSTEM_ID = DUPL.LDR_SYSTEM_ID)
    AND HIST.LDR_SYSTEM_ID NOT IN (SELECT SYSTEM_ID FROM GM_SYSTEM) /* SYSTEM_ID is the PK for GM_SYSTEM */
    AND HIST.SYSTEM_HIST_ID IN
    (SELECT SYSTEM_HIST_ID FROM GM_INTGRTY_INVN
    UNION
    SELECT SYSTEM_HIST_ID FROM GM_INTGRTY_PROXIMITY);
    MISSING SYSTEM PK
    411539
    610343
    311152
    311155
    431231
    631785
    6 rows selected.
    MISSING SYSTEM PK
    332000
    612339
    2 rows selected.
    Why would the result sets change from MAX to MIN?

    Bob from Austin wrote:
    I was expecting the identical result sets from the following two SQL statements:And why would they be the same? Assume table GM_SYSTEM_HIST has:
    SYSTEM_HIST_ID LDR_SYSTEM_ID
    1              10
    2              10
    3              10Now, even though resgrless if you use MAX or MIN you will get back LDR_SYSTEM_ID = 10, using MAX will return row
    3              10while using MIN will return row:
    1              10And it could be row
    3              10satisfies other where clause conditions:
        AND HIST.LDR_SYSTEM_ID NOT IN (SELECT SYSTEM_ID FROM GM_SYSTEM) /* SYSTEM_ID is the PK for GM_SYSTEM */
        AND HIST.SYSTEM_HIST_ID IN (
                                     SELECT SYSTEM_HIST_ID FROM GM_INTGRTY_INVN
                                    UNION
                                     SELECT SYSTEM_HIST_ID FROM GM_INTGRTY_PROXIMITY
                                   );while row
    1              10does not. Or vice versa.
    SY.
    Edited by: Solomon Yakobson on Dec 16, 2009 2:49 PM

  • How to find out the max/min value of one field corresponding to a second field in HANA through graphical way.

    Hi,
    I am trying to find out the latest delivery date(EINDT)  for each purchasing document (EBELN) through graphical way.
    The view contains other fields apart from the above mentioned two fields.
    When only the two fields (EBELN, EINDT) are there, then in semantics, I can select 'Max' as aggregation to get the maximum value for each document.
    If I do like this, then I need to join more than 3 views and also so many joins in calculation view. Taking so much time for data preview.
    Hence , please help me in getting the solution while the view contains other fields also.
    Thanks in advance.
    Thanks,
    Jyothirmayi

    Hi Sreehari/Vinoth,
    Thank you for your replies.
    if only two fields are then I can get the max/min values of one field corresponding to other field.
    But more than two fields are there with different values, then let me know how to find out the max/min value of a particular filed corresponding to the 2nd field with other fields also should be in the output.
    I hope you understood my issue.Please revert in case of questions.
    Thanks & Regards,
    Jyothirmayi

  • How to pass column name as a   values from one page  to another

    hi
    i have created a report(pivot) from a table
    SQL> SELECT * FROM T;
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    A   AB           3                    2
    A   AC           2                    3
    B   AB           5                    4
    B   AC           6                    5
    SQL> SELECT C1
      2  ,NVL(MAX(CASE WHEN C2='AA' THEN C3 END),'') AA
      3  ,NVL(MAX(CASE WHEN C2='AB' THEN C3 END),'') AB
      4  ,NVL(MAX(CASE WHEN C2='AC' THEN C3 END),'') AC
      5  ,SUM(C3) FROM T GROUP BY C1;
    C1          AA         AB         AC    SUM(C3)
    A            2          3          2          7
    B                       5          6         11
    SQL>
    my requirement in Apex is like this(reverse)
    eg-
    when i click on cell values '2' then,it should return
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    {quote}how to pass column name as a  values from one page to another
    for example i have to pass 'c2' as a value to next page{quote}for report pivot you can reffer below link
    Report
    Amu

    thanks for your reply
    i 'm doing what exactly you mention here .
    my problem here is
    i have 15 columns
    i am executing a query based on the values of the column(column name)  in the target page
    1)here i am passing(all) the column values to the next page-but  i want to pass only one column values(column name)
    when i click on any cell of that  column
    OR
    2)i can pass all column name to target page -there(in the target page) i can filter out
    i think option 1 would good if you filter out the unwanted columns
    Regards
    Amul

Maybe you are looking for

  • Can or should I use ipad whilst charging

    Can or should I use my iPad while its charging? How best to prolong battery life, thanks...

  • Missing thumbnails in effects panels - PSE 10 - PC-Win7

    The individual thumbnails for filters, layer styles, photo effects, all effects are missing.  This happened previously and I reinstalled PSE.  They appeared. This evening earlier, the filters (did not pay attention to the other 3) were showing but no

  • Licensing my application on a target computer

    I built an application and intend to sell it for use in a target computer. How can I incorporate a parallel key for use with my application? Or are there other ways I can license my product? Help is greatly appraciated. Thanks.

  • Starting with BC, DW, or Muse trying to create a restaurant menus app

    I have been following videos from BC-Gurus about creating an app for restaurant menus. BC seems easy, but it becomes frustrating trying to create the app with multiple menus (Chinese, Grill, Kids, etc.), multiple course types(Starter, vegetarian, bee

  • Idsync with LDAP replication

    I have 2 LDAPs set up in a replication. LDAP2 is the failover for LDAP1. Will I be able to set up password synchronization on both of them from a single AD? The need is if LDAP1 goes down, LDAP 2 should be able to server the apps along with the synch