Error with method createaquery

Hello, I am finding getting an error
No method with signature - createaquery(class java.lang.String)
I have a feeling this is a problem with how I have set up one of the VO's on the page, as there is not a call to a method such as this in my code base. Also, the OAF is not giving me a stack trace, so I don't know where the problem originates from.
Any ideas?
TIA

You need to find where the method is getting called from. This kind of problems normally happens when you have wrong versions of class files or file version mismatches which tries to reference a newer version but the classpath has a older version.
Check the controllers, AMs and VOs associated with the page.

Similar Messages

  • BAPI_ALM_ORDER_MAINTAIN error with method

    Hi,
    I have a problem using this BAPI. I have looked how to use this BAPI in the forum but it doesnt work and i dont know why:
    Here the code, maybe u can find something wrong. The goal is to modfy the user status changing the order user status to technical close:
      wa_methods-method = c_save. "SAVE
      APPEND wa_methods TO li_methods.
      wa_methods-refnumber = c_1.
      wa_methods-objecttype = c_userstatus. "USERSTATUS
      wa_methods-method = c_change. " CHANGE
      wa_methods-objectkey = p_order.
      APPEND wa_methods TO li_methods.
    Userstatus
      wa_userstatus-user_st_text = c_cierreTEC. "CTEC
      wa_userstatus-langu = SY-LANGU.
      wa_userstatus-inactive = space.
      wa_userstatus-change_event = '01'.
      APPEND wa_userstatus TO li_userstatus.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods              = li_methods
          IT_USERSTATUS     = li_userstatus
          RETURN                  = li_return.
    The error i am getting is msgid: IWO_BAPI2 msgno: 113 (Something like "error using the methods of the BAPI".
    Do you have any idea?
    Regards,
    Manel

    Hi Manel,
    I think you also have to add the refnumber with the SAVE method:
    wa_methods-refnumber = c_1.
    wa_methods-method = c_save. "SAVE
    APPEND wa_methods TO li_methods.
    Kind regards,
    Lieselot

  • Error with method beep?

    when i wrote the following code
         JOptionPane.showMessageDialog(null, "You Must Enter A Name! " );
    void beep();
    it gave me two errors in the beep code:1-illegal start of expression
    2-' ; ' expected
    although i have imported the class toolkit????????

    You can't just import the class, you have to use it in the code too. You can create a Toolkit object with this method:
    Toolkit tk = Toolkit.getDefaultToolkit();Then call the beep method on that reference:
    tk.beep();

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • Error accessing method in 3rd party dll

    already asked for help a few weeks ago but no one answered and i still wasn't able to figure out what the problem...
    i have a 3rd party dll and im trying to access some methods (USING JNI)- i have no problem accessing methods with no parameters and they work fine but a method with parameters just wwont work.
    i guess that its something with my syntax - probably incorrect data type when converting from java type to native type...
    i dont have any previous expirience with c so help would be appriciated...
    heres my java code:
    package pavel2.javay;
    class Test {
        native String VersionGet();
        native String loadDll();
        native String LogInMT4(int account,String  pass,String server,String a,String v,String c,String d);
        static {
            System.loadLibrary("pavel2");
        public static void main(String args[]) {
            Test t = new Test();
            System.out.println(t.loadDll());
            System.out.println(t.LogInMT4(230622,"qd1bvvs","Orion-DEMO","","","",""));
    }and the dll wrapper:
    #include <windows.h>
    #include <C:\\Program Files\\Java\\jdk1.6.0_10\\include\\jni.h>
    #include <C:\\Program Files\\Java\\jdk1.6.0_10\\include\\win32\\jni_md.h>
    typedef char*   (*LogIn_MT4)( const int login, const char *password, const char *server, const char *proxyserver,
                   const char *proxytype, const char *proxylogin, const char *proxypassword);
    HINSTANCE hOle2Dll;
    JNIEXPORT jstring JNICALL Java_pavel2_javay_Test_loadDll(JNIEnv * env, jobject jobj){
         hOle2Dll = LoadLibrary(TEXT("D:\\pavel2\\tzmt4api.dll"));
         return  (*env)->NewStringUTF(env, "tzmt4api.dll loaded!!");
         /*if (OleInitialize(NULL) == S_OK)
              if ( hOle2Dll >= 32 )
                   //FreeLibrary ( hOle2Dll ) ;
    JNIEXPORT jstring JNICALL Java_pavel2_javay_Test_LogInMT4(JNIEnv * env, jobject jobj,jint login, jstring password, jstring server,jstring proxyserver,jstring proxytype,jstring proxylogin,jstring proxypassword){
                   LogIn_MT4 fnc ;
                   fnc = (LogIn_MT4)GetProcAddress ( hOle2Dll , "LogIn_MT4" ) ;
                   if ( fnc == NULL )
                        MessageBox(NULL, TEXT("Error loading Method"), TEXT("Error"), MB_OK);
                   else
                   const char *pass = (*env)->GetStringUTFChars(env, password, NULL);
                   const char *ser = (*env)->GetStringUTFChars(env, server, NULL);
                   const char *proxyserv = (*env)->GetStringUTFChars(env, proxyserver, NULL);
                   const char *proxyt = (*env)->GetStringUTFChars(env, proxytype, NULL);
                   const char *proxylog = (*env)->GetStringUTFChars(env, proxylogin, NULL);
                   const char *proxypass = (*env)->GetStringUTFChars(env, proxypassword, NULL);
                   int a=fnc(login, pass, ser, proxyserv,proxyt,proxylog,proxypass);
                   (*env)->ReleaseStringUTFChars(env, password, pass);
                   (*env)->ReleaseStringUTFChars(env, server, ser);
                   (*env)->ReleaseStringUTFChars(env, proxyserver, proxyserv);
                   (*env)->ReleaseStringUTFChars(env, proxytype, proxyt);
                   (*env)->ReleaseStringUTFChars(env, proxylogin, proxylog);
                   (*env)->ReleaseStringUTFChars(env, proxypassword, proxypass);
                   //return  (*env)->NewStringUTF(env, empty);
                   return  (*env)->NewStringUTF(env, "logged");
                             //int c = fnc(login, *password, *server, "", "", "", "");
    BOOL APIENTRY DllMain( HMODULE hModule,
                           DWORD  ul_reason_for_call,
                           LPVOID lpReserved
         switch (ul_reason_for_call)
         case DLL_PROCESS_ATTACH:
         case DLL_THREAD_ATTACH:
         case DLL_THREAD_DETACH:
         case DLL_PROCESS_DETACH:
              //todo: unregister class here
              break;
         return TRUE;
    }this is the output:
    tzmt4api.dll loaded!!
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0xcccccccc, pid=3792, tid=3824
    # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C 0xcccccccc
    # An error report file with more information is saved as:
    # C:\Program Files\TradeZone\TZMT4APInew\Work\hs_err_pid3792.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    Process finished with exit code 1
    p.s - it looks like the login method works but when returning to java the VM crashes
    can anyone help me?

    jschell - tried this already and got the same ..
    ejp - i cant do this bucause i dont have a .lib and this proccess can run only on windows unfortunately...
    my problem is that i dont know the how to create the correct type for the method:
    this is the signature:
    typedef int  (*LogIn_MT4)( const int login, const char *password, const char *server, const char *proxyserver,
                   const char *proxytype, const char *proxylogin, const char *proxypassword);how do i create in c this var types?
    int a=fnc(1531, "asas", "asd", "","","","");how do i create
    const char *xxx type? and its okay for the int just to write a number or i also need to declare it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error message in PO : System error (error in method PO_POST)

    Hi all,
    I'm working on BAdI ME_PURCHDOC_POSTED
    for Requisition qty checking with  PO qty with some tolerance(+/-).
    For some conditions I have to terminate the PO posting(ME57).
    In the implementation of the method POSTED, afetr some validations, mentioned the statement:
    This is my custom message in method >
    message e032(/SISLEMCU/MSG01) with wa_ekpo-matnr
    When doing this the posting of the document is terminated.
    But after it displays the custom message, it followed by the message "System error (error in method PO_POST)" and then terminated.
    Here are my questions:
    1.I don't want to display "system error (error in method po_post)" message.
    2. I want the the screen to hold the data i entered previously after the custom message was prompted and not terminate straight away, as i will need to reenter my data for PO again.
    Thanx in Adv.
    Regards
    Uday

    Change for a BADI more suited (not in the update of after-save process) like ME_PROCESS_PO_CUST (Method PROCESS_ITEM, CHECK).
    ME_PURCHDOC_POSTED  is too late.
    Regards

  • Run-time error '1004' -- Method 'Container' of object '_Workbook' failed

    Dear All,
    One of our users is getting the following Microsoft Visual Basic error while running the report S_ALR_87013614.
    Run-time error '1004'
    Method 'Container' of object '_Workbook' failed.
    I have searched the forum posts for help. But I only found some details related to Run-time error 1004 related to some excel file security but not related to "Method 'Container' of object '_Workbook' failed".
    Could anyone please tell me how this error can be eliminated for the user?
    Regards,
    Lakshmi.

    Dear Arpan,
    We too observed a few PIDs along with the one that you have mentioned but they make no difference. Some users who has the PID G_RW_DOCUMENT_TYPE set with some value are getting the report.
    Upon further searching we are assuming that it could be an issue with the Microsoft applications or macro settings of the user. But not sure about it.
    Regards,
    Lakshmi Venigala.

  • Error with Loading Device Software on 8700 AT&T phone.

    Hi. I would like some help with my 8700 AT&T refurb blackberry phone.  When I tried to download the device software (v4.5) to my already downloaded DTM (v4.6), it gave me an error message I did not know what to do with.  
    I want to synch my organizer data (calendar, contacts) from older desktop (Outlook 2002) to my new laptop (Outlook 2007, Windows 7).  I am having trouble downloading the supporting device software.  I keep getting an error message that reads "Error with the Application Loader.  Cannot update software using this system as device is currently activated on a blackberry Enterprise Server or professional software.  Contact administrator or check with service provider."  I do not use Enterprise.  I don't have an internet service plan for my phone as I use it only for calendar and contacts.  AT&T gives the software option for AT&T 8700 in English device software as v4.1.0.175 as the only option that is supported by my current platform (2.0.0.90).  Is this right? 
    All I really want to update my phone with the latest software that supports Outlook 2007 on my new laptop.  What do I need to make that happen? 
    Thanks in advance.

    Hi there!
    Refurbs can be problematic. If a BB was ever activated on BES, then it has an IT Policy. IT Policies are not removed by the standard WIPE actions. Rather, they take additional steps to clean off the Policy.
    Just to check, please go to this screen:
    Homescreen > Options > Security Options > (Information) or (General Settings) or (something similar)
    On that screen will be some selection boxes plus other sections (divided by horizontal lines). If, on that screen, there is any discussion about IT Policy (even if it says "Default"), then you indeed have an IT Policy on your BB. (The screen may also have a section for "Services").
    If you don't have an IT Policy, then something else is going on...in which case, stop here and report back exactly what you found on that screen.
    If you do have an IT Policy, then, in my view, you have two choices.
    1) Since this refurb was provided to you by ATT, they did not deliver to you a "clean" device. You could take it back to them and have them clean the IT Policy off.
    2) You can remove the Policy yourself. The process is 100% destructive to the data on the BB, so you'll want to be sure you've already taken a good full backup. Then use Method 3 in this KB.
    As for what device OS to install, you have more choices than you indicated. See this page:
    https://www.blackberry.com/Downloads/browseSoftwar​e.do;jsessionid=0A15EC28AEC181D3F3F9C5235D9F166A.n​...
    Select, from the drop-down, your model (8700). The resulting screen shows that ATT is currently supporting 4.5.0.182 (MultiLanguage) for your BB model. The MultiLanguage pack will include English, so you don't have to fall all the way back to the English only version. So, you have choices. The best advice is to use the most recent version -- bug fixes, enhancements, and all of that.
    What I advise, since you want to use Outlook 2007, is to use that 4.5.0.182 package for your BB and the most recent RIM desktop package (5.0.1.28). That way, you will have full compatibility for what you are looking for.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Payment requests created from In-House Cash - error with PAYEXT IDOC

    Hello -
    I am getting getting a '51' error with my inboud PAYEXT IDOC and the payment request cannot be created and the IDOC error is : Error creating the payment requests - no valid payment method available.  
    I have checked the Route process config in IHC and it looks good (or I think so).  I then checked the IHC config: Set Up of payment request for inbound IDOC in FI and am wondering about the Processing Parameters set up.  In this config, I see 2 payment methods field (Payment Method for This Payment) and (List of the Payment Methods to be Considered).   Can somebody tell me what's the difference between these two fields and since my payment method is not in the List of PM to be considered, could that be causing my erorr?
    Any guidance would greatly be appreciated.
    Thanks
    Becky

    Hi Odaiah
    I am in ECC 5.0 and when I view IMG activity IHC_VC_INB_CUST, there's a field called:
    Payment Method for This Payment(Payment method used to settle open items)
    and another field called List of the Payment Methods to be Considered.
    The invoice was paid via payment method 'W' and in our system, we are using IHC to make payments on behalf.  So after running F110 for payment method 'W', the IDOC gets created and sent to IHC to process.  IHC will then create the payment request (IDOC PAYEXT) which will then get process by F111.  Since the IDOC is failing, the payment request is not getting created.   You mentioned to get an ABAPer to throw in debug, I would love to but does not know the program that this process is running through. I tried putting it in debug from WE02 (IDOC processing) but with no success.
    Becky

  • Sending an email with attachment with method SENDTASKDESCRIPTION.

    Hi everyone sorry for my english_;
    in custom workflow I set a Send Mail's step.
    If i try to send an email without attachments with method SENDTASKDESCRIPTION, the function SWW_SRV_MAIL_SEND return sy-subrc eq 0 and the email wa sent.
    If I try to attach a text, change binding for the step
    ATTACHOBJECTS -> &ATTACHMENTS& the step have an error in method SENDTASKDESCRIPTION execute the function SWW_SRV_MAIL_SEND; this function return an exception that had not defined.
    Thank's a lot.

    Hello.
    Take into acount that the attacment tha you pass to method has to be type of business object SOFM. The attachment is correctly created in the workflow container? Review the creation of the object to attach.
    How do you created the attachment?
    Regards.

  • Error with Drop -down UI elements in my HCM PF Form

    Hi All,
    I am facing some error with Drop -down UI elements in my HCM PF Form. I have some 2-3 DD elements, which are not binded to any backend field, so i am specifying their values in the UI Properties itself.
    I am able to see my drop-down list values when the form first displays initally. On selecting the values from drop down, when i click on 'Check and Send' button, the form refreshes itself, and all the drop down values dissappear, along with the selected value.
    Can anyone tell me if i am missing anything here ? Do i need to define my DropDOwn field in the Generic Service of HCM PF and then Bind it in the form ?
    Any inputs on this would be welcome !
    Thanks in advance,
    Aditi

    Hi Christopher,
    Am also having the same issue like when am testing the process and clicking on check button, my do_operation method is called and the table SERVICE_DATASETS is getting updated. I am getting success message and all the fields are getting cleared. But when am clicking on second time the CHECK button am getting error's, because of the fields getting cleared in the screen.
    But after executing the process all the fields getting refreshed. Even what ever values I have entered that too is getting cleared. I have debugged and not able to figure it out why its getting cleared.
    I have activated the ISR context mapping and activated the Adobe Form too. I dont know where am going wrong.
    I will be doing the context mapping for ISR via IMG path by clicking the "Compare Form Fields button" also using Tcode HRASR_DT also i have tried.But the form is consistent.
    Do we have any note or patches regarding this issue.
    Please help me out form this as i could not process further in my development.
    Thanks & Regards,
    Raja

  • Error with cursor position on Chart

    Hello
    I'm getting an error with a simple Chart.  I'm trying to show the chart position (using labels and a crosshair) and I'm getting an exception ONLY (it seems) when the program starts up with the cursor above the chart.  If I move the cursor off to
    the side or something I don't get the error.
    Error: PositionToValue method cannot be called prior to calculating position of all chart area elements.
    The error occurs in the MouseMove event handler.
    private void crtPlotData_MouseMove(object sender, MouseEventArgs e)
    Point mousePoint = new Point(e.X, e.Y);
    crtPlotData.ChartAreas[0].CursorX.Interval = 0;
    crtPlotData.ChartAreas[0].CursorY.Interval = 0;
    crtPlotData.ChartAreas[0].CursorX.SetCursorPixelPosition(mousePoint, true);
    crtPlotData.ChartAreas[0].CursorY.SetCursorPixelPosition(mousePoint, true);
    lblXposition.Text = "Pixel X Position: " + crtPlotData.ChartAreas[0].AxisX.PixelPositionToValue(e.X).ToString();
    lblYposition.Text = "Pixel Y Position: " + crtPlotData.ChartAreas[0].AxisY.PixelPositionToValue(e.Y).ToString();
    HitTestResult result = crtPlotData.HitTest(e.X, e.Y);
    if (result.PointIndex > -1 && result.ChartArea != null)
    lblXvalue.Text = "X-Value: " + result.Series.Points[result.PointIndex].XValue.ToString();
    lblYvalue.Text = "Y-Value: " + result.Series.Points[result.PointIndex].YValues[0].ToString();
    }...etc.
    The exception occurs at the "lblXposition.Text" statement.
    For whatever reason if the cursor is above the chart at start up I get the error but I don't know how to prevent it long enough for "calculating position of all chart area elements".
    Any help would be appreciated.
    Thanks

    Yet the event DOES work as long as the cursor is not within the chart boundaries at start up.  ???
    It happens to, but I would rely on the documentation. However, you can set a flag to true in the Paint event of the chart, and in the mouseMove handler, exit if the flag has not been set yet.
    Armin

  • Error with gregoriancalendar

    I'm having an error with the gregoriancalendar class.
    I have a class that gets an initial date froma database, and iterate until today.
    The problem is that its showing that today is day 262 and we are in day 232 of the year.
    Whats the problem????
    Any help will be appreciate.
    the code is bellow:
    String sql2 = "Select d02inter from cen02";
              try{
              PreparedStatement st4 = cnn3.prepareStatement(sql2);
              ResultSet rs2 = st4.executeQuery();
              dataatual = null;
              while (rs2.next()){
                   String dataint = rs2.getString("d02inter");
                   Integer ano_int = Integer.valueOf(dataint.substring(1,5));
                   Integer mes_int = Integer.valueOf(dataint.substring(5,7));
                   Integer dia_int = Integer.valueOf(dataint.substring(7));
                   Calendar calend_int = new GregorianCalendar(ano_int,mes_int,dia_int);
                   Calendar calend_hoje = new GregorianCalendar();
                   Calendar calendwork = (GregorianCalendar)calend_int.clone();
                   while((calendwork.compareTo(calend_hoje))<0){
                        Integer diadoano=calendwork.get(Calendar.DAY_OF_YEAR);
                        Integer ano = calendwork.get(Calendar.YEAR);
                        dataatual=(ano*1000)+diadoano;
                        if(calendwork.equals(calend_int)){
                             if(mp.containsKey(dataatual)){
                                  bmhBean bm = (bmhBean)mp.get(dataatual);
                                  bm.entrou++;
                                  mp.put(dataatual,bm);
                             }else{
                                  bmhBean bm = new bmhBean();
                                  bm.entrou++;
                                  mp.put(dataatual,bm);
                        if(mp.containsKey(dataatual)){
                             bmhBean bm = (bmhBean)mp.get(dataatual);
                             bm.inter++;
                             mp.put(dataatual,bm);
                        }else{
                             bmhBean bm = new bmhBean();
                             bm.inter++;
                             mp.put(dataatual,bm);
                        calendwork.add(Calendar.DATE,1);
              }

    Yes I agree with Wildcard82
    The GregorianCalendar javadoc defines the month 0 based (0 - 11)
    so you must be careful when creating a Gregorian calendar by substracting 1 to your month number (if 1 - 12), and if passing it back to an int of the type 1 - 12, to add a respective 1e on the
    get(GregorianCalendar.MONTH)method
    I recommend what i did to evade dealing with this, I'm used to save dates in the yyyymmdd format, and month being from 1-12, so I created two methods
    a) int2GregorianCalendar(int date), which takes that int type and returns the correct GregorianCalendar, with what was defined above.
    b) GregorianCalendar2int(GregorianCalendar date) which is the opposite.
    Hope it helps, cya.

  • Error with the Receiver JMS Adapter (Connection On-Demand feature)

    Hi,
    In high volume we are experiencing errors with the Receiver JMS Adapter and the connection On-demand feature:
    Adapter Framework caught exception: while trying to invoke the method com.sap.aii.adapter.jms.api.connector.DisconnectorListener.notifyEvent(java.lang.String) of an object loaded from local variable 'listener'
    Delivering the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: while trying to invoke the method com.sap.aii.adapter.jms.api.connector.DisconnectorListener.notifyEvent(java.lang.String) of an object loaded from local variable 'listener'.
    The message status was set to WAIT.
    Looks like the message is successfuly reprocess after the wait period but the ALEAUD/Akcnowledgment are not successful in the sender ECC system. (SAP -> PI - > JMS)
    Any idea?
    PI 7.1 EHP1
    Thanks,
    Martin
    /people/sunil.ojha5/blog/2010/08/31/review-of-sap-pi-jms-adapter-on-demand-connection-feature
    Edited by: Martin Lavoie Rousseau on Jun 3, 2011 3:21 PM

    Please ensure to have specified an User and password to connect to JMS server (don't leave the fields empty).

Maybe you are looking for

  • How can I sent a repeating email?

    Greetings all, I want to set up the Mac mini I use in my office at work to send out a reminder every Monday morning to my colleagues via a common email address. I want to remind them to check various things they should be checking at the start of eac

  • WRT54G losing connection periodically

    My setup: WRT54G Router Firmware Version v4.30.5, Apr. 27, 2006 Bell Sympatico DSL PC with hardline to Router Laptop with wireless connection A couple times a night, no matter whether the laptop or the PC is being used, I will lose connection to the

  • ATTRIBUTE_MISSING_URL

    Hi XI Expert, please am very neue in XI and I want to send a message to another Xi I have done all Configuration (IR and ID) but i have this error: SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/enve

  • Is it possible to replicate this in Motion 4?

    http://www.videocopilot.net/tutorial/dynamic_machine_gun/ I was thinking that the link behavior might be able to accomplish this, but it doesn't seem to allow for the source image/footage of a particle system to be changed based on position or in any

  • Getting SAXParser to stop what it's doing

    I have a simple question: I'm creating a thread that uses a SAXParser to parse through a very large file. The full parse takes about ten hours. I'm doing this from within a Swing application. When the user hits the "cancel" button, I would like to be