Document Count when Condition is Active

Hi Experts
I have the following scenario
I have a Calculated Key Figure which by formula variable *1 calculates the number documents.
The count works correctly as it gives me the proper count of the documents that make up the amount on that line. Let suppose it was 180 documents and that 175 of these have amount =0.
However after applying a condition that would not display the records whose amount = 0, I would expect the count to change to 5,  but still gives me 180.  The document number is not a field in the default view of the report.  If I bring the docuemnt number with my condition active, it displays the 5 reports.  Puts a one in the counter and the result row display 5.
If document number is not in the view, I get 180 when its supposed to be 5. 
Am I missing a setting on the Calculated Key Figure.  I have calculate single values as Total, I have reference characteristic: Document Number, and the CKF has Aggregation: After
Thanks in advance.

Thanks Ananda
But what I am really looking for is an unique document number counter.
I have several records (updates, etc.) that roll up in the document level to make up my amount.
I dont want a record count.  I want a document number counter that will work when the condition is applied.

Similar Messages

  • Result row when condition is active

    Hello gurus,
    I have created a condition in my report and the result row does not reflect the rows displayed when condition is active. Is it possible to get a result which is the total of rows displayed when condition is active ?
    Thanks in advance,
    Vanina

    Hi Vanina,
    You can go through the steps here:
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
    Basically you have 2 queries that are linked by a replacement path variable. This will carry the results (char values) of the pre-query to the resultset (final) query.
    Hope this helps...

  • Count difference when hierarchy is active/ hierarchy is inactive

    We have hierarchy activated on 'first contact date'. We have the KPI 'Number of Complaints'. and we have char infobject 'Transaction Number' (complaints id).  For all 'Transaction Number' we do not have the 'First contact date'.
    We have in the initial layout 'First contact Date' and 'Number of Complaints' when hierarchy is activated for 'first contact date' we have 'Number of Complaints' as 8  when hierarchy is inactive we have 'Number of Complaints' as 5.   The difference 3 is because these 3 transactions have 'first contact date' as blank.  Our requirement is to have the count to be same as 8 with hierarchy activation and hierarchy inactive. Can u suggest how to go about this.

    Any ideas on this????

  • PDF Document Counting Form Field

    I've searched and can't seem to find a solution to this - is there a way to include a document counter so that when a person opens or saves a pdf, it shows the number of that pdf. If I open it, it will show Doc #1 and the next person to open/save it, shows Doc #2 and so forth.
    Thank you!!!

    I know nothing about programing.  However, I was able to create a stamp following the directions at http://blogs.adobe.com/acrolaw/2009/05/add_dynamic_exhibit_stamps_in_ac.html,
    The problem is that I need the stamp value to increment each time I stamp something.  For example, if I have a binder with 40 emails, I want to be able to just go through the pages and stamp each one with the number on the stamp incrementing by one.  Can you or anyone tell me how to do this - in language suitable for a "dummie"?  Thank you.  My email is [email protected] Thanks again.

  • How to make the condition type active

    hi,
    how to make the condition type active when its in inactive stage and its showing yellow triangle and y in the control features of it.
    and
    how to solve if is showing a statement as "INITAILISED".
    regards,
    balajit

    Dear Balaji,
    Yes it will come as Inactive mode.....If you make the 2 condition Class is same in single Pricing procedure ,In Standard system will display like this only..
    For Example:PR00-Condition class is Price
    EX00-Condition class is Price
    Then first Condition type will become Inactive.. change the Class of the Second Condition Type.
    Best Regards
    raj.

  • My laptop sucks battery dry when its not active

    I have a compaq 615 laptop, windows 7 32bit. Some days ago i noticed that my battery runs down to below 7% when its not active, this happens when i use the battery to about 60% or 50% before shutting down the system and try to on it after some hours. It doesn't happen when i shut down at 100%. Right now i am confused, i don't know what to do because its seems the laptop sucks the battery when its not active. Pleas i need your advise on what to do

    Try calibrating the battery from HPSA. You can test the battery through there. 
    The battery test is part of HPSA in Windows 7.  
    Follow this document. http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00821536&lc=en&cc=us&dlc=en
    THX

  • Filtering in Document Count

    Hi,
      I have a doubt on Query.
    I need to display the Count of Closed and Pending  service Orders in the report.
    I have info Object 0CRM_USSTAT which contains all the status of the Service Orders.
    Based on the document "How to Get the Document Count in a Query using Formula Variable with Processing Type Replacement Path", I can able to count the Service Orders. But i need to display the count only for Closed Service Orders and Pending Service Orders.
    Can u pls provide what are the steps i need to perform.
    Thanks,
    Shahina A

    Hi Shahina,
    How to Get the Document Count in a Query using Formula Variable with Processing Type Replacement Path :
    Pre-requisites:
    Document Number (Purchase Order/Sales Order Number) should have been included as a characteristic in the Info Cube. It can be defined as a Line Item dimension for better Query performance.
    Summary
    In some business scenarios, it may be required to find out the document count for analyzing certain Key Performance Indicators (For example Number of Orders in a given period). This article illustrates the steps to get the Document Count in a Query using Formula variable with processing type as Replacement path. This article also brings forth one of the major differences between Calculated Key Figure and New Formula.
    Create a New Calculated Key Figure
    The first step is to create a New Calculated Key figure for the Number of Documents/Orders.
    Open Query Designer.
    Create a new query or open an existing Query.
    Drag and drop the required Characteristics and Key figures to the rows and columns depending on your business-reporting requirement.
    From the context menu of the Key Figure directory, choose New Calculated Key Figure.
    Provide a description, for example Number of Documents/Orders.
    The next step is creating a formula variable for getting the document count.
    From the context menu for the Formula Variable, choose New Variable. 
    Provide the technical name and description for the variable.
    Choose the Processing type as Replacement Path.
    In the next screen, select the Characteristic Info Object based on which the number of documents is to be displayed in the report (For example: Document Number / Order Number). 
    Choose Next.
    In the Replace Variable with drop down box, choose Attribute Value.
    In the Attribute drop down, select Characteristic Reference (Constant 1).
    Choose Next.
    On the Save Variable page, an overview of the settings made for the variable will be displayed.
    Confirm the entries and Choose Finish. 
    Open the formula variables directory and use Drag & Drop to transfer the formula variable as shown in the screen shot.
    If the Formula variable is directly assigned to the Calculated Key Figure, a warning Calculated Key Figure is not defined correctly will be displayed while executing the Query.
    To avoid the warning message, the formula variable is multiplied by 1 as shown in the screen shot.
    Choose OK.
    In the Properties of Calculated Key Figure dialog box, assign a Technical name for the CKF.
    Set the number of Decimal placed to 0.
    The most important step here is to set the Time of Calculation to After Aggregation.
    Then only the total Number of Documents/Orders will be displayed correctly in the report.
    If itu2019s set to Before aggregation, when an existing document is changed in the source and data is loaded to the cube using a new delta request, the document count will be displayed as two instead of one.
    By Default the Time of Calculation is set to After Aggregation. 
    Choose OK. 
    The new calculated key figure is available under Calculated Key Figure in the Key Figure directory, and can be included in the query definition using Drag & Drop as shown in the screen shot below.
    You may have to include another Key Figure also in the definition; otherwise an error message will be displayed in the query. If you donu2019t want to display the newly added key figure in the report, you can hide it by choosing Properties from context menu of the key figure and selecting the Hide option.
    Save and Execute the Query.
    The sample report shown here displays the total number of Documents/Orders for each plant on a daily basis. 
    Why Calculated Key figure instead of New Formula?
    The replacement of formula variables with the processing type Replacement Path acts differently in calculated key figures and formulas:
    If you use a formula variable with u201CReplacement from the Value of an Attributeu201D in a calculated key figure, then the system automatically adds the drilldown according to the reference characteristic for the attribute. The system then evaluates the variables for each characteristic value for the reference characteristic. Afterwards, the calculated key figure is calculated and, subsequently, all of the other operations are executed, meaning all additional, calculated key figures, aggregations, and formulas. The system only calculates the operators, which are assembled in the calculated key figure itself, before the aggregation using the reference characteristic.
    If you use a formula variable with Replacement from the Value of an Attribute in a formula element, then the variable is only calculated if the reference characteristic is uniquely specified in the respective row, column, or in the filter.

  • Document Count

    Hello Gurus,
    I have a requirement to display the document count of Document numbers.
    I am querying on an infoset, which has a Cube and an DSO. The cube contains header data. Hence there is 1 count against the document number. The DSO holds item details, which would have more than 1 item per document number.
    When I execute the query I would like to see Count = 1, against Doc no. 10001, which has 3 line items in the DSO. Instead its showing the Count = 3.
    Is there a way around for this.
    Thanks in advance

    Hi,
        Just refer this document,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Hopefully this will work on Infoset also.
    Regards,

  • How to make cost element field appear when create network activity service

    Hi All,
    Please help. We create a project ,wbs and network activity using external service. How can we make appear the cost element when the service master appear. The system require cost element but we cannot see the cost element field.
    Steps :
    *. CJ20n.
    *. Create WBS and network header
    *. Then network activity for external service.
    *. Then it appears service specifications : ext specs Task List Maintain
    *. I Put Service no, and the error message appears :
    Please enter a cost element
    Message no. SE121
    *. But we can find where the cost element is. It seems the field disappear.
    PLease help.
    Thank you.
    Nies

    Hi,
    Yes. It is already blank. But the cost element field still not appears when we create activity service. It shows :
    Please specify a valid account assignment
    Message no. SE181
    Diagnosis
    You have entered an account assignment category in the document item for which an account assignment is mandatory.
    All account assignment lines in the service specifications either have been deleted or are inactive (e.g. account assignment lines of a contingency item).
    Procedure
    Please enter an account assignment for the services or value limits.
    The entry of an account assignment is unnecessary if you choose "unknown account assignment" in the document item.

  • Officejet 6500A plus - paper wads up from bottom roller when copier is activated

    when printer is activated, paper wads up when it begins going from the supply to the printer.

    Hi ronpercefull,
    It sounds like you are experiencing paper jams. I trust the following document will guide you through the necessary troubleshooting steps to resolve the issue; 'Paper Jam' Message Displays on the All-in-One.
    If the issue persists, I suggest calling HP. If you are in Canada or US call 800 474 6836, or you can Contact HP Worldwide.
    Even if the printer is out of warranty it is worth calling to see if there is something they can do to help or maybe offer you a discount on a newer model.
    I hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Automatic saving of actual end-time when saving an activity in SAP CRM

    Dear SAP Experts,
    is it possible by standard when saving an activity that the end-time of the activity is the moment when document is saved the first time?
    Within the Date Profile '000000000001' it is possible to define the duration 'A_PLANTOTAL' 3 minutes but I want to have the exact time when saving the document for the first time.
    Is that possible by Standard? I am seeing the problem that when document is changed and reopened again that endtime will change again.
    Best Regards
    Oliver

    Hi,
    Try to use BADI ORDER_SAVE to do this. Call FM CRM_ORDER_SAVE to update.
    Best regards,
    Caíque Escaler

  • BEx Analyzer: Result Rows Suppressed when condition is on

    Hi All,
    I have a BEx Query with below details:
    Drill down characteristics - A, B, C, D, E, F, G, H, I (total 9)
    Result Row set to Display for - A & F characteristics
    Key Figures - P, Q, R, S
    Condition is Active on column - S:  less than 100 (Show all the values less than 100 for column S)- This is a percentage calculated key figure.
    Characteristic Assignment in the condition - Individual Chars. and Char.Combinations, selected all characteristics that are in the drill down (A to I).
    Issue: When I run the report, everything works fine except the result rows, For both column A & F result rows are not displayed. It is getting suppressed somehow.
    I tried by selecting the first option in the Character Assignment (All characteristics in the drilldown independently). This works & I get the result rows as required, but now it doesnt show all the values that supposed to be on report.
    This is causing inconsistent data to the Business, even though cube values are correct.
    We are on SAP BI 7.0 with SAPKW70019 support package.
    I did research OSS notes, but unfortunately couldnt find any.
    Please help with your ideas & let me know if you need further inputs.
    Thanks in Advance.
    Umesh.

    Hi Jagan,
    In fact i've no problem with positive or negative values. Let me tell,
    in my query, my one column ( X)  shows top 10 customers' debt values. Another column i am trying to get X's total amount. But when my formula is "SUMRT X", im getting my total 200 customers' total debit. So this new column doesn't use my first query condition.
    How can i do my condition effective for this column too?
    Clear? maybe my English is not so enogh to tell the problem. Sorry about that.
    Thanks.
    Htc

  • Document count in query

    Hi All
    I have 2 queries, query A and query B between these queries in tcode RSBBS i have created a report to report link. Query A shows summarised car mileage data such as total miles and total cost, while query B shows more detalied info about the milegae such as trave location travel reason etc. The report to report works fine as the user can right click from a line  from query A and go to to query relating to that line in Query B with the more detailed data.
    Now i want to create a document counter that will count how many records in query B, the problem i am facing is that because Query A and Query B are based on different infoprovider, when I am creating my formula variable in reference characteristic i cannot select the info object i need to count the lines because of the fact they are based on different info provider.
    Does anyone have any workarounds on how i could achive this.
    regards
    Forhad

    Hi,
    You can create a multiprovider on the two info providers.
    -Vikram

  • Insane battery consumption when Push is activated

    Is there something wrong with my phone, or is the battery supposed to be drained REALLY fast when Push is activated?
    For some reason, the "Usage" counter will keep counting even though phone is not in use:
    Usage: 7 hours 51 minutes (was really only 3 minutes)
    Standby: 19 hours, 45 minutes.
    Battery left: About 40% (was 100%)
    The phone has laid untouched and locked (screen off) all the time, except maybe 3 minutes.
    3G is OFF
    Wifi is OFF
    Autolock: 1 minute
    Exchange Push is ON (less than 100KB of mails were received)
    I've had a phone with Exchange Push feature before (HTC), and battery consumption was not anything near this...
    When i turn off push, battery is just fine, and usage counter is correct.

    For what it's worth, I have this same problem with MobileMe account....reloading settings does not fix that and I set my phone up from the ground up first time round.
    PUSH OFF = reasonable battery useage, even with all the other battery draining features on
    PUSH ON = loads of usage, even with phone unattended and battery that needs charging every 24hrs at least.

  • ME47 price = 0 in overview when condition valid in future

    Hi Expert,
    I have a quotation with item 10 and 20 with the same material. When I update item 10 price with 1 and item 20 price with 2, the item 20 price will change to zero and gray. The info record also can not see any update in item 20. infoUpdate is "C".
    Item
    Material #
    Price
    Date from
    Date to
    10
    A
    1
    2015/5/5
    2015/5/6
    20
    A
    2
    2015/5/7
    2015/5/31
    I also checked below notes are implement in my system.
    586030 - ME47: price = 0 in overview when condition valid in future
    360746 - ME47: Update conditions in the info record
    428245 - ME47: Maintaining conditions, SAPSQL_ARRAY_INSERT_DUPREC
    Thanks,
    Leon

    You system is behaving correctly.
    You can see the net price = 0 at overview level, but you can see the original price at details condition level.
    You second line item's condition record is not valid for today's date, that's because it is showing 0 for overview screen. I hope your RFQ document date = 05.05.2015.
    For first line item, your condition record has validity = 05.05.2015 to 06.05.2015. (which is valid for today's date)
    For second line item, your condition record has validity = 07.05.2015 to 31.05.2015 (which is not valid for today's date)
    Change the valid from of the second line item = 05.05.2015, then you can see the price at overview screen.

Maybe you are looking for

  • A photoshop beginner - Bridge crashes and I really need HELP!

    Hi there, I am a complete beginner with Photoshop and I am using this as part of a hobby. Any feedback would be greatly appricaited, however, I don't quite understand some of the things I'm reading. My Adobe Photoshop CS6 extented is working fine. Th

  • FILE TO IDOC MAPPING Query

    Hi Experts I have facing some confusion when i am doing mapping for my scenario FILE to IDOC. The IDOC Structure is as follows HeaderRecord  0-1 DataRecord1   0-unbounded      (Subnode)DataRecord2 0-unbounded       (Subnode)DataRecord4   0-unbounded

  • How do I fix the screen?! D;

    My ipod touch 4th gen. screen went completely dark but it is still on and I can barely use it if I hold it at a certain angle...

  • Remote Admin message to users on Exchange 2013

    Hello, I am currently working with a client post Exchange 2013 migration and we have noticed that when a user configures activesync on their personal device, they are no longer notified that the IT department has the ability to remote wipe.   Here's

  • Why can't I see my camera calibration profiles

    I am trying to use a camera profile created in Adobe Dng profiler to correct my infrared GX1. Also trying to use other downloaded profiles for my camera. I have created a new folder with the other profile folders:-  C:\Program Files\Adobe\Adobe Photo