Unicode error when implementing a BADI

Hi All,
I get a Unicode error when trying to implement either one of these two BADIs: ME_GUI_PO_CUST, ME_PROCESS_PO_CUST:
In Unicode programs, the "-" character cannot appear in names, as it does here in the name "MMCNT_EKKO-BEDAT".
There are two more similar errors. They all refer to the type group MMCNT, which is an SAP delievered object and is active. Has anyone ever encountered these errors?
Thanks!
Roman D.

Hi,
You did not mention which version of SAP you're using, but I just thought that the OSS Note 829031 might be relevant for you.
Regards,
Anand Mandalika.

Similar Messages

  • Graphics tab in REBDBU: Internal error when implementing extension

    Hello,
    Seek your kind help please.
    I have entered in the building master data using REBDBE. We have a tab called Graphics. The pictures etc of the building are uploaded using a software called Korasoft. When i am clicking on the Graphics tab, it is entering the screen but immediately afterwards flashing the following message, "Internal error when implementing extension".
    Doing a F1 on the error message shows the foll details:
    "Diagnosis
    An internal error occurred during the implementation of a customer-specific enhancement. A CHANGE-API module was called with an object reference (parameter IO_OBJECT) that was not instantiated in the required activity for changing (02). The API modules are function modules and begin with API_RE_.
    Procedure
    Within the BAdI implementation, transfer the parameter IO_OBJECT from the BAdI method directly to the API module. Make sure that the transferred instance is allowed to be changed."
    I found that the SAP note 1139014 causes this error message to be generated. Note 1139014 forms a part of support pack level 13 (release 600). Recently we have upgraded our systems from support pack level 8 to support pack level 13. Naturally even this note got implemented at that time.
    But now this note is causing this error message and so I will be grateful if someone can please tell me how to rectify the error.
    Regards,
    Suvarghya Dutta
    Edited by: Suvarghya Dutta on Feb 11, 2009 5:30 PM

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • Internal error when implementing extension

    Hello everyone
    At the moment I create a new contract (transaction RECN) an error occurs and I can not solve.
    Someone could help me?
    Internal error when implementing extension (see long text)
    Message no. RECAAP093
    Diagnosis
    Call of GET_EXTENSION( ) method for enhancement CL_FILACI_VICN01_EXTENSION failed.
    It tried to use an add-on or customer-specific enhancement that is not implemented in your system.
    To be able to determine the technical attributes of enhancement CL_FILACI_VICN01_EXTENSION, the RECA_STORABLE_EXT Business Add-In has to supply the desired information. However, this was not the case. In an implementation of RECA_STORABLE_EXT, the GET_OBJNAME_EXT( ) method must supply the required enhancement CL_FILACI_VICN01_EXTENSION.
    Below is example code for GET_OBJNAME_EXT( ):
    CASE ID_OBJNAME_STD.
        WHEN '...'.
          APPEND 'CL_FILACI_VICN01_EXTENSION' TO CT_OBJNAME_EXT.
      ENDCASE.
    For more information, refer to the documentation for the RECA_STORABLE_EXT Business Add-In.
    Start BAdI Builder
    Procedure
    Contact your system administrator.
    tks a lot!

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • Error in private methods when implementing a BAdI

    Hi,
    I implemented a BAdI and added some custom private methods in my implementing class. When I looked at the object list, my private methods are marked with a color red circular shape, which I guess it means those have error. But, when I tried to activate and test the BAdI, it works fine. Any idea why it marks my private methods as error? Am I missing something here?

    it denotes Accessibility / Visibility of those  methods .
    regards
    Prabhu

  • Getin error when implementing BADI

    Hi All,
       I am geting an error while I am trying to implement the BADI FISPLIT.
      The error is "BADI definaition is FISPLIT is only provided for SAP internal use". how can I implement this BADI.
       Can anyone help me please.
    Thanks.
    lucky

    That message leads me to believe that you can't implement this BADi as it suggests that it is for SAP internal use only.  If this is an hard error, I don't think that you will be able to proceed.
    Regards,
    Rich Heilman

  • Error when implementing CUA

    Hi,
    I wanted to implement a test of CUA with my DEV systems (DEV R3, DEV BW, and DEV SRM). When i've created the model distribution in my central system (DEV R3 client 030), and saved the model, i had the following error in my child system (DEV SRM) : "ERROR when starting the text comparison". I didn't have any error in the other systems (DEV R3 and DEV BW).
    I've checked my RFC connections, I don't know how to sove this problem.
    Thanks in advance for your aswers...
    Regards,
    Mohamed

    OK, I've solved the problem by myself.
    In fact, I didn't have an RFC user connection between my child system DEV SRM and my central system DEV R3. I had just RFC users connection between my central system and my child systems...
    Mohamed

  • How to catch thrown error when implementing HttpSessionBindingListener?

    I would like to write code to implement the class HttpSessionBindingListener for using the valueBound and valueUnBound method.
    As I have put some codes for inserting data in database when the valueBound method is invoked, I would like to catch the SQLException error when insertion fails. However, when i try the following:
    public class SessionTracker implements HttpSessionBindingListener
    throws Exception{
    Compilation error like the following appears:
    Class SessionTracker should be declared abstract; it does not define method valueUnbound(javax.servlet.http.HttpSessionBindingEvent) in interface javax.servlet.http.HttpSessionBindingListener
    My question is: How can I throw caught error?
    Thanks for replying!

    May be i should clarify a little bit?
    My question is: What error would the implemented method throw?

  • " Path not found() "error when implementing single sign on

    Hi,
    We are implementing single sign on so that when users click on the "Reports Login" he is navigated to the obiee presentation services screen. For the reports login we have a .asp page which directs to the presentation services.
    I have done the necessary changes in the instanceconfig and credentialstore xml files.
    I have been receiving a strange error when I click on the reports login. I get the error
    Path not found ()
    Error Details
    Error Codes: U9KP7Q94
    I have checked the presentation server log file and I see the below error
    Type: Error
    Severity: 45
    Time: Tue Mar 09 09:18:44 2010
    File: project/websubsystems/ssportal.cpp Line: 1907
    Properties: ThreadID-2672;HttpCommand-Dashboard;Proxy-;RemoteIP-127.0.0.1;User-;Impersonator-
    Location:
         saw.subsystem.portal
         saw.httpserver.request
         saw.rpc.server.responder
         saw.rpc.server
         saw.rpc.server.handleConnection
         saw.rpc.server.dispatch
         saw.threadPool
         saw.threads
    Path not found ()
    Can anyone provide me an input how to resolve this issue?
    This is bit urgent for me.
    Thanks

    Hi,
    Please ensure that the navigational attribute is checked at the attribute level and also at the Infocube level and also check that correct mapping of this navigational attribute is done at the Multiprovider level.
    Thanks,
    Venkat

  • ODBC Error when implementing BI Apps on SQL Server

    Hey,
    we are implementing BI Apps using SQL Server as the warehouse database, and we are running into the following errors when viewing the out-of-the-box reports:
    [ODBC SQL Server Driver][SQL Server]'concat' is not a recognized built-in function name
    [ODBC SQL Server Driver][SQL Server]Incorrect syntax near 'NULLS'..
    It appears that the standard reports are using Oracle-specific SQL functions that are not available in SQL Server. Yet BI Apps is supposedly certified with SQL Server.
    Have anyone else run into this issue? If so, how did you get around it?
    Thanks,
    Yi

    Ah, sorry, I misunderstood.
    Yes, the CONCAT_SUPPORT feature is checked for both value and default. However, CONCAT_NULL_RETURNS_NULL is not checked. Should I check it?
    It's great to know that you have it working on SQL server. I must be missing some configuration then.
    Thanks,
    Yi

  • R3 Unicode error when transferring SRM PO with custom fields to R3

    We have an SRM 5.0 system.  We are sending an SRM created PO to R3 (4.7).  This works perfectly if there are no custom fields.  We added 1 custom field of 1 character byte to the SRM PO Header.  When this is done there is a dump in R3 in SAPLBBP_BAPI_PO in "MAPPING_CUSTOMER_FIELDS" saying Data objects in a Unicode program are not convertible.
    This happens at the following statements
    ASSIGN wa_bapi_cf_header TO <l_tmp_fs>.
    l_valuepart = <l_tmp_fs>.
    We think this is related to our custom fields on EKKO on the R3 side where there is a currency field (packed), but we are not sure since we just started working with SRM.  Below is our R3 PO header structure for custom fields.
    wa_bapi_cf_header has the definition of PO header in our R3 system that contains a packed field.
    .INCLUDE     CI_EKKODB          0
    ZZCMPCD     ZCMPCD     CHAR     1
    ZZTDRIND     ZTDRIND     CHAR     1
    ZZACO     ZACO     CHAR     1
    ZZBIDROOM     ZBIDROOM     CHAR     1
    ZZCAS     ZCAS     CHAR     1
    ZZPONEG     ZPONEG     CHAR     1
    ZZWARRPO     ZZWARRPO     CHAR     1
    ZZQUOTETYPE     ZZQUOTETYPE     CHAR     10
    ZZAPRDT     ZZAPRDT     DATS     8
    ZZAPRTIM     ZZAPRTIM     TIMS     6
    ZZMASSIST     ZZMASSIST     CURR     17                 
    ZZPD     ZZPD     CHAR     1
    ZZREASON     ZZREASON     CHAR     2
    The field being sent from SRM is
    ZZACO     ZACO     CHAR     1.
    How can I correct this problem?  
    Thank you for any help you can give.
    Ada Thompson

    Hi,
    See these related threads;
    short dump(UC_OBJECTS_NOT_CONVERTIBLE)
    Data objects in a Unicode program are not convertible?what does this mean?
    Virtual Char error - UC_OBJECTS_NOT_CONVERTIBLE
    /message/1069612#1069612 [original link is broken]
    BR,
    Disha.
    Do reward points for useful answers.

  • Error when implementing JPA domain model in separate JAR module

    Hi,
    I'm using JPA/TopLink Essentials to implement my domain model and services. From an architectural viewpoint I want to implement this as seperate Java project, while my View/Controller is implemented in another Java project. This last project has a dependency on the Model project. Deployment on an OC4J 10.1.3 is ok, but when I use a JSP, I get the following error. (Note that directly implementing my JPA classes in the View/Controller project does not give any errors.)
    Thanx, Ronald
    java.lang.NullPointerException     at oracle.toplink.essentials.ejb.cmp3.persistence.ArchiveFactoryImpl.createArchive(ArchiveFactoryImpl.java:64)     at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:227)     at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:210)     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:239)     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromMain(JavaSECMPInitializer.java:278)     at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.getJavaSECMPInitializer(JavaSECMPInitializer.java:81)     at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:119)     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)     at com.trfsol.model.JPAResourceBean.getEMF(JPAResourceBean.java:23)     at com.trfsol.model.Service.getEmp(Service.java:28)     at com.trfsol.JPAServlet.doGet(JPAServlet.java:24)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)

    Servlet class:
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              Collection<Emp> emps = new Service().getEmp();
              for (Emp emp : emps) {
                   System.out.println("Emp " + emp.getEname());
    In which the Service class comes from the Model project.
    Service class:
    public EntityManagerFactory getEMF () {
    if (emf == null) {
    emf = Persistence.createEntityManagerFactory("default", new java.util.HashMap());
    return emf;
    public Collection<Emp> getEmp(){
    EntityManagerFactory emf = getE
    EntityManager em = emf.createEntityManager();
    try{
    Collection<Emp> result = em.createNamedQuery("findAllEmps").getResultList();
    return result;
    finally{
    em.close();
    Persistence.xml (in the META-INF dir of the Model project)
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
    <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
    <provider>
    oracle.toplink.essentials.PersistenceProvider
    </provider>
    <class>com.trfsol.Dept</class>
    <class>com.trfsol.Emp</class>
    <properties>
    <property name="toplink.logging.level" value="FINE"/>
    <property name="toplink.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
    <property name="toplink.jdbc.url" value="jdbc:oracle:thin:@localhost:1521:ORCL"/>
    <property name="toplink.jdbc.password" value="tiger"/>
    <property name="toplink.jdbc.user" value="scott"/>
    </properties>
    </persistence-unit>
    </persistence>
    Regards, Ronald

  • AclOwner not owner error when implementing RDBMSRealm

    I am implementing a RDMBSRealm on WL6.1sp1. When I add an ACL/permission and
    grant it to a group, I got an error.
    I tried the example RDBMSRealm. I found out that adding groups and acls are
    actually persisted into the fileRealm,
    Only adding users are persisted to the database. What did I miss? Any
    suggestions will be appreciated.
    java.lang.InternalError: aclOwner not owner
         at
    weblogic.security.acl.internal.FileRealm.setPermission(FileRealm.java:871)
         at weblogic.security.acl.CachingRealm.setPermission(CachingRealm.java:1985)
         at
    weblogic.management.internal.RemoteRealmManagerImpl.grantPermission(RemoteRe
    almManagerImpl.java:270)
         at weblogic.management.configuration.Acl.grantPermission(Acl.java:72)
         at
    weblogic.management.console.actions.realm.DoAclPermissionFormAction.perform(
    DoAclPermissionFormAction.java:120)
         at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
         at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.configuration.RealmException: Acl.grantPermission - with
    nested exception:
    [java.lang.InternalError: aclOwner not owner]
         at weblogic.management.configuration.Acl.grantPermission(Acl.java:74)
         at
    weblogic.management.console.actions.realm.DoAclPermissionFormAction.perform(
    DoAclPermissionFormAction.java:120)
         at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
         at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Console Release Build6.1.1.0Server Release Build6.1.1.0Server BuildWebLogic
    Server 6.1 SP1 09/18/2001 14:28:44 #138716 All Server Product
    VersionsWebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716 WebLogic XML
    Module 6.1 SP1 09/18/2001 14:43:02 #138716

    Hey,
    Are you guys trying to add functionality to the RDBMSRealm so that you can edit
    ACLs in the database, using the WebLogic Console management tools? In other
    words, is your final goal to be able to create (or remove) an ACL in your
    console, and have the changes persisted to the database? I don't quite
    understand what the problem is, based on the description. If you could
    elaborate it would help me to understand what's going on.
    Thanks
    Joe Jerry
    K Wong wrote:
    I tried "unperson". Same error. Do I need to create this user "unperson" in
    my db users table and put it "Administration" group?
    The problem seems to be raised from weblogic...setPermission. I wish I could
    debug into this code or at least System.out.println some contents.
    "Marek Sz." <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    in oryginal example aclOwner is defined in RDBMSDelegate :
    * This is the bogus owner associated with all ACLs found in the
    * database.
    protected Principal aclOwner = new User("unperson");
    Ty to use this Principal.
    Regards
    Marek Sz.
    K Wong wrote:
    I am implementing a RDMBSRealm on WL6.1sp1. When I add an ACL/permission
    and
    grant it to a group, I got an error.
    I tried the example RDBMSRealm. I found out that adding groups and aclsare
    actually persisted into the fileRealm,
    Only adding users are persisted to the database. What did I miss? Any
    suggestions will be appreciated.
    java.lang.InternalError: aclOwner not owner
    at
    weblogic.security.acl.internal.FileRealm.setPermission(FileRealm.java:871)
    atweblogic.security.acl.CachingRealm.setPermission(CachingRealm.java:1985)
    at
    weblogic.management.internal.RemoteRealmManagerImpl.grantPermission(RemoteRe
    almManagerImpl.java:270)
    atweblogic.management.configuration.Acl.grantPermission(Acl.java:72)
    at
    weblogic.management.console.actions.realm.DoAclPermissionFormAction.perform(
    DoAclPermissionFormAction.java:120)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.configuration.RealmException: Acl.grantPermission -with
    nested exception:
    [java.lang.InternalError: aclOwner not owner]
    atweblogic.management.configuration.Acl.grantPermission(Acl.java:74)
    at
    weblogic.management.console.actions.realm.DoAclPermissionFormAction.perform(
    DoAclPermissionFormAction.java:120)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Console Release Build6.1.1.0Server Release Build6.1.1.0ServerBuildWebLogic
    Server 6.1 SP1 09/18/2001 14:28:44 #138716 All Server Product
    VersionsWebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716 WebLogicXML
    Module 6.1 SP1 09/18/2001 14:43:02 #138716

  • Code generation error when implementing an accumalator

    Hi everyone,
    I am implementing an accumalator which implements X = X + Y where X and Y are memories of length say 5. Initially I write 5 values into X and Y using a for loop. Then I perform the addition inside a single cycle timed loop and store the results in a temporary buffer(another memory) again of length 5. In another single cycle timed loop, I copy the data from the temporary buffer to memory X.
    I changed the arbitration option to never arbitrate for X, but I get a code generation error because of arbitration. Could anybody please tell how to solve this problem.
    Regards,
    Prashant
    Solved!
    Go to Solution.

    Hi NitzZ
    I figured out a way to solve the problem. I chose the "Never Arbitrate" option for all memories and replaced the for loop with a timed loop. Now there are no errors.
    Thanks,
    Prashant

  • Error when implementing "IXMLDOMNode" from MSXML2

    Dear all,
    in VBA I've been building a new class implementing "IXMLDOMNode" from MSXML2. The result of genarating the Property "get" and "let" functions für "dataType" is the following:
    Private Property Let IXMLDOMNode_dataType(ByVal RHS As String)
    End Property
    Private Property Get IXMLDOMNode_dataType() As Variant
    End Property
    As shown, the type is not the same for both: "variant" respectively "string". At the end "variant" is correct, I've checked in objectcatalog.  This code cannot be compiled of course and
    changing "string" to "variant" leads to another error: "The type is not the same as in a function with the same Name".
    I currently don't see a solution, any suggestions?
    Jürgen

    Servlet class:
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              Collection<Emp> emps = new Service().getEmp();
              for (Emp emp : emps) {
                   System.out.println("Emp " + emp.getEname());
    In which the Service class comes from the Model project.
    Service class:
    public EntityManagerFactory getEMF () {
    if (emf == null) {
    emf = Persistence.createEntityManagerFactory("default", new java.util.HashMap());
    return emf;
    public Collection<Emp> getEmp(){
    EntityManagerFactory emf = getE
    EntityManager em = emf.createEntityManager();
    try{
    Collection<Emp> result = em.createNamedQuery("findAllEmps").getResultList();
    return result;
    finally{
    em.close();
    Persistence.xml (in the META-INF dir of the Model project)
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
    <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
    <provider>
    oracle.toplink.essentials.PersistenceProvider
    </provider>
    <class>com.trfsol.Dept</class>
    <class>com.trfsol.Emp</class>
    <properties>
    <property name="toplink.logging.level" value="FINE"/>
    <property name="toplink.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
    <property name="toplink.jdbc.url" value="jdbc:oracle:thin:@localhost:1521:ORCL"/>
    <property name="toplink.jdbc.password" value="tiger"/>
    <property name="toplink.jdbc.user" value="scott"/>
    </properties>
    </persistence-unit>
    </persistence>
    Regards, Ronald

  • Runtime error when implementing subtotals in ALV

    Hi,
    I have implement subtotalling in a ALV report program.
    Dump message is:
    Short text
        The current application triggered a termination with a short dump.
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
    2729           add 1 to ls_lvc_data-col_pos.
    2730
    2731           assign component <ls_fcat>-fieldname
    2732                            of structure <ls_data> to <l_f
    2733           if sy-subrc ne 0.
    >>>>              message x000(0k).
    2735           endif.
    2736
    2737 *... work on average
    2738           if <ls_fcat>-do_sum eq 'C'.
    2739             clear l_entries.
    2740
    2741             assign space to <l_unit>.
    2742             if not <ls_fcat>-cfieldname is initial.
    2743               assign component <ls_fcat>-cfieldname
    2744                      of structure <ls_data> to <l_unit>.
    2745             endif.
    2746             if not <ls_fcat>-qfieldname is initial.
    2747               assign component <ls_fcat>-qfieldname
    2748                      of structure <ls_data> to <l_unit>.
    2749             endif.
    2750
    2751             l_from = ls_grpl-index_from.
    2752             l_to   = ls_grpl-index_to.
    2753             if ls_grpl-index_from is initial
    Edited by: Marc Winston Ng on Apr 4, 2008 11:55 AM
    Edited by: Marc Winston Ng on Apr 4, 2008 11:55 AM

    Hi,
    Just have a look on the following sample code and compare it with your code.
    TABLES : vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    *INITIALIZATION.
    v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
         Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO 20 ROWS.
    ENDFORM.                               " F_READ_DATA
         Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.      "currency unit field name
                                           "(Value set: SPACE, output table field name)
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                is_layout   = ls_layout
                it_fieldcat = lt_fieldcat
                it_sort     = lt_sort
           TABLES
                t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA
    Reward,if useful.
    Thanks,
    Chandu

Maybe you are looking for