Creating a Counter for number of records

Hi Folks,
I need to show number of purchase orders, quotation items and purchase requisitions in one report. i need to count the number of RFQs and purchase requisitions per purchase order. 
I have put numeric 1 in update rules but it shows value 1 even if the number of PR is 2. and getting.
I want to show the same number irrespective of Analysis (even if the anlysis changes from PO to cost center.)             
I saw one How to Document on counter some time ago in sdn its not there now.
Please send a reply for this requirement. Its urgent
Can Anyone forward it to me.
Regards
Mahesh

The document you are looking for can be found at the following link:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af">How to... Count the occurrences of a characteristic relative to one or more other characteristics</a>.
Hope this helps...
Bob

Similar Messages

  • Count the number of records between two key values (BTREE)

    How can I count the number of keys between two values?
    I'm using python driver, and BTREE access method.
    ====>
    ideally what I want is to average a whole time-series data set (the intervals can change) to a given number of points. The keys are the time stamps and the values are the data that needs to be averaged. I need to count the number of records between two time stamps so that I can divide that number by the number of points i need, and average the data. What is the best way to do this?  Or should I just keep the intervals for the time stamp constant and use RECNO access method?
    Thank you
    (first post btw.. and why aren't there many people in stackoverflow who answer Berkeley DB questions?)

    BDB is an embedded db and it does not have any internal counters or statistics that you could grap to use for this.    You will need to do it manually.
    You can create a cursor, grap the records you want, each time you get the next record you bump a counter.
    If you are using RECNO, you can use a cursor to get the record number of the record (DB_GET_RECNO), and if all you data is in
    sequentail records with no missing records you can figure out the total count by take last rec # - initial rec # + 1 to get a total count.
    If you switch over to the SQL API, you can issue a SQL query to give you a count.  Select count(*) Where .......
    Since you have to grab the data anyway, then best may be to count records as you go along.
    thanks
    mike

  • How do I count the number of records returned in the CMIS query

    How do I count the number of records returned in the query CMIS?
    SELECT COUNT(*) FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = \'RD_PROJETOS_EXCLUSIVOS\''}
    Euler Homero

    Hi Euler,
    interestingly enough, the reference guide for CMIS ( http://wiki.alfresco.com/wiki/CMIS_Query_Language ) that I found does not mention the COUNT function at all. On the other hand it states that: "The SELECT clause identifies which virtual columns to return in the result set. It can be either a comma-separated list of one or more queryNames of properties that are defined by queryable object types or * for all virtual columns."
    There are, however, some other posts like e.g. http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/ which state that they could make it working.
    Having asked in the WebCenter Portal forum, I assume that your content repository is WebCenter Content. The CMIS doc for the Content is available here: http://docs.oracle.com/cd/E23943_01/doc.1111/e15813.pdf (no COUNT there either). It does, however, mention explicitly that "CMIS queries return a Result Set where each Entry object will contain only the properties that were specified in the query.". This means your could rather investigate the Result Set. Note that there are also other means than CMIS how to get the requested result set (e.g. calling a search service directly via so-called RIDC).
    In the given context I am also interested what your use case is. OOTB CMIS in WebCenter Portal is used, for instance, in Content Presenter, where it is content rather than "parameters" what's displayed.

  • How to count total number of records in mYSQL through JSP ??

    hi
    i want method to count total number of records in table.
    it was there rs.count() method in VB .
    But what about JSP , i used MYSQL database.
    tell me solution please...
    thanks...
    remember JSP - total record count for mySQL

    hello mr.
    i don't want ur suggestion ok
    i know that site.
    no need to give suggestion if u don't give code.
    its better to give proper reply instead of making a
    comment in forum.
    next time take care
    He was perfectly justified in that remark. I have given you the information you need, nicely, twice. But I, and noone else here is going to do your work for you. We will point you in the direction you need to be looking, but we are not going to give code. If you attempt to code something yourself, and it doesn't work, then post the code you tried, and we may make some corrections to it. Then again, with the attitude you've shown so far we probably will not. But one thing no one here will do, is do your work. Especially not for free.
    Now, if you are not willing to sit down, and look at the suggestion that has already been made, and attempt to use it. Then continue wasting your time, but go away and stop wasting our time.

  • How to count the number of records retreived through a query?

    Dear All
    I want to find the total number of records retreived for a particular query .
    does BW provide any internal count function , which can solve my requirement??
    if yes, please provide some details.
    Thanks.
    Regards,
    Pandurang.

    hi pandurang
    when u see the contents of a particular cube
    RSA1->Infocube->manage->contents
    there is a option "Output number of Hits"
    An extra keyfigure is created displaying the number of records rolled up
    Aggregating the column might just solve ur issue
    Try
    Regards
    Akshay

  • Count the number of records

    Hi all,
    I have a BEx report that displays a list of empnos and their details based on a selection. Now I want to count the number of recrods that were selected and display the total number of records that were selected. How can this be done?
    Thanks,
    Sam

    Dear all,
    Thanks for the suggestions. Actially I had solved it in another way.
    As suggested by Sharma, I had used a CKF as count, But i did not want the empnos to come as the rows with 1 displayed across each row.
    I was trying to bring a summary in there.
    So I had created a structure in Rows and in the structure created a new selection and in that selection included Employee.
    This solved the problem that I was facing.
    Thanks everyone for your time and effort!!
    Cheers,
    Sam

  • Create a counter for the rows in a table using script editor?

    Hi ,
    I want to add afield in a particular table  with first field is its serial number . How to use scripting editor to fill the serial number ?
    How to create a counter ?
    Edited by: Rajan.Dexter9 on Jan 30, 2012 9:40 PM

    Hello Rajan,
    Create a field in the table and name it as 'SERIAL'.  Create a variable called 'count' with default value as 0.  Now in script editor, for javascript language and calculate event, write the following script.
    var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
    for (var i=0; i <= fields.length-1; i++)
         if (fields.item(i).name == "SERIAL")
              count.value = count.value + 1;
                     this.rawValue = count.value;     

  • Applescript - how can I count the number of records in a Word data source?

    I have written a script in AppleScript to open Word and then perform a mail merge from a data source and everything is working fine.
    One thing I want to do but am struggling with is to return the number of records in the mail merge.
    I am trying things like:
    get last record of datasource of mydatasource
    and also haven't been able to find anything in the AppleScript 2004 Word Reference Guide.
    Can anyone help as I have been searching the web and trying things all day and I am sure it can't be difficult.
    Thank you.

    I don't think there is an automatic way to get a line count, but I don't have any problem just counting the lines on a page. Maybe some more information about what you are trying to do and why you can't do it would help someone to come up with a helpful suggestion.

  • Counting of number of records

    i have a control block VIEW1 with some fields YEAR, MONTH, STAFF, and button SEARCH with the trigger when-button-pressed having pl/sql code " go_block(view2); execute_query;"
    view2 is data block displaying 10 records on canvas with the fields NAME, STAFF , WAGES.....
    in property palette of view2,
    insert allowed in set to no, update allowed is set to no and in where clause i have put some code.
    after pressing SEARCH of view1 i get all the required records as output.
    i want to count the no of records of my output .
    how will i do that..??????
    thnx. ( i am using 10g)

    ManiKanchan wrote:
    i have a control block VIEW1 with some fields YEAR, MONTH, STAFF, and button SEARCH with the trigger when-button-pressed having pl/sql code " go_block(view2); execute_query;"
    view2 is data block displaying 10 records on canvas with the fields NAME, STAFF , WAGES.....
    in property palette of view2,
    insert allowed in set to no, update allowed is set to no and in where clause i have put some code.
    after pressing SEARCH of view1 i get all the required records as output.
    i want to count the no of records of my output .
    how will i do that..??????
    thnx. ( i am using 10g)You can use a column having data type number and data base no.
    Set
    calculation mode :summary
    summary function:count
    summarized block:your_block_name
    summarized item:name_columnHopes this helps..

  • Count total number of record of table with deletion from archiving object

    Does anyone know is there any SAP standard program to count the total number of record of the table with deletion from Archiving Object and display in repprt?

    Not sure of the question. Are you looking to get the sql "select count(*) from table" from using the TopLink expression framework or are you getting that SQL already and want something else?
    If you are looking just to get the count from a table/class, you can use a ReportQuery:
    ReportQuery rquery = new ReportQuery(ClassToQueryOn.class);
    rquery.addCount(); //equivalent to count(*);
    session.executeQuery(rquery);
    You can use a report query to return data instead of objects, and use selection criteria just like a normal read query.
    Best Regards,
    Chris

  • Create item class for Number values

    Hi,
    I want to create a item class for year like (current year+3).
    So i created the Item class in Dis.Admin But it wont reflect in Dis.plus parameter . So please tell me how to create a item class for Number values.
    Regards
    Manikandan

    Hi Rod
    I rarely use Desktop and neither do my customers, unless they are on versions of Discoverer prior to 10.1.2. Time and time again I have taught 10.1.2 Plus / Viewer to dyed in the wool Desktopees to finish the course for them to say that they are never going to use Desktop again.
    One of the many issues with Desktop is the caching and even though it can do some things that Plus cannot, the many features in Plus that don't exist in Desktop far outweight them.
    What do you think? Do you still see a use for Desktop?
    How about everyone else? I would love to hear from you.
    Best wishes
    Michael

  • Create JPub class for table of records/record types and access them

    Hi,
    I have the following object types in the database:
    PERSON_REC with 3 fields and
    PERSON_TAB table of PERSON_REC
    I have created a Java class for PERSON_REC using JPub. The created class implements CustomDatum and CustomDatumFactory. How do I do it for table of records type i.e PERSON_TAB??
    I have a stored procedure that has PERSON_TAB as a OUT parameter. How do retrieve the value from callablestatement? Is there a sample code anywhere. Kindly direct me.
    I have seen sample code and documentation for PERSON_REC type from JPub but not for table of records; also there is no sample code for accessing them from JDBC. Please help me..
    Thanks and regards,
    Vadi.

    Vadi,
    Try searching this forum's archives for the words "STRUCT" and "ARRAY".
    Good Luck,
    Avi.

  • How do i create a Count for the no. of images displayed on stage

    i am a total newbie in flash ! & currently making a simple mcq quiz.
    each stage will have three choices of answers (A/B/C)
    every correct answers will be displayed an image :
    var myQ1a:URLRequest=new URLRequest("tick.png");
    in the end, how can i count the number of images displayed in the overall flash and display it.
    or.. perhaps you have other options on how can i display the scores.

    Hi.
    here's my code :
    stop();
    aa1.addEventListener(MouseEvent.CLICK, ona1Click);
    bb1.addEventListener(MouseEvent.CLICK, onb1Click);
    cc1.addEventListener(MouseEvent.CLICK, onc1Click);
    next1.addEventListener(MouseEvent.CLICK, onNext1Click);
    home1.addEventListener(MouseEvent.CLICK, onHome1Click);
    var Q1a:Loader;
    var Q1b:Loader;
    var Q1c:Loader;
    var Q1next:Loader = new Loader();
    var Q1home:Loader = new Loader();
    //the name of the function has to match what you're calling from the event listener
    function ona1Click(evt:MouseEvent):void {
    Q1a = new Loader();
    bb1.removeEventListener(MouseEvent.CLICK, onb1Click);
    cc1.removeEventListener(MouseEvent.CLICK, onc1Click);
    var myQ1a:URLRequest=new URLRequest("wrong.png");
    Q1a.load(myQ1a);
    addChild(Q1a);
    Q1a.x=320;
    Q1a.y=180;
    function onb1Click(evt:MouseEvent):void {
    Q1b = new Loader();
    aa1.removeEventListener(MouseEvent.CLICK, ona1Click);
    cc1.removeEventListener(MouseEvent.CLICK, onc1Click);
    var myQ1b:URLRequest=new URLRequest("tick.png");
    Q1b.load(myQ1b);
    addChild(Q1b);
    Q1b.x=320;
    Q1b.y=260;
    function onc1Click(evt:MouseEvent):void {
    Q1c = new Loader();
    aa1.removeEventListener(MouseEvent.CLICK, ona1Click);
    bb1.removeEventListener(MouseEvent.CLICK, onb1Click);
    var myQ1c:URLRequest=new URLRequest("wrong.png");
    Q1c.load(myQ1c);
    addChild(Q1c);
    Q1c.x=320;
    Q1c.y=340;
    //next1.addEventListener(MouseEvent.CLICK, onNext1Click);
    function onNext1Click(evt:MouseEvent):void {
    if(Q1a)
    removeChild(Q1a);
    if (Q1b)
    removeChild(Q1b);
    if(Q1c)
    removeChild(Q1c);
    gotoAndPlay(2);
    //home1.addEventListener(MouseEvent.CLICK, onHome1Click);
    function onHome1Click(evt:MouseEvent):void {
    gotoAndPlay(17);
    this code is on the 1st frame. this will go on till the 15th frame. i wonder where i can put the codes you've given me ..

  • Best way to create customized counter for slideshow.

    Hello everone. I am stuck on this one. What is the best way to create a customizable for the slideshow widgets. Im looking to create circles or boxes that change color in relation to the picture in the slideshow. I am sure that I have seen it on a muse site before, but just can't figure how to get it done. Thanks!

    Have you tried using:
    Effect > Text > Numbers ?
    You could also have found that answer by searching for "numbers" at the Community Help site. It's really a great resource in addition to the online help files. Try it out!
    (It would have been the first result returned from the search...)
    http://www.adobe.com/support/aftereffects/

  • Count of number of record

    hi friends,
    my task was one file to one idoc the file has large no of records Condition is that if the number of items in the idoc after conversion crosses 999 it should report as error.
    i did some work for usual file to idoc procdure,ie. normal mapping and stuff,now what changes do i make.
    does the idoc field document item number help in this regard.
    for a trial i mapped one of the item number as index.
    can any one help me please.
    thanks in advance

    Hi,
    >>>is that if the number of items in the idoc after conversion crosses 999 it should report as error.
    if this means that you need to stop processing
    the message then you can create a user
    advanced function that will check if the index is >= 999
    and if so it can start an exception
    how to call exception:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Regards,
    michal

Maybe you are looking for

  • Why am I getting an infinite loop?

    I have a for loop that never stops as the question suggests. If the boolean expression is true the loop does not stop. I tried tracing the loop and still cant figure out the solution. Please help. The code where the error is below with comments where

  • Sip 503 service unavailable and sip 500 internal server error

    Hi guys,could any one help me in the following. ITSP-->Voice gateway configured as CUBE-->CUCM-->UCCX I am moving a system from cme and aa enviroment to cucm and uccx The VGW is configured as CUBE and also is added as h323 gateway on cucm. When i tes

  • Problem when printing the report

    Hi, we have installed oralce 10g server.and created the reports all the formats are supporting by the server.if you give the direct printer option printer is printing junk values . any body help me on this.

  • Deletion of request from init option for source system

    Hello Experts, Iam using 3 IP. IP for init load with data transder, IP for init load without data transfer & Delta. now with data transfer IP is not used. i trigered "without data transfer IP", then accidentally "triggered with data transfer IP". the

  • HT4314 How do I redeem a game that as been gifted to me?

    How do I redeem a game that has been gifted to me?