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

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 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

  • An exception occured while creating a query in EntityManager

    I was directed to create a new topic rather than resurrect a long dead thread. I appreciate the correction in this.
    Persistence, Entity Manager, NetBeans 6.7.1, GlassFish v2.1, Database
    I am getting the following Stack Trace:
    [#|2009-12-08T16:22:06.171-0500|SEVERE|sun-appserver2.1|javax.faces|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=390db479-49c0-47e5-bcdc-e5e07f871644;|javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
         at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
         at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)
         at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
         at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.createQuery(EntityManagerImpl.java:209)
         at com.davisco.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:165)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEntities(EmpdataJpaJpaController.java:155)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEmpnoEntities(EmpdataJpaJpaController.java:214)
         at com.davisco.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
         at com.davisco.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         ... 48 more
    Caused by: Exception [TOPLINK-8034] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
         at oracle.toplink.essentials.exceptions.EJBQLException.unknownAbstractSchemaType(EJBQLException.java:494)
         at oracle.toplink.essentials.internal.parsing.ParseTreeContext.classForSchemaName(ParseTreeContext.java:163)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getClassOfFirstVariable(SelectNode.java:366)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getReferenceClass(SelectNode.java:354)
         ... 65 more
    It appears that problem
    |javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    is actually caused by
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
    The Query is a very basic query.
         private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("PersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
         private List<Empdata> findEmpdataEntities(boolean all, int maxResults, int firstResult) {
              EntityManager em = getEntityManager();
              try {
                   Query q = em.createQuery("select object(o) from Empdata as o"); // Problem line
                   if (!all) {
                        q.setMaxResults(maxResults);
                        q.setFirstResult(firstResult);
                   return q.getResultList();
              } finally {
                   em.close();
    I have reviewed my Configuration Files and Source Packages without solution.
    Where do I need to look or what do I need to do to determine the error?

    After reading similar discussion in the OTN Discussion page ( [Thread: Unknown abstract schema type |http://forums.oracle.com/forums/thread.jspa?threadID=602826] ) I reviewed how I was creating my EntityManagerFactory. I realize also more information is required for a more complete understanding of the circumstances.
    I originally created a project in Netbeans using the wizard to create a JSF Project from Entity Classes. Through trial and error I produced from the resulting JSF Web pages a maintenance project for a given table in the database. I was then given the task to split the table and build a new project utilizing the existing entity classes in a production project.
    After the table was split and the new entity classes created I then entered the task of starting a new project using the entity classes in the production project. To do this I used the Netbeans wizard to create the JpaControllers in the production project. I copied as much code as I could from the working table maintenance project I had just completed. I have now started to connect the two projects. I have included the production project with the entities as a library project. I created the persistence.xml file in the new project with the same persistence unit name as the production project. I have included the Toplink Extensions as a library in the new project (even though the production project has the entity classes). From what I have been able to glean I am thinking my EntityManagerFactory declaration may be misdirecting the finding of the Empdata schema in my new project. Here is how I declared my EntityManager in the example given:
    private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("DvPersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Here is the wizard generated method which fails with a NullPointerException in the return statement:
         @PersistenceUnit(unitName = "PersistPU")
         private EntityManagerFactory emf = null;
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Hopefully this will better help someone to direct me to determining the cause of my error or the error of my ways.
    NullPointerException stacktrace just mentioned:
    EmpdataController: getEmployeesByEmpno [0]
    AbortProcessingException thrown when processing event of type 'javax.faces.event.ValueChangeEvent' during phase 'PROCESS_VALIDATIONS 3' for component with ID or Client ID of 'srchEmp'
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
    at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
    at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
    at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    Caused by: java.lang.NullPointerException
    at com.company.web.jpa.controllers.EmpdataJpaController.getEntityManager(EmpdataJpaController.java:71)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:163)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:155)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEmpnoEntities(EmpdataJpaController.java:214)
    at com.company.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
    at com.company.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... 49 more
    Would someone please help me know where to look next or point me in the direction to find the cause of the error(s)?
    Thank you.

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • Problem:  While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off.  Video soundtrack is not in the right place.  HELP!

    Problem:  While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off.  Video soundtrack is not in the right place.  HELP!

    Have you checked out the topics at the right in the More Like This section?
    OT

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • Error while integrating BEx Query with Cognos

    Hi all,
    we have made 999 rows and 150 columns..
    but we r unable  to integrate it with cognos if we remove free characteristics....
    and it thows me the following error
    1.BAP-ERR-0002 a BAPI error has occured in the function module RFC_READ_TABLE. NOT_AUTHORIZED
    2.error when generating data provider
    3.Query is too large
    Please do reply immediately with the correct solution
    Regards
    Madhavi

    Hi Vani Reddy
    Jus one quick finding are there any new patches upgrade taken place in your system . its in generally occurs because patch issues please refer the following note  1325527.
    it may helps you in this reg.
    Hope its clear a little..!
    Thanks
    K M R
    ***Even if you have nothing, you can get anything.
    But your attitude & approach should be positive..!****
    >
    vani reddy wrote:
    > Hi All,
    >
    > While executing Bex Query user is getting below error message after 20 mins and coming out of BEx.
    >
    >
    >
    > Error Group
    >
    > RFC_ERROR_SYSTEM_FAILURE
    >
    > Message
    >
    > An exception that could not be cought occured.
    >
    > Thanks in advance
    > Vani
    Edited by: K M R on Aug 12, 2009 2:14 PM

  • Problem while creating URL iview (in EP7.0)

    Hi,
    I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
    "No templates to display. You are not assigned to any existing templates."
    please assist me in this regard.
    Thanks,
    Suri

    Hi Manoj,
    Thank you for your reply.
    I am still getting the same messages even after creating the iview template in EP7.0
    Created through:
    content Admin --> portal content --> <folder>new --> iview  --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
    Open object for editing...--> Object is a Template to Yes.
    Result :
    content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
    "No templates to display. You are not assigned to any existing templates."
    Rgrds,
    Suri.

  • Strange problem while execution of query....

    Hi Friends
    I am facing a strange problem while executing the query.
    I have one query ,its old one ,till yesterday everday it was working fine ,
    But today i am trying to execute that query ,execution process takes very long time ,finally no response from bw server.
    its an important report in our company
    I checked query , Every thing is ok ,bze i haven't made any changes
    So i need some suggetions  .like where can i check and what can i do?
    ASAP ....  So Please ...its very urgent....
    EVERY THING AND ANY THING WILL BE REWARED
    Thanks in advance
    RK

    Hi
    Stefan
    Thank you for your valuable suggestion
    the problem is solved
    Already i  assigned  points.
    Thnaks & Regards
    RK

  • Problem while creating sales order

    Hi
       We are facing a problem while creating a sales order in R/3. The sales order number is getting generated. But we are not able to view the same in the backend meaning it is not there in the database. Any inputs would be of help.
    regs
    Steve

    Hi everybody,
    I've got a problem with this too. I use the BAPI_SALESORDER_CREATEFROMDAT2 with BAPI_TRANSACTION_COMMIT and the webdynpro shows me the document number created in R3 with a Success message. But when I go to R3 and try to display the created sales order, it doesn't exists. So... Maybe I'm doing something wrong with the BAPI_TRANSACTION_COMMIT. ¿Can anybody help me with this?
    The code I use is this:
    When the user pushes the SAVE button in the WebDynpro, this code executes:
        //@@begin onActionSave(ServerEvent)
         wdThis.wdGetSOCreaCustController().executeBapi_Salesorder_Createfromdat2();
         wdThis.wdGetSOCreaCustController().executeBapi_Transaction_Commit();
        //@@end
    In the custom Controller I've got the code for those executions:
      public void executeBapi_Salesorder_Createfromdat2( )
        //@@begin executeBapi_Salesorder_Createfromdat2()
         try {
              wdContext.currentBapi_Salesorder_Createfromdat2Element().modelObject().execute();
         catch (Exception ex) {
              wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
         wdContext.nodeOutput().invalidate();
        //@@end
      public void executeBapi_Transaction_Commit( )
         try {
              wdContext.currentBapi_Transaction_CommitElement().modelObject().execute();
         catch (Exception ex) {
              wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
         wdContext.nodeOutput().invalidate();   
        //@@end
    ¿Is something wrong? ¿Is something missing?

  • Problem while creating JCA connection to MDM server

    Hi All,
    I have restarted my mdm connector(com.sap.mdm.tech.connector) along with the applications related to Enrichment Controller. All applications restarted successfully. After that I tried accessing the URL
    http://MDMSERVER:50000/MDM_EnrichmentController/WorkflowPolling?process=Monitor
    but I am getting following exception in this page
    Polling Repository
        name=Vijaybabu_Repo_on_MDMSERVER, status=No repository connection, error description=com.sap.mdm.net.ConnectionException: Problem while creating JCA connection to MDM server MDMSERVER
            Enrichment Request Threads
    Could somebody help me pointing if something I have missed..
    Thanks and Regards,
    Manoj

    hi Swarna,
    I have verified the repository and found 0 fatal errors, 0 non-fatal erros and 0 warnings. I also checked the MDM Factory and Connector service is running fine.
    The detailed exception is
    Sep 2, 2008 12:49:40 PM com.sap.mdm.logging.MdmLogger error
    SEVERE: Problem while creating JCA connection to MDM server 'KOLAPON'
    com.sap.mdm.net.ConnectionException: Can not resolve JCA connection
         at com.sap.mdm.internal.session.JcaConnectionUtil.getJcaConnection(JcaConnectionUtil.java:119)
         at com.sap.mdm.internal.session.JcaConnectionUtil.getJcaConnectionAccessor(JcaConnectionUtil.java:62)
         at com.sap.mdm.internal.session.JcaConnectionAccessor.reserveConnection(JcaConnectionAccessor.java:70)
         at com.sap.mdm.internal.session.JcaConnectionAccessor.reserveConnection(JcaConnectionAccessor.java:59)
         at com.sap.mdm.repository.commands.GetRepositoryStatusCommand.execute(GetRepositoryStatusCommand.java:67)
         at com.sap.mdm.enrichment.common.ECAdminUtils.getRepositoryStatus(ECAdminUtils.java:125)
         at com.sap.mdm.enrichment.common.EnrichmentUtils.validateRepostiryConfiguration(EnrichmentUtils.java:889)
         at com.sap.mdm.enrichment.common.EnrichmentUtils.getCatalogManager(EnrichmentUtils.java:144)
         at com.sap.mdm.enrichment.workflowpolling.PollingThread.getCatalogManager(PollingThread.java:166)
         at com.sap.mdm.enrichment.workflowpolling.PollingThread.run(PollingThread.java:102)
    Caused by: com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: "ConnectionManager" is closed. Possible reasons: 1) connector "MDM Factory" is stopped or not started, 2) Connector service is stopped or has not been started.
         at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:223)
         at com.sap.mdm.internal.session.JcaConnectionUtil.getJcaConnection(JcaConnectionUtil.java:108)
         ... 9 more
    Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: "ConnectionManager" is closed. Possible reasons: 1) connector "MDM Factory" is stopped or not started, 2) Connector service is stopped or has not been started.
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
         at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:213)
         ... 10 more
    Regards,
    Manoj
    Edited by: Manoj Kumar Nanda on Sep 2, 2008 9:21 AM

  • Problem while creating data transfer process

    Hi friends
    I am using BI 7.0 version.
    I m getting a problem while creating dtp
    After activating DTP and selecting the execute button, I am getting the following error message:
    Request cannot be processed in its current state
    Messg no : RSBK209
    can anyone help me on this problem
    Thank

    Hi Deepthi,
    Also check the error message(long text) and paste it here...
    check if you are either creating a "second" Delta DTP ( if an existing Delta DTP exists, then system will not allow you create a second DTP) and will throw an "overlapping" error
    Hope this helps
    Thanks
    Kalyan

  • Problem while creating Item Data in OCA application

    Hello Experts!
    I am creating a PDA application (OCA) for NW7.1.
    I am facing problem while creating Sales Order. I can create the Header structure. But when I Create the corresponding item structure for the header , the items are not getting created. After Sync I can only see the header structure in the middleware.
    I am using the following code to create the header and item.
    OrderCreateDocType header = model.createOrderCreateDocType();
    header.setRefdoctype("41001180");
    header.setDocType("ZRRJ");
    header.setSalesOrg("AND");
    wdContext.nodeOrderCreateDocType().bind(Collections.singleton(header));
    OcaRoot.getInstance().commit();
    wdContext.nodeOrderCreateDocType().setLeadSelection(0);
    header=(OrderCreateDocType)wdContext.nodeOrderCreateDocType().getCurrentElement().model();
    OrderCreateOrderItemsIn items = header.createNewOrderItemsIns();
    long item = new Long("000010").longValue();
    items.setItmNumber(item);
    items.setMaterial("MMKT090114");
    items.setPlant("ANDP");
    items.setTargetQty(new BigDecimal(7));
    items.setTargetQu("IT");
    header.setOrderItemsIns(Collections.singleton(items));
    OcaRoot.getInstance().commit();
    Am I missing out on step.
    Reply Awaited
    Regards
    Priya Ghosh

    Hello Priya
    in your case as the DOs are of upload only type, you are not able to create a
    child on an already created header, because updates are not allowed for upload only DOs.
    So in this case you first have to create an instance of the header first and then create an item. And only after this call a commit on the model
    Best Regards
    Vaidehi

Maybe you are looking for

  • Sort Rule in Strategy Info

    Dear all, I have maintained Sort Sequence ZBATCHSORT in my strategy type ZSD1 which is getting picked up at the time of delivery. But the problem is that during delivery when we do batch split, my Sort rule does not get automatically picked up in the

  • How do you bulk populate email address in OD?

    I have a thousand or so current users in our OD and want to populate their email address (it doesn;t seem to get done on creation) Email addresses are needed for auto emails in collab services I don't know how to take a, say, csv file of user short n

  • JEditorPane syntax support

    Hiya, Does anyone know how can I have a JEitorPane check the typed text and highlight certain words? I thought of adding a keyListener and checking all words after eack key stroke to see if any of the existing words match my reserved (syntax) words,

  • Problems editing static file

    I've uploaded a static file and have encountered some problems when trying to edit it. 1. The help text for both "Mime type:" and "File:" says "Identifies file name." No big deal, but why have help text if it's incorrect? 2. HTML DB reports the size

  • Printer shuts down immediately after I switch it on...

    Please help, I've only had my printer around 4 months and the last couple of days when I've gone to use it it turns on, takes me to the home screen but then immediatley shuts down so I cant do anything on it Tried unplugging, checking cables etc but