Configuration of JCo
Hi Friends,
Can Any Body Send JCo Configuration Steps such how to configure ?
With Regards\
Vijay
Hi,
<b>For WD_MODELDATA_DEST</b>
<i>Step1(General Data):</i>
give the entry for client:400 //SAP Client number
Maximal Pool Size 100//Maximum
Maximum Connections 200//Maximum
Connection Timout (msec.) 10,000
Maximum Waiting 30,000
next>
<i>step2(J2EE Cluster):</i>
Default next>
<i>Step3(Connection Type):</i>
3.1
select Application Data radio button and Single Server Connection radiobutton
<i>step3.1(Appl. Server Connection):</i>
Application Server select your corressponding server in SLD
System Id 00
Use SAP Router un checked next>
<i>
step4(Security):</i>
Used Method User/Password
Name <SAPUSERNAME>
Password <SAPPASSWORD>
Confirm Password <SAPPASSWORD>
Language <ENGLISH> next>
<i>Step5(Summary):</i>
Default
Finish
Test Connection
<b>
For WD_RFC_METADATA_DEST</b>
<i>
Step1(General Data):</i>
give the entry for client:400 //SAP Client number
Maximal Pool Size 100//Maximum
Maximum Connections 200//Maximum
Connection Timout (msec.) 10,000
Maximum Waiting 30,000 next>
<i>
step2(J2EE Cluster):</i>
Default
<i>Step2(Connection Type):</i>
3.1
select Dictionary Meta Data radio button
step3.2(Msg. Server Connection):
<b>Message Server</b> Select the Message server name Configured in SLD
<b>System Name</b> Default
Logon Group Select the Logon Group name Configured in SLD
Use SAP Router un checked next>
<i>step4(Security):</i>
Used Method User/Password
Name <SAPUSERNAME>
Password <SAPPASSWORD>
Confirm Password <SAPPASSWORD>
Language <ENGLISH> next>
<i>Step5(Summary):</i>
Default
Finish
Test Connection
Kind Regards
Mukesh
Similar Messages
-
Hi Experts,
I am very new to SNC, and my projects requirement is to configure the SNC between the JCO (A java app using JCO api) and ABAP server.
JCO(Java application)---ABAP server
Is there any docs or writeup/blog which I can refer to achieve this.
I tried searching this but could not get any relevant information. Mostly what I got is the SNC between SAP GUI and ABAP server.
I am a newbie to SNC, I appreciate your help.
Cheers
SaraPlease have a kind look on <a href="https://service.sap.com/sap/support/notes/645876">SAP Note 645876</a> and the attached SNC_JCO.pdf document.
-
Problem to JCO after configure ModelData
Hello dear Experts.
I have a DC Web dynpor java when i depploy my DC and tray to configure the ModelData at the end of the asisstant of creating this when i press button finish i got the next error:
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:485)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:481)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:700)
at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:664)
... 39 more
If i enter to the Portal content Studio in order to configure this JCO again i got the same exception We have to restart server
to enter to the JCO maintenance of content portal studio.
I am sstuck in this problem.
Thanks for helping me.Hi,
Please look at these links for that
[Problem to JCO After Configure ModelData|http://www.qnasap.com/problem-to-jco-after-configure-modeldata/] and [Null pointer while maintaining JCO destination|Null pointer while maintaining JCO destination;
Hope this is help full for you,
Regards
Vijay -
SLD configuration - JCO connection with SAP Router
Hi,
I installed the new Sneak Preview SP11 Java Edition including SAP Portal. I tried to run an own Web Dynpro Application with RFC-Access on a R/3 System.
Unfortunately I was not able to get the JCO Connection to run. The R/3 System is reached via SAP Router. I am a little bit confused, because with the last Sneak Preview (SP6 or SP7) this application was running without problems. Of course I thought that this can't be. So I uninstalled SP11 and installed the old version (SP7). I configured the JCO-connection, no problems.
Now I know that this is not my mistake (hopefully ).
If I configured a JCO-connection in SP11 and tried to PING, the first PING was ok. After testing the connection with user, the PING failed. The testing with user returns something like "user or password are not accepted".
Any ideas?
Best regards
RenaldIn your SLD configuration, what do you have as your Logon Group under the message server config. Is it "PUBLIC". if so, then the user id needs to belong to that Logon Group in the system.
Regards,
Rich Heilman -
hello everyone!
delivery to acknowledge the help I can get.
I tell them my problem, I have a BI Server (ABAP + JAVA), which is trying to configure the JCO, but there is a problem when trying to create a new or an existing deal.
starting to enter the "Web Dynpro Content Administrator" presents the message "java.lang.NullPointerException"
to try to Edit or Create a JCO, gives the following error:
500 Internal Server Error
SAP NetWeaver Application Server 7.00/Java AS 7.00
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:286)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:251)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:158)
... 45 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MEGAUPLOAD 1.0)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0020.20090723111631.0000 (release=NW04S_20_REL, buildtime=2009-08-14:13:18:26[UTC], changelist=65312, host=pwdfm114), build date: Wed Nov 11 21:35:52 AST 2009
J2EE Engine 7.00 PatchLevel 65302.450
Java VM IBM J9 VM, version:2.3, vendor: IBM Corporation
Operating system AIX, version: 5.3, architecture: ppc64
Session & Other
Session Locale es_CL
Time of Failure Sat Apr 03 16:06:33 AST 2010 (Java Time: 1270325193642)
Web Dynpro Code Generation Infos
sap.com/tcwdtools
No information available null
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:286)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:251)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:158)
at com.sap.tc.webdynpro.tools.sld.wdp.InternalNameDefinition.wdDoInit(InternalNameDefinition.java:236)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:789)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
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:332)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
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(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)Probably you might need to stop and start the service/application in VM(under deploy) or from NWA.
The webdynpro application name should cover in sap.com/tcwd* (* means all followers).
Let us know the outcome. -
Passing request table to Jco function
Hello Experts,
We have one requirement where we need to pass the table data from the BLS to SAP Jco Function Module call. For example we are reading the material numbers from the oracle database and then we need to pass these material numbers to SAP Function Module as a table to read the further details from SAP for the given material numbers.
We wrote a custom function module in SAP which accepts the material number as table. Is it possible to pass the table request parameter to Function Module? If possible how can we do this? I tried to pass the XML document to Function Module table, but no luck.
Thanks
MohanMohan,
in the BLT, configure the JCO action to use you custom function. After pressing enter, MII reads the xml structure of the function (if the connection MII to SAP is working). In the further processing of the BLT, you can fill the RFC table which you can see in the link editor using your query results and the link editor types "AppendXML" or "AppendAfter".
The following thread might help: [RFC call with multiple input|http://forums.sdn.sap.com/click.jspa?searchID=34070350&messageID=8134561].
Michael -
Jco: Error Connecting using sapgw04
Hi,
I have a problem using Jco to connect to a SAP-System.
I'm trying to connect to SAP using the following configuartions:
sysnr: 04
GWServ: sapgw00
GWHost: XXX.YYY.com
ASHost: XXX.YYY.com
The code to create a repository for this configuration is:
JCO.addClientPool(poolname, maxpoolsize, "538", "username", "password", "DE",
"XXX.YYY.com", "04", "XXX.YYY.com", "sapgw00");
When I use this pool to get a function I get an Exception:
com.sap.mw.jco.JCO$Exception: (123) JCO_ERROR_FUNCTION_NOT_FOUND: Server repository could not create function template '[FUNCTIONNAME]'
caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed
Connect_PM
GWHOST=XXX.YYY.com , GWSERV=sapgw00, ASHOST=XXX.YYY.com , SYSNR=04
LOCATION
SAP-Gateway on host h33e / sapgw00
ERROR partner not reached
(host XXX.YYY.com , service <b>sapgw04</b>)
The strange thing is the sapgw04 in the error-message.
Somehow JCO wants to use sapgw04 to connect to the RFC-Server. Is this an error in the SAP-Configuration or do I have to change the configuration of Jco?
How can I tell Jco not to use sapgw04 but sapgw00?
Any help would be appreciated!
Thanks
TorstenHi Torsten,
please check how you log on to your system. You are giving a system number 04, which corresponds to sapgw04. I'm not sure why the method needs all the information, seems to be duplicate to me (please comment if I'm wrong); it should be sufficient to use:
addClientPool(String key,
int max_connections,
String client,
String user,
String passwd,
String lang,
String ashost,
String sysnr)
If you don't want to use sapgw04, just specify "00" for the sysnr.
Hope this helps, harald -
Configuration problem in WAS7.0
Dear all
We have facing problem in configuring SLD & JCO connections for WAS7.0. there are many differences from WAS 6.40 to WAS7.0.
First in server settings, we couldnt find ABAP connection parameters in WAS7.0. Could someone please tell me where to give these settings.
without giving this setting when I tried to create JCO connections, we are getting Exception saying:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sapb31.xxxx.com GROUP=SPACE R3NAME=b31 MSSERV=sapmsb31 PCS=1 ERROR service 'sapmsb31' unknown TIME Thu Apr 13 19:56:46 2006 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE ninti.c LINE 530 DETAIL NiPGetServByName2: service 'sapmsb31' not found SYSTEM CALL getservbyname_r COUNTER 1
Second we are not able to see RFC settings tab in SLD data supplier in visual administrator using go.bat
Your help is much appreciated.
Your truly,
KishoreDear Sandeep
Material is not configurable.
Regards -
Configuration of ESS and MSS in Portal for HCM
Hello Friend's,
This is suresh calling for clarifications and doubts in HCM... see i'm new to portal, but my requirement is to configure ESS and MSS for HCM... i dont know actually wat needs to be done and the way of approach... these are the doubts,
1. Basic steps for Portal Configuration
2. I need some docs for configuring ESS and MSS...
3. a) After configuring ESS and MSS, wat needs to be done.. suppose my client is asking for Leave Request in ESS, whether i need to create that application in webdynpro java or webdynpro abap in backend and i've to call that application in portal throgh iview...
b) or by doing the configuration of ESS, by default i will get all the aplications(e,g, Leave Request, Travel Managemetn ....) from that package and it will display in iview...
I dont know basic steps .... plz help me ... Thanks i advance...........!Ok. Here are the answers:
1. Basic steps for Portal Configuration
> Download ESS/MSS Business Package, it has two parts Business Package for ERP 2005 (Contains iviews, Roles etc) and XSS 5.0 or 6.0 depending upon the version of the ECC.
> Make sure that you have SAP_HR and EA_HR component installed on your ECC box.
> Also make sure that there is no compatibility mismatch between version of SAP_HR, EA_HR and XSS.
> Configure the JCo Destinations, create required system definition and establish SSO between ECC and Portal.
> Assign the role to the users
> After doing these steps you can see the SAP provided iviews etc working PROVIDED configuration on HR side are already done. (This is just to get initial configuration work)
2. I need some docs for configuring ESS and MSS...
> Provided by Bala above
3. a) After configuring ESS and MSS, wat needs to be done.. suppose my client is asking for Leave Request in ESS, whether i need to create that application in webdynpro java or webdynpro abap in backend and i've to call that application in portal throgh iview...
> Look for that application in WebDynpro (identify the component from iView properties) and show it to the client.
If they are Ok with the basic things then fine else they need to specify the kind of customisation they want in this component
Options available if we need to modify the components
>>Copy the component in your namespace and do the modification using NWDINWDS
>>If some field need to be disabled, you can do the same using Self service administration.
b) or by doing the configuration of ESS, by default i will get all the aplications(e,g, Leave Request, Travel Managemetn ....) from that package and it will display in iview...
Hope this helps. ... -
SAProuter for Jco between Java and ABAP stack
When configuring Jco at Java only, there is an option to use SAProuter.
This is not for SMP download or OSS support.
So is there any document for this kind of SAProuter usage?
Thanks!I don't quite understand why you need SAProuter between 2 SAP instances, which means they locate in 2 different network segments and cannot communicate each other directly. But let's assume this scenario:
1. ECC in network A, IP 10.10.10.1;
2. Portal in network B, IP 192.168.1.1;
3. SAProuter has 2 adapters, IP 10.10.10.2 and 192.168.1.2.
Make sure all message server and dispatch info are maintained correctly in service file (or corresponding file on other platform) on all 3 hosts, and then when you configure Portal Jco connection routestring you need is /H/<SAProuter IP>/S/3299 to enable them communicate each other. Usually this is for security purpose of potential network attack to SAP hosts from user IP, for instance:
4. All public users in network C, IP 172...*, then you need a SAProuter which has 3 adapters.
Regards,
Effan -
JCO Connection constructor: Pool already initialized
Hi Folks,
while i'm configuring a JCO connection to R/3, i got a little problem:
In my class constructor i initialize a client pool.
JCO.addClientPool(sapSID, sapMaxConnections, sapMandant, sapUser, sapPasswort, sapLanguage, sapSystem, sapSystemNumber);
JCO.getClientPoolManager().getPool(sapSID).setMaxWaitTime(maxWaitTime);
problem:
when there is already a client pool, the application crashes
solution:
check if there is already a connection-pool with this name
i tried the following:
1) Check if there's a pool with the name
if (JCO.getClientPoolManager().getPool(sapSID).getName()==sapSID) {
==> which leads to a null pointer exception because logically there is no pool and as the doc says "if there's no pool, .getPool(String) will return null, which leads to:
2) Check if null
if (JCO.getClientPoolManager().getPool(sapSID)==null) {
but unfortunately. this won't work either.. null point exception again.
anyone got a hint?
thx in advance,
lars
Message was edited by:
Lars Paetzoldi remove the waittime part now, but it won't work anyway:
java.lang.NullPointerException
if (JCO.getClientPoolManager().getPool(sapSID)==null) {
if (JCO.getClientPoolManager().getPool(sapSID).getName().toString()==sapSID.toString()) {
} else {
JCO.addClientPool(sapSID, sapMaxConnections, sapMandant, sapUser,
sapPasswort, sapLanguage, sapSystem, sapSystemNumber);
if i'm not checking if there is any kind of pool, everything works fine until i call the application a second time and the pool is already initialized -
Hello,
We've developed JCO server which serve as a bridge between SAP R/3 and MS SQL database system. In R/3 system is created TCP/IP destination and JCO server connects to this destination as a registered program.
In our test environment everything works fine. In customer production environment I face this behaviour:
After installation of solution it works. But after "some time", when I try to test destination in SM59 and I've got this error:
SM59 - test connection
connection to partner broken / CPI-C error CM_PRODUCT_SPECIFIC_ERROR
COMPONENT NI (network interface)
COUNTER 2422932
ERROR TEXT Connection reset by peer
ERROR NUMBER 232
MODULE niuxi.c
LINE 1204
RETURN CODE -6
What is interesting, problem persist, if i turn off JCO server (I expect error message, that no program is registered!),.... so I change the registered program ID (in SM59), change this in configuration of JCO server - it works.. but again after some time I've got that error.
R/3 version is 4.6c
Can you give suggestions, how to solve this problem (where should be the problem)?
Thanks for any answer.
Best Regards,
JurajHi,
It gives me the correct IP when I ping yes. It's only when the SLD tries to resolve IP via JCO destinations. Yesterday I put in all hosts in my landscape into the hosts file of the SLD, disabled the NIC that it shouldn't be using and restarted.
Still it tries to resolve hosts in my landscape to 10.150.83.XXX. How is this possible??
Thanks - any other ideas?
.: HP -
Random JCO Communication Failure Error
Dear All,
I am facing the weird issue of JCo connection failures. I am facing the error of Max no of conversations excedeed. If i am testing it then it is giving me error. But after some time if i check it again it will be successful and also ping will be also successful for the JCo. I am facing for all JCo which we have created in the Portal System.
We have 3 landscape system here. In my Development and Quality this type of error is coming which is very randomly.
In our Production server its not coming.
So i am very confused why this type of random behaviour is of JCo Connection.
Regards,
Dhruv ShahHi Dhruv,
If you are using WD application, then you should use disconnectIfAlive() in finally block of try-catch while executing RFC model.
Please check the Web Dynpro Best Practices: [How to Configure the JCo Destination Settings|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/portal%20integration/how%20to%20configure%20the%20jco%20destination%20settings.pdf] that will helps you identify maximum pool size, connections and timeout etc.
Also refer to JCo Pool Configuration and http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/content.htm
Hope it helps
Regards
Arun -
How to handle multiple connection through JCO
Hello JCo Experts,
My requirement is as follows:
> I need to create a Web Dynpro Java Application
> I have multiple users (different Users on SAP System).
> I need to execute BAPI/Module Functions through these multiple users.
Example:
Users: A and B
User A has logged in from a remote location
User B has logged in from a another remote location
both users have logged in through SAP system Login Ids
Two JCo Connections should be created and all the request from User A must use Connection A and request from B must use Connection B.
> The connection should be created at first time when user login first time.
How can I handle this scenario through JCo or other way. I have multiple BAPI/ModuelFunction which I need to execute but with User specific.
waiting for positive response.Dear Shiv,
Please need to look into [How to Configure the JCo Destination Settings|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1]
http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicJCOHandling-Creation,Updationetc
Best Regards
Arun Jaiswal -
I have configured a Jco in my SLD, configured a system in the portal and the connection test to the backend is successful.
I then changed the System properties in the portal to SNC and the connection still worked.
I then changed the JCo in the SLD but the Pint and Test from the SLD using the SNC Jco now does not work. The following errors occur
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: connection closed without message (CM_NO_DATA_RECEIVED)
Failed to ping JCo destination 'SAP_R3_HumanResources'
Any cluesHi Graham,
Please have a look at [JCo Exceptions |http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm]
Hope it will helps
Regards
Arun
Maybe you are looking for
-
Officejet 6500A plus won't connect to new wireless router
I recently purchased the Netgear R6250 Wireless Router. My HP Officejet 6500A plus was able to connect to my old router, the Netgear WNDR3400, but it will not connect to my new router using the WPS feature, nor the Pin method. I get "An error has oc
-
Message-Driven Bean using @Resource annotation
I am trying to run a Message-Driven Bean very simple example in https://glassfish.dev.java.net/javaee5/ejb/examples/MDB.html I configured MDBQueueConnectionFactory and MDBQueue properly on glassfish admin console. I cannot run the example using @Reso
-
Resolution of jpgs in Acrobat Pro 9
I am very new to Adobe Acrobat Pro 9 I have scans of very old genealogy documents, some of which have been scanned at low resolutions. I want to use Acrobat to consolidate these scans into a lesser nunber of PDFs. However, there is a noticable loss o
-
Two display problems with my new MacPro! :/
I recently bought a new MacPro to replace my PowerPC, and am having some odd video problems I did not have with the old computer (yes, using same display). Here's some quick stats I think are important. 1. 30 inch Apple HD display (used on both compu
-
Internationalization in Oracle JDeveloper3
I want to develop an applet, arabic enabled, with Jdeveloper3. Well I succeded in displaying arabic characters in the applet , but I had problems when it launch request on the darabase. for who's interested, my mail is [email protected] thanks