Issue in query designing

Hi all,
We have a requirement where in we need to get the variance of last 2 quarters.We have Quarter(manual entry),Current Fiscal Year and Fiscal Year/Period time characteristics.
If the current Quarter is 1 and fiscal year is 2009 -
then it is easy get the variance of last 2 quarters(3rd quarter 2008 and 4 th  quarter 2008) by creating variables and writing the code in CMOD
but the problem is if the current quarter is 2 and fiscal year is 2009 because it needs to get last 2 quarters as (Q1 -2009 and Q4 - 2008)
Please suggest if there is any easy way to achieve this.
Regards,
Pra

Hi,
There is no other way. As you said, you have to write CMOD. Refer table T009B in the code which gives you details regarding quarter. If you put PERIV = Z6. You will get all the quarters present in the system with end dates of quarter. This way your code will become generic for all the years ahead.
Let me know if you need more information.
Please assign marks if this helps.
Thanks,
Viren

Similar Messages

  • Sap bi authorizations issue with query designer..

    i am using bw 3.x and bi 7 query designer with different kind of probs?...
    i am able to see the info provider  in query desinger 3.x. but i can see only cubes .i am not able to find dso or infosets or multiprovider.. can anyone suggest is there any authorizations issues..please suggest.
    and with BI 7 query designer i am not able to see info providers in info areas folder to design a query..
    please suggest if any authorizations should be added or not

    hi suman chakravar,
    thanks for replying,
    can u be little bit clear about the steps.
    i went to tcode su01 and entered profile 0bi_all..it doesnt work.
    and executed tcode su56.there i can find list of BI related authorization profiles
    i added s_rs_all profile to my user. even then i face the same problem.
    i can see only queries in query designer of bi 7 format and i can not view info providers.
    i can view only cube and infosets and i can not view dso and multiproviders in bw 3.x type query designer
    Edited by: satishchow on Dec 14, 2011 3:23 PM

  • Issue with Query Designer

    Hi Guys,
    I am using 3.5 query designer.i have a requirement in a report.There is keyfigure structure developed which has key figures defined for eg Actual,target etc.This structure is is been restricted as whole by posting period ie 1,2,3 &4.so all the keyfigures will by defult display in posting periods ie 1,2,3 &4.I have a requirent to bring a new KF in the structure say forcast which has values for 1,2,3&4.Now i need another kef which compares only the target Posting period 4 value with all the posting period values of forcast.On which i will create an indicator.Could anyone help me in creating this new KF out of the structure so that it displaysonly the posting period 4 values of target.If i incude in the structure and restrict it with posting period 4,it comes up again with 4 coulmns for posting period which again makes it difficult to compare.
    thanks
    panchan

    Panchan,
    I am not so clear about your requirement.
    But what i understand from below question is
    You have created some KPIs with YTD fiscal year period reqtriction. and used the Fiscal year period in drill down.
    Now you want to create 1 KPI with selected fiscal year period restriction, but you can see this column in all 4 fiscal year period.
    but you want to see that in only 4th(selected) fiscal year period.
    am i right?
    if yes then use zero suppression with rows and column, as new KPI contains value in only 4th period, other 3 period will be suppressed by above setting.
    Regards,
    Ashish

  • Unable to open query designer while able to access BI system

    Hi Experts,
       I have problem while opening query designer, analyzer , WAD . I get the below error. But when i access the relevant BI system i am able to access it well , i dont get any RFC Error. Will there any port setting for query designer separately. This is problem faced at offshore which connects to client servers at onsite. Onsite guys are not facing any issues openning query designer or analyser. Please guide as i am not good in basis ..
    RFC_ERROR_COMMUNICATION
    Message
    CMALLC : rc=27 > Connect from SAP gateway to RFC server failed
    Connect_PM  GWHOST=163.164.XX.XXX, GWSERV=sapgw00, SYSNR=00
    LOCATION    SAP-Gateway on host XXXXXXX/ sapgw00
    ERROR       timeout during allocate
    TIME        Mon Sep 12 14:20:38 201
    RELEASE     700
    COMPONENT   SAP-Gateway
    VERSION     2
    RC          242
    MODULE      gwr3cpic.c
    LINE        2066
    DETAIL      no connect of TP sapdp00 from host 163.164.XX.XXX, after 20 sec
    Thanks
    Vamsi
    Edited by: vamsi talluri on Sep 14, 2011 6:57 PM

    Hi Experts,
       I have checked with basis team , my issue is resolved, please find the solution .
    1) Add corresponding system server names in host files of the offshore desktops.
    2) After that basis has added offshore natted ips in sap gatewat parameter/alternate hostnames in system profile (rz10 tcode).
    Then offshore are able to access query deisgner etc....
    Regards
    vamsi

  • Error when opening Query Designer

    I keep getting an error when I open up query designer and hit on open query.  the error is bexopensaveservices -get nodes:RFC exception.  any ideas on how to fix?  Basis says my RFC connections are fine

    Hi,
    We are facing the same issue for Query Designer .When opening a query, we get the following error :"Terminate:Unexpected Error:BExOpenSaveServices - GetNodes:RFC Exception".
    As usual, Basis folks say, RFC connections are fine.
    Not sure of the main problem.Can any one tell me , whats the solution for the same.
    FYI, I have SAP_ALL authorizations and I think, for my user id , authorization is not a problem.
    Regards,
    Kumar

  • BW 3.5, BEx Query designer issue with text of the characteristics

    Hi All,
    We are currently using BEx 3.5 Query Designer to design the queries. We have one of the ODS on which we are querying for.
    We have 3 different types of Customer in this ODS. 0Customer, 0BBP_CUSTOMER and 0GN_CUSTOMER. The problem is when we open this ODS in Query designer we see their text name on the left hand side column where it shows data fields as the same text name Customer.
    Now the our Power users have raised the issue that it is very confusing even when there are 3 different technical names for these characteristics.
    2 Questions I have.
    1) Why is something like this happening? is it some issue with the Patch or something. We will be migrating to new BI soon but in the mean time if I could resolve it that will be the best. Or does it even get resolved with new BI???
    2) what is the way in which we can resolve it?
    Thanks in advance and points will be given generously.

    HI BI Consul!
    Things like this happen, when it is called customer it could be different customers, 0customer is the standard R/3 customer and 0BBP_customer is objects from CRM and most likely 0GN_Customer might be customer from different system.
    Sure, power users should be told which customer is customer and you could also change the discription of the object, to match the definition on the other system. You could also just create z object and replace the existing confusing object with something meaningful to users.
    thanks.
    Wond

  • Authorization issue in bex query designer

    hi all ,  my SAP GUI version is 7.10 , patch 17. , i am facing this issue regarding the ,I have been analyzing a data target for a new requirement , but i am facing problem accessing the reports created on the same data target. i am able to open the previous report in the analyzer built on this data target , but when i tried to edit it using the query designer , the stats message appear as follows
    message:  Authorization change not available for query ' voice of customer.
    .INFO: new functions :'xxxx' can not be edited in the query designer 
    i am facing this problem in all the queries related to  VOC ,. please help me in solving this.

    Hi raghukan,
    This is may be due to the authorization but still you can check the consistency check for these queries using RSRV.
    Regards,
    Amit

  • Issue opening BEx query in Query designer

    Hi Expert,
    I am facing issue while trying to open a query in the BEx query designer. The query designer opens, then i search for the query and double click to open it. The system hangs there and the query never opens up.
    System details BW 7.3 SP9
    Please let me know how to resolve this issue.
    Thanks,
    Anupama

    Hi Anupama,
    Check your system SAP GUI is latest one or not.
    If not ,then uninstall your existing SAP GUI along with all Bex client tool(ex -Analyser,Query Designer,etc) and install latest one.
    I already faced same issue .so your problem will solved after doing above steps.
    Regards,
    Rajesh

  • Issue with Broadcasting and Publish query to Portal from query Designer

    Dear all,
    I have created a standard template ZWT_STANDARD_TEMPLATE in WAD and I have added this for Adhoc Analysis in 'Set Standard Web templated' RSCUSTV27.
    For Broadcasting I have added 0BROADCASTING_TEMPLATE70.
    I have problems with my broadcasting as well as publishing the Query in Portal.
    When I use a Broadcast to Email - it opens a new window with my standard template(ZWT_STANDARD_TEMPLATE ) I have added. No data though.
    Same thing happens for publishing too...When I publish the query to portal from Query Designer or WAD it takes me to the same window with my standard web template. No data though.
    I think both are related to the same issue. Its with broadcasting.
    What is the default template for Broadcasting in NW2004s? Below is the url I have included when I do it from Query designer. Its actually starting the Command - START_BROADCASTER70 but I dont know if it has to do a SOURCE_QUERY=ZCOPA_C03_FAST_PAYABLES. Could anyone compare it with your urls
    http://pgdep00:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex3x?system=SAP_BW&CMD=START_BROADCASTER70&SOURCE_QUERY=ZCOPA_C03_FAST_PAYABLES&START_WIZARD=X&DISTRIBUTION_TYPE=PCD_EXPORT
    This is the url for publishing from WAD
    http://fndef00:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex3x?system=SAP_BW&CMD=START_BROADCASTER70&SOURCE_TEMPLATE=ZWT_FAST_PAYABLES&START_WIZARD=X&DISTRIBUTION_TYPE=PCD_EXPORT
    Any help would be highly appreciated.
    Thanks,
    KK

    Hi KK,
    Did you solve your problem, i am also having the same issue. Please let me know if you have solved this issue.
    Thanks,
    Kumar

  • Bex Query designing issue

    Hi,
    Need help for the following scenerio,
    There is data for Year (Numc..2010 we can do this by offset because it is Numc) and Year Quarter(Char..2010 Q1But this char..I think not possible) fields in the cube.But report requirement is last 3 recent Quarters data and previous 6 years of data into report.
    FYI..PFA screen,
    For ex:
    2006
    2007
    2008
    2009
    2010
    2011
    2012 Q1
    2012 Q2
    2012 Q3
    2012 Q4
    2013 Q1
    2013 Q2
    2013 Q3
    2013 Q4
    2014 Q1
    2014 Q2
    2014 Q3
    2014 Q4
    Appreciate your help.
    Thanks,
    Ram

    Dear Ravi,
    Could you please check the behaviour in TX RSRT.
    This could be bug, also check if the below notes are helpful.
    1259625    Query Designer: Texts are not updated or missing
    1246021    Structure member texts are not displayed
    1229140    Column headers not displayed
    1279430    Structure member texts are not displayed
    Regards,
    Arvind

  • Issue about executing query in BI 7.0 Query Designer

    hi, all
    i am using bi7.0. and when i want to execute a query in the query designer, i met a problem.
    when i click the execute button in the tool bar, the web page pop up  and display some dull information: invalid syntax error. the page can not be displayed.
    any ideas of how to solve this problem.
    thanks.

    hi, all
    this time  when i click the "execute" button in the BEx Query Designer, i got the following error message  in the pop up web page:
    Exception in BI runtime
    Log ID: 001E4FD906750057000000DF000004F800045A5CF6DB9857
    Initial cause
    Message:
    Connect to message server host failedConnect_PM  TYPE=B MSHOST=shni200.cts.com GROUP=PUBLIC R3NAME=AD1 MSSERV=sapmsAD1 PCS=1ERROR       service 'sapmsAD1' unknownTIME        Wed Oct 29 12:40:31 2008RELEASE     700COMPONENT   NI (network interface)VERSION     38RC          -3MODULE      nixxhsl.cppLINE        776DETAIL      NiHsLGetServNo: service name cached as unknownCOUNTER     3
    Stack trace:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failedConnect_PM  TYPE=B MSHOST=shni200.cts.com GROUP=PUBLIC R3NAME=AD1 MSSERV=sapmsAD1 PCS=1ERROR       service 'sapmsAD1' unknownTIME        Wed Oct 29 12:40:31 2008RELEASE     700COMPONENT   NI (network interface)VERSION     38RC          -3MODULE      nixxhsl.cppLINE        776DETAIL      NiHsLGetServNo: service name cached as unknownCOUNTER     3     at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)     at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)     at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:411)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:209)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:188)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:129)     at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320)     at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:155)     at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:302)     at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:259)     at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:458)     at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:87)     at com.sap.ip.bi.base.portal.connection.PortalConnectionPool.getConnection(PortalConnectionPool.java:172)     at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:64)     at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:406)     at com.sap.ip.bi.base.application.impl.Application.getProperty(Application.java:596)     at com.sap.ip.bi.base.application.impl.Application.initialization(Application.java:227)     at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:132)     at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:63)     at com.sap.ip.bi.webapplications.runtime.impl.Page.constructPage(Page.java:650)     at com.sap.ip.bi.webapplications.runtime.impl.Page.<init>(Page.java:606)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.createPage(Controller.java:548)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:922)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:868)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:328)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)     at java.security.AccessController.doPrivileged(Native Method)     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Message:
    No connection possible to BI master system SAP_BW
    Stack trace:
    com.sap.ip.bi.base.service.connection.ConnectionException: No connection possible to BI master system SAP_BW     at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:68)     at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:406)     at com.sap.ip.bi.base.application.impl.Application.getProperty(Application.java:596)     at com.sap.ip.bi.base.application.impl.Application.initialization(Application.java:227)     at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:132)     at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:63)     at com.sap.ip.bi.webapplications.runtime.impl.Page.constructPage(Page.java:650)     at com.sap.ip.bi.webapplications.runtime.impl.Page.<init>(Page.java:606)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.createPage(Controller.java:548)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:922)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:868)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:328)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)     at java.security.AccessController.doPrivileged(Native Method)     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: com.sap.ip.bi.base.service.connection.ConnectionException: No connection exists for system "SAP_BW"     at com.sap.ip.bi.base.portal.connection.PortalConnectionPool.getConnection(PortalConnectionPool.java:216)     at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:64)     ... 44 moreCaused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failedConnect_PM  TYPE=B MSHOST=shni200.cts.com GROUP=PUBLIC R3NAME=AD1 MSSERV=sapmsAD1 PCS=1ERROR       service 'sapmsAD1' unknownTIME        Wed Oct 29 12:40:31 2008RELEASE     700COMPONENT   NI (network interface)VERSION     38RC          -3MODULE      nixxhsl.cppLINE        776DETAIL      NiHsLGetServNo: service name cached as unknownCOUNTER     3     at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)     at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)     at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:411)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:209)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:188)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:129)     at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320)     at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)     at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:155)     at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:302)     at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:259)     at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:458)     at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:87)     at com.sap.ip.bi.base.portal.connection.PortalConnectionPool.getConnection(PortalConnectionPool.java:172)     ... 45 more

  • Issue with calculating Top 20 % in Query Designer

    Hai
    I am working on Query designer 7.0 where I need to design a report which has 4 parts. The first 3 parts displays the Items with Top 20 Inventory Value with 3 respective divisions for 6 months . Now the 4th part is to display Top 20% of inventory Value.
    So in this report I need to take the Total Inventory and calculate the Top20 % of the items. Hence in this report I need to refer to the top 20 value of 3 divisions. So I cant jus give one condition. So I tried the replacement path for Items with restriction to other queries and created the variables. But I cant use these varaibles in the structures of rows or columns. It gives an error that this variable cant be used in Structure.
    Please do help me in refering the top 20 values of 3 divisions for 6 months and do a calculation to display the % in my 4th report.
    I will assign points for any kind of help provided

    If you can design all those in One query than you can have it...
    It seems now your aim is just to take result for 3 queries and use it in 4th query...
    But if you can figure out defining all 3 Divisions and restriction in Same Query and then put the DISPLAY OPTION = HIDE = do not display
    and then use their result to display you will achieve what you want to....
    for e.g.
    Jan 07-----Feb 07 -
    Mar 07 -
    Dec 07
    Division 1-- Item 1 -
    Inv 1 -
    Inv1.........................DO NOT DISPLAY
    Item2 -
    Inv2 -
    Inv2..........................DO NOT DISPLAY
    Item3 -
    Inv3 -
    Inv3..........................DO NOT DISPLAY
    <i><b>----
    Item20 -
    Inv20 -
    Inv20</b></i>........................DISPLAY ONLY
    Division 2-- Item 1 -
    Inv 1 -
    Inv1......................DO NOT DISPLAY
    Item2 -
    Inv2 -
    Inv2........................DO NOT DISPLAY
    Item3 -
    Inv3 -
    Inv3........................DO NOT DISPLAY
    <b><i>----
    Item20 -
    Inv20 -
    Inv20</i></b>....................DISPLAY ONLY
    Division 3-- Item 1 -
    Inv 1 -
    Inv1</b>.......................DO NOT DISPLAY
    Item2 -
    Inv2 -
    Inv2.......................DO NOT DISPLAY
    Item3 -
    Inv3 -
    Inv3.......................DO NOT DISPLAY
    <i><b>----
    Item20 -
    Inv20 -
    Inv20</b></i>.........DISPLAY ONLY
    THEN you will have result
    Division -
    Jan07 -
    Feb 07 -
    Marc 07
    div1 -
    Total inv/sum(top20) -
    Total inv/sum(top20) -
    Total inv/sum(top20)
    div2 -
    Total inv/sum(top20) -
    Total inv/sum(top20) -
    Total inv/sum(top20)
    div3 -
    Total inv/sum(top20) -
    Total inv/sum(top20) -
    Total inv/sum(top20)

  • Query Designer Issues Post System Copy

    Hi All -
    We have just performed a system copy from our production to our QA systems.  Now, when we trying to view a report from Query Designer in our QA environment, we are being prompted for a username and password - which is trying to log in to our production environment!  (I know this because I locked myself out of production trying to log in via our QA Query Designer).  We've done all the BDLS runs, updated the RSLOGSYSDEST table poer OSS note 524554, and also updated the tRFC port in WE20.  What do we need to do to be able to run a query out of the BW QA system?
    Thanks for the assistance.
    Abby

    Hi Abby,
    Once you execute the query from designer you will get one URL generated in the explorer address bar here you will have to change the name of your production app server with quality app server then report will be executed on quality server.
    But this is temporary solution, you will have to check with your basis team regarding this and they will have to change some setting in system table and next time onward the system will pick proper URL.
    Regards,
    Durgesh.

  • Issues opening a BI 7.0 query in to 3.x query designer?

    Hi,
    I opened a 7.0 based query in to 3.x query designer. I have couple of concerns that are listed below:
    1. First of all is it ok to open 7.0 query in 3.x query designer? if no what are the Consequences?
    2. A warning message displayed saying that the infoprovider is inactive any idea?
    3. Can use the 3.x browser for 7.0 queries? Do you think 3.x browser have all the cozy navigation options like 7.0.
    Thank you.
    Aslam.

    Hi,
    Pls find some SAP notes:
    1.Queries created or adapted with the SAP NetWeaver 2004s BEx Query Designer will still appear in the Open Dialog of the 3.x tool but they cannot be opened anymore.
    2.For those scenarios where customers do not want to use the SAP NetWeaver 2004s BEx Query Designer, SAP ships a 3.x version of the BEx Query Designer in addition to the SAP NetWeaver 2004s BEx Query Designer.
    3.New capabilities are only implemented in the SAP NetWeaver 2004s Query Designer.
    4.Query Views that were created before will still run after a query has been changed with the new BEx Query Designer.
    In general, query views do not need to be migrated.
    5.The new BEx Analyzer gives access to InfoProviders, queries and query views but not to query views created with the new BEx Web Analyzer. On the other hand, query views created with the BEx Analyzer are available within the new BEx Web Analyzer.
    6.Several Features of the new BEx Query Designer and BEx Web (e.g. in the area of exceptions and conditions) are not available in the new BEx Analyzer.
    7.SAP does not recommend using NetWeaver 2004s queries and query views in the old 3.5 BEx Analyzer.
    Hope this helps,
    Regards
    CSM Reddy

  • IF and ABS condition statement in BEX query designer

    Hi,
    I would like to ask the best way for me to produce an acceptable result from Excel IF and ABS Condition statement.
    The condition statement that I have on my Excel file is
    =IF((A2-B2)>0,ABS(A2-B2),0)
    I'm trying multiple times to reproduce this in BEX Query designer, unfortunately I'm getting a bad result or unacceptable formula.
    Anyone who could help me with my issue?
    Thanks,
    Arnold

    Hi Arnold,
    Thank you,
    Nanda

Maybe you are looking for

  • Static member problem in multiple instance of  web application

    Problem I am working on a product which is java based. I have a war file. I have to deploy this war file in JBoss. Further, I need to run multiple instance of this war file in same JBoss instance. Issue      In that war file there is servlet Start.ja

  • Deleting same elements in array and their rearrangement based on other array

    I need to delete duplicating characters in a string array. In addition the rearrangement in these new string characters should depend on their position alon the X axis given in other array. Any ideas how.. Cheers, Z p.s. In the attachment u can see m

  • Flash Masks with multiple objects

    hey i was wondering if anyone knows whats with flash and masking an item to multiple graphics within a graphic IE i have a bunch of squares. they are each individual graphic objects. there are about 40 of these squares in another graphic called squar

  • Webcam access using applet

    Hi guys, I wanna create an applet that just takes a snapshot image from the user's webcam in clientside, so I wouldn't like to tell the user to install JMF(java media framework) first on clientside. Does anyone know if it's possible to access the web

  • Stack/heap

    hi chums, For a long time,I am having one doubt in employing local/instance/static variable. For instance variable[Object variable],theoretically,as we known,these are on the heap while executing an application. For local variable,these are on the st