Abap Rfc External Debug from a Jco Client Connection

Hi to all,
i have developed a Java Application on Sap J2ee (SAP-JEE 7.01 SP6) , using the Jco2 integrated.
I'm using direct connection , calling Custom Functions Module on  Abap Stack.
I have a question about Abap Debugging:
now i debug the abap function setting an external session breakpoint (SE37) and  the abap debug stops  correctly on breakpoint that i've set.
But sometimes i notice the strange situation that during my debug another debug session (identical to the first) is open on my sap gui (it seems that Jco sends another request while i'm debugging the first )
Reading the jco documentation i've seen this method that i never used: JCO.Client setAbapDebug(boolean debug)
        Enables/disables abap debug.
Note:If the connection is already established the method will close and reopen the connection.
have I  to set this in my java code in addition to abap external breakpoint? Why Jco.Client sends another request?
Thanks for the answers
Alessandro

Anyone know?
Thanks,
Augusto Póvoa.

Similar Messages

  • Multiple JCO client connections

    Hi guys!
    I need to configure more then one JCO client connection that points to different SAP/R3 instances. Is it possible? If yes, can I map and run RFCs from couple instances in the same WD application? PS: The RFCs have the same name....
    I realy don't think so.
    Suggestions??
    Tks
    Borges, Alexandre

    Hi guys....
    This topic solve my question....
    Re: JCO connection to multiple R/3 Back end system
    Tks
    Borges, Alexandre

  • Couldn't create jco client connection for logical system

    Dear Experts,
    we are facing a strange issue in our custom webdynpro java application, few of our portal users are getting the "couldn't create jco client connection for logical system" for Model Data JCO Destination. below are details
    1. portal version 7.02 SP14 (we have recently updated to SP14 from SP02-- is this is causing the issue ?)
         1.1. updated the NWDI track with SP14 SCA files as well as added latest WD Runtime SCA file deployed the applications to Production also.
    2. above said exception is inconsistent and happening for only few users
    3. ping and test of jco destinations are successfull in content administration as well as in SLD, destinations were added in the SLD system.
    4. cleared the JCO ARFC meta data cache in webdynpro console
    5. jco destinations are configured using uid/pwd, configured user is not locked active and tested in the backend by logging in with the same user.
    6. restarted the portal server
    even though, we are getting the above said exception for few of portal users randomly.
    Please help me on this ASAP, as i am not getting any further help on this.
    Thanks,
    Ram.

    Hello Ram,
    Check the JCo Pool Configuration settings of your JCO Destination. This message normally comes when the maximum connections has been reached. Increase the "Maximum Connections" to some number depending on the usage. A good habit is to disconnect the jco connection after executing the same in your webdynpro code if you don't want it to be synchronous.
    <ModelName>.modelInstance().disconnectIfAlive()
    Hope this helps.
    Regards
    Vijay

  • Failed to create new JCO client connection WD_FLIGHTLIST_RFC_METADATA_DEST:

    I tried the demo in SDN, but failed .
    Why?

    Sorry I forget posting the msg:
    for WD_FLIGHTLIST_MODELDATA_DEST:
    nnection for 'WD_FLIGHTLIST_MODELDATA_DEST' was sucessfully tested with user 'ZZHZHU'
    But :
    for WD_FLIGHTLIST_RFC_METADATA_DEST:
    Failed to create new JCO client connection WD_FLIGHTLIST_RFC_METADATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:140) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:286) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:252) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59) at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java:321) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for WD_FLIGHTLIST_RFC_METADATA_DEST at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:664) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:508) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:247) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:221) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:101) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:138) ... 31 more Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:474) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:558) ... 36 more

  • JCo client connection Failed to create new JCO client connection

    hi All
    I am trying to create a new JCO destination ion CE7.1 webdynpro content Admin. but I am getting following error.
    Exception while creating JCo client connection Failed to create new JCO client connection weter: com.sap.lcr.api.cimclient.LcrException: CIM_ERR_ACCESS_DENIED: User is not in role LcrInstanceWriterLD at com.sap.lcr.api.cimclient.SimpleResponseAnalyser.raiseExceptionOnError(SimpleResponseAnalyser.java:120) at com.sap.lcr.api.cimclient.SimpleResponseAnalyser.getIResult(SimpleResponseAnalyser.java:53) at com.sap.lcr.api.cimclient.CIMOMClient.sendImpl(CIMOMClient.java:220) at com.sap.lcr.api.cimclient.CIMOMClient.send(CIMOMClient.java:148) at com.sap.lcr.api.cimclient.CIMOMClient.createInstanceImpl(CIMOMClient.java:669) at ......
    SLD is Up and running
    CIM data is imported
    Solution tried :
    1) As no role wtih name LcrInstanceWriterLD was existing in the server ,hence created a new role with same name and assigned the LCR related action . Assigned the role to the user through which we are creating JCOs.
    But we still getting the same error.
    regards
    Poonam

    Hi Poonam!
    Got to dig in the past a bit, I remember Users being able to create SLD object have to have certain permissions set in the J2EE UME. Simple Admin rights do not suffer, if I recall right.
    Unfortunately I cannot go further in detail because this issue has been solved by a long gone collegue of mine.
    Good luck anyway!
    Jürgen

  • Exception while creating JCo client connection Failed to create

    Hello all -
       I am trying to create JCo metadata connections and I am getting the below error trace.
    Exception while creating JCo client connection Failed to create new JCO client connection SAP_R3_HumanResources_Metadata: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to change password for key SAP_R3_HumanResources_Metadata in secure storage at com.sap.tc.webdynpro.serverimpl.wdc.sl.SecureStorageWrapper.changePassword(SecureStorageWrapper.java:149) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:299) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:265) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) Caused by: com.sap.security.core.server.securestorage.exception.ObjectStorageException at com.sap.security.core.server.securestorage.remote.RemoteSecureStorageClientContextImpl.storeObject(RemoteSecureStorageClientContextImpl.java:600) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SecureStorageWrapper.changePassword(SecureStorageWrapper.java:137) ... 33 more
    Could anybody please suggest what is wrong with this creation?
    Thanks much!!

    Hi Maria,
    Please update the host and sevice file first then check the SLD test and SLD Data supplier in visual admin.
    Also check and verify the data using in the Jco destination creation.
    Hope it will helps
    Regards
    Arun Jaiswal

  • Can't obtain JCO client connection

    Hello all,
    I defined a destination in the Visual Admin.
    Run a successful test with the test button.
    Created an EJB that accesses the destination successfully, but getting an exception when trying to create a client (the last code line) :
    RFCDestination dst = (RFCDestination) dstService.getDestination("RFC", "DGL_DEST_TEST");
    Properties jcoProperties = dst.getJCoProperties();
    JCO.Client client = JCO.createClient(jcoProperties);
    Any suggestions?
    Thanks for your time, Adi.

    Hi Denis,
    I wrote the code in an EJB and running the EJB threw a Web Service.
    I don't have much experience in J2EE but it looks like because I'm running threw a
    Web Service I don't get the details of the exception.
    even though the code is in a try-catch block all I get is an error saying:
    Exception in method name_of_method.
    This is why I can't give anymore information.
    Can you advice on another way of running the EJB so I'll be able to see more information?
    Thanks, Adi.

  • External debugging of ABAP from NWDS in web dynpro java

    Hello Experts,
    Like a while a ago, I remember on SDN there was a video for external debugging tutorial. Can any one point me to that or any other documentation for doing external debug from NWDS.
    Thanks,
    Sharath

    HI James!!!
    You can find a video presentation for external debugging of WD JAVA application at:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/elearning/user-interface-technology/web%20dynpro/wd%20java/web%20dynpro%20java%20with%20an%20adaptive%20rfc%20model/web%20dynpro%20java%20with%20an%20adaptive%20rfc%20model%3a%20debugging/resources/eventplayer.htm
    I hope this would help you. If you seek something else, you can revert back. I'll be happy to help you
    Cheers!!!
    Umang

  • How to start SAPGUI at entry point to RFC for debugging (using JCO)?

    Hi,
    I am calling an RFC using JCO and trying to have the SAPGUI pop up at the entry point to the RFC for debugging.  But it is not working on Mac OS X.
    I activate the debug via
       JCO.Client client = JCO.createClient(..);
       client.setAbapDebug(true);
       client.setSapGui(1);
       client.connect();
    it gives error:
    sh: line 1: /usr/sap/DV2/SYS/exe/run/sapgui: No such file or directory
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Start 'sapgui' failed.
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
    I then tried to set environment variable SAPGUI=/Applications/SAPGUI\ for\ Java\ 6.3r5.2/SAPGUI\ 6.30rev5.2.app/Contents/MacOS/SAPGUI
    and it then starts up the SAPGUI for Java Logon Pad.
    But, I want the SAPGUI to start up at the entry point to the RFC.
    Is this possible in Mac OS X?  It has worked before on Windows using the RFC SDK utilities or middleware tools such as IBM Crossworlds.
    Thanks

    Hi Robert,
    Thanks for the reply, it was very helpful as I had given up hope on getting a solution.  Unfortunately I am still getting an error.
    1) I created a script as per your directions containing
    "/Applications/SAPGUI for Java 6.3r5.2/SAPGUI 6.30rev5.2.app/Contents/MacOS/SAPGUI" -n -o $*
    2) Now the SAPGUI application starts, but does not open a window and I get the error:
    ERROR #############################
    18.05. 11:58:42.943 ERROR: AgiWindowAdaptor::update: no menu
    ERROR #############################
    3) I switched on the tracekeys with -t CON,SES,EVT,C_AGI to get more detail:
    18.05. 11:58:41.420 TRC: Active trace keys: CON,SES,EVT,C_AGI
    18.05. 11:58:42.709 CON: new GuiConnection
    18.05. 11:58:42.727 CON: GuiConnection.open(/H/<appserver>/S/3235&rfcid=02D5428B909E32190000,tmp)
    18.05. 11:58:42.846 CON: new GuiNiNetConnection
    18.05. 11:58:42.872 CON: GuiNiNetConnection.open(conn=/H/<appserver>/S/3235&cpg=1127&jenc=MacRoman&jloc=en&rfcid=02D5428B909E32190000)
    18.05. 11:58:42.872 CON: GuiNiNetConnection.open: resolved hostSpec = /H/<appserver>/S/3235
    18.05. 11:58:42.915 CON: -
    18.05. 11:58:42.916 CON: GuiNiNetConnection: sending DIAG data to connection for modus 0
    18.05. 11:58:42.918 CON: -
    18.05. 11:58:42.919 CON: GuiNiNetConnection: sending DIAG data to connection for modus 0
    18.05. 11:58:42.927 C_AGI: calling AgiSessionPool->ParseIt() for modus 0
    18.05. 11:58:42.929 C_AGI: AgiLibAdaptor::onNewPrimary
    18.05. 11:58:42.941 C_AGI: returned from AgiSessionPool->ParseIt() for modus 0
    ERROR #############################
    18.05. 11:58:42.943 ERROR: AgiWindowAdaptor::update: no menu
    ERROR #############################
    18.05. 11:58:42.950 SES: GuiAutomationProcessor: processing automation call list for modus id 0
    18.05. 11:58:43.043 SES: new GuiSession
    18.05. 11:58:50.557 CON: GuiNiNetConnection: sending CLOSE data to writer thread
    18.05. 11:58:50.791 CON: -
    18.05. 11:58:50.791 CON: GuiNiNetConnection: sending DIAG data to connection for modus -1
    18.05. 11:58:50.793 C_AGI: AgiLibAdaptor::onDelContainer
    18.05. 11:58:50.794 C_AGI: AgiLibAdaptor::onDelContainer
    18.05. 11:58:50.794 C_AGI: AgiLibAdaptor::onDelPrimary
    18.05. 11:58:50.795 CON: GuiConnection.destroyNetConnectionAndParser
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Start 'sapgui' failed.
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:2983)
    Any further ideas on what is wrong?   There is a post on another forum http://listserv.sap.com/pipermail/linux.general/2002-June/002538.html with the same error, but no response..
    Thanks,
    Richard

  • Data exchange between SAP SCM and an external java tool via JCo

    Hi everybody,
    the situation i am in is the following:
    We are developping a java application for production planning using multi-agent systems. What I am currently working on is an integration concept towards SAP via JCo. I am using a SAP SCM System.
    What i got is the following:
    I got the JCo connection to SCM and I am able to execute BAPIs from Java.
    Now my problem is the following:
    We want to recognize a change in the SCM System, e.g. when someone added a new manufacturing order. What do I have to do for that?
    Do I have to register a JCO.Server as a RFC Destination?
    Do I have to use SCM EventManagement to handle the corresponding events?
    In Java terms, what I want is a EventListener for some events - but neither do I know how the events are created nor how they are transferred to third party systems...
    Anyone with a hint?
    Thanks a lot!
    Greetings
    Jan

    Hi Jan,
    architecturally you will need to determine a point in the SCM application logic to understand that a relevant event has occurred and then issue a notification "message" - in your case it sounds like your system is directly coupled so it wouldn't exactly be a message but an RFC call instead.
    On SCM itself all you need is the RFC-enabled function module interface (an ABAP development), a logical destination and a hook somewhere in the application logic to make the RFC call.
    From a JCo perspective you then just have to implement an "RFC server" that responds to these RFC calls.
    Most difficult part will be to find a suitable hook in the SCM application logic that doesn't modify any delivered SAP code but uses an enhancement technique like a BADI.
    Anything you can share about your planned development? Is this specifically for a customer or are you planning on releasing a product?
    Regards, Harry.

  • JCO Client Problem

    Hello,
    I’m having a problem with JCo client connection. I am doing some BW queries that are bringing back a significant amount of data.  Every now and then JCo crashes (bringing down the JVM as well) and this error message is dumped to the screen.
    JCO [JNI-LAYER] cannot load backtrace library [jcobtrace.dll]
    ===== BEGIN DUMP =============================================================
    Error Message: Illegal memory access. [54]
    Exception Rec: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at 0x341FC99D - memory at 0x00000000 could not be written.
    Does anybody know what might be causing this?  I would very much appreciate any help on this.
    Thanks,
    Corey

    I've added the stack trace as well if that is of any help to someone.
    [code]http-8081-Processor 16 id=63 idx=0x78 tid=3460 lastJavaFrame=0x2FCFF3BC
    Thread Stack Trace:
         at [email protected]+763()@0x341FC99D
         at Javacom_sap_mw_jco_rfc_MiddlewareRFC_nativeSetMode@12+6533()@0x341F3EFD
         at Javacom_sap_mw_jco_rfc_MiddlewareRFC_nativeSetMode@12+9731()@0x341F4B7B
         at [email protected]+2007()@0x341FC0EC
         at com/sap/mw/jco/rfc/MiddlewareRFC$Client.nativeExecute(Lcom/sap/mw/jco/JCO$Client;Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V(Native Method)
         at com/sap/mw/jco/rfc/MiddlewareRFC$Client.execute(Lcom/sap/mw/jco/JCO$Client;Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V(MiddlewareRFC.java:1211)
         at com/sap/mw/jco/JCO$Client.execute(Ljava/lang/String;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Lcom/sap/mw/jco/JCO$ParameterList;Ljava/lang/String;Ljava/lang/String;I)V(JCO.java:3684)
         at com/sap/mw/jco/JCO$Client.execute(Lcom/sap/mw/jco/JCO$Function;)V(JCO.java:3129)[/code]

  • Stop External HD from Spinning Down?

    Is it possible to stop an external HD from spinning down when connected to a MBPro? It seems that the setting in the energy saver control panel have no effect on external drives. I'm using my laptop (MBPro 2.33Ghz) for music production and don't want my external drive to spin down while I'm working.
    Is there any way to keep it spinning?

    This may be a "feature" built into the firmware of your external drive. If so it will not be affected by your Energy Saver settings. I recently had to advise someone with a "Western Digital MyBook" spinning down to ask the manufacturer for help, but the outcome was that the only solution was the purchase of an uncrippled drive. Being in the firmware, the "feature" could not be erased or altered.
        "Is it possible to stop…"
    Yes, but only in what I would consider an unacceptable manner, e.g. by having a small script that constantly accesses the drive, but I would suggest that a) it should not be needed, and b) it would be highly likely to interfere with other things you were doing.
    So, as a start, you should a) read any docs that came with that drive, and b) go to the relevant site and see what you can find out.
    I hope that none of this applies to you, but I just thought you ought to be aware of the possibility.

  • Error : Failed to Delete JCO Client while Configuring BI JAVA

    Hi Everybody,
    While Configuring BI JAVA ( http:/host:5instance#00/nwa > Change and Deploy > BI JAVA Config )
    ...it went okay until Phase 51 / 54 and then it gives error msg :
    " Failed to Delete JCO Client Connection BI_METADATA on <SID>.SYSTEMHOME.<HOSTNAME> "
    STEP WD_JCO_DEST_BI_METADATA
    It seems that Probably the JCO Client is locked . Can Anyone, pl.
    - inform about where to see the logs for this error ?  I checked various files under work dir but, found
      nothing
    - Is there any way to check if the JCO Client connection exists or not / locked  ?
    Any / ALL Help is highly appreciated and would be rewarded with app points..
    Thanks in Advance,
    Regards,
    - Ishan

    http://<host>:5<nr>00/webdynpro/welcome/Welcome.jsp
    under Content Administrator, you can create/edit or test JCo connections.
    nikhil

  • Big Problem: ABAP-RFC and JCO  client

    Hi Friends,
    I am a java developer in trouble with a ABAP/RFC, and I dont have idea whoe lese ask for help
    This is the situation:
    In order to send a "candidates resume" (curriculum) in to SAP,
    the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
    The rFC when tested in the SAP GUI works fine.
    I wrote a java client which calls the RFC, send the parameters and expect the results.
    This client uses JCO to access SAP.
    But, from the java client the RFC works PARTIALLY.
    I mean, it creates the applicant, fills his name, address (infotypes 002,006,001)
    but doesnt fill the education a qualifications (infotypes 22 and 24).
    I am trying to figure why.
    Some of the internal ABAP errors code that we get are:
    DC -006
    PA -054
    5A -135
    Also I get this message:
    "Exception condition "CNTL_ERROR" raised"
    Please, I am a java-per lost in the SAP land.
    Thanks in advance by any help!!!
    PD: I could sent you the ABAP code of the RFC or the java code of the client if necessary.

    That CNTL_ERROR tells me that its trying to access a gui control which I don't is possible thru jCo.  Gui Controls are very dependent on the SAP Gui Frontend.  Since you are calling the transaction thru jCo,  it oviously doesn't know what to do with it.  Any chance that you can get a hold of the ABAP developer which wrote it initially?  Maybe there is another transaction that can be used instead of the PB10 transaction.
    Regards,
    Rich Heilman

  • Calling external Java from ABAP using JCo?

    Does anyone know if one can use JCo to write a server application that can be called from ABAP.
    We are presently using JCo to communicate from Java to SAP.
    But we need to call an external Java program from within ABAP.
    Is this possible?
    Thanks for any input.
    Fred

    Hi Gregor,
    I was hoping you would reply to this -- these posted messages had been here for quite sometime now.
    Anyway, here's the case. Our Basis team is installing the JCo in our SAP development server. This is our first time to implement this technology, so no one has a clue at all.
    Got a couple of questions for you...
    1. What do we need the JDK for? Is it mainly for editing, running, and compiling java files (e.g. Example5.java)?
    2. Does the JDK need to be installed at the SAP server as well? Or it doesn't matter, as long as the java files will be accessible from where it was installed at?
    Thanks for any response!

Maybe you are looking for