Problem with totals in Bex

Hi friends!
My cube has the char DATE_FIN related to the doc_number.
My query should show the difference in days between DATE_FIN and the Bex variable DATE_COMPARE  (constant value).
This works ok when I show data with doc_number detail , ie:
Oficce    Doc_number          date_fin        date_compare         diff
A          1000               10/12/2010     12/12/2010           2
A          1001               09/12/2010     12/12/2010           3
B          1002               08/12/2010     12/12/2010           4
But I need suppress the doc_number char, and have total by Office, ie:
Oficce  date_fin    date_compare         diff
A     10/12/2010     12/12/2010           5
B     08/12/2010     12/12/2010           4
The issue is that when I do it,  the report show me u2018Xu2019 in the diff column
How can I solve this?
Thank you in advance!

Hello;
Try differents aggregations, all based on infoobject doc_number.
In your formala, in aggregation tab; set aggregation exception (exemple: Total).
This should work.
Feature available in querie designer 7.0
Regards.

Similar Messages

  • Problem with total page numbers in Scripts

    Hi,
    I have a problem with total number of pages in the Script.
    I have a script of 15 pages.
    On every page, I am using &PAGE& of &SAPSCRIPT-FORMPAGES(C)&.
    Problem is : I am getting only single digit for SAPSCRIPT-FORMPAGES as long as the page number remains in single digit - like -
    1 of 1
    2 of 1
    3 of 1... till 9 of 1.
    But from 10th page, it is printing :
    10 of 15
    11 of 15
    12 of 15... till 15 of 15.
    So, i think the symbol SAPSCRIPT-FORMPAGES(C) is filled with value 15 , but it is prinitng only the first digit '1' for pages 1 to 9 and then printing both the digits '15' for pages from 10 onwards.
    So, please help me out in this problem.
    Thank you.

    Hi Ven,
    The CONDENSE option cannot be used on the program icon SAPSCRIPT-FORMPAGES
    (C) without an explicit length specification: This symbol is
    only replaced with a value after the form has been completely edited, as the
    total number of pages of a form is first known in the program function
    END_FORM or CLOSE_FORM. However, the size of the symbol (number of
    characters) is reserved correctly when the symbol first occurs, with the
    current page number. Therefore, only one character is reserved for option C
    (CONDENSE) on pages 1-9, two characters on pages 10-99, and so on.
    If you are sure that the total number of pages doesn't cross 99(i.e 2-digit number), then use the FORM pages as SAPSCRIPT-FORMPAGES(2CZ).
    Here Z will suppress the leading zeros, for the total number of pages.
    Hope this information would be useful for you.
    Reward points if this is useful.
    Pavan.

  • I am facing Problem with my Bi Bex Analyzer 7.10 .

    Hi All,
    I am facing Problem with my Bi Bex Analyzer 7.10 .
    I have Windows 7 with Office 2007 insatlled on my Machine and  SAP GUI 7.10  with  patch 11.
    When i Open the Bex Analyzer and click on OPEN Query, it shows me the German Laguage istead of English ( Open Query )
    and the Open query  Icon is not responding
    Hence my Bex Analayzer is not working .
    Is there any MS Office 2007 Patch that i have to istalled on the The Machine .
    Please advice.
    Thanks in advance.

    Hi Nilesh,
    To see the text in English,you have to login to backend with Language as "EN" in the Logon Screen.
    To make the icons work in Analysis and Design Toolbar,you can install in KB from Microsoft.
    http://support.microsoft.com/kb/907417/
    Close Analyzer,install this KB and then Launch Analyzer.
    This will solve your issue.
    Rgds,
    Murali

  • Problem with '-' (dash) in BEx web analyzer

    Hi All,
    we are having a strange problem with 0BPartner and 0Material. Our BPartner and Material have '-'(dash) sign as part of key. While selecting this BPartner/Material in Bex Analyzer, we do not have any problem, but when we try to select the same Bpartner/Material in BEx Web Analyzer, it puts an escape char in from of the dash. For eg:
    If i select the Bpartner "1234-5467" then in Web Analyzer selection box, it is displayed as  "1234\-5467" in the selection screen.
    If i do a search on 1234-5467, it returns zero value.But if i do a search on 1234\-5467, then i get the search hit.
    If i enter the Bpartner in the selection window directly and If i do not put the escape char, then it considers the input as range 1234 - 5467 and returns me no value in the report output.
    Has anyone had this type of issue? Please respond.
    Thanks
    Niveda

    Thanks Olivier,
    Sorry if you had misunderstood my question. They are 2 different Info objects. and i am having problem searching values in each one of these info objects.
    Let me explain it with an example.
    Scenario:
    Let say company defines material in the following format.
    "123", "456", "788", "345"....etc.
    And I have a report which has material as input selection.
    To run this report with single material i enter "123" in the selection screen
    To run this report with a range of materials, I need to enter 123 - 456 in the selection.
    I have no Issues
    Scenario 2.
    Consider a case if the materials are defined in SAP as "001-1234", "987-234"
    "123-234" etc.
    In this scenario, to run the same report for 1 material, i will enter 001-1234. But now the question is how will BW system interpret this material entry.
    Is this 1 single material(001-1234) or a material range (001 - 1234)??
    We have issue here. The system considers this material "001-1234" as a range (001 to 1234) instead of single material and gives me zero output.
    Any help??
    Niveda

  • Problem with total button in alv..?

    Hi abapers,
                      i am facing a problem with standard alv total button
    all the others button r working fine
    but when i am trying to add any column total by using standard total button
    its throwing dump..
    Can anyone tell me wat to do

    Hi Aarif Baig,
    Paste your dump analysis...
    what dump you are geting and source code for your field catelog...  ??
    as well as which field you are removing from your fieldcatelog so that dump is not coming... ??
    and code for that field in fieldcatelog  ??
    and is the type of that filed in fileld catelog and internal table is same or not... ??
    if i am not wrong you will be getting dump for message  x000..
    Please give complete details what you did with little source code and dump analysis....
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Problem with total context score in COMPARISSION VIEW in SSM

    Dear friends,
    We have scorecard  with 4 contexts (region).Every context has 3 level: perspective ,objective KPIs. Every level get score and all the context get total score .We have requirement to compare between  region context scores. For it we use comparison view. BUT AT comparison  view  we can compare the score of perspective ,objective KPIs but not total score of the context .Total score is disappear.  I don’t know if there is bug or it's a problem of implementation. I very glad to get help from us.
    Best regard,
    Benyamin Orit.

    Hi Orit,
    I do not believe its an implementation problem, I have checked our implementation which is currently running SSM 10.1 sp03  and the context score doesn't appear neither in the comparison view.
    Probably this feature is simply not included yet in this sp. Maybe another colleague can confirm if this feature is included in further sps... but I didn't find any release note mentioning it, and according to a screenshot I just saw (posted by Colin Cooper on the ideas place), it doesn't seem to be included in sp06 (see Colin's screenshot of comparison view without context scores showing).
    In the main time try to work around it, maybe creating a new level (perspective) thats called "context xxx score" and put the rest of the scorecard one level under it, even though it doesn't sound very purist, you should be able to compare all context scores on the comparison view tab.
    Regards,

  • Problem with totaling amounts in a loop

    Hello, I am having trouble with some code I am writing in that I cannot get my totals to continuously add inside my loop and print out to the screen. I have gotten this far, and I am attempting to use JOptionPane which is something I am unfamiliar with as I have never had the need to use it. I have pasted the code below, so if any of you can help me it would be greatly appreciated. Thank you
    import javax.swing.*;
    public class SalesPay
         public static void main(String args[])
              // Declare variables.
              String inputName;
              String inputSales;
    int base = 200;
    int again;
              double weeklySales, pay;
              inputName = JOptionPane.showInputDialog("Enter your last name ");
              // Input the value for weekly sales.
              do
              inputSales = JOptionPane.showInputDialog("Enter your sales ");
              again = JOptionPane.showConfirmDialog (null, "more sales amounts? ");
              while (again == JOptionPane.YES_OPTION);
              weeklySales = Integer.parseInt(inputSales + inputSales);
              // Calculate pay: commission for sales > $1000 is 10%,
              // commission for sales <= $1000 is 5%.
              if (weeklySales > 1000)
                   pay = (base + (weeklySales * 0.10));
              else
                   pay = (base + (weeklySales * 0.05));
              // Display pay.
              JOptionPane.showMessageDialog(null, inputName + " your total sales for the week are: " + weeklySales +
    "\nYour pay for the week is $" + pay + ".", "Pay for $" + weeklySales,JOptionPane.INFORMATION_MESSAGE);
              // Close application.
              System.exit(0);
    }

    First of all, use the [code ] formatting tags when you post code so the code is formatted correctly. Click on the "Formatting Help" link the next time you ask a question.
    You keep reseting the value of 'inputSales' every time you show the input dialog. Your code should be something like:
    do
    inputSales = JOptionPane.showInputDialog("Enter your sales ");
    weeklySales += Integer.parseInt(inputSales);
    again = JOptionPane.showConfirmDialog (null, "more sales amounts? ");
    while (again == JOptionPane.YES_OPTION);

  • Problem with sap logon/bex

    Hello Peoples,
    I have a machine is the same with Windows Vista Home Premium, sap logon 7.10 - patch 11
    Access to the SAP system is perfect, but when I try to open the Bex query designer after informing username and password I get the error of communication rfc.
    Can you please tell me know how can I fix this error? or if Bex is compatible with Vista Home Premium?
    Regards...

    Hi,
    Yes,BEx is compatible with Vista Home Premium Edition.
    You will get an RFC Communication Error,if the backend system is down or if you enter the language as blank(sometimes) in the SAP Logon.
    Try opening other tools like WAD,RD and Analyzer and connect with backend and check whether it works or not.Try opening QD from WAD or Analyzer
    This is not tool specific anyway.
    Rgds,
    Murali

  • Crystal Reports - Problem with too long BEx Query technical variable names?

    Hello!
    I have Crystal Reports 2008 SP3 and the SAP BO Integration Kit XI 3.1 SP3 installed and want to access a BEx query on a BW system within my Crystal Report.
    The problem is that the name of the BEx variable is not displayed correctly (just "[]" is displayed for the variable name) as a parameter within Crystal Reports when I import the query. Furthermore I can't navigate through the fields of the query within Crystal Reports.
    The technical names of the BEx query-variables have a length of 12 characters.
    The interessting thing is that if I change the technical names of the BEx query variables to a maximum length of 8 characters everything works fine.
    I use the SAP toolbar within Crystal Reports 2008 to create the report and have the "MDX-driver"-setting selected.
    Has anyone ever had the same problem? Any suggestions?
    I don't want to change the technical names of the variables of my queries...
    thanks,
    Dominik

    Hi!
    Just fixed the problem: The "Transports" for the Integration Kit had to be imported at the BW-System
    regards

  • Problem with Total Button with DroupDown list

    Hi All,
    here i have one Standard Report witch TCode is J3RFPDE . After Execute this program in output i get many button and in this button "TOTAL SIGN BUTTON"  has DroupDown list. So if i want thisTotal  Dropdown Button in my Report so is ti possible. And it's possible then please kindly tell me the procedure.
    Thanks
    Keyur Chauhan

    Hi,
    see report BCALV_GRID_05  it's a good exemple
    you must define class  METHOD handle_toolbar. 
    Rgds

  • Problem with keyfigure in Bex

    Hi all,
    i have two charactristics location and product in the rows and keyfigures,stock on hand ,inventory carrying costs in the rows.In the coulmns i have calweek.For stock on hand keyfigure i had applied the cumulative property so that it shows the net stock on hand for every week, the inventory carrying cost is a calculated keyfigure and it is calculted using stock on hand and a formula variable based on master data 0APO_LPROD(LOCATIONPRODUCT).
    In the report the inventory carrying cost is getting calculated after calculating the stock on hand for all the calweeks which shouldnt happen.The inventory carring cost should get calculated for every week separately. So can anyone of you suggest why this is happening and how to solve this.

    Hi,
    Are you getting correct output for Stock on hand  for every week. ???
    I hope ur reporting structure is as below:
    Loc Prod  Calweek
                   Sotck | Inv. CC
                Mon |                Ssun |                     Tue
              Stock | Inv CC     Stock | Inv CC          Stock | Inv CC
    A   B   10 | 20              15  | 5                       30 |  8
    Now ur Inv cc is having Stock value for every week as
    10 + 15 + 30. = 55
    Correct me if i am wrong.
    As per your query structure this thing should not happen.
    First of all please update about the stock value that ur getting for every week is correct or not ??
    Thanks
    dipika
    Edited by: Dipika Tyagi on Jun 30, 2008 9:08 AM

  • Problem with gtx 580 lightning total available graphics memory

    i got a problem with total available graphics memory with my gtx 580, it shown 3315MB only in nvidia control panel.. but i just saw people with same gpu with me has 4000+MB..
    can someone help me please, i need to increase it to 4K+MB
    my mobo is asus p8z68-v
    and 4GB of RAM 2GBx2
    CPU: i7 2600k

    Quote from: limousine on 14-October-11, 19:17:12
    i got a problem with total available graphics memory with my gtx 580, it shown 3315MB only in nvidia control panel.. but i just saw people with same gpu with me has 4000+MB..
    Nvidia panel displays complete rubbish.
    They also count some system memory with the amount of vga memory, which, with dedicated videocards these days, is to no point, since the card will never be able to use it.
    Your card has, like Svet already said, 3072MB dedicated videomemory and thats all its gonna utilize, since thats the amount of VRAM on the pcb.
    So your buddies with 4+GB VRAM are just showing off stuff they cant use and Nvidia controlpanel shows numbers and amounts of VRAM, you'll never have available, just like that stupid Windows Performance Index shows some numbers about your system that in reallife mean diddlysquad.
    Besides, there arent any 580GTX's outthere with more then 3GB VRAM aboard.
    Long story short, dont get all hyped up by numbers, you got what you paid for and there's nothing wrong with your amount of memory on that card.
    Edit:
    With my system Nvidia says I got 3071MB of video-memory available, but 1280MB is dedicated, dedicated being the true amount the card wil ever use, since my card has only 1280MB and not 3071MB.
    Like I said they count some system-memory with it, although the card will never ever be able to use it, its just to screw people over.

  • Prob with  Totals in Smartforms

    Hi,
    I am having a problem with Totals in my smartform.
    I am Printing SUBTOTALS , GRANDTOTALS and CARRYFORWARD of amounts in my smartform.
    My Problem comes with Carryforward total ( Balance forwarded to next page ).
    Its getting added to a first record in next page and the balace is getting displayed in present page.
    for example if the total in this page is 1000
                        and the next page record amount is 100
                   I am getting the CARRYFORWRD balance as 1100 instead of 1000.
    I am calculating the subtotals and grandtotal in the Main area of the table and printing the Balance carry forward / grandtotal in the Footer area of the total
    I cant use calculation tab because the currency may vary.
    How to get the correct CARRYFORWARD balance
    regards
    Prasanth

    Hi
    For carry_forward:
    In the global data:
    carry_forward type I default value : 0
    In the program lines:
    carry_forward = TOTAL_SAL - TOTAL_SAL_PAGE.
    Create the txt node for the carry forward.
    Condition : not on first page.
    For page_total.
    Create the text node:
    page total : drag and drop the field.
    In the program lines.
    carry_forward = 0.
    total_sal_page = 0.
    For grand_total.
    Create the text node:
    grand_total : drag and drop the field.
    Condition tab : only after end of the main window.
    Regards,
    Sravanthi

  • Problem with Graphs

    Hi
    We are facing  a strange problem with graphs in BeX.
    We are making graph on summarized data and storing it in workbooks.The problem im facing is that whenever the query is refreshed the Graph gets scattered.for e.g X axis becomes Y  and things like that,
    pls share your experience and a way to fix this problem
    JPJP

    hi jaya
    thanks for your response
    i shall try upgrading and also check the note,
    Thanks
    JP

  • Performance problems with SAP GUI 7.10 and BEx 3.5 Patch 400?

    Hi everybody,
    we installed SAP GUI 7.10 and BEx 3.5 Patch 400 and detected hugh performance problems with this version in comparison to the SAP GUI 6.40 and BEx 3.5 or BEx 7.0 Patch 800.
    Does anybody detect the same problems?
    Best regards,
    Ulli

    Most important question when you are talking about performance-issues:
    which OC are you working on and which excel version?
    ciao
    Joke

Maybe you are looking for

  • How to display the subtotals (BPC NW 7.5)

    We are on BPC-NW 7.5 I have to develop a schedule where I have to show totals at each parent node based on what they enter for the base members. (Is it possible to show totals before they save, as they enter data?) If my dimension is as below Parent1

  • Can not open RAW-Files from Nikon D4 in Photoshop cc

    hi. i can not open RAW-Files from Nikon D4 in Photoshop cc. (Camera RAW 6.7) can you help please?

  • Anyone editing FCP on a 12" iBook or Powerbook?

    I'm looking at writing an article about "micro" HD production on the road - HD in a backpack, that sort of thing. Now, when I say production, I'm not talking very high end. I know the hardware isn't there yet! Think news, documentary or magazine show

  • Help me - getCustomDatum() function

    I am testing sample of intermedia on Oracle 9.2.0.1.0. I cannot test the sample because getCustomDatum() function is replaced by the new function, and I do not know use it. I am using ordim817.zip packet, I think it is used for Oracle 8.1.7. Please h

  • ITunes 11 stutter on windows 7

    iTunes 11 playback stutter on windows 7. Can someone please help. Ever since upgrading to iTunes 12 I can no longer playback any of my music without this horrendous stutter. It only happens in iTunes. I've tried varying different fixed and nothing wo