SNote - Problems to implement SNotes

Hi,
I have heard about an intrastat problem in a system, after it has been transported to another system in a foreign country.
Therefore I got the task to implement the Sap Note 533586, because in there the point 2 exactly describes the problems, we have.
But I only have impemented small sap notes. In this case, there have to be many other sap notes implemented before its possible to implement that note. Because of that I wanted to impement them automatically by using transaction SNOTE.
My questions:
- Where can I see, if the sap note is already implemented by a new support package. I have asked a basis guy and he told me, that the sap note should be implemented in our package level... But the problem still occurs!
- I´m always getting the message: "SAP Note does not contain valid correction instructions", when I´m pressing the implement button in SNOTE
- Should I download the previous Sap Notes in SNote and implement them seperately before?
Here is the patchlevel of the system. Maybe (hopefully) somebody can tell me, if the sap notes are already included, if I have to implement them, or what else I can do...
System: 46C
All patches between SAPKH46C01 and SAPKH46C48 (08.07.2006)
All patches between SAPKA46C01 and SAPKA46C52 (08.07.2006)
All patches between SAPKB46C01 and SAPKB46C52 (08.07.2006)
Thank You!
Message was edited by:
        Arne Hein

According to note 533586, it was included in pack SAPKH46C35.
Do System - > Status, and click on the Component Information button (looks like a magnifying glass) and if it really is at SAPKH46C48, you don't need to apply it.
Try looking for another note

Similar Messages

  • A problem while implementing a file to file senario

    hi all :
         There is some problem while implement a file to file senario. the file couldn't be sent or recieved.
          and as I try to check Check the Sender File Adapter Status  via
         Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring ,
         It is found that Adapter Engine has error status with red light.  Is it why the file couldn't be sent?
        Could you please tell me how to make Adapter Engine  available?
        Thank you very much!!!

    Hi Sony
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for EC1.SystemHome.cnbjw3501 found
    No access to get JPR configuration
    Along with what experts suggested
    What is the type of Business system is this. Standalone Java?
    JPR can have problem if you have a business system thats not ABAP/Java type if this system is not having a SAP TS in landscape then create Java type.
    Thanks
    Gaurav

  • Problem in Implementing Filter BADI

    Hi Experts ,
               I have a problem in Implementing Standard BADI  OIJ_NOMIT_VALIDATION , this one is a Filter BADI , with Filter type OIJ_NOMITEM_CHCK . i created a implementation ZOIJ_NOMIT_VALIDATION with filter ZOIJ_NOMIT and write code in method VALIDATE . But this is not triggered. Any additional configuration needed for this ?
    Point will be awarded .
    Thanks and regards
    Renjith MP

    Hi Ranjit,
                  After implementing the Filter BADI.You can define the Filter type <b>attributes</b> section.
    Regards

  • WARNING: Problem validating implementation class. Exception declaration mis

    I have created sample class using JDevStudio10.1.3
    Added method getX() throws Ex (Ex implements Exception)
    Select class and generated J2EE 1.4 RPC webservices
    Got the warning :
    Generating WSDL and mapping file
    WARNING: Problem validating implementation class. Exception declaration mismatch between Implementation: mypackage.Class3 and Interface: mypackage.MyWebService3. Impl class Method: X declares exceptions not declared by the interface (mypackage.Exp)
    Now When I generated client proxy from the wsdl generated, Ex class is not getting generated.
    Can some one help me please.
    Thanks in advance

    If you are using Ex in the implemetation class, make sure that you also include the same in the interface (or SEI).
    If the implementation looks something like:
    public void doSomething() throws Ex {
    System.out.println("Is there something to do, now ?");
    then the SEI should be:
    public void doSomething() throws Ex, RemoteException;
    If your have ommited Ex, then you will have the warning you are seing, and there wont be any artifact generated for Ex in the WSDL.
    Because the Ex exception was not mapped to any WSDL artifact, there is no way you will see the Ex exception generated on the client side (or proxy).
    I have been able to reproduce your error message, so you should be all good.
    WARNING: Problem validating implementation class. Exception declaration mismatch between Implementation: bugyyy.MyServiceImpl and Interface: bugyyy.MyWebService. Impl class Method: doSomething declares exceptions not declared by the interface (bugyyy.Ex)
    Hope this helps,
    Eric

  • Problems during implementation........

    Can anyone please send me some problems faced during implementation at the five stages interacting with the client?Please send me to my mail [email protected]

    The major problem during implementation is gaps in AS-IS Study. If we do not study the peocess to the minute bit, then we tend to miss out critical requirement & this is realized during testing. Then the redo takes a longer time, compared to doing it correct initially. Ofcourse, Things will not be correct in first attempt, but if the number of things to redo is leasser, it becomes more convienent, as during testing phase, we are already overloaded with many activities to be taken care of.
    We should be very clear what is not possible in SAP or even if possible with development, but the particular development is not in scope of project, we require to say a clear NO to it.
    It is difficult to pin point the problems. If I share one of my experience, one of my project was fot service industry & the basic scenarios were periodic billing, mile stone billing & resource related billing & all three I had no prior experience. I had clue of Milestone & Periodic, but no clue of resouce related billing. I had to stuggle hard to get the scenario configured & configuring to the requirement of client. But finally I could do it successfully.
    Regards,
    Rajesh Banka
    Reward suitable points.

  • Problem in implement blink Effect

    I have experience a problem when implement my blink effect
    The expected result is only the textarea component with value
    "3" should play the effect, but unfortunately the effect will move
    to another target when the data change.

    Feel free to downloasd the trial versions, but you cannot buy a full license after the trial runs out:
    Direct Download Links for Adobe Software
    Mylenium

  • Problem while implementing OSS note(1157904)

    HI,
    I am facing a problem while implementing  OSS note 1157904.I am getting a message  "no valid correction instruction".
    I checked support pack levels .I checked source code also, it is not implemented.
    Regards,
    Pratap.

    You need to get back to SAP. Sometimes notes have incorrect information in them.

  • WARNING: Problem validating implementation class. Failed to load class:

    when i am running plsqlAssembler.jar file for wsa.jar with all other atributes , i am getting this warning WARNING: Problem validating implementation class. Failed to load class.
    Please if anybody knows about this reply me,
    thanks in advance.

    If you are using Ex in the implemetation class, make sure that you also include the same in the interface (or SEI).
    If the implementation looks something like:
    public void doSomething() throws Ex {
    System.out.println("Is there something to do, now ?");
    then the SEI should be:
    public void doSomething() throws Ex, RemoteException;
    If your have ommited Ex, then you will have the warning you are seing, and there wont be any artifact generated for Ex in the WSDL.
    Because the Ex exception was not mapped to any WSDL artifact, there is no way you will see the Ex exception generated on the client side (or proxy).
    I have been able to reproduce your error message, so you should be all good.
    WARNING: Problem validating implementation class. Exception declaration mismatch between Implementation: bugyyy.MyServiceImpl and Interface: bugyyy.MyWebService. Impl class Method: doSomething declares exceptions not declared by the interface (bugyyy.Ex)
    Hope this helps,
    Eric

  • Problem while implementing  OSS note 1077403

    Hi,
    I am trying to implement a OSS note ( 1077403) using SNOTE transaction. When I download the note, the status of this note is u201CCan be implementedu201D. It creates few standard programs which are utility programs related to Unicode conversion. While  implementing this note, I am facing the issue "Objects can only be created in SAP package" and some of the objects in the note are not created. The note status becomes u2018Incompletely Implementedu2019.
    Can you please suggest what could be the issue?

    HI,
    For more efficence  direct link to note Note 1077403 - Cluster table check using SDBI_CLUSTER_CHECK
    Have you a basis release version >= 6.20 ?
    you can use transaction SNOTE to implement the version for Basis Release 6.20 and higher.
    Rgds
    Edited by: stéphane mouraux on Mar 1, 2010 6:31 PM

  • Problem with implement BI_cont_ TX

    Hi all;
    After I add Bi-cont 5.0 om my bi installation.
    I treid to implement Bi_cont ext on SAINT as add-on. But I get this massages:
    caution upgrade or prepare is still running import not permitted
    I did run report RSUPGRES on client 000 by DDIC user. But I get this massages:
    Report cannot run on shadow system !
    My shadow instance is 003.
    Any idea what is the problem
    Thanks

    Ejersbo Reza wrote:
    The shadow cannot be client 000. The shadow client is 03 and I can logon it.
    >
    > Very  confusing .
    Shadow instance is not client specific. Shadow instance is replica of your original system but without application data.
    As you said earlier, upgrade is finished then there should not be any shadow instance because after upgrade shadow instance does not exist.
    So, either upgrade is still running in the system that's why you are getting that message or your doing it wrong.
    Thanks
    Sunny

  • Searching problems when implementing my own repository manager

    Hi there,
    i've serious problems to get the search fuctionality for my own repository manager running. I'm using the 'new', Netweaver-based api.
    Always if I'm launching a search I receive a ClassNotFoundException in the follwing context:
    #1.5#172.16.17.102:7CF6B6:FF73BDDB07:-36E7#1097161124650#com.sapportals.wcm.WcmException#irj#com.sapportals.wcm.WcmException.WcmException(118)#System#0#####System_Thread_37##0#0#Error##Plain###invalid manager class: com.sapportals.wcm.repository.runtime.ManagerAdapter java.lang.ClassCastException: invalid manager class: com.sapportals.wcm.repository.runtime.ManagerAdapter
         at com.sapportals.wcm.repository.RMAdapter.<init>(RMAdapter.java:48)
         at com.sapportals.wcm.repository.runtime.CmSystem.getResourcesImpl(CmSystem.java:1134)
         at com.sapportals.wcm.repository.runtime.CmSystem.getResources(CmSystem.java:356)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResources(CmAdapter.java:153)
         at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.getSearchResults(TrexSearchIndexCollection.java:1126)
         at com.sapportals.wcm.service.indexmanagement.retrieval.search.SearchSession.getSearchResults(SearchSession.java:293)
         at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearchSession.getSearchResults(FederatedSearchSession.java:111)
         at com.sapportals.wcm.rendering.collection.SearchRendererStatus.refresh(SearchRendererStatus.java:180)
         at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:718)
         at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:498)
         at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:141)
         at com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController.render(SimpleLayoutController.java:39)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1229)
         at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:41)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:153)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.ControllerDynPage.executeEvent(ControllerDynPage.java:338)
         at com.sapportals.wdf.BaseDynPage.onWdfEvent(BaseDynPage.java:132)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:101)
         at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:64)
         at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:25)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:81)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:280)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         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:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:589)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:636)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:209)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:147)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:789)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:644)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:305)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:165)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1133)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl0.ParserRunner.run(ParserRunner.java:35)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:132)
    I'm using EP 6.0 SP2 directly installed from the CD
    #51 020 549 without explicit installation of any patch or hotfix; the portal itself shows the version number 6.0.2.0.0 (implementation version 6.2.0.0.200310100950).
    I switched on logging but I never reached the INamespaceManager's methods isQueryPropertyNameUnderstood() or getQueryBuilder().
    So I figure that this might a problem of my (too old?) unpatched version of EP6????
    What can I do to get the serach func running?
    Thanks for your support,
    Daniel

    Hi Karsten,
    thanks for your annotation.
    Does it mean that I <b>HAVE TO</b> apply at least Patch 4
    to get the search working or <b>SHOULD</b> I apply the patch to be up-to-date and look for an error in my code???
    Thanx a lot,
    best regards,
    Daniel

  • A problem about implementing Background CO in 7.1.1

    Hi,all.
       I tried to implement backgrond CO in 7.1.1.
       I implemented my background co in several ways.
       No matter which way i did it, I always got an error message
      "java.lang.NoClassDefFoundError:com/sap/caf/eu/gp/co/api/IGPBackgroundCallableObject ".
       I tried to following the tutorial and the note, but it`s still the same.
       Can anyone give me a hand? Thanks.
    BR.
    Louis Huang

    Hi, all.
    My problem looks like that my background co can`t find com/sap/caf/eu/gp/co/api/IGPBackgroundCallableObject.
    I have checked this class which exists in  caf/eu/gp/api and I have added it to my ear project with every kind of dependency including build time, design time, deploy time, and runtime.
    Did I miss anything?
    I really have no idea what I can do now.

  • Problem in implements ADF Faces: Detecting and handling user session expiry

    Hello everybody
    I´m trying to implement a method to handle user session expiry as explained by frank nimphius in his blog.
    http://thepeninsulasedge.com/frank_nimphius/2007/08/22/adf-faces-detecting-and-handling-user-session-expiry/
    I have implemented the class bellow and add the filters in web.xml. However when I add the JavaServer Faces Servlet to sign the filter, my hole application get nuts. I try to publish the applicatoin in the OAS and it seems that it already starts expired.
    Someone konw what I´m doing wrong?
    I use the filter
    <filter>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <filter-class>adf.sample.ApplicationSessionExpiryFilter</filter-class>
    <init-param>
    <param-name>SessionTimeoutRedirect</param-name>
    <param-value>SessionExpired.jspx</param-value>
    </init-param>
    </filter>
    then I add
    XML:
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    package adf.sample;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    this is the class
    public class ApplicationSessionExpiryFilter implements Filter {
    private FilterConfig _filterConfig = null;
    public void init(FilterConfig filterConfig) throws ServletException {
    _filterConfig = filterConfig;
    public void destroy() {
    _filterConfig = null;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    String requestedSession = ((HttpServletRequest)request).getRequestedSessionId();
    String currentWebSession = ((HttpServletRequest)request).getSession().getId();
    boolean sessionOk = currentWebSession.equalsIgnoreCase(requestedSession);
    // if the requested session is null then this is the first application
    // request and "false" is acceptable
    if (!sessionOk && requestedSession != null){
    // the session has expired or renewed. Redirect request
    ((HttpServletResponse) response).sendRedirect(_filterConfig.getInitParameter("SessionTimeoutRedirect"));
    else{
    chain.doFilter(request, response);
    I'm really having trouble controlling user sessions. if someone know where I can get materials to learn how to implements session in Jdev ADF + BC, I´m very grateful.
    Thank you Marnie

    The class works fine.. the issue is when I add the this code into web.xml
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    bellow the web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>userinterface.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <filter-class>view.managedBean.ApplicationSessionExpiryFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name> ==> the problem occurs when I try to add this code
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/pain</mime-type>
    </mime-mapping>
    </web-app>
    By the way, how can I post code on the forum properly?

  • Problem after implementing exit EXIT_SAPLEBND_002

    Hello Experts,
    I had implemented the exit EXIT_SAPLEBND_002 for triggering release strategy whenever user make any changes in Purchase order.
    Now, the problem is release strategy and versions management are not getting activated at the same time.
    If I am activating version management then release strategy getting deactivated automatically.
    How should I correct it. Please help.

    Add this code in user exit exit_saplbend_002 .
    Code=> This code use to change release status on PO amount decrease and increase.
    ================================
    **** Start of changes for Release status change on PO amount decrease .
    E_CEKKO = I_CEKKO .
    DATA : wa_bekpo type BEKPO,
           wa_ekpo TYPE ekpo,
           WA_CEKKO TYPE CEKKO,
           w_reset(1) TYPE c VALUE 'X'.
    if sy-tcode eq 'ME22N' OR sy-tcode eq 'ME22'.
    WA_CEKKO = I_CEKKO .
    IMPORT WA_CEKKO = WA_CEKKO FROM MEMORY ID 'ZREL_COST'.
    IF SY-SUBRC NE 0.
      EXPORT WA_CEKKO = WA_CEKKO TO MEMORY ID 'ZREL_COST'.
    ENDIF.
    ENDIF.
    if ( sy-tcode eq 'ME22N' OR sy-tcode eq 'ME22' )
      and sy-ucomm eq 'MESAVE' or sy-ucomm eq 'MECHECKDOC'.
    *Import/Export the origninal values.
    *Check if the limit is passed.
    LOOP AT it_bekpo INTO wa_bekpo .
    SELECT SINGLE NETWR FROM ekpo INTO wa_ekpo-netwr WHERE ebeln eq wa_bekpo-ebeln and ebelp eq wa_bekpo-ebelp.
    IF SY-SUBRC EQ 0.
    IF wa_bekpo-netwr < wa_ekpo-netwr.
        w_reset = 'X'.
      endif.
    ENDIF.
    ENDLOOP.
    *IF limit passed - reset the value to high limit beyond tolerance.
    IF w_reset = 'X'.
    E_CEKKO-GNETW = WA_CEKKO-GNETW + 1000000.
    ENDIF.
    endif.
    **** End of changes for Release status change on PO amount decrease .

  • Problem: cannot implement TABLE_PER_CLASS inheritance

    Hello, I'm using Jdev 11g, JPA (with EclipseLink 1.1.1) & EJB 3.0. I'm trying to build TABLE_PER_CLASS inheritance.
    Here is entities' code:
    Parent:@Entity
    @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
    @NamedQueries( { @NamedQuery(name = "Doc.findDoc",
    query = "select o from Doc o where o.docDate between :begDate and :endDate")
    public abstract class Doc implements Serializable {
    @Id
    @Column(name = "ID")
    private Long id;
    @Column(name = "DOC_NUMBER")
    private String docNum;
    @Column(name = "DOC_DATE")
    @Temporal(TemporalType.TIMESTAMP)
    private Date docDate;
    public Doc() {
    super();
    Child:@Entity
    @Table(name = "PAY_DOC")
    public class PayDoc extends Doc implements Serializable{
    @Column(name = "SUM")
    private BigDecimal sumOfMoney;
    public PayDoc() {
    super();
    persistence.xml looks like this:<?xml version="1.0" encoding="UTF-8" ?>
    <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
    <persistence-unit name="context">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>java:/app/jdbc/jdbc/inform_oracam00DS</jta-data-source>
    <class>Doc</class>
    <class>PayDoc</class>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.target-database" value="Oracle10g"/>
    <property name="javax.persistence.jtaDataSource"
    value="java:/app/jdbc/jdbc/inform_oracam00DS"/>
    </properties>
    </persistence-unit>
    </persistence>
    When I'm trying to call method, which calls Doc.findDoc query:
    public List<Doc> queryDoc() {
    Date begDate = new GregorianCalendar(2007, 10, 1).getTime();
    Date endDate = new Date();
    return em.createNamedQuery("Doc.findDoc").setParameter("begDate",
    begDate,
    TemporalType.TIMESTAMP).setParameter("endDate",
    endDate,
    TemporalType.TIMESTAMP).getResultList();
    I get no table found SQL error and JPA is trying to execute query like
    SELECT FROM DOC WHERE ...
    Looks like EclipseLink sets wrong table name.
    P.S. When I added second child, the query was the same and there was no union in it.
    Edited by: tag on 26.08.2009 21:27

    Hello,
    As Anindita mentioned, this query will force reading from all the tables in the inheritance heirarchy, including the DOC table. Since it does not exist, you get the exception. I do not believe that any JPA provider could work in this senario, since the specification requires providers to query on Doc since it is marked as an Entity, even though you have marked it as an abstract class
    I believe you might get past this problem if you mark the Doc class as a @MappedSuperClass instead of an entity. This will cause it to be correctly interpreted as not being instantiated, and so will not require a DOC table be defined.
    Best Regards,
    Chris

Maybe you are looking for