Wrong formular in Query Designer

A Query is calculated by means of a formula the deviation in per cent from the current year to the previous year. As result one receives however partly a division by zero and false value-deposits one the formula in the cells, then one receives a correct deviation in per cent.
Would be great if someone could help.
Kind regards,
Karl

hai friends..
thanks for all your reply...
actually i want to explain detail  ..
after selecting the one particular query , am just placing the mouse in my charecteristics restrictions and then right hand side
properties window gets displayed and at the top we can find display/change button and save button technical name
button
in that display and change button is disabled...i want that button to be enabled.
i have checked in my authorizations in SU01...
even i have all the profiles like SAP_ALL ...
and then i have been trying to have transaport connection and then creating transport conn. for BeX...but it is asking package name...
in this case i dont know the exact package name....
can any body help me in this regard???
thanks
anand

Similar Messages

  • Division in bex query designer

    Hi experts,
    I have a strange problem in bex query designer. I am trying to calculate margin in % but the calculation gives the wrong result.
    The two figures I try to calculate are -25124 and -91248 (figures in 1000 NOK)
    The result should be (-25124/-91248)100 = 27,53* (when formula entered in excel)
    I have tried the following in Bex query designer
    -25124 %A -91248 = -0,02753%
    (-25124/-91248)*100 = 0,02753
    What might be the problem here?

    Thanks again for your answer,
    I will try to explain my report (requirement from the business user)
    Actual (KF)----
    Budget (KF)       
    Sales-- -91248--
    -77153         
    FSP-- -25124--
    -18918
    Margin  % -
    (FSP Actual/Sales Actual) 100---(FSP Budget/Sales Budget)100
    Dim
    Dim
    Result
    The margin is calculated in the cells in the bex query designer to differentiate between actual and budget. There is no option to calculate the margin in the columns as this would influence all other rows aswell.

  • Terminate:Activity failed; there is no back end error log. - Query Designer

    Hello all,
    Has anyone encountered this erro before while using query Designer. I am trying to drag an infoobject in the rows section and I get this STOP error in message section at the bottom.
    Terminate: Activity failed; there is no back-end error log [A006(R9E)]
    Diagnosis
    An error occurred in the back end.
    System Response
    An error occurred in the back end for which there is no error message. You cannot continue to work.
    Procedure
    Exit the Query Designer and correct the error on the back end.
    Then start the query designer again.
    Procedure for System Administration
    I dont get what is going wrong here,
    Thanks,

    hi,
         There may be some problems with the connectivity in the box which you have logged in or in the excel properties itself. Try to login again and see if the problem is resolved else contact the BASIS or admin.
    Thanks,
    vrrp.

  • Cell definition in Query Design within Bex Analyzer

    Hello,
    I would like to use special cell definition to visualizing the difference row definition between 2 columns (last year and actual year). With "Cell Definition" function in Query Design within Bex Analyzer there's a option to select a new restricted key figure for a related cell. But as a result I just can see a star (*) against a result number in that field. Do you have an idea, how can I solve this problem?
    Thanks and Regards,
    Nuran

    Hi again Dirk,
    there's not a unit problem. We use 2 different restricted key figure definition for a same row. The first restricted (or can be decribed as calculated key figure) key figure must be used in the first column to represent the value of the last year. And at the same row with usage of same text (for example: cost of goods sold)the second restricted key figure should be used to show the value of actual year (B2:costs in euro). The problem is the key figure definitions are totaly different; they're using different account groups etc. Cause of, I wanted to use cell definition function. In the first value field (B1) should be shown first key figure but I just get star (*) and a wrong value in the formula field of excel (between the toolbars and the result area).
    Thanks for your reply.
    Nuran

  • BEx Query Designer and Exceptions

    I have a simple enough task.  I was tasked, with marking items on a query with an exception, however the value is not static.  I have a column marked hours, and five columns for each day of the week.  The current day with data should yield an exception if the current day has less hours the the calculated hours column.  So my first approach was to create a formula where I evaluate both the hours calculated from the query and the current day. I called this field fday1.  I created an exception stating that if fday1 = 1 then to mark the field Bad3.  but I want the affected structure to be the Actual Day such my column days are: Day 1 (current date), Day 2 (current date + 1) etc... but when I visit the query (ie, adhoc query) only the formula field fday1 has the exception day triggered.  In the exceptions list  I define the keyfigure fDay1 (time of evaluation [before list calculation]) Under the display tab I have exception affects data cells for the following structure elements: Day 1 (current date).
    like If I execute this query through the portal the exception shows up correctly on the proper field.  if I execute the query through the adhoc (BEx Ad Hoc Analysis) view, then the wrong field has the exception.
    any thoughts on a better way to approach this query?

    Nobody has a solution in order to highlight the whole row (characteristic and key figures) for a value of a key figure ?
    With WAD or Query Designer, I'm trying to highlight a line with an exception on a key figure but it apparently colors only key figures.
    For example i would have entire colored rows for negative key figure :
    field1:a field2:x field3:e key_figure:1
    field1:b field2:x field3:e key_figure:7
    field1:b field2:y field3:e key_figure:-5
    field1:d field2:z field3:j key_figure:1
    I can use WAD or Query Designer but not Visual Composer or Report Designer...
    Thanks for help.

  • Can't see good variables in Query Designer BW 7.0

    Hello,
    The technical name of our caracteristic variables in the Query Designer are prefixed by "OR_" or "SV_". I try to make a filter in this variables (for example: a user must be able to see only "SV_" variable) with the authorization objects S_RS_COMP and S_RS_COMP1. But this filter does not work, even if the ST01 trace shows me a Return Code = 4 for the test in the variable technical name.
    Have I made something wrong ? is it a bug ? (we are in BW 7.0 SPS9 with Sapgui 6.40 SP 19 and BEx SP 12).
    Thank you for your help

    Hi Paul,
    If iam not worng, are you asking about Infoobject level security in BW?
    If it is, the following are the steps need to be implemented:
    <u><b>Steps to Implement InfoObject Security (field-level security)</b></u>
    1) Make the InfoObject authorization-relevant.
    The Authorization Relevant setting for an InfoObject made in the InfoObject definition on the Business Explorer tab. The business needs will drive which InfoObjects should be relevant for security. Keep in mind that the people using SAP BWare running queries to help make strategic decisions on how to better run the business. The decision makers typically need to see more data on SAP BW than they would need to see in SAP R/3.
    2) Create a custom reporting authorization object.
    Since there are no reporting authorization objects provided for InfoObjects, you will have to create your own reporting authorization object for any InfoObject you decide to secure. This is done in transaction code RSSM. When creating your reporting authorization object, you select which fields to put in the authorization object from a list of authorization-relevant InfoObjects. Only InfoObjects that have been marked Authorization Relevant are eligible to be put in a reporting authorization object.
    3) Add your new authorization object to a role.
    Once you have created an new reporting authorization object and linked it to the appropriate InfoCube(s), users will need access to your reporting authorization object. You will need to manually insert your object into a role.
    4) Add a variable to the query.
    The reason the variable is required is sometimes unclear at first. If we want a  query to only provide results based on the division, for example, then the query itself needs the ability to filter specific division values. Before we can secure on division, the query must be  able to restrict data by division. The only way the query can restrict data dynamically is through a variable.
    5) Link the reporting authorization object to an InfoProvider.
    Linking your reporting authorization object to an InfoProvider is a very critical step. In this step, you will impact people currently executing queries for the InfoProvider that is now related to your reporting authorization object. This linkage forces your reporting authorization object to be checked when ANY query tied to the InfoProvider is executed.
    Hope it helps, please revert back if you are asking for something else.
    Please reward points if it is sueful.
    Thanks & Regards,
    Santosh

  • Query Designer: Error-msg: Please enter a valid value for charact 1FORMULA

    Hello BI friends,
    when I open a query in the Query Designer (or change query from BEx Analyzer) I get this message. There is no detail description for the message. After pressing the OK-button in the message I get an u201Demptyu201D Query Designer (to create a new or open a query).
    The query contains some formulas, I know. I have checked the query by starting it via RSRT and debugging. There is only a warning (exception contains a non-numeric value).
    But how can I check the formulas, exceptions or something else if the Query Designer doesnu2019t show the query definition?
    Thanks in advance!

    Hello Karen,
    thanks for your answer.
    Unfortunately I didn't mention yet that we have BI 7.0, but I'm using a 3.x query and 3.x QD. The query has not been transfered to 7.0 level (I hope it, since other colleagues work in the system too). How can I check the level (3.x / 7.0) of the query?
    I have checked the table RSZRANGE, but I didn't find any row for the char. 1FORMULA, I have checked the fields IOBJNM, FACIOBJNM and ATTRINM. I also didn't find a row for RSRREPDIR-COMPUID = RSZRANGE-ELTUID. Did I search in a wrong way?
    I have also checked the program COMPONENT_RESTORE, but I didn't start it for the IProv, comp type = REP and the special query, because I'm not sure what I'm doing there exactly (the program has no documentation).
    Is it still the same way as you have described under these conditions?
    Best wishes
    Britta

  • Problem Opening a query in query designer

    Hi Friends,
    I am trying to open an existing query in the Query designer, but im getting a message " Bex Transport request is not available or not suitable". I have assigned a package transport request to the package, even after that im still getting this message.
    Can anyone please let me know where am i going wrong?
    Your help is verymuch appreciated.
    Regards
    BN

    Hi,
    The transport request of the query was moved to QA.Basically,
    BEx query should be in transport request.Then only you can edit it.
    So collect the query in transport request. It will solve your problem.
    Regards,
    Saran

  • Condition judgement in Query Designer

    Hi,gurus.
    I want to realize the function as follows:
    If VALUE <= 0 then display VALUE as 0.
    if VALUE >0 then display VALUE.
    How to realize that in query designer? I've tried to create a formular but I can not find IF condition in Functions.
    Thanks,for a lot.

    Hi,
    In the query designer you will have to create a new formula and in the right hand side panel you can use "COUNT" function from Data Functions folder to satisfy your requirement.
    There is one more similar function in Data Functions (I don't remember exact name now) which you can check, from description it will be clear to understand which one to use.
    Regards,
    Durgesh.

  • Filter condition in query designer

    Hi Friends,
    Can any one please tell me?
    Query is done on Multiprovider (made of Cube 1 to Cube 6 ) and in query designer under filter tab i have seen
    case 1:
    1) Fiscal year variant F4
    2) Cube 1
    Questions:
    1) what is the use of Fiscal year variant F4 in this case?
    2) Field 1 is available in all 6 cubes. In report from which cube the data is retreived for this filed 1?
    Next case 2:
    Under filter condition
    1) Fiscal year variant F4
    2) Cube 1 and cube 2
    Question: Field 1 is available in all six cubes. in report from which cube the data is retrevied for this field 1.
    Thanks
    Tony

    We have a similar situation with three cubes.  However, when we run the query in Q, the filter (restriction) works well and we get the output only from one cube.
    When the query is moved to Production (transport), with same restrictions, the query is not getting restricted for one cube initially, but hitting all three cubes in the multi provider...and hence taking a much longer time to process..
    Any ideas what could be going wrong (the query is on an aggregate level, for IP)

  • Query Designer - Formulas in Results Row

    Hi,
    Is it possible to have a formula based purely on values in the results row? e.g.
                              Col A      Col B           Col C   ColDl
    Results Row       4             5                 1          40%
    Where Col D is Col A as a percentage of the total. I can create a formula for individual rows but not for the results row where it just seems to sum individual percentages.
    Thanks

    Hi Gaurav,
    i have done what you have suggested:
    In query designer > Properties for a Key Figure > Calculations > Calculate Result As > Nothing Defined,
    I have set that, despite the rows are calculated as per formula defined in the key figure but the result field is not. The formula is only applied for the rows but not for the result. The result is olthough i have the setting you suggested a summation of that whole column and thats wrong.
    Can you or anybody else help.
    Thanks and regards,
    Murat

  • Question about calculation example with Query Designer

    Hi guys,
    I have to calculate within columns and rows and I am not familiar with the settings in Query Designer that could be done to achieve the results.
    For example:
    Payments----
    Delay -
    Weighted Delay
    1000USD--10 days--
    10000
    2000USD--20 days--
    40000
    3000USD--xxx--
    50000 (this is the sum row)
    The column marked with the xxx is calculated with the sum of weighted delay divided by the sum of payments (50000 / 3000).
    Has anybody an idea how the sum row can be calculated separately?
    Thank you for suggestions!
    Edited by: saplaz on Jul 13, 2010 8:47 AM
    Edited by: saplaz on Jul 13, 2010 9:08 AM

    Hi,
    Assuming you have the Payments Infoobject in the rows and WD Infoobject in the columns; Delay as a formula object.
    > Payments----
    Delay -
    Weighted Delay
    > 1000USD--10 days--
    10000
    > 2000USD--20 days--
    40000
    > 3000USD--xxx--
    50000 (this is the sum row)
    > The column marked with the xxx is calculated with the sum of weighted delay divided by the sum of payments (50000 / 3000).
    You may try this workaround of using
    NODIM( SUMCT(WEIGH_DELAY) / SUMCT(PAYMENTS) )
    on a formula variable. (In this case, the assumption is you have not static type-restricted the rows/cols) If you find any hinderances in the default approach, you may check this out as a formula & insert this at the cell editor level.
    If not, use a simple formula variable; here define the replacement path as 0(N) for your Payments. (N being the # of digits)
    Use a simple calculation:
    SUMGT(WD)/FV
    But you may not get an result o/p in the last row, as the values are not linked (sans relation with Payments). as it will return a X for the delay in the Result row.
    Pls. let me know know if this works or some sample o/p if the initial assumption was wrong.
    Thanks,
    Arun Bala

  • BEX - Query Designer - Query Execution - IE "The page cannot be displayed'

    Hi ALL,
    Trying to execute a query from BEx Query Designer, result needs to be displayed on Internet Explorer.
    However, when IE pops up to show the result, it says 'The page cannot be displayed'.
    It seems the PORT Number is wrong.
    When I execute the RSPLAN the port number is 52300 (23 ASCS)  (and it works!!).
    For this web query the port in URL is 55300 (53 SCS).
    Could you help to configure the right port?
    Something needs to be done on Basis side configurations?
    Thank you,
    Nivia

    Hi,
    This especific problem was solved na SM30 programa RSPOR_T_PORTAL.
    But I still have problem:
    The PORTAL logon is displayed and after input the user and pass shows the 500 Internal Error.
    Caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
    Connect_PM  TYPE=B MSHOST=calsaps011.net.bradesco.com.br GROUP=PUBLIC R3NAME=BWH MSSERV=sapmsBWH PCS=1
    ERROR       partner 'calsaps011.net.bradesco.com.br:sapmsBWH' not reached
    I have looked the services and hosts and the files has the sapgw<> and sapms<> right configured.
    The important detail is that The PORTAL works if it doesn't come from BEx.
    COULD SOMEONE HELP ME?
    Tks,
    Nivia

  • SAP-Exit option not available in Query Designer

    Hi,
    I'm trying to create a variable in BEx Query Designer that is processed by a SAP-Exit . But I don't have the option "SAP-Exit" in the drop down menu for processing type (from SAP-Help: In the variables editor, choose the processing type SAP Exit from the General tab page.).
    Am I missing any rights? Any ideas where the problem might be or is this just not possible at all and I have to use a customer exit?
    Regards,
    Alexander

    Hi, I think I didn't explain my problem right:
    I'm trying to use a variable in BEx Query Designer created by SAP that will be processed by a SAP-Exit. How can I add a SAP variable in BEx? I thought I have to create an own variable and assign "SAP-Exit" as processing type . But obviously this is wrong as I don't have the option for processing type "SAP-Exit". Any ideas?
    Thanks,
    Alex

  • Settings for SAP Portal start page from BEx Query Designer

    Hi!
    In order to see queries I would like to use SAP Enterprise Portal from BEx Query Designer.
    When I push "execute" button within BEx Query Designer a wrong page will be shown in browser.
    I changed the settings in table RSPOR_T_PORTAL, but still get the wrong Portal page shown in browser.
    Question:
    What is the transaction/table/report to customize the portal start page using by BEx Query Designer?
    Thank you very much!
    regards
    Jürgen

    Hi Anton?
    Many thanks for your reply.
    But I mentioned that I changed the URL within table RSPOR_T_PORTAL and this does not help...
    Do you speak Russian? Me too
    Can you also help me with the following problem?
    Hi!
    I am about to implement SAP Best Practices scenario "B34: Accounts Receivable Analysis".
    Therefore I load the data from SAP ERP IDES system into SAP NetWeaver 2004s system.
    My problems are:
    when I try to load the transaction data for Infosources 0FI_AR_4 and 0FI_AR_6 from SAP ERP system the following happens:
    - the status is getting u201Cyellowu201D (194 from 0 records)
    - at the next day the status is getting u201Credu201D and I received the following error:
    Errors while sending packages from OLTP to BI
    Diagnosis
    No IDocs could be sent to BI using RFC.
    System Response
    There are IDocs in the source system ALE outbox that did not arrive in the ALE inbox of BI.
    Further analysis:
    Check the TRFC log.
    You can access this log using the wizard or the menu path "Environment -> Transact. RFC -> In source system".
    Error handling:
    If the TRFC is incorrect, check whether the source system is fully connected to BI. In particular, check the authorizations of the background user in the source system.
    Comment:
    I did not find any entries on "Environment -> Transact. RFC -> In source system"
    The Source system connection EC6CLNT100 is OK
    Can some one help me to solve this problem?
    Edited by: Jgen Pfeiffer on Feb 5, 2009 12:48 PM

Maybe you are looking for