Calculate Maximum of a char numeric

Hi gurus,
I have a DSO with the next fields 0CUSTOMER (CHAR), 0DOCUMENT (CHAR numeric), 0AMOUNT (NUMC) and the key fields are 0customer y 0document.
I want to load the max or last 0document for each 0customer in other DSO.
How can I do it?
Thanks y regards,
Iñaki

Hi Inaki,
If you have only the 0CUSTOMER in keyfields and 0document and 0AMOUNT in datafields of DSO then we will have onlythe last entry of document for each customer. But still if you want to keep both in keyfields then we need to write routine reading the data from the active data table of DSO and comparing that with the incoming data. If a record already exists then you need to delete from Active data table.
Let me know if you need more information on this.
Regards,
PV

Similar Messages

  • Calculate maximum value of subarray while creating it using a case structure and shift registers

    I have two 1D arrays that contain cyclical information (kind of like a sine wave).  One that contains information on position in degrees and another that contains torque.  I would like to calculate the maximum torque value each time the position is within a certain range (e.g. from 30-80 degrees).  The ranges are repeated - that's why it is cyclical.   I use the "in range" function, a case structure and shift registers to build a new array with values that fall within the range I specify - this was the easy part (see VI attached).  I'm struggling with a way to calculate a maximum value for each subarray formed when values are "in range".   Your help is much appreciated.
    Solved!
    Go to Solution.
    Attachments:
    Simple Calculate between anatomical position range.vi ‏16 KB

    It's not really noise - it's more inconsistency.  So a position output can run: 20, 30, 40, 50, 60 etc.  OR, it could run: 21, 24, 32, 41, 44, 51, 59 etc. But, it is always cyclical. 
    Attached you will find a .csv file with the data arrays - I'm using POS (ANAT) degrees column (column D if you open in excel).  There you also see torque in ft-lbs along with some other information.
    Attachments:
    025C.csv ‏224 KB

  • Best way to calculate maximum of many columns/values per row

    Hello,
    for a new report with some joined tables I have to calculate the last change date. Since every table has a creation and a (last) modification date, I need to get the maximum value from 8 columns to display it.
    Of course I can compare all values by pairs or create a PL/SQL function. But maybe there already exists a fast and easy way to gain this date?
    My query so far. Each of the tables has a cr_date and mod_date column:
    SELECT
        egvg.baugruppe_nummer || egvg.anlagennummer || egvg.geraetenummer AS systemnummer
        , '=' || egvg.baugruppe_nummer || egvg.anlagennummer || egvg.geraetenummer AS systemnr2
        , egvg.gebrauchsname AS gebrauchsname
        , NVL2(egvr.raumkode, '+' || egvr.raumkode, NULL) AS raumkode
        , egvg.lieferant AS lieferant
        , CASE egvgs.kabelanschluss WHEN 1 THEN 'ja' WHEN 0 THEN 'nein' ELSE NULL END AS kabelanschluss
        , egvges.nennleistung_kva AS nennleistung
        , NULL AS letzte_aenderung
        , CASE WHEN egvg.status_id = -1 THEN 'GERÄT GELÖSCHT' WHEN egvges.status_id = -1 THEN 'EDATEN GELÖSCHT' ELSE NULL END AS status
      FROM
        egv_geraete egvg
        LEFT JOIN egv_geraetestamm egvgs ON egvgs.id = egvg.geraetestamm_id
        LEFT JOIN egv_geraetestamm_edatenstamm egvges ON egvges.geraetestamm_id = egvgs.id
        LEFT JOIN egv_raeume egvr ON egvr.id = egvg.raum_id
        LEFT JOIN egv_edaten_sfp egvsfp ON egvsfp.id = egvges.sfp_idThank you,
    Stefan

    >
    This method works but is there an easier (faster) way to update another table with new data only?
    >
    Almost anything would be better than that slow-by-slow loop processing.
    You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*.01)
         WHERE (S.salary <= 8000);

  • Input maximum for field type numeric

    my coldfusion page will not let me input 1000000 into my
    database (field type in DB is numeric), any thoughts on this
    please?
    error is
    "Error Executing Database Query.
    [Macromedia][SQLServer JDBC Driver][SQLServer]Arithmetic
    overflow error converting numeric to data type numeric.
    many thanks in advance for any help

    I'm not sure what you mean by "length" as the two parameters
    for the NUMERIC type are precision and scale:
    PRECISION: Specifies the maximum total number of decimal
    digits that can be stored, both to the left and to the right of the
    decimal point.
    SCALE: Specifies the maximum number of decimal digits that
    can be stored to the right of the decimal point. The default scale
    is 0; therefore, 0 <= s <= p.
    Are you referring to "length" as the number of bytes? A
    number with a precision of 10 would take 9 bytes, otherwise if you
    had a scale of 9, such as in a column of type NUMERIC(10, 9), it
    would be a number of 10 digits, 9 of which would be to the RIGHT of
    the decimal point.
    A value of 1000000 should fit into a NUMERIC(10) (default
    scale=0) column without raising an exception. What does your insert
    statement look like? Are you applying any kind of function to the
    value such as using CAST() or CONVERT()?
    Phil

  • Just got a new IPOD Touch and it wont connect to our Wifi home network with a Belken N Router. Our router uses WEP 64 bit security, but had a "blank" password field, which the IPOD did not like. Changing to a 6 char numeric PW didnt help either.

    OS is whatever OS ships with current IPOD Touch
    I cannot understand why the APPLE engineers have designed this product so that it has SO MANY WIFI problems.  This is supposed to be an easy-to-use product.  We've had no problems connecting our new laptop, our ROKU box, etc, but it seems impossible to get the IPOD touch to work.  NOTHING LIKE SPENDING XMAS MORNING DOING APPLE TECH SUPPORT TROUBLESHOOTING TO LEAVE YOU IN THE CHRISTMAS SPIRIT!!!  Argh!
    In fact, the only way we have been able to get this expensive brand new IPOD to work on our home network is to DISABLE SECURITY in the router settings.  THIS IS ANYTHING BUT A GOOD IDEA.
    DON"T KNOW WHY BUT MANY OTHER USERS ARE REPORTING THE SAME KIND OF PROBLEM SO APPLE ENGINEERING NEEDS TO GET BUSY AND FIX THIS PROBLEM SO THAT NEW USERS CAN CONNECT TO THE INTERNET WITHOUT HAVING TO BE TRAINED ROUTER ENGINEERS TO DO IT!!!!
    Ok, sorry for the rant, but surely those of you who are experiencing this share my frustration.  This is not why I bought an APPLE product.
    IS THERE ANY POSSIBILITY THAT APPLE WILL NOT ALLOW A WIFI PASSWORD with more than one identical alphanumeric character?  Any ideas?  We also tried eliminating the 40 MHZ setting under Bandwidth settings in the router settings for our router, but it made no difference.  The router has the latest firmware, too.  Running out of ideas, and am ready to box this unit up and send it back!

    Thanks, Bob!  You are correct.  And, we learned this as we spoke with APPLE TECH SUPPORT by phone on Christmas day (800-APL-CARE).  One of their reps spent the time to help us troubleshoot this, but the boiled down conclusion is your answer, and to repeat for the benefit of others, here is what worked:
    1. With our Belkin router set to "out-of-the-box" WEP 64 bit security, we could not get wireless access of any kind.  Only with the Security Mode set to DISABLED, could we gain access.
    2. Changing the router's security mode setting to "WPA/WPA-2...." and entering a new min. 8 char passphrase, and then entering that same passphrase into the IPOD Touch, and restarting the router, did the trick!
    Based on this, and some info found in another posting, I can only conclude that the IPODs and IPHONES do not support WEP security mode in many generic routers used by thousands of consumers.  Hopefully, those same consumers can figure out how to change their wireless router setttings to WPA/WPA-2 security mode and ALSO get all their other wireless devices (PCs, laptops, WII boxes, ROKU boxes) all reconfigured to WPA mode, too.
    I THINK THE BOTTOM LINE HERE IS THAT THERE IS AN ISSUE THAT APPLE NEEDS TO ADDRESS WITH WEP COMPATIBILITY and it may also be the case that MOST CONSUMERS ARE USING WEP 64 BIT security on their home wireless routers?
    In any case, it's working now, so anyone who is having problems should try changing to WPA mode and post back here if it worked for them!

  • How to calculate Maximum value in a single row in OBIEE?

    Hi,
    I have a requirement having 4 measures A,B,C,D ranked by period, P1,P2 for each branch.
    The measures are ranked for these meaures by each period and now the output is as
    Branch Name---> A for Period1-----> A for Period2------->Rank(A in Period1) ----->Rank(A in Period2)----> (and so on for other 3 measures)
    Br1---->1000---->2000---->1----->2----> and so on
    Br2----->600---->4000----->2----->1----> and so on
    From the above output, I need to calculate the top3 ranks for each branch..ie., row wise i need to calculate the top3 ranks for each branch.
    I tried using Evaluate(Greatest()) in OBIEE. But when i try to use Rank() inside Greatest(), the following error is thrown.
    Can anyone help me in this? Is there any way to achieve the output?
    Thanks in Advance.
    Regards,
    RB

    Step : 1
    Sort itab by <Field1> descending.
    Just sort the internal table by the field.
    STEP: 2
    Then read the table at index 1.
    Read table itab index 1.               
    ITAB-FIELD = MAX .                  " Max field will come in the first row of the internal table.
    Regards,
    Gurpreet

  • Not able to calculate maximum DateTime and minimum DateTime in DataObject

    Hi,
    I tried using 'Max' and 'Min' function to get the maximum and minimum of a DateTime Field in the data Object but its throws me : BAM-01242:Invalid calculated coloumn.
    Can't we use 'Max' and 'Min' function on DateTime field in Data Object or Report in Calculated type?
    Thanks in Advance.
    Saba

    Hi Anju,
    Try this...
              <xsl:variable name="monthDiff">
                   <xsl:call-template name="monthDifference">
                        <xsl:with-param name="date1" select="/tns:StartDate"/>
                        <xsl:with-param name="date2" select="xp20:current-date()"/>
                   </xsl:call-template>
              </xsl:variable>
         <xsl:template name="monthDifference">
              <xsl:param name="date1"/>
              <xsl:param name="date2"/>
              <xsl:value-of select="(xsd:date($date1) - xsd:date($date2))"/>
         </xsl:template>Cheers,
    Vlad

  • Forms: Oracle AS 10g R2 - parameter with "char" type only limit to 4k

    Hi,
    i have one forms with parameter ":parameter.whole_rights" (Datatype=Char, Length=32767) over design time.
    when i compiled and execute it in old server (Oracle AS 10g R1), it work perfectly but when compiled and execute it over the 10gr2, it always show ora-06502: pl/sql: numeric or value error.
    after some troubleshooting, i found out that the maximum length for "char" type parameter is only 4k. if i assign any string larger than 4k characters, it will show the error as per mentioned but it work on old server...
    anyone have this problem and how to resolve it???
    additional information:
    server is on unix environment.
    Edited by: cy82 on Jun 15, 2010 3:35 AM

    Hi there,
    the application does not use up all the 32k characters, the maximum length it use currently is around 6k.
    the parameter is used to store all the available access right (forms name, button/object name, read, write etc which is very customized & application specific design). every related access right in that parameter will be passed seperately into related form when the form is called to control the view, transaction nature etc.
    as the design involve other system who passed the data in, i not really plan to change it as it involve interface between 2 systems instead try other possible ways (simple and less impact).
    i think i should not say it use up all 32k, i just curious why the application declare the length as 32k over the forms design time but the actual length was only limited to 4k during forms execution time on Oracle AS r2.
    thanks for suggesting me to try the copy build in and i will try it & post the result tomorrow. i think it should work because i saw your quote for the documentation here:
    In Oracle Forms 10g, all parameters of datatype CHAR are limited to 4000 bytes when set or referenced using PL/SQL bind variable notation; for other usages no limit is imposed.
    as the "copy" build in does not use the parameter as PL/SQL bind variable, quite large posibilities it works...will try and update the result tomorrow....
    another question: where did you get the documentation for oracle forms?? i'm searching around and still cant find the quote that you copy from documentation. hopefully you can give me the link for my future reference.
    Edited by: cy82 on Jun 16, 2010 9:58 PM

  • How Do I Detemine Maximum DVD Time For A PCM Audio DVD

    I have been working with my CS2 Premiere to create some auto play, audio-only DVDs that are autoplay.  To clear the air, yes I know that CS4 will permit 24bit-96 kHz.  For the time being 16 bit-48 kHz will suffice as it has CD quality  The bonus that a DVD format provides a greater playing times.  So the object is to make a PCM audio only DVD.
    Here is my problem: How to get really long playing time.  I know I can make high quality, 2-channel (ordinary stereo)  DVD-A's up to 3 hours using Minatonka Bronze.  Unfortunately, DVD-A discs are worthless as they cannot play in 90% of DVD players, but they prove the time point.  I would think that one should be able to make a conventional DVD, but with the PCM sound format of that same length.
    I just finished one that fit with a 103 minute, 16/48 stereo audio file of 1.11 GB size.   I also had a video file that I created using several photos. Sorry, don't have the final video file size.  I erased it all from my computer.  However, the final disc size was 3.754 GB.  A little extrapolation suggests a maximum DVD length of 119 minutes.  That with simple video and PCM audio.  Now, can one make a similar DVD with 150 minutes?
    I had three 48 kHz files that I created in Adobe Audion.  They were 1.599, 0.911, and 0.974 GBs in size.  That added up to 3.480.  The playing time is about 2:30 Hours; quite a bit less than 3 hours.   I tried burning a DVD with these, audio-files-only.  I checked lowest quality video, used no video, and got an Export To DVD error that I had "insufficient" space on the 4.7 GB disc!  So, I used the two latter files, which added to only 1.884 GB.  Premiere did not baulk, and it successfully burned a DVD that played.  Then I added the 1.599 GB file, and, once again, it produced an error.  This was clearly not going to work.
    At this point, I realized that Audition had done what it liked to do: It had saved the 16 bit-48 kHz files as 32 bit-48 kHz!  So, I went back to Audition and used EDIT to change the files to genuine 16 bit-48 kHz files.  When I opened them in Premiere, Premiere reported 16 bit-48 kHz files.  Their sizes were now, 0.799, 0.456, and 0.487 GB.  Please note that this totals 1.742 GB.  This is less than the 1.884 GB I had successfully used before.   Once again, I was getting the "insufficient" space error.
    I searched the CS2 Premiere manual and its index, but cannot really find any way to calculate maximum times, or squeezing the most out.  So, anybody got some ideas?
    Mike

    When working from DVD-Videos, this ARTICLE might be helpful - All VOB's (the container for the MPEG-2 files in a DVD-Video) are not created equally.
    Most DVR's write a VOB 01, that is not up to the DVD-specs. That can create a problem for PrE (and also PrPro), and if you have issues, please do follow Neale's advice.
    Good luck and welcome to the forum.
    Hunt

  • Numeric Precision Error

    Hi,
    I am using ODP 10.2.0.2.21 with c# and .Net 2.0 and Oracle 10g.
    Most of my stored procedures output the results back to the caller in the form of a generic REF CURSOR. When I call OracleDataAdapter.Fill to populate a data-set using a call to one of these stored procedures, it works fine as long as the stored procedure returns data. If no rows are returned, I get the following error:
    [Oracle.DataAccess.Types.OracleTypeException]: numeric precision specifier is out of range (1 to 38).
    Looking up this error, I've found that it normally occurs as a result of an attempt to run some DDL SQL that creates a table with a numeric column whose precision exceeds the maximum allowable e.g. numeric(39). This is not the case here, as the stored procedures that are failing are mostly pure select statements and do not even utilise temporary tables or bulk collection. It is almost as if the OracleDataAdapter is unable to get the schema representation of the column when there is not at least one row of data.
    I have pasted the full exception stack below:
    at Oracle.DataAccess.Types.OracleDecimal.ConvertToPrecScale(OracleDecimal value1, Int32 precision, Int32 scale)
    at Oracle.DataAccess.Client.OracleParameter.PreBind_Decimal()
    at Oracle.DataAccess.Client.OracleParameter.PreBind(OracleConnection conn, IntPtr errCtx, Int32 arraySize)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
    at Oracle.DataAccess.Client.OracleDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
    at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
    Any help on this would be appreciated.
    Regards
    Roy Griffiths.

    Hi Mark,
    It would be difficult to distill this down to a small enough example to post, but I could email you an example if you want.
    I have done a bit more investigation however, and believe that I have found the cause of the problem.
    My application obtains the parameters for any stored procedure that it calls using OracleCommandBuilder.DeriveParameters. As this is an expensive call (it requires a round trip to the database), I cache the output when a stored procedure is called for the first time. Specifically, I store a number of properties for each stored procedure parameter, including its precision and scale. I then use the cached properties to build the parameters collection on the command object when the stored procedure is called.
    I've noticed that the OracleParameter.Precision and OracleParameter.Scale properties always return zero, regardless of the definition of the parameter on the stored procedure. I've also noticed that there are 2 private member variables (m_precision and m_scale) that contain non-zero values. If I use reflection to obtain and cache these values and use them to set the scale and precision of Command.Parameters[n] then the problem goes away.
    I'm not particularly keen on this as a solution however, and would much rather use the public properties for precision and scale (OracleParameter.Precision and OracleParameter.Scale). Do you have any idea why they don't return values?
    Regards
    Roy.

  • Maximum  number of characteristics and  Key figures used in a Query

    Hi Experts,
                Any Thought on the maximum number of Characterstics and key figures that can used in a Query. I know  it impacts performance query and runs for very long time.
    Thanks,
    Kumar.

    Hi Kumar,
    Welcome to SDN.
    I really did not think about it till now, sharing my thoughts on this -
    1. You can use all the characteristics & Key Figure ( & more)in Query what you have in you Cube.
    2. Query is suppose to serve a purpose, to deliver you analytics based on some KPI etc & it will have maximum no of char / key figures which human mind could make some sense of.
    3. Performance of query actually is divided into three areas -
    a. database time
    b. OLAP time
    c. Front End time
    and if you query on not performing well first look at which area is taking maximum time & the optimize that first & there are various ways to optimize each area.
    Hope it helps.
    VC

  • Calculate no of process

    Hi All,
    We are using Oracle11g on AIX 6.1, we would like to calculate "Maximum number of PROCESSES allowed per user", depend on CPU, MEN, process or session?

    user460521 wrote:
    Hi All,
    We are using Oracle11g on AIX 6.1, we would like to calculate "Maximum number of PROCESSES allowed per user", depend on CPU, MEN, process or session?OK, nobody is stopping you from doing so.
    "per user"?
    3-tier application?
    Is connection pooling utilized?

  • Sum of numeric field

    Hi All
    Is there a server behavior to calculate the sum in a numeric
    field? I know how to do the total records, but can't find one to do
    summation in Dreamweaver 8.
    Please help.
    JA

    SQL will do a sum, e.g.,
    SELECT SUM(quantity) AS total_orders
    Use something like that to create a recordset which contains
    a single value
    (total_orders=200) or something.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jka_za" <[email protected]> wrote in
    message
    news:eeot05$da7$[email protected]..
    > Hi All
    > Is there a server behavior to calculate the sum in a
    numeric field? I know
    > how to do the total records, but can't find one to do
    summation in
    > Dreamweaver 8.
    > Please help.
    >
    > JA

  • Maximum amount of records

    hi,
    I need to calculate maximum amount of records that I can store in my db, how can to calculate that?
    thanks you by any idea

    Hi
    Max. no of record stored in db is not depands upon ur space(hard disks/any media on which u store it), conceptually there is no any such limit.
    Raju

  • Column Not Displayed in Universe

    Hi,
    I can't see column in Universe. I'm connecting to SAP Tables using ODBC. My database is MaxDB. My platform is Windows 32-bit. I'm using BO Edge XI 3.1. Here is my original PRM file.
    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE DBParameters SYSTEM "../dbparameters.dtd"><DBParameters>
         <Configuration>
              <Parameter Name="DB_TYPE">GENERIC</Parameter>
              <Parameter Name="SORT_BY_NO">YES</Parameter>
              <Parameter Name="GROUPBYCOL">NO</Parameter>
              <Parameter Name="EXT_JOIN">NO </Parameter>
              <Parameter Name="CONCAT">+</Parameter>
              <Parameter Name="UNION"></Parameter>
              <Parameter Name="UNION_IN_SUBQUERY"></Parameter>
              <Parameter Name="INTERSECT"></Parameter>
              <Parameter Name="INTERSECT_IN_SUBQUERY"></Parameter>
              <Parameter Name="MINUS"></Parameter>
              <Parameter Name="MINUS_IN_SUBQUERY"></Parameter>
              <Parameter Name="OWNER">Y</Parameter>
              <Parameter Name="QUALIFIER">Y</Parameter>
              <Parameter Name="COMMA">' '</Parameter>
              <Parameter Name="NO_DISTINCT">Y</Parameter>
              <Parameter Name="REFRESH_COLUMNS_TYPE">T</Parameter>
              <Parameter Name="CHECK_OWNER_STATE">Y</Parameter>
              <Parameter Name="CHECK_QUALIFIER_STATE">Y</Parameter>
              <Parameter Name="KEY_INFO_SUPPORTED">N</Parameter>
              <Parameter Name="OUTERJOINS_GENERATION">NO</Parameter>
              <Parameter Name="EVAL_WITHOUT_PARENTHESIS">N</Parameter>
              <Parameter Name="USER_INPUT_DATE_FORMAT">{\d 'yyyy-mm-dd'}</Parameter>
            <Parameter Language="ja" Name="USER_INPUT_DATE_FORMAT">{!d 'yyyy-mm-dd'}</Parameter>
              <Parameter Name="USER_INPUT_NUMERIC_SEPARATOR">.</Parameter>
         </Configuration>
         <DateOperations>
              <DateOperation Name="YEAR">{fn year($D)}</DateOperation>
              <DateOperation Name="MONTH">{fn month($D)}</DateOperation>
         </DateOperations>
         <Operators>
              <Operator Arity="1" ID="ADD" Type="Numeric">+</Operator>
              <Operator Arity="1" ID="SUBSTRACT" Type="Numeric">-</Operator>
              <Operator Arity="1" ID="MULTIPLY" Type="Numeric">*</Operator>
              <Operator Arity="1" ID="DIVIDE" Type="Numeric">/</Operator>
              <Operator Arity="0" ID="NOT_NULL" Type="Logical">IS NOT NULL</Operator>
              <Operator Arity="0" ID="NULL" Type="Logical">IS NULL</Operator>
              <Operator Arity="1" ID="SUP" Type="Logical">&gt;=</Operator>
              <Operator Arity="1" ID="INF" Type="Logical">&lt;=</Operator>
              <Operator Arity="1" ID="EQUAL" Type="Logical">=</Operator>
              <Operator Arity="1" ID="DIFF" Type="Logical">&lt;&gt;</Operator>
              <Operator Arity="1" ID="STRICT_SUP" Type="Logical">&gt;</Operator>
              <Operator Arity="1" ID="STRICT_INF" Type="Logical">&lt;</Operator>
              <Operator Arity="1" ID="IN_LIST" Type="Logical">IN</Operator>
              <Operator Arity="1" ID="NOT_IN_LIST" Type="Logical">NOT IN</Operator>
              <Operator Arity="1" ID="MATCH" Type="Logical">LIKE</Operator>
              <Operator Arity="1" ID="NOT_MATCH" Type="Logical">NOT LIKE</Operator>
              <Operator Arity="2" ID="BETWEEN" Type="Logical">BETWEEN  AND</Operator>
              <Operator Arity="2" ID="NOT_BETWEEN" Type="Logical">NOT BETWEEN  AND</Operator>
         </Operators>
         <Functions>
              <Function Distinct="False" Group="True" ID="Minimum" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>min($1)</SQL>
              </Function>
              <Function Distinct="False" Group="True" ID="Maximum" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>max($1)</SQL>
              </Function>
              <Function Distinct="False" Group="True" ID="Average" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>avg($1)</SQL>
              </Function>
              <Function Distinct="False" Group="True" ID="Sum" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>sum($1)</SQL>
              </Function>
              <Function Distinct="False" Group="True" ID="Count" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="All"></Argument>
                   </Arguments>
                   <SQL>count($1)</SQL>
              </Function>
              <Function Group="False" ID="ASCII_code" InMacro="False" Type="String">
                   <Arguments>
                        <Argument Type="Char"></Argument>
                   </Arguments>
                   <SQL>{fn ascii($1)}</SQL>
              </Function>
              <Function Group="False" ID="Character" InMacro="False" Type="String">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn char($1)}</SQL>
              </Function>
              <Function Group="False" ID="Concat" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn concat($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="Left" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn left($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="LeftRemove" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn ltrim($1)}</SQL>
              </Function>
              <Function Group="False" ID="Length" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn length($1)}</SQL>
              </Function>
              <Function Group="False" ID="Locate" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="String"></Argument>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn locate($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="Lowercase" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn lcase($1)}</SQL>
              </Function>
              <Function Group="False" ID="Repeat" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn repeat($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="Rightpart" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn right($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="Rtrim" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn rtrim($1)}</SQL>
              </Function>
              <Function Group="False" ID="Substring" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                        <Argument Type="Numeric"></Argument>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn substring($1,$2,$3)}</SQL>
              </Function>
              <Function Group="False" ID="Uppercase" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>{fn ucase($1)}</SQL>
              </Function>
              <Function Group="False" ID="Absolute" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn abs($1)}</SQL>
              </Function>
              <Function Group="False" ID="Arc_cosine" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn acos($1)}</SQL>
              </Function>
              <Function Group="False" ID="Arc_sine" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn asin($1)}</SQL>
              </Function>
              <Function Group="False" ID="Arc_tangent" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn atan($1)}</SQL>
              </Function>
              <Function Group="False" ID="Angle_Tangent_2" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn atan2($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="Cosine" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn cos($1)}</SQL>
              </Function>
              <Function Group="False" ID="Ceil" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn ceiling($1)}</SQL>
              </Function>
              <Function Group="False" ID="Exp" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn exp($1)}</SQL>
              </Function>
              <Function Group="False" ID="Floor" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn floor($1)}</SQL>
              </Function>
              <Function Group="False" ID="Log" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn log($1)}</SQL>
              </Function>
              <Function Group="False" ID="Mod" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn mod($1,$2)}</SQL>
              </Function>
              <Function Group="False" ID="Pi" InMacro="False" Type="Numeric">
                   <SQL>{fn pi()}</SQL>
              </Function>
              <Function Group="False" ID="Random" InMacro="False" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn rand($1)}</SQL>
              </Function>
              <Function Group="False" ID="Sign" InMacro="False" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn sign($1)}</SQL>
              </Function>
              <Function Group="False" ID="Sine" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn sin($1)}</SQL>
              </Function>
              <Function Group="False" ID="Sqrt" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn sqrt($1)}</SQL>
              </Function>
              <Function Group="False" ID="Tangent" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="Numeric"></Argument>
                   </Arguments>
                   <SQL>{fn tan($1)}</SQL>
              </Function>
              <Function Group="False" ID="Character_prompt" InMacro="True" Type="String">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>@prompt($1,'A',,,)</SQL>
              </Function>
              <Function Group="False" ID="Numeric_prompt" InMacro="True" Type="Numeric">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>@prompt($1,'N',,,)</SQL>
              </Function>
              <Function Group="False" ID="Date_prompt" InMacro="True" Type="DateTime">
                   <Arguments>
                        <Argument Type="String"></Argument>
                   </Arguments>
                   <SQL>@prompt($1,'D',,,)</SQL>
              </Function>
         </Functions>
    </DBParameters>
    Assistance is much appreciated. Thank you.
    Rgds,
    Hapizorr

    Hi
    this is a rather unconventional and not officially supported way to access SAP data. Some of the table fields as you see them in SAP R3 do not have corresponding fields in the underlying database.
    If you want to build reports on SAP R3 table you have the following options:
    1) Use the SAP rapid marts and extract your R3 data into a DWH based on a relational database. You also get a universe on which you can build your reports.
    2) You can use Crystal Reports and the native R3 table driver
    3) There is also a prototype (This is NOT a product) R3 connector for the Data FEderator that will allo you to build relational universes on SAP R3 sources.
    4) Load your data into a BW system and build OLAP universes on top of BEx queries.
    Regards,
    Stratos

Maybe you are looking for

  • Sharing Itunes between user accounts

    Hi all, I just came back to the mac and set up user accounts for myself and my wife. She tends to do most of the photo editing and I do most of the music stuff on itunes. I heard that I can set it up so that she is actually using my itunes or library

  • IPhoto book stopped in middle of loading

    I had to close my computer before my iPhoto book was finished loading. (I was on a plane) I believe I was already charged for my 4 copies. How can I find out whether the charge went through? I assume I need to begin the purchase again. Thank you!

  • IPhoto event icons not displaying in chronological order. How do I fix?

    iPhoto event icons not displaying in chronological order. How do I fix?

  • PC to iMac computer-to-computer network

    Hello all, I just purchased a Toshiba laptop with Vista OS and am trying to connect wirelessly via the computer-to-computer airport card connection in my iMac G5. I can connect fine with an iBook. But while my PC can see my iMac and registers a stron

  • How can I get credit for an app I didn't authorize purchase for?

    My grandson always wants to download new games on his IPhone 3, but he always comes to me to download them. I always make sure they say free before I download them. For some reason I have been charged $7.41 for an app "Dark Knight". How do I get cred