Query in BEx

Hello,
I have a report which shows the spend amount for the vendors for the last 12 months. I am trying to add a column which shows summation of the amounts by vendor.
Now it shows only the total for each month.
How can I also show the totals for the vendors ( amount for each vendor) on the same report.
Can you please tell me how do i calculate the third column..i.e total amount for each vendor
Thanks,
[                         Amt-jan 2011          Amt u2013feb 2011          Total vendor]
Vendor 1               
Vendor 2               
[                   Total jan 2011     Total  feb 2011                     ]

Hi,
I think you can make use of exception aggregation that shold take care of your aggregation part.
Just Make a new formula and add your amount field and hit the exception aggregation tab and choose aggregation as total and reference characterstic as calmonth.
In second case you can do the same thing and this time choose reference characterstic as vendor,so it will give total vendor wise.
Hope it helps.
Regards,
AL

Similar Messages

  • Problem in opening a query in BEX analyzer..

    i am using front end sap gui 7.20 with patch 9..
    my issue is that when i tried to open a query in bex analayzer. i get following error stating that
    you donot have suffiecent authorizations for the infoprovider XXXXXX
    function module /SDF/AL_MAP_TRANSID_LOGH does not exist
    and i tried to open a query from bex query designer ..i am not able execute it
    and i get strange error while executing tcode rrmx..the status error states that microsoft excel is not installed, install microsoft excel viewer
    after installing microsoft excel viewer also..i get the same error...
    pls suggest asap guys

    Hi Satish,
    You can ask yur tech support team to install sap gui and in specify them to tick "SAP BW add ons".
    also Enable the macros for the analyser.
    Regards
    Rahul

  • Error in running query in Bex Analyzer

    Hi All,
    I faced some problem in running the query in Bex Analyzer, when I run
    the query in the Bex Analyzer, there are error messages indicates that
    the query is fail to load. Before that all the query can be run without any problem.
    The details for one of the error msg are as follows:
    <b>Diagnosis
    Variable 0P_MATBK has the processing type "Manual Input/Default Value".
    However, it is not input ready, and no default value has been specified.
    System Response
    Procedure
    Make the variable input ready or specify a default value.
    Procedure for System Administration</b>
    Any1 can help? Thanks.

    Take a look at this link...
    http://help.sap.com/saphelp_nw04/helpdata/en/55/589b3c494d8e15e10000000a114084/content.htm
    For the variable wizard...
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    To make it Ready for Input...
    In the variable properties window, Check "Ready for Input".
    Message was edited by:
            Jerome

  • BW Server Error when running Query in BEx Analyzer

    Hi All,
    We are currently trying to run a custom Consolidation query in Bex Analyzer but coming across this error below.
    We are on BI 7.0 (SAP NetWeaver 2004s), BEx Analyzer 2004s Release, Support Pack 9, Patch 4, Revision 372.
    This error message is only occuring for certain custom consolidation queries and not all and does not occur for standard queries.
    Does anyone have any advice?
    Cheers,
    Wiki
    <b>ERROR MESSAGE</b>
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program CL_RSR_RRK0_SELECTION and form COLLECT_CHAFIX-02-(see long...)
    Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.

    Hi Wiki,
    I am running into this error also. You marked the question as answered, did you apply the notes or did you find any alternate solutions?
    Thanks,
    Vedant

  • Getting below error while opening query in bex  3.5x

    Dear Guru's
    I am getting below error while opening query in bex  3.5x
    The following object were not found when accesing the server .
    Press repair to correct the problem (included parts of query deleted) press cancel to undo the last action.
    Regards
    Karan

    Hi,
    1) When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    2) so create an authorization object for each of these attributes with * (full authorization)
    Regards,
    Marasa.

  • RFC_ERROR_COMMUNICATION error while opening the query in BEx

    I am able to open the query through rsrt tcode. But If I try opening the query or create a new query from BEx analyser, I get the
    below error.Please help.
    Error Group
    RFC_ERROR_COMMUNICATION
    Message
    SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
    Connect_PM  GWHOST=/H/sapgate1.wdf.sap.corp/S/3299/H/iwdf1081, GWSERV=sapgw00, SYSNR=00
    LOCATION    SapRouter on sapgate1
    ERROR       sapgate1: route permission denied (172.16.25.105 to iwdf1081,
                3300)
    TIME        Tue Sep  8 12:46:54 2009
    RELEASE     46D
    COMPONENT   NI (network interface)
    VERSION     34
    RC          -94
    COUNTER     134420

    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417700)ID0639339950DB00540967214800578770End?rid=/library/uuid/4e515a43-0e01-0010-2da1-9bcc452c280b&overridelayout=true
    please go through the PDF doc. it would be more helpful to you.

  • Error Message while opening workbook or Query in BEx Analyzer

    Hi all,
    Whenever I try to open any workbook or query using Bex Analyzer I get an error message saying "Serious error occured while reading history folder" Message class RSOBJS, number 170. But this doesnt stop me from opening the workbook or the query.
    Kindly help me to suppress or eliminate this message. I am not able to find this message in the list of messages available in RSRT either.
    Thanks and Regards
    Mui Kanva

    Hi Mui Kanva,
    Does your problem occur in a copied system?
    I have same problem in our Quality-BW (copied from productive system). WE are in our QBW not able to activate personalization correct and get the same error messages. I suggest the reason in the fact, that the source-system Myself (QBW) does not work correct. This reason causes that export data sources could not be activated via RFC-Connection.
    Please check to activate your source system?
    We accept the error messages in our QBW and did not activate the RFC connection.
    Regards
    Andreas

  • Saving a query in Bex Portfolio

    Hi all,
    I am new to this portal thing, But i need some advice from you.
    I am running a query from BW(writing a query in query designer and execute on web)which publishes it on portal. When i see the query, i see i save as button at the top and so i went there and i saw that i can save the query to bex portfolio ( which actually is my primary aim to get the query in left navigation panel of the page of BI or Bex). When i try to save under the Bex Portfolio its aske me for description so I put in some logical name and hit ok. But then it gives me two errors
    "the technical name must be between 0-30 chars and 1-9 numbers" which I have it in the same format
    "no valid element selected".
    I am not getting what does it mean by valid element not selected.?
    Can some one help me how can i save the query in BEX portfolio.
    If any one has a related document which helps with issues about this whole query execution on portal I will highly appreciate it.
    My email [email protected]
    Thanks a lot in advance,

    Hello Kris,
    I have the same problem as you and I didn't find any OSS note for that.
    It seems that it depends in the user. If your user id contains a decimal point at the second position, you have the problem. If not it seems to be ok.
    As we have many users with a decimal point at the second position, I have to find a solution. Thanks to give me your solution if you have one.
    Vanessa Roulier
    [email protected]

  • Insert query in BEx 7.0?

    In BEx 3.5 there is a menu item to "Insert Query" into an excel workbook tab.  How do we do that in 7.0?
    Thanks,

    Hi Geoff,
       You can achive this in BEX ANalyzer 7.0 . Please follow below steps.
    1. Open your query in Bex anlayzer.
    2. In the tool bar , there is a button Design Mode. Once you click on that it would open in design  mode.
    3. Goto Worksheet 2 or you can insert in same worksheet as well. select a Cell and in the toolbar you can find Analysis Grid Button. Insert Analysis grid into that cell.
    4. Right click on analysis grid and assign Query to that.
    In this way you can embed multiple queries.
    Let me know if you have any questions.
    Regards
    Suvarna

  • Infoset query in BEx analyzer

    Hello,
    we have a query on an infoset based on an infocube and infoobject. When running the query directly in web, the data is shown. When we run the query in BEx, we get "No applicable data found" . Is there some setting we forgot or are there issues with Infosets and BEx?
    Thanks!

    Hello,
    Try to run the query with transaction RSRT2.
    Probably youwill experiencing the same message error.
    Porbably you are using different users, with different roles/authorization.
    Associate SAP_ALL and BI_ALL for the affected user. If works, there is something wrong with the user's roles.
    If the issue remains, open a message to BW-BEX-OT-OLAP component.
    Best regards,
    Edward John

  • How to delete a View(Local) defined on a Query in Bex Web Analyzer

    Hi,
      I created a No of Views (Local) on a query in Bex Web Analyzer and saved them.
    How can i delete the view i created when i checked the PFCG i can't find the views i created
    How can i delete the views (Local) i created on a query
    Thanks

    Right click and delete when you're in the "open" dialog in Analyzer.

  • Running MDX Query in BEX

    I've a question regarding MDX Query .
    1.Can we run MDX Query in BEx.
    2.If yes , then can you please tell me how and where can we run MDX Query in BEx.
    Regards,
    -Neha

    Hello,
    BEx does not support MDX. You can use MDXTEST transaction to generate the MDX select statements against queries or infocubes but it cannot be used with BEx.
    Thanks,
    Michael

  • Not able to execute Query in BEx Netweaver 2004s

    Hello Experts,
    I'm trying to execute query on the web from BEx Netweaver 2004s.
    But I get this message:
    The page you are looking for might have been removed or had its name changed.
    And the wired thing is I don't get host and port number in the address bar.
    http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=0CCA_C03_Q1000&VARIABLE_SCREEN=X&DUMMY=1
    But when I execute query from BEx 3.x it works.
    What settings should I check and make so that it works fine in the new version.
    One of the parameter icm/server_port_0  has a timeout limit set to 150.
    Thanks in advance.

    Thanks All of you but no luck as of now.
    While manually adding host and port into the address bar i got this message:
    The initial exception that caused the request to fail, was: 
    Connect from SAP gateway to RFC server failed
    Connect_PM  TYPE=A ASHOST=soanetp2:8001 SYSNR=01 GWHOST=soanetp2.GWSERV=sapgw01 PCS=1
    LOCATION    SAP-Gateway on host soanetp2 / sapgw01
    ERROR       hostname 'soanetp2:8001' unknown
    TIME        Fri Oct 10 15:52:43 2008
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -2
    MODULE      nixxhsl.cpp
    LINE        223
    DETAIL      NiHsLGetNodeAddr: hostname cached as unknown
    COUNTER     10
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed
    Connect_PM  TYPE=A ASHOST=soanetp2:8001 SYSNR=01 GWHOST=soanetp2GWSERV=sapgw01 PCS=1
    LOCATION    SAP-Gateway on host soanetp2 / sapgw01
    ERROR       hostname 'soanetp2.us:8001' unknown
    TIME        Fri Oct 10 15:52:43 2008
    RELEASE     700
    While following SAP note 947148 I found that we don't have any entry in table RSPOR_T_PORTAL
    What entry it should have? The note says that there should be a prefix maintained for your portal.
    Hope to solve this problem this weekend and let you all know what all steps i took.
    Thanks in advance
    Sonu

  • Create Target Group in CRM from BW Query in Bex analuzer using program.

    Hi ,
    I want to create Target Group in CRM from BW Query in Bex analuzer using ABAP program RSCRMBW_TG_GENERATE_BUPA .
    I did all the setting and enable the Release the OLE DB for OLAP.
    The Target group is created but the Data from the report(BW query )  is not populated in the target group.
    Please help me what i need to do?
    Thanks,
    Nimai

    Hi Nimia,
    Did you manage to resolve this, I am having the same problem. I am not getting any errors and the target group is created but there is no data in the target group.
    Thanks,
    Rue.

  • Problems about  query filter (BEx).

    Hello there,
    I have some problems about  query filter (BEx).
    I have master data and I want to use attribute in this master data to dynamic filter in query(BEx).
    But this attribute is key figure. I can't done it now. TT
    Is this possible? If yes, could anyone advise how this is to be done?
    Thanks in advance.

    Hi
    In BEx there is option as 'Exceptions' & 'Conditions'. If you go in condition, you can specify range for key figure output. This is either predefined or by user selection. You create the condition as per your requirement & it will show you filtered data.
    How to create conditions you will find easily on this site.
    You can create as many conditions as no of filters you want. You can create these at query level also at report output level.

  • Cannot open Query through BEX

    Hi all,
    I am on BW 3.5.
    I have a wierd problem when I try to open a query through BEx;
    as the variable entry screen comes up after I have selected a query, I can see the last opened workbook behind it.
    Then after I continue with the query putting in whatever options, the workbook opens.
    If I refresh, it tries to refresh the workbook, and there is no sign of the query.
    If I log on using a collegues user, BEx works as normal so, it must be down to the user settings or authorisations!!!
    Has anyone experienced this before.
    Thanks,
    Shane.

    Hi Suraj,
    If you want to execue your query, you can use the bex analyzer.
    If you are opening the query from query designer 3.x query in 7.0 fronend, it will get upgraded and then cannot be reveted.
    In your case this automatic migration might be havng some issues, owing to complexities.
    Please recheck.
    -Vikram

Maybe you are looking for