Problem in a BEX Query

Dear BW-Experts,
I have following problem: the yearly figure of our forecast is stored in the BW Infocube in calendar month 12 (this was set up before I joined the company, no idea why it was done in this way). Now I should create a query where the forecast data is displayed in each month (yearly figure divided by 12). Is it somehow possible to display the data of calendar month 12 (divided by 12) under calendar month 1? Could this perhaps be done with customer exit variables?
Any help would be greatly appreciated!
Thanks
Petra

Hi Ravi,
I have created now the 12 restricted keyfigures. And so far it is working. But now I have the next problem: the requirement is that the users should be able to select the months, for which the data should be displayed.
So for example they will enter month 03 to 06.
The result in my query now is that 9 of the 13 columns (one for each month and one for the planned data therefore 13) are empty. Only in the columns for month 3,4,5 and 6 data is available. Also the planned data column is empty as the planned data is only stored in period 12 and due the month selection from 03 to 06 the data of month 12 is not displayed.
I have also already tried to set for the "planned data" keyfigure the restricted selection flag. This would result that I also see the planned data when the user has not selected month 12 but then I get in each row in the planned data column the sum of the values from all rows ( I have several rows for the different companies).
Any Idea what I can do the get the planned data displayed (also when month 12 was not selected from the user) and what I can do that the empty columns are not displayed?
Thanks a lot for any help!
Petra

Similar Messages

  • Problem while opening Bex query on the web

    Hello BW experts,
    I have a problem while opening Bex query from my SAP Favorites.See below.
    When i double click on the query, i get the following page, with the server name KBWS01QX.
    But, from RSRT Tcode, select the query > query display as HTML > Click on ABAP Web , click execute as shown below, it is going to the correct URL as in the 2nd screen shot below.
    My question is why is it going to the wrong URL when i open it from  SAP Favorites menu?
    I want it to open the same URL as it opened from RSRT(which is the right one)
    What is the Config needed to make it to work from SAP favorites.
    Any help would be appreciated.
    Thanks alot.
    SV

    Hello,
    Thank you all for your responses.
    See below some additional info.
    From RSRT, this time I clicked on JAVA WEB, and i get the below URL, which is the same URL i was getting when i executed the query from SAP favorites.
    http://kbws01qx.xxxxxxx.com:50000/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=ZCONSUMPTION
    Also, i have executed the Function module : RSBB_URL_PREFIX_GET and i get the below values.
    It seems that it is trying to connect to Java portal something services may be, but i want it to open in ABAP web only.
    Please help.

  • Problem with a Bex Query Report with Web Intelligence

    Hello!
    I have a Bex query (with query Bex version 7.0) I'm connecting with Web Intelligence (4.0) but one of the attributes instead of displaying the description shows only the key, and it is strange because other cubes if given by the conversion.
    I wonder if there is a solution for this or if it is a problem of version 4.0 of Web Intelligence.
    I await your response,
    Greetings!

    Hi,
    Whereabouts in the application are you seing this problem?  (in the query panel conditions, in the prompt list of values, or in the table block? )
    also, what do you mean by "and it is strange because other cubes if given by the conversion" ?
    it's worth noting that the "key and text display properties" in the Bex Query Designer do not influence webi.  WebI consumes the global infoobject property from BW RSH1.
    Regards,
    H
    p.s. if you need to understand which features are or are not supported with BI 4.0 tools, please look here: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d056e1bc-2794-2e10-959e-8779c5623cc5

  • Problem in consuming BEX query (MDX/Easy Query) in netweaver gateway Odata model

    Hi while accessing the the Odata Service URL i am getting the XSLT Runtime error "No Valid Source context supplied" (CX_XSLT_RUNTIME_ERROR). The landscape is SAPUI5 application consumes the bex query as mdx query via Netweaver gateway odata model. Please refer the attached screenshot for details. Thanks, Ganesh.

    Issue resolved by setting flags in alias. Ganesh.

  • Problem while running BEx Query

    Hi All,
    I had reqiurement of calculating the difference of the two dates.I calculated Date Difference but I am getting problem when I run the Query.
    The problem is " I am finding the difference between Schedule Line Date and Posting Date. There are some blank spaces in the cube over Schedule Line Date and also over Posting Date. While running the Query Blank Space is taken as # symbol and while calculating the differences it is giving the differences in Lakhs."
    Can anybody help me to solve the problem " To remove the # symbol and calculate the differences properly".
    Thanks in advance.
    With Regards
    Mahi

    Hi,
    Use the Boolean concept like below:
    I hope you are using formula varibles to get Dates into the formula.
    Lets assume fv1 is formulavarible on Schedule line date and FV2 is Formula varible on Posting date.
    (FV1 == '' OR FV2 == '') * 0 + (FV1 <> '' AND FV2 <> '') * (FV1-FV2).
    With rgds,
    Anil Kumar Sharma .P

  • Problem while creating BEx Query

    Hi all,
    I have to calculate the difference between Receipt Date and Schedule Line Date in the Query level. The thing is both are Characteristics.
    I want to know how to calculate the difference.
    Can anyone help me to solve this problem.
    Thanks in Advance
    Mahi

    Hi Mahi,
    Create a variable on receipt date and schedule line date of type replacement path.
    Create a calculated key figure which basically subtracts value of variable defined for receipt date and variable defined for schedule line date.
    Hope that helps.
    Regards
    Mr Kapadia

  • BEX Query Designer - Application Error

    Dear experts,
    I have a problem with my BEX Query Designer. Whenever I tried to save a query, I caught the following exception:
    BEX Query Designer has encountered a problem and cannot proceed with the current action. We are sorry for the inconvenience.
    Additional Information:
    QD revision 300
    Internal Error ID: E-ONGUIUNHANDLEDEXCEPTION
    Error Message: Method not found: 'Void com.sap.bi.et.Communication.RZX0.RSZ_X_ELTPROP.set_PROPVERS(System.String)'
    Can someone help me to solve the problem?
    I am using the following version:
    BI AddOn 7.X (based on 7.10), Support Package 3, Revision 520

    From the log:
    5:01:38 PM.31 ########## --> com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException ##########
    -EXCEPTION-START- 5:01:38 PM.31:  ---
    Exception Message: Method not found: 'Void com.sap.bi.et.Communication.RZX0.RSZ_X_ELTPROP.set_PROPVERS(System.String)'.
    Exception    at com.sap.bi.et.QueryDesigner.QDbElement.ToTable(RSZ_X_ELTPROP isEltProp, QDbCopyInfo iToTableInfo)
       at com.sap.bi.et.QueryDesigner.QDbQuery.ToTable(RSZ_X_ELTPROP isEltProp, QDbCopyInfo iToTableInfo)
       at com.sap.bi.et.QueryDesigner.QDbElement.ToTables(Hashtable iTables, QDcElement iElementsToSave, QDbCopyInfo iCopyInfo)
       at com.sap.bi.et.QueryDesigner.QDbElement.Save(String iRole, String iNode)
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveElement.Save(QDbElement iElement, Boolean iOutputSuccess)
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveAsElement.Save(QDbElement iOriginalElement, QDbElement iSaveElement)
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveAsElement.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveElement.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveQuery.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.CommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.InitialCommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommandInternal()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.ItemClickedHandler(Object sender, BarItemClickedEventArgs args)
       at com.sap.bi.et.QueryDesigner.QDdEventDispatcher.MenuItemClickedHandler(Object iSender, BarItemClickedEventArgs iE)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.OnItemClicked(BarItemClickedEventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
       at com.sap.bi.et.QueryDesigner.QDiBarItem.OnItemClicked(EventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs e)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Full Stack:   at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    -EXCEPTION-END----

  • Problem with Queries Structures in Bex Query Designer and Universe Designer

    Hi everyone,
    I have a problem when i try to do a Universe from a Bex Query Designer.
    When I use a Characteristic Restrictions in a Structure, the universe only show me the structure without the objects inside it.
    EJ:
    1) Bex Query Designer
    Colunms
    (Structure) ZSRT_123
                          - (Characteristic Restrictions) Reg Guayana
    >          (InfoObject)     0Product = 'XXX'
    >          (InfoObject)     0Country = 'YYY'
         - (Characteristic Restrictions) Reg Caracas
    >          (InfoObject)     0Product = 'AAA'
    >          (InfoObject)     0Country = 'BBB'
    Rows
    (Structure) ZSRT_456
                   (Key Figure)     Net Sales
    2) Universe designer
    (Class) ZSRT_456
    >(Measure)      Net Sale
    (Class)     ZSRT_123
    >(Dimension)      ZSRT_123
    The universe dont translate the two Characteristic Restrictions in the structure ZSRT_123.
    Any information would be much appreciated. Thank you.

    Hi,
    I assume that you are using BOE XI 3.1 SP2.
    We have added an option in SP2 to generate or not the L00 level.
    Unfortunately this option applies not only on characteristics but also on hierarchies, hierarchies variables and structures: that's the reason why you have no elements belonging to the structure generated.
    I recommend to always generate L00 in order to have your structure generated correctly.
    This issue will be fixed in SP3.
    Regards,
    Didier

  • Problem about printing special character in bex query analyzer

    Hi,
    in bex query analyzer i have created one restricted key figure , in which i have substracted two date with the help of replacement path.
    So i got result.
    But i am facing one problem. when in both date, if one date is null or # then it is giving some big value like -734567.
    But i want some special character like X instead of this big values.
    So how can i do this?
    With the help of if and else it can be done.
    But how can we print special character in report.
    Please help me
    Thank you in advance

    hi,
    You cannot show X in a formula result. You can highlight the row using exception.
    Still if you want to show X in the result then you need to create a formula variable on a char which returns X value all the times.
    Then you can use the three formula variable to write a formula so that it shows the difference:
    date1 -- formula variable
    date2 -- formula variable
    charx -- formula variable.
    the formula will be
    Count(date1)Count(date2)(date1 - date2) + charx *(count (delta(date1) + delta(date2))).
    this would return the X value if any of the dates are empty otherwise their difference.
    regards.
    Arvind.

  • Problem in BW system while tranporting a change in a Bex Query

    Hi All,
    I am facing a problem in BW system while tranporting a change in a Bex Query. Actually on our BW system our Client team works as well. I have done started doing some change in query in dev. I have created bex transportable request
    I want to transport a change in bex query. I am doing that dev work. usually i create a request in RSA1->tranport connection-> drag a query to a bex transportable request which I have already created. But the problem is my client also want to work on the same query for another change. so he is asking me to release the request or delete the request.. Is there any otherway that I can do the transports without conflicting with Client.
    Regards.
    haaris

    Hi Harris,
    A transport request if is BEx transport request (i.e. a request which is assigned as BEx transport request in transport connection) allows multiple users to work on same query.
    Instead of deleting your request, you could assign it as a BEx transport request in transport workbench and your client can also make changes under the same request without adding him under the request. It will also be better as all the changes made to one query will be onder one request.
    Please let me know if you need any more help.
    Regards,
    Pankaj

  • BEx Query Designer Opening Problem

    Hi Guys,
    I am working on BI 7.0. My system OS is Windows XP. When i try to open Query Designer it showing an as below.
    Component 'BEx Query Designer': available version 154, version 229 required.
    Before you can continue you have to run the front-end setup.
    please let me know to resolve this issue.
    Thanks
    Murali

    Hi Murali,
    To make sure it works, you should make sure that:
    When you installed the SAP GUI, you have checked the BI option (in addition to the BW option)
    Install the latest front end patch (BI patch 7) from SAP Marketplace
    I highly recommand to also install the BI SP07 patch for the server - it adds lots of stability for the front end.
    It works pretty well for us, I am sure you will also eventually make it work
    hope this solves ur problem....
    Regards,
    Bala...

  • Problem Bex Query Designer

    Hello,
    Our BI guys are facing a problem with the too - Bex Query Designer.
    They want us to update the version of the Query Designer.
    Can you please guide me as how do I obtain the latest version of Bex Query Designer.
    My current version is - release 2004s SUpport pack - 0, revision 418
    Thanks.

    have a look at this
    SAP NW BI BEx Compatibility of MS Operating Systems and Office Products [original link is broken]
    Regards,
    Ravi

  • Input control -Check Box Problem in webi4 over Bex query

    Hi All
    i am in webi4 over bex query
    my customer requirement is to have the option to select multiple values from object (e.g Document class) with out the need of presenting the field(e.g document class) in the report
    when I use the input control check box or list box i have the following problem
    if I select from the input control all values I see the report ok
    if I select 2 values from the list I receive #UNAVAILABLE , but if i add the field to the report ( the document class) it works fine.
    the problem is that  if I don't have the field in the report i get the #UNAVAILABLE
    any assistance is appreciated
    Thanks

    Hi,
    this question has been asked many times before on this forum, so do please search first.
    Here's some steers : http://forums.sdn.sap.com/thread.jspa?messageID=10852102#10852102
    and : http://forums.sdn.sap.com/thread.jspa?messageID=10838993#10838993
    Also, do search the knowledge base articles over here in the cross-search: www.service.sap.com/xsearch
    you keywords would be "4.0 webi #UNAVAILABLE"    (there are 12 sap notes about this)
    Finally, make sure you use all the latest Patches (Patch2.11,  2.12 next week) to include corrections.
    Regards,
    H

  • 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

  • 0ANSALARY problem - BEx Query

    Hi All,
    I have a BEx Query which Uses 0EMPLOYEE & its attributes. 0ANSALARY is one of the attributes that Iam using in the Query. I have created a Role and assigned a Test User and this Query to the role.
    The 0ANSALARY appears as ANSALARY in the query when I open it with the Test User's ID, but it appears normal when I open it with my ID. System says that the Query is syntactically correct too. When I execute the Query from the Test User's ID the 0ANSALARY does not get displayed at all in the result. It looks fine when I run the query with my ID.
    what could be the problem for this strange behaviour and where should I look to resolve this problem? Please let me know.
    Regards,
    -Ravi

    Hi, I have this in the Rows (the Query does not have colums as I have merged them). And, I have not used any Template to design the Role.
    Any ideas?
    Regards,
    -Ravi

Maybe you are looking for

  • Can't update Ipod on new Itunes 7

    I just downloaded itunes and tried to update and got this error the ipod software update server could not be contacted make sure your network setting are correct and your network connection is active, or try again later. I'm not sure what to do, i ru

  • What should i do after 2.3 years in ABAP

    Hi All, I am an ABAP consultant with 2.3 years of experiance. Now i want to explore other areas in SAP (technical). So please suggest me that which area will be helpful for servival & growth. Thanks RK

  • Outlook web app not working properly in Safari since switching to Yosemite

    I have installed/upgraded to Yosemite first on my MacBook Air (13-inch,  2011) and then on my IMac 13.2 (27inch, 2012). In both cases I have experienced the same thing: when trying to attach a file to the message written using the Outlook Web App, I

  • Jpeg, TIFF and Raw files in iphoto

    I have all three types of files in my iphoto library. I need to sort them so I can export Raw files and some TIFF files to Elements 3 for conversion and/or editing. I need to convert some Tiffs to Jpeg to save space. Is there some way I can sort my 3

  • Buttons in Master do not work.....

    I'm running Indesign CS5 I have created a master page: A-Master It has 5 buttons Each button action is set to "Go to Page" and a page number is assigned so as I check each button it shows page 1/5, 2/5 etc... Back on the Pages, I assign the A-Master