VOC highest value

Hi Guys,
There are two Volatile Orgnaic Compounds values getting displayed, but our requirement is to get the highest value among the two values.
Please let us know if you have any solution for this.
Regards,
Rafi Mohammed

Hi Ralph,
We have introduced the code we are able to preview the label perfectly. But when our client tries to print the label he is unable to do it.
Below is the log that we received
I000 Trace:
I000 ======
I000 02/10/12 09:16:55 Start Function 'WWI_GENERATE_LABEL'
I000   Initializing parameters
I000   Receiving data from client
I000   wait for semaphore
I000   semaphore allocated
I000 License check: I000 EH&S License verified.
I000   starting resolve for mode L
I000   Writing Result File
W000 WARNING:  The height of the labelstock is too small for this amount of rows and margin. Labels may be printed on the next page.
W000 WARNING:  The left edge of the shape 1036 is larger than the defined height of the label! The shape will probably not be visible on the label. Please check the template.
W000 WARNING:  The right edge of the shape 1036 is larger than the defined height of the label! The shape will probably not be visible on the label. Please check the template.
W000 WARNING:  Unknown rotation case! Got following data: PaperWidth=612.050009;PaperHeight=792.050012;LabelWidth=612.077000;LabelHeight=396.050000;LandscapeFlag=0
I000     GenerateLabel got 'SUCCESS' (0) as result from 'WWILABEL.DLL' and cleans up now
I000   Initializing Word connection at 02/10/12 09:16:55
I000   Initializing winword.exe process list
I000   Updating winword.exe process list
I000   Closing Word connection at 02/10/12 09:17:00
I000   process exit code: 0
I000   release semaphore
I000   Initializing result-file for OrderNo. 00000000000000001882
I000   Checking results returned from WWI in the Result-File
I000   Checking existence of generated file C:\WWI\WWI_GENSERVER_SYN_DEST\P00000000000000001882.PRN
We have analyzed it and found that there are some differences in width of the label with respect to the paper which is being used for print. But there is a statement in the log 'I000     GenerateLabel got 'SUCCESS' (0) as result from 'WWILABEL.DLL' and cleans up now', we are unable to understand this. This says the label is SUCCESS and also says WWILABEL.DLL cleans.
Could you please let us know if the label data is getting cleared once it is generated.
Regards,
Rafi

Similar Messages

  • How can we select the highest value from 3 disfferent #defined values???

    Hello,
    Sometimes I come across the requirement of having the program automatically select the highest value
    among several defined preprocessor command statements. For example:
    #include "stdio.h"
    #include <math.h>
    #define _K_BUF_OTHERS 20
    #define _k_BUF_ENV_TAGS 30
    #define _k_BUF_REGS 40
    #define _k_MAX(x, y, z) (max((max(x, y)), z))
    int main(){
    unsigned int u;
    u = _k_MAX(_k_BUF_OTHERS,_k_BUF_ENV_TAGS, _k_BUF_REGS);
    return 0;
    In the sample above we have three (3) different define statements called :
    _k_BUF_OTHERS
    _k_BUF_ENV_TAGS
    _k_BUF_REGS
    but at any given time in certain C modules (In this case above, the main.c module) I require for the program to know
    which of the three is the highest and get that highest value so I can use it downstream of my code. In this case the highest would be 40. So therefore putting the following macro anywhere in my code should make a text substitution of the macro's value
    and return 40 to u:
    u = _k_MAX(_k_BUF_OTHERS, _k_BUF_ENV_TAGS, _k_BUF_REGS);
    But I can't even compile the program!
    Here's the error I get in VC++:
    1>------ Build started: Project: MinMax, Configuration: Debug Win32 ------
    1>  Source1.cpp
    1>c:\c++_tests\minmax\minmax\source1.cpp(15): error C3861: 'max': identifier not found
    1>c:\c++_tests\minmax\minmax\source1.cpp(15): error C3861: 'max': identifier not found
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Can someone please have a look and see what I am doing wrong.
    All help appreciated...
    Thanks
    r

    On 4/12/2015 4:30 PM, roberto wrote:
     1>c:\c++_tests\minmax\minmax\source1.cpp(15): error C3861: 'max': identifier not found
    So implement or #define one. C standard library doesn't provide a function named "max".
    Igor Tandetnik

  • Highest values

    Can any one help me in coding ,to find the 3 highest values from an array.

    Preethi_Raja wrote:
    hi thanks
    Actually we are developing a project for a telescope.
    My program has an array of intensity values(i.e The pixel values of the image taken from the telescope)
    The highest value means the brightest source or point.
    Now my program needs to find three brightest point from an image.Start by thinking of how /you/ would solve the problem. If I gave you 100 numbers, and asked you to find the three highest, how would you proceed to do that? How would you then (generically) tell a computer to do this? And finally, how would you do this in Java?

  • Function module that can give the last value or the highest value of a key

    hi,
    Is there any function module that can give the last value or the highest value of a key feild in a z table.
    regards,
    johnson

    Hi ,
    We have  aggregate functions in SQL. Some of the functions are as follows.
    MAX(col ) Determines the maximum value of the value in the column col in the resulting set or in the current group.
    MIN( col ) Determines the minimum value of the content of the column col in the resulting set or in the current group.
    AVG(  col ) Determines the average value of the content of the column col in the resulting set or in the current group. The data type of the column has to be numerical.
    SUM( col ) Determines the sum of the content of the column col in the resulting set or in the current group. The data type of the column has to be numerical.
    COUNT( col ) Determines the number of different values in the column col in the resulting set or in the current group.
    For further details , type the function name name and press F1 for further help.
    Eg: select count(mantr) from mara into workarea where condition.
    Reward points if helpful.
    Thanks and Regards.

  • How to use my findTheHighest method to find the highest value in my two dim

    I am going to create a 13row by 10 colume two dimensional array.
    how to use my findTheHighest method to find the highest value in my two dimensional array.
    .When i compile this program , i got those as following;
    "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsExce
    at TaxEvolution.findTheHighest(TaxEvolution.java:31)
    at TaxEvolutionClient.main(TaxEvolutionClient.java:25)"
    public class TaxEvolution{
    public double[][] salesTaxRates;
    public TaxEvolution()
      salesTaxRates = new double[13][10];
      fillProvinTaxRates();
    private void fillProvinTaxRates()
      for ( int row = 0; row < salesTaxRates.length; row++ )
        for ( int column = 0; column < salesTaxRates[row].length; column++ )
          salesTaxRates[row][column]= (int)(Math.random()*5000) + 1;
    public double findTheHighest()
        double highest = salesTaxRates[0][0];
        for ( int row = 0; row <= salesTaxRates.length; row++ )
          for ( int column = 0; column <= salesTaxRates[row].length; column++ )
             if ( salesTaxRates[row][column] >= highest )
                   highest = salesTaxRates[row][column];
        return highest;   
    public double[][] arrayTaxEvolution()
      double[][] returnTaxRates = new double[13][10];
      for ( int row = 0; row < salesTaxRates.length; row++ )
        for ( int column = 0; column < salesTaxRates[row].length; column++ )
          returnTaxRates = salesTaxRates;
      return returnTaxRates;
    public class TaxEvolutionClient{
    public static void main( String[] args ){
      TaxEvolution protaxRateList = new TaxEvolution();
      double[][] taxRateList = protaxRateList.arrayTaxEvolution();
        for ( int i = 0; i < taxRateList.length; i++ )
          for ( int j = 0; j < taxRateList[0].length; j++ )
            System.out.print( taxRateList[i][j] + "\t" );               
            System.out.print( protaxRateList.findTheHighest + "\t" );
    }

    Multiposted
    http://forum.java.sun.com/thread.jspa?threadID=699057&tstart=0

  • Dynamic filter to capture the highest value at runtime.

    Hi,
         Is there a way through which we can have a dynamic filter in Webi, which would automatically filter the maximum value from a list of values associated with a dimension object? 
         I have the following scenario :- I have a dimension object called 'Plan Version', whose list of values would typically be 00, 01, 02, 03.....and so on. These values are updated in the database after every 15 days. Now, in my report, i need to display the data which would be associated only to the highest 'Plan Version' value. This requires me to apply a filter on the highest value of 'Plan Version', which is not a difficult job to do if it has to be a static filter. However, I need it to be a dynamic filter, i.e., every time a new plan version is uploaded in the system, and if the report is refreshed, the report filter should automatically select (highlight) the highest value for 'Plan Version' and display the data accorsingly.  One way would be to use the 'Max' function, but aggregate functions cannot be used in filters. Any help would be greatly appreciated.
    Thanks,
    Alok.

    Hey Alok,
    You're correct, using Max(). But you have to apply/use it @Universe level not @Query panel.
    Create Object @Universe:
    Plant version = Max([Plant Version]) and make it as Dimension type.
    Now use this Plane version object for Prompt @ Query level. So that it will fetch max value for the Plant Version all times.
    Hope you got the logic.
    Gracias...!!

  • Read and assign the highest value

    Hi experts
           I want to read the highest value of the records in a condition basis for example matnr wise then assign that value to some records.
         how to read and assign the value, pls help me out.
    Thanks in advance.
    regards
    Rajaram

    hi
    sort itab by <fildname> descending.
    read table itab  into wa index 1.
    assign wa-fildname to the required records or variables
    regards
    vijay
    reward points if helpful

  • Need to take rownum highest value without using grouping functions

    Hi
    I want to display highest value in the rownum column and customer details without using grouping functions like max or count
    this below query gives me all rownum values and customer details
    SELECT ROWNUM ROWNUM_1, CUSTOMER_NO, CUSTOMER_NAME, CUSTOMER_DOJ, CUSTOMER_MOBILENO FROM CUSTOMER;
    can any one help me.

    The above query won't work as it's missing "from" cluase in the inner select statement.
    And even if corrected it willl print rownum values thrice: value "1",max_rownum, max_rownum followed by customer details.
    Below is the simple query to retrieve max row_num along with the corresponding customer details.
    select * from (SELECT ROWNUM ROWNUM_1, CUSTOMER_NO, CUSTOMER_NAME, CUSTOMER_DOJ, CUSTOMER_MOBILENO FROM CUSTOMER order by rownum_1 desc) where rownum<=1 ;

  • Reading highest value out of internal table

    Hi all,
    It feels like a bit of a newbie question, but does anyone know an appropriate way to read the highest value of a field in an internal table? For instance simular to ..select max.. for DB selections?
    I can of course sort the table on that field and do a read table with index = 1, but that doesn't look very pretty. A function module which does the trick would be most appreciated.
    Kind regards,
    Martijn de Jong.

    Hi Jong,
    <i>I can of course sort the table on that field and do a read table with index = 1, but that doesn't look very pretty.</i>
    who said it doesn't look pretty.
    that logic which you have is the way you should proceed.
    There is no FM for this , try Putting the logic in side new FM and call it if you want.
    Regards
    vijay

  • Finding max() within a max() or highest value in 1row-1col w. multi-value

    Hi,
    I am trying to get a result set that has following criteria
    - for rows using the same WEL_FK column, I'd like the latest date
    and within the latest date the highest weight. (Sort of a max() within a max()) for each WEL_FK).
    -if there is a row that has no other matching WEL_FK;s (like row 8)
    it should still return that row.
    PER_PK WEL_FK A_DATE WEIGHT
    1 1 2010-10-22 4
    2 1 2010-11-23 4
    3 1 2010-10-22 6
    4 3 2010-10-22 2
    5 3 2010-11-23 2
    6 3 2010-10-22 2
    7 4 2010-10-22 5
    8 6 2010-10-22 5
    9 6 2010-10-21 6
    10 6 2010-10-22 4
    10 rows selected.
    RESULTS desired
    PER_PK WEL_FK A_DATE WEIGHT
    2 1 2010-11-23 4 because it has the latest date within same foreign key even if wt. not the highest
    5 3 2010-11-23 2 because it has the latest date within same foreign key, wts. are equal
    7 4 2010-10-22 5 because there are no other rows with that WEL_FK
    8 6 2010-10-22 5 because it has latest date with highest wt.
    I am able to get close to what I want using the SQL below which gives me correct rows
    but does not tell me the "weight" nor "PER_PK" column.
    I have been trying to find a way to pick highest value from 1 ROW and within 1 column
    with multiple-values but think I have dug myself into a hole.
    When I add in the PER_PK above, it gives me of course all 10 rows again.
    SELECT wel_fk,
    LTRIM(MAX(SYS_CONNECT_BY_PATH(a_date,','))
    KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM (SELECT wel_fk,
    a_date,
    ROW_NUMBER() OVER (PARTITION BY wel_fk ORDER BY a_date) AS curr,
    ROW_NUMBER() OVER (PARTITION BY wel_fk ORDER BY a_date) -1 AS prev
    FROM test)
    GROUP BY wel_fk
    CONNECT BY prev = PRIOR curr AND wel_fk = PRIOR wel_fk
    START WITH curr = 1;
    WEL_FK EMPLOYEES
    1 2010-10-22,2010-10-22,2010-11-23
    3 2010-10-22,2010-10-22,2010-11-23
    4 2010-10-22
    6 2010-10-21,2010-10-22,2010-10-22
    ==========================================================
    I have been exploring analytics, connect by's, subqueries, wm_concat, SYS_CONNECT_BY_PATH ,etc. along with max()for days and get real close
    but somehow it's off.
    If you are able to provide actual SQL solution, ideally using what I have already, would be appreciated.
    Thanks.
    the_sql

    Try this:
    WITH src AS (
    SELECT per_pk,
           wel_fk,
           a_date,
           weight,
           MAX( a_date ) OVER (PARTITION BY wel_fk ORDER BY a_date
                      RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING ) latest_date,
           last_value( weight ) OVER (PARTITION BY wel_fk ORDER BY a_date, weight 
                      RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING ) max_weight
    FROM TEST
    SELECT per_pk,
           wel_fk,
           a_date,
           weight
    FROM src
    WHERE a_date = latest_date
         AND weight = max_weight
    PER_PK                 WEL_FK                 A_DATE                    WEIGHT                
    2                      1                      2010/11/23                4                     
    5                      3                      2010/11/23                2                     
    7                      4                      2010/10/22                5                     
    8                      6                      2010/10/22                5       

  • Query to Get next Highest Value for the given value passed

    Hello Gurus
    i want help with a query that would get me the next highest value from a table for a given value passed. Let say these are the values in col of a table
    col
    6000
    5000
    4000
    3000
    2000
    1000
    if i pass 2000 then the output should be 3000 or if i pass 4000 then query should result 5000. Please help

    May be this:
    WITH t AS (SELECT 6000 val FROM DUAL
               UNION ALL
               SELECT 5000 FROM DUAL
               UNION ALL
               SELECT 4000 FROM DUAL
               UNION ALL
               SELECT 3000 FROM DUAL
               UNION ALL
               SELECT 2000 FROM DUAL
               UNION ALL
               SELECT 1000 FROM DUAL)
    SELECT min(val)
      FROM t
    WHERE val > &YourVal

  • How to add only highest values in the column

    Hello All,
    We have report where I need to add only highest values in 'Price' column.
    Ex:
    Group  Mat      Price
    Grp1    Mat1    50
               Mat2    75
               Mat3    100
    Grp2    Mat1    50
               Mat2    100
    I need my result as 200...
    Any input is appreciated!
    Thanks in advance !!
    Venu.

    Sriman/Surendra,
    Unfortunately, this approach does not work because the Calculate Result As --> Maximum applies not only to the subtotals but also to the grand total. Therefore, the result in Venu's example will be:
    MAX(Grp1) = 100
    MAX(Grp2) = 100
    MAX(All Grps) = 100
    We have the same requirement as Venu, but have not found a satisfactory solution yet. The only way we have solved such problems in the past is to use VBA in workbooks, but the report we are using now is a Web report.
    Hope this helps to clarify the issue...
    Bob

  • To find the number that has the highest value

    I have an internal table with one field containing numeric values. I want to know the number that has the highest value. Can you tell me how do I do that?
    Is there any keyword for this?
    Thank you,
    Krishen

    Hi,
      Use the below procedures..
    <b>CASE 1</b>
    SORT <itab> by <Fld>
    where <itab> - Internal Table.
    and <Fld>     - Field Name ( in your case it is the field with numeric values)
    describe table <itab> lines <no_of_lines>
    <no_of_lines> - total number of lines in the table.
    read table <itab> index <NO_OF_LINES>
    the above read statement gives the highest record.
    <b>CASE 2</b>
    SORT <itab> by <Fld> descending.
    where <itab> - Internal Table.
    and <Fld>     - Field Name ( in your case it is the field with numeric values)
    read table <itab> index 1.
    the above read statement gives the highest record.
    I hope this solves your problem.
    Regards,
    Vara

  • Store highest value

    is there any vi that can latch on the highest value and output it?
    for example i have a sine wave like signal and i want the output to be the highest peak that the signal has reached.

    If you have an array, you can use array max & min from the array pallete. If you have waveform data, you should be able to use the amplitude and levels VI in analyze>>waveform measurements pallete. If you have a continuous signal, you can write a small piece of code using a shift register. If the data is bigger than what's currently in the shift register, you replace it.
    Try to take over the world!

  • Find highest value

    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

    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

Maybe you are looking for