Adding numbers in PCR

Hello All
I ahev below format in RT table
A   WT   WT  Text    APC1C2C3aBKoReBTAwvTvNUnit Amt/Unit No.           Amount
3 OAKL OKP 100%   01              01    010858082.14               2.00              185.81
3 OAKL OKP 100%   01              02    010858082.14               4.00              429.04
3 OAKL OKP 100%   01              03    010858082.14               1.00              571.62
3 OAKL OKP 100%   01              04    010858082.14               6.00              129.04
3 OAKL OKP 100%   01              05    010858082.14               1.00              171.62
3 OAKL OKP 100%   01              06    010858082.14               6.00              329.04
3 OAKL OKP 100%   01              07    010858082.14               3.00              271.62
3 OAKL OKP 100%   01              08    010858082.14               4.00              129.04
3 OAKL OKP 100%   01              09    010858082.14               1.00              285.81
I need to add unit numbers (2+4+1+6+1+6+3+4+1=28) where added value is used in another PCR
So it could be in such a way that Added amoun is transfered in variable table and then from that variable table the cumulated amount is used for another calculation.
Please advise me if this is wrong or if you have any other method
Also as per the above process  do we need to write two rules?
1. To sum and display in variable table
2. To read the summed amount from variable table.

Hello Sikindar/All
Actually i dont want to process wage type amount from above eample
I want to add number and then pass to variable table and then i need to use that value for another PCR.
Please let me know whether your PCR is dealing with Wage type amount or number

Similar Messages

  • CreateTempFile(String prefix, String sufix) is adding numbers to the prefix

    Hi folks,
    When I call createTempFile("filename", ".dat") it is adding numbers to the prefix. In my temporal directory I get a file called "filename34486.dat" instead a file called "filename.dat"! Do you know why ?
    Thanks in advance.

    bifiado wrote:
    Hi folks,
    When I call createTempFile("filename", ".dat") it is adding numbers to the prefix. In my temporal directory I get a file called "filename34486.dat" instead a file called "filename.dat"! Do you know why ?
    Thanks in advance.If you wanted a file named explicitly "filename.dat", then don't use createTempFile - that's for creating, well, temporary files with a (hopefully) unique name so as to not collide with other processes who might also be trying to create temporary files of the same name pattern.

  • Bizarre error adding Numbers in Flex 4

    I'm having a bizarre error adding numbers in Flex 4.  In all cases, I'm getting the correct result, but sometimes I'm getting extra precision with a 5 at the end.
    For example,
    If I try to add 5 and 1.56, I get 6.5600000000000005
    a lot of numbers add correctly, it's just certain combinations that have the problem.
    Here is a small app that demonstrates the issue:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
         <s:layout>
              <s:VerticalLayout/>
         </s:layout>
         <fx:Script>
              <![CDATA[
                   protected function button1_clickHandler(event:MouseEvent):void
                        var num1:Number = Number(number1.text);
                        var num2:Number = Number(number2.text);
                        var result:Number = num1 + num2;
    //                    result = 1.56 + 5;
    //                    result = Number(1.56) + Number(5);
                        resultLabel.text = String(result);
              ]]>
         </fx:Script>
         <s:TextInput id="number1"/>
         <s:TextInput id="number2"/>
         <s:Button label="Add Values" click="button1_clickHandler(event)"/>
         <s:Label id="resultLabel"/>
    </s:Application>
    Any assistance would be appreciated!
    Thanks!
    Jon Keener
    [email protected]

    This question comes up all the time. It's a Fact Of life of modern microprocessors and computer languages, which implement floating-point arithmetic using binary fractions (1/2, 1/4, 1/8, etc.), not decimal fractions (1/10, 1/100, 1/1000, etc.), according to the IEEE-754 spec. Many decimal fractions, such as 1.56, cannot be exactly represented as a finite binary fraction. (Or the exact representation in binary might be finite but require more fractional digits that the spec allows.) Although your source program says "1.56", it gets compiled and executed as the IEEE-754 binary-fraction that is closest to 1.56, but it isn't exactly equal to 1.56, and then this slight error gets propogated through calculations, and the conversion back to decimal is again inexact.
    Generally, people just use methods like toPrecision() to round things off a bit and hide this problem. Or they go write or find a (much slower) ActionScript library that does true decimal floating-point arithmetic by storing decimal fractions rather than binary fractions.
    Gordon Smith
    Adobe Flex SDK Team

  • Sum as NaN when adding numbers

    Hi All,
    I am getting the total as NaN when I am summing up the totals.
    e.g : I have 4 number 1) 4567,9
    2) 300
    3) 100
    4) 100
    when I am performing sum(4567,9+300+100+100) I am getting the output as NaN.
    The reason is XML doesn't treat "," seperated value(4567,9) as number.
    Now my problem is How to remove the formatting for a number.
    I am not formatting the numbers neither in rtf file nor in RDF report.
    Numbers are getting formatted based the responsibility from which I am running.
    For example when I am running the report for Sweden I am getting formatted value as 4567,9 which is creating the problem.
    Here is the sample XML file
    <G_DISTR>
    <CUST_NBR>A002933</CUST_NBR>
    <CUST_NAME>LINGMERTHS RESEBYRÿ AB</CUST_NAME>
    <PER01>0</PER01>
    <PER02>0</PER02>
    <PER03>0</PER03>
    <PER04>0</PER04>
    <PER05>0</PER05>
    <PER06>0</PER06>
    <PER07>0</PER07>
    <PER08>0</PER08>
    <PER09>0</PER09>
    <PER010>0</PER010>
    <PER011>-90194,5</PER011>
    <PER012>0</PER012>
    <TOTAL>-90194,5</TOTAL>
    </G_DISTR>
    Any Help would be greatly appreciated.
    Thank and Regards,
    Naveen.

    From Metalink document,
    Symptoms
    BI Publisher (formerly known XML Publisher) is showing page total as NaN (Not-a-Number) even though there is no NULL value in the elements used for calculating the total.
    Cause
    Numeric data in XML file is in format "nnn,nn".
    To do arithmetic operations, XPath requires data in canonical format, that is, "nnn.nn". The result of adding 2 or more strings ("nnn,nn") can't be a number and thus it is marked as NaN (Not-a-number).
    One of the possible reasons why the data was not in canonical format is that the number was written formatted as string and not as a number. This is what should be checked.
    Solution
    Change the report generating the XML sample data to generate the numeric data in canonical format
    "nnn.nn".
    For example, for an XML element PRICE_ELEMENT, it should be changed from:
    <PRICE_ELEMENT>20,52</PRICE_ELEMENT>
    to:
    <PRICE_ELEMENT>20.52</PRICE_ELEMENT>

  • IPad keeps adding numbers to account

    I share the iCloud with my family members. There are 5 of us. One iPad keeps adding phone numbers and email addresses that I unclick again and again (so as not to receive the various messages/facetime calls of different iphones/ipads from this device) from iCloud account to the iMessages and Facetime. Why does it not seem to get the message that i DON'T want that device to be able to receive and send messages from the different numbers? PLEASE HELP

    This may help you set up the iPads so this doesn't happen anymore
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • Adding numbers in rows

    I'm new to Numbers and spreadsheets. I can't figure out how to add the numbers in the various rows and get totals in the furthest right-hand column. (I have been able to get totals in the columns using the Function key, however). Is there a simple way to get everything in the spreadsheet all added up both at the bottom of the columns AND at the right side of the rows?? Thanks very much for any help.

    Simple mouse method:
    1. Select the row of numbers to be added.
    2. click on the 'Function' button on the toolbar.
    3. Select 'Sum.'
    One reason you may be frustrated is that this method only works on one row at a time. If you select a rectangular range of cells, using the 'Function' button sums the columns. There are two workrounds.
    Work Around #1:
    4. Fill the "sum" column with the formula created in step 3. With the cell selected, click on the small circle in the lower right of the cell outline and drag down as far as necessary to fill in the sums.
    Work Around #2:
    Forget steps 1-4. If your table has a 'Header Column', select the rows in the Header Column (and only the Header Column) that need to be summed, click on the 'Function' button and choose 'Sum.'
    CAUTION: This method puts the some in the furthest blank column to the right. If there is no blank column, it creates one. It also sums the ENTIRE row. So if you only want to sum the values in the first five columns, make sure there are no values in the columns to the right. (Text is okay, since it doesn't Sum.) Or remove unneeded rows.
    Also the the Help topic "Performing a Basic Calculation Using Row Values"
    Good luck,
    Terry

  • Adding numbers in sidebar

    Aloha all, does anyone know how to add the numbers (little white numbers in a dark oval,like after Podcasts) to the other categories like music, TV shows, movies etc.? I have searched and searched but can't find info on how to do this. Is it even possible? I would really like to be able to see at a glance how many songs, movies I have. Mahalo in advance for any tips/info/suggestions. JB

    here is the full method. Im trying to add numbers from an access database
    public int[] bookStats(){
    getBookStats();
    int statsDat [] = new int [countStats()];//countStats() is the number of records in the query i am adding
    int countStats=countStats();
    try{
    String mySql="select * from qrybookstats";
    stbookStats.executeQuery(mySql);
    rstbookStats=stbookStats.getResultSet();
    int i=0;
    rstbookStats.beforeFirst();
    while (rstbookStats.next()) {
    statsDat=rstbookStats.getInt("CountOfBookNumber");
    // System.out.println(statsDat[i]);
    int sum = 0;
    for (int a = 0; a < statsDat.length; a++){
    sum +=statsDat[a];
    }//end of for
    i++;
    int total = sum;
    System.out.println("sum:" + total);
    }//end of while
    catch (Exception e) {
    System.out.println("Error in printing Statistics data - " + e.getMessage() );
    return statsDat;
    }//end of stats

  • Adding numbers in report

    hi guru,
    i developed a report.
    IF S_BGPRO = 'X'.
        SELECT  AUFNR   GMNGA  FROM
        AFRU INTO CORRESPONDING FIELDS OF TABLE IT_AFRU12 WHERE WERKS = 'PD01'
                                                        AND BUDAT  IN S_BUDAT.
        IF NOT IT_AFRU12[]  IS  INITIAL.
          SELECT AUFNR KTEXT PLNBEZ INTO  CORRESPONDING FIELDS OF
           TABLE IT_CAUFV1 FROM CAUFV
           FOR ALL ENTRIES IN IT_AFRU12
            WHERE AUFNR  = IT_AFRU12-AUFNR.
          IF SY-SUBRC <> 0.
            MESSAGE E000(ZPP) WITH 'VALUE NOT EXISTING '.
          ENDIF.
        ENDIF.
      ENDIF.
      LOOP AT IT_AFRU12 INTO WA_AFRU12.
        LOOP AT IT_CAUFV1 INTO WA_CAUFV1 WHERE AUFNR = WA_AFRU12-AUFNR.
          WA_AFRU12-KTEXT = WA_CAUFV1-KTEXT.
          WA_AFRU12-PLNBEZ = WA_CAUFV1-PLNBEZ.
          MODIFY IT_AFRU12 FROM WA_AFRU12.
        ENDLOOP.
      ENDLOOP.
    IN THE ABOVE COADING :
      GMNGA value is in numbers . i want to add all the no.s and
    displayed to last in my alv report.how to do this..
    please help me.
    thanks

    Hi,
    Use COLLECT statement.
    loop at itab1.
    gs_itab2-fld1 = itab1-fld1.
    gs_itab2-fld2 = itab1-fld2.
    gs_itab2-fld3 = itab1-fld3.
    collect gs_itab2 into gt_itab2.
    endloop.
    Regards,
    Narendra.
    Reward points if helpful!!

  • How do I stop Illustrator automatically adding numbers to file name when exporting with artboard?

    I need to export with artboard. Illustrator automatically adds a number to my original file name. It won't even let me replace the old file. It is extremely annoying and makes flow with other programs really hard because they can't auto update, since the file name  changes. When you have multiple files, you can't be manually renaming all the time. Anyone knows how to fix this? Thanks.

    This has been discussed a few times, and here is a summary of the usual solutions.
    http://forums.adobe.com/message/2989508#2989508
    What is it EXACTLY you are trying to do. Are you trying to export a single page from filename.ai  and make it filename.psd, (without any number afterwards). In that case you could delete the extra artboards prior to export, and then you won't have to checked use artbaords as there is only one page. Otherwise I would plan ahead so your end result will be filename-01.jpg,  filename-02.jpg, and then everytime you use export artbaords those names will replace.
    I am happy with the function as is, and would prefer to have a serial number automatically after the name when checking use artboards. But sounds liek you and others desire more options and thte ability to turn off adding to the filename.

  • Adding Numbers spreadsheet to Pages 5.0

    In the previous version of Pages/Numbers, I would create the table I needed in Numbers, then copy and paste that into my Pages document. It would transfer across with all formatting intact and look as it should.
    In the new versions when I follow the same process, Pages re-formats the table to be about 1cm wide (no matter how many columns there are) and it doesn't automatically adhere to the page breaks as it did before.
    Anybody got any clues how I can fix this?

    Go back to the previous versions of Pages '09 and Numbers '09 which should be in the iWork folder inside Applications.
    Peter

  • Changing/Adding Numbers to the Network/Dial-Up Connection Thing-a-ma-bob...

    I would like to do this:
    *Put these numbers in Network>TCP/IP>DNS Servers...*
    208.67.222.222
    208.67.220.220
    But I am scared to death to try. I get connected without a hitch now, and I do NOT want to disturb that!!! I don't know what I am doing with this, but if it will improve the speed and stability of my dial-up connection so I can successfully download and install my updates, I will risk it.
    How much chance do I have of messing my connect-ability up altogether?
    And how do I go about doing it properly?
    Cyan

    99.999999% safe and easy to undo, but to make it even nearer 100%...
    In the Network Pref Pane, choose the Location drop down, choose Edit Locations, then choose Duplicate... now you have one you can paste those numbers into, and just switch Locations back if need be without changing any numbers.
    It's safe though anyway really.:-)

  • Time capsule keeps adding numbers to the name

    Suddenly, the timecapsule started to add numbers - timecapsulename (1) timecapsulename (2) - to its name. Everything works fine but it is a) annoying and b) it shows multiple entries in the Finder shared column. Do you know how to get rid of this?

    I get the error message saying the file could not be downloaded due because there is no enough disk space.
    How large is your HD and how much space do you have left?

  • Need help adding numbers to PDF drawing and more

    I'm not an Adobe superuser so hopefully this isn't a stupid question. I receive drawings in PDF from my clients. The drawings look like Autocad and are pictures of parts with dimensions that I build for them. I number all the dimensions on the PDF drawing from 1 to whatever. I then create a spreadsheet with the numbers and the corresponding dimension plus other info. Currently I print the PDF then with a pen I manually number each dimension. Then I manually enter the dimension and special symbols in my spreadsheet. Ideally I'm trying to find a way to just click and have it enter a 1 then click and have it enter a 2 etc. If that's not possible then what's the easiest way to just click and allow me to type 1 then click and I type 2 etc.
    Thanks in advance,
    Mark

    I think what you actually need is a dynamic stamp. Try searching these forums and also acrobatusers.com . There's a lot of information about it.

  • Network Volume adding Numbers and centralized libraries

    Hello,
    I would like to know what determines the numerical suffix to the network mount points. Currently I have a mac mini sharing my family iphoto library and music that two macbook pro's connect to. Currently my issue is in using iphoto library manager, it says to mount network volume before opening the iphoto library, but for some reason the library volume keeps changing.
    Sometimes I'll login and it'll just be Pictures, next time it'll be Pictures-1, Pictures-2, etc.
    The same thing happens when I use Time Machine shared disks, etc.
    When I login through Finder, everything is ok, but I don't like having to always go into settings and re-find libraries for photos/media/etc.
    This leads me to ask a few questions...
    1) Is there any way to ensure that the volume names always stay the same?
    2) I am looking to at some point implement Snow Leopard Server, and I need to know that if I have shared volumes over the server, that this won't happen. Specifically, I'll be logging into the server from different countries and I can't imagine having to constantly remotely manage it to fix volume names.
    Currently, all of these drives that are showing as numbered suffixes are network drives (time capsule/NAS/Mac Mini shares over Wifi) so I'm trying to figure out what the underlying problem is so that I can minimize/eliminate it.
    This is very frustrating for me as this is my first Mac setup and I jumped in headfirst with the whole family system, but I've spent years managing networks on PCs and I've never encountered this problem. I am trying to centralize our home network like I've done at other locations but before I invest further, I want to know that these little annoyances won't be a hinderance.
    Thanks!!

    I'm having the exact same issue, which breaks all my references to the volume. I have to update the path to include the new number <volumename>-5 currently. The problem happens when I do a restart, or loose network connection for other reasons. I happens on my desktop (Mac Pro) and my laptop (MacBook Pro) when mounting to my Tiger Server (PowerMac G5). It is extremely frustrating and makes code development a pain in the butt when I use my server for file storage.

  • Adding numbers in a file a and saving the output in another file.!

    can any one pls tell me how to add numbers from a textfile and save the output in another textfile. i'm new with java so pls help out..

    Hi Friend,
    your statement is not clear, it's bit confuse
    this is my unserstanding,
    you want to open a file and read the values then add numbers,
    latter save the sum in a new file.let me know if this is the thing, I can help u
    with Cheers
    Prasanna

Maybe you are looking for

  • Sender mail adapter - filter emails by attachment?

    Dear experts, I have a sender mail adapter that picks an XSL (EXCEL) attachment from an incoming email and converts it (with a custom adapter module) to XML. But now how can I make the adapter only process emails with XLS - attachments? In that Inbox

  • Install and setup problem with Acrobat XI pro

    I have downloaded the Acrobat XI Pro trial program, with no error messages. When I clisk on "setup.exe" the following error message appears, see screen shot : "This patch package could not be opened. Verify that the patch package exixts and that you

  • Storage clause of create partition based on last storage value

    Hello, could you give some advice how could i resolve this problem ? I have procedure which is executed by job every day, once a day, and what it does, it automaticly add new partitions on one table. I am now strugling with how to construct statement

  • Project documentation tab - cannot access own templates

    We are using SM4.0. In the project template I have created new document types and assigned templates to the document types. When using these to create docuements in the Blueprint Project Documentation tab, the templates are not defaulted, we just get

  • About redo log?

    when i do some big transaction in a instance,ORACLE warnning me that: oracle instance test - can't allocate log,archival required, and if i close it,then when i connect to database test,ORACLE tell me ORACLE not available? my question is why this hap