JCO question

Hi All!
My question is: How can I send rfc request from an external java program using jco client to the XI rfc sender adapter?
Details:
I have mySap ERP above netweaver 2004 with abap and java stack.
I have to clients. 000 and 001. The 001 has the role Intergration Server in sxmb_adm.
From my external java application I want to call an RFM in the 000 client with the jco client through the XI.
The problem is : With the java createClient method of the JCO class , I only able to connect to the abap side of my WEB AS I think, but the adapters are in the java stack. And when I connect to the client 001 , the rfm is called in here, but I want to this call forwarded to the XI. How can I do this?
Thanks very much for answering.

Hi!
Sorry for misleading question, but my answear is no. I want to make an RFC-XI-RFC scenario, where the calling system is a java app. I can make rfc call using the JCO. but I can't route this call to the XI. in other words I can't route this call to the J2ee server of my SAP, where my rfc adapter is I think.
I made an RFC-XI-RFC call when my calling system is an SAP system. I made a call to a rfc destination type 'T'. And it worked.
How can I do this with the JCO? can I?
Thanks

Similar Messages

  • Some Jco questions

    Hi,
    I have some question about Jco:
    -is it needed to install Jco on the same server as R/3 run, or is it possible to run it on a own server?
    -is 2.0 the newest version=
    -Is there any support?
    thank you very much
    kindest regards
    Pete

    JCA is more of open architecture. JCO is home grown product from SAP to make java based systems talk to SAP.
    JCA is nothing but J2EE connector Architecture which is developed by SUN.
    I am definitely thinking, there is rewrite if you move to JCA from JCO.

  • Java iview htmlb & jco question

    hello all,
    I am writing an Java iView to pull some data from an
    R/3 table & displaying that as a LINE chart.
    I've already got the portion of getting data from R/3
    by creating a shim function that returns the table.
    Now i want to display that using htmlb.Chart
    I can seet the JCO.Table as my JCOChartModel easily enough
    however the Table returns to me multiple rows
    (data that will be used elsewhere) but there are only
    two rows i want to use as the source for the Chart.
    Is there any way to limit the Chart to those two rows
    or do i need to (in my opinion wastefully) create
    a Vector and duplicate the data from those two
    rows to use for Chart?

    Hi Srivatsan,
    I need to write a java iview to pull some data from an R3 table.  But I dont know how :S
    I did something with jco in EP 5, but now with EP 6 I'm confused with the term JCA. 
    What do you do to connect to R3 ?  Could you share your code ?
    Thanks and regards from Mexico !!!
    Diego

  • Is it possible to Trace(Debugging) JCO request from the RFC?

    hi abap gurus.
    I am calling the rfc using jco code.
    i want to trace the request, means When the jco code execute it call the rfc.i want to trace out the values coming from java program in my abap editor.
    Thanks for ur valuable replies
    lakshman.
    save a life by sending information.
    www.help2patients.wordpress.com.

    check the system calls, i mean calls stack , may be you get some hint there.
    I never checked it.check it once.
    I am surprised to see JCO questions in ABAP forum. anyway some part related to ABAP.

  • JCO Server implementation questions

    Hi experts,
    I want to try to create a JCO Server with the JCO 3 library.
    I'm kinda lost in all the links I've found since there is still a lot of things from the JCO 2 on the internet and I don't understand everything I'm doing.
    Please note that there is already a working Java JCO server with old IBM tools and we need to migrate to JCO 3.
    So here are my questions :
    What do I have to do exactly in the sm59 transaction ?
    Here is what I get in the RSGWLST transaction http://i.imgur.com/IRgAyO8.png http://i.imgur.com/YyfDQbt.png (Loic-PC is my machine so I guess my java jco server is up.) Is everything ok ?
    I have followed this link (Java Program for Creating a Server Connection - Components of SAP Communication Technology - SAP Library) to create my java jco server. What exactly are ServerDataProvider.JCO_GWHOST, ServerDataProvider.JCO_GWSERV and above all ServerDataProvider.JCO_PROGID)
    How do I testmy Java JCO server ? I understood that I have to call STFC_TRANSACTION in se37 where I put my jco destination (previously set up in sm59 ?) and a string but I have a dump when I'm tying that.
    I hope someone can help me, everything is still really blurry to me.
    Regards
    Here is the code I use to try to connect :
        static String SERVER_NAME1 = "JCO_SERVER";
        static String DESTINATION_NAME1 = "ABAP_AS_WITHOUT_POOL";
        static String DESTINATION_NAME2 = "ABAP_AS_WITH_POOL";
        static
            Properties connectProperties = new Properties();
            connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "172.16.200.114");
            connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR,  "00");
            connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "500");
            connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "develop2");
            connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "passw0rd");
            connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");
            createDataFile(DESTINATION_NAME1, "jcoDestination", connectProperties);
            connectProperties.setProperty(DestinationDataProvider.JCO_POOL_CAPACITY, "3");
            connectProperties.setProperty(DestinationDataProvider.JCO_PEAK_LIMIT,    "10");
            createDataFile(DESTINATION_NAME2, "jcoDestination", connectProperties);
            Properties servertProperties = new Properties();
            servertProperties.setProperty(ServerDataProvider.JCO_GWHOST, "sapdevdb02");
            servertProperties.setProperty(ServerDataProvider.JCO_GWSERV, "sapgw00");
            servertProperties.setProperty(ServerDataProvider.JCO_PROGID, "JCOServer");
            servertProperties.setProperty(ServerDataProvider.JCO_REP_DEST, "ABAP_AS_WITH_POOL");
            servertProperties.setProperty(ServerDataProvider.JCO_CONNECTION_COUNT, "2");
            createDataFile(SERVER_NAME1, "jcoServer", servertProperties);

    Hi Loic.
    The properties GWHost is Gateway Host and GWSERV stands for Gateway Server.
    Please look at this link to get more details:
    Possible Parameters (SAP Library - Components of SAP Communication Technology)
    Could you please put your full code for this class?
    I'm saying this because the code you have wrote only creates the propreties file that JCO uses to configure the server but you have to run your server through the main statement.
    You have to do something like that on your StfcConnectionHandler class.
    public static void main(String[] args) {
           step1SimpleServer();
    See my example:
    StfcConnectionHandler class--------------------
    package main;
    import com.sap.conn.jco.JCoException;
    import com.sap.conn.jco.JCoFunction;
    import com.sap.conn.jco.server.DefaultServerHandlerFactory;
    import com.sap.conn.jco.server.JCoServer;
    import com.sap.conn.jco.server.JCoServerContext;
    import com.sap.conn.jco.server.JCoServerFactory;
    import com.sap.conn.jco.server.JCoServerFunctionHandler;
    public class StfcConnectionHandler implements JCoServerFunctionHandler {
      private static final String SERVER_NAME1 = "YOUR_SERVER_NAME";
      public void handleRequest(JCoServerContext serverCtx, JCoFunction function) {
      System.out
      .println("----------------------------------------------------------------");
      System.out.println("call              : " + function.getName());
      System.out
      .println("ConnectionId      : " + serverCtx.getConnectionID());
      System.out.println("SessionId         : " + serverCtx.getSessionID());
      System.out.println("TID               : " + serverCtx.getTID());
      System.out.println("repository name   : "
      + serverCtx.getRepository().getName());
      System.out
      .println("is in transaction : " + serverCtx.isInTransaction());
      System.out.println("is stateful       : "
      + serverCtx.isStatefulSession());
      System.out
      .println("----------------------------------------------------------------");
      System.out.println("gwhost: " + serverCtx.getServer().getGatewayHost());
      System.out.println("gwserv: "
      + serverCtx.getServer().getGatewayService());
      System.out.println("progid: " + serverCtx.getServer().getProgramID());
      System.out
      .println("----------------------------------------------------------------");
      System.out.println("attributes  : ");
      System.out.println(serverCtx.getConnectionAttributes().toString());
      System.out
      .println("----------------------------------------------------------------");
      System.out.println("req text: "
      + function.getImportParameterList().getString("REQUTEXT"));
      function.getExportParameterList().setValue("ECHOTEXT",
      function.getImportParameterList().getString("REQUTEXT"));
      function.getExportParameterList().setValue("RESPTEXT", "Hello World");
      static void step1SimpleServer() {
      JCoServer server;
      try {
      server = JCoServerFactory.getServer(SERVER_NAME1);
      } catch (JCoException ex) {
      throw new RuntimeException("Unable to create the server "
      + SERVER_NAME1 + ", because of " + ex.getMessage(), ex);
      JCoServerFunctionHandler stfcConnectionHandler = new StfcConnectionHandler();
      DefaultServerHandlerFactory.FunctionHandlerFactory factory = new DefaultServerHandlerFactory.FunctionHandlerFactory();
      factory.registerHandler("STFC_CONNECTION", stfcConnectionHandler);
      server.setCallHandlerFactory(factory);
      server.start();
      System.out.println("The program can be stopped using <ctrl>+<c>");
      public static void main(String[] args) {
      step1SimpleServer();
    StepByStepServer class
    package main;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.util.Properties;
    import com.sap.conn.jco.ext.DestinationDataProvider;
    import com.sap.conn.jco.ext.ServerDataProvider;
    public class StepByStepServer
        static String SERVER_NAME1 = "SERVER";
        static String DESTINATION_NAME1 = "ABAP_AS_WITHOUT_POOL";
        static String DESTINATION_NAME2 = "ABAP_AS_WITH_POOL";
        static
            Properties connectProperties = new Properties();
            connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "ls4065");
            connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR,  "85");
            connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "800");
            connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "farber");
            connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "laska");
            connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");
            createDataFile(DESTINATION_NAME1, "jcoDestination", connectProperties);
            connectProperties.setProperty(DestinationDataProvider.JCO_POOL_CAPACITY, "3");
            connectProperties.setProperty(DestinationDataProvider.JCO_PEAK_LIMIT,    "10");
            createDataFile(DESTINATION_NAME2, "jcoDestination", connectProperties);
            Properties servertProperties = new Properties();
            servertProperties.setProperty(ServerDataProvider.JCO_GWHOST, "binmain");
            servertProperties.setProperty(ServerDataProvider.JCO_GWSERV, "sapgw53");
            servertProperties.setProperty(ServerDataProvider.JCO_PROGID, "JCO_SERVER");
            servertProperties.setProperty(ServerDataProvider.JCO_REP_DEST, "ABAP_AS_WITH_POOL");
            servertProperties.setProperty(ServerDataProvider.JCO_CONNECTION_COUNT, "2");
            createDataFile(SERVER_NAME1, "jcoServer", servertProperties);
        static void createDataFile(String name, String suffix, Properties properties)
            File cfg = new File(name+"."+suffix);
            if(!cfg.exists())
                try
                    FileOutputStream fos = new FileOutputStream(cfg, false);
                    properties.store(fos, "for tests only !");
                    fos.close();
                catch (Exception e)
                    throw new RuntimeException("Unable to create the destination file " + cfg.getName(), e);
    Regards

  • Question about SAP_R3_SelfServiceGenerics - JCo Connection

    Gurus -
    I have a question about configuring the JCo connection for SAP_R3_SelfServiceGenerics...
    Should this JCo connection point to the R3-HR server, or the R3-Financials server?
    It seems like some self-services are HR-related, while others are more financials related?
    So, if you connect the SAP_R3_SelfServiceGenerics to the HR server, then how do Financials related requests get handled? Is there linkage between HR and Finance?
    Or am I completely not understanding how Cross-Application Components work?
    Also, do ISRs (Internet Service Requests) get handled through Self-Service?

    Hi Eric,
    my SAP release is 4.7 ext. set 1.10.
    From chapter 5 on SAP note 1409608:
    5 Configuration requirements
    For productive SAP systems
    - All SAP applications that are based on SAP NetWeaver '04 SR1 (kernel 6.40) and higher are supported for productive use as
    long as you have implemented enhanced monitoring for virtualization. Check the requirements and minimum support
    package levels mentioned in Note 1409604 for the activation of the enhanced monitoring.
    If I understand SAP support only release NetWeaver '04 and higher, then from SAP Basis 6.40.
    My SAP release have SAP Basis 6.20 so it does not supported.
    Is it correct what I wrote above?
    Thanks
    Moreno

  • JCo BAPI authorization question

    We are developing web applications using Jco connector.
    The default authentication approach is to use connection pooling where all different users access BAPI via default (generic) user name and password.
    My question is how to authenticate current (specific) user whether he has valid permission rights for some particular transaction, because for SAP-BAPI they are all the
    same user (they are establishing connection with the same user name and password.)
    Are there some BAPIs for checking user permission for some transaction?
    Example code are very welcome
    Thanks
    Marino

    I believe there are BAPIs under the category security/user that will provide you with details of the user and you can always of course build your own authentication scheme on the java side based on what's on the R/3 side, but to be honest I would suggest not using a generic user if you wish to keep the current authorization structure in R/3. The R/3 structure for authorization is a maze of objects and tables - virtually a skill in itself, there are people who make a living on it and it is a constant headache on every R/3 installation and enrvironment causing many issues.
    I would recommend to simply use the current logged on user details and log on to the backend. If your user is not authorized you will get an exception from JCo that you can handle in your application. Believe me, it would be a lot simpler than anything else you could implement to achieve your objective.
    Cheers,
    Dion

  • Question: Can Jco RFC Provider registers Program Id for BW7.3

    Hello, Friends
      I encounter the following issue and I wonder whether it is supported by Netweaver product. Please help answer.
      My scenario is to create RFC (TCP/IP Connection) in ABAP server with program id registered by Jco RFC Provider (Visual Admin of NW7.02 Java)
      If my ABAP BW NW server is 7.02 version, RFC can be tested successfully. However, for this time, I worked on another ABAP BW NW 7.3 Server and I create the RFC(TCP/IP Connection) with program id registered by Jco RFC Provider. As a
    result, the RFC cannot find the program id registered by Jco NW 7.02 Java.  Does Netweaver support ABAP 7.3 RFC with Program id registered by Nw 7.02 java Jco RFC provider?
    Thanks a lot!
    Welkin

    Hi, Ejersbo
      If you are using 7.3 portal, you can refer to the following on how to register Jco RFC provider on 7.3 Java:
    (1) Open http://<server>:<port>/nwa
    (2) Search for "Jco RFC destinations", open "Jco RFC destinations"
    (3) Create a Jco RFC destination, with program id in the same name as the one which is used in your ABAP RFC in SM59
    Welkin

  • JCo connection - Destination Problems and questions

    I need some help understanding the procedure of creating a JCo Destination for the tutorial of using ABAP functions in webdynpros.
    When I choose the "Create" new JCo Destination.
    In step 1 of the wizard I have to leave the default name ?
    In step 3 should I choose Dictionary Meta Data or Application Data.
    In step 5 in User Authentication what info should I put here ?
    Because I dont know If Im doing it right, I allready did the steps in this weblog.
    /people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak
    And Im getting this error.
    Failed to create new JCO client connection WD_FLIGHTLIST_MODELDATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Connection WD_FLIGHTLIST_MODELDATA_DEST already exists in the SLD. Please choose another name. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:272) 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: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.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659) 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:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) 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: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:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi, Maksim.
    I assumed that is like u said I was asking in case i miss somethig, yes I have:
    WD_FLIGHTLIST_MODELDATA_DEST
    WD_FLIGHTLIST_RFC_METADATA_DEST
    both have status red, the tutorial said that I folow the wizard. but when I create it the the error log says to me:
    "Failed to create new JCO client connection WD_FLIGHTLIST_MODELDATA_DEST:
    com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException:
    Connection WD_FLIGHTLIST_MODELDATA_DEST already exists in the SLD"
    I dont understand how can allready exist Oo if I cant even create it.

  • Quick Question: ABAP web-dynpro model relies on JCO?

    Hi gurus,
    As mention in subject. Does ABAP web-dynpro model relies on JCO?
    Did a quick search without solid answers...

    JCO, is Java Connectors to connect SAP from Java world
    You don't need any JCO when you are in the same ABAP Stack
    There is no model Nodes/Attributes in Web Dynpro ABAP as in Java, because you are in the same ABAP Stack
    Abhi
    Edited by: Abhimanyu Lagishetti on Jul 10, 2008 11:35 AM

  • EP6 SP2 Jco / System Alias Question

    Hi all,
    I'm developing a number of Iviews on an EP6 SP2 system connected to a 4.6C box.  I have two problems that I'd be grateful for some help with.
    1) How do I make use of the System Aliases set up in the portal via Jco ?
    I know I can use the direct connection
    JCO.createClient("001", // SAP client
              "<userid>", // userid
              "****", // password
                 "EN", // language                               
                    "<hostname>", //      
              "00"); // system number
    but it would be much easier if I could use the configured System Alias called "UKSAP" which has been set-up in each Portal box.
    2) I believe that EP6 SP2 will not require connection pooling in the jco code. Is this correct ?
    Cheers
    Richard

    Hi,
    We are trying to do pretty much the same thing you are, I am trying to get my Java iview to use the System Alias to connect to an R/3 JCO destination.
    Could you elaborate on your findings in this regard. I am currently getting the following error : "Target for system alias SAP_R3_HumanResources not found in system landscape"
    I have entered the connection info for this target into the jcoDestinations.xml and I've created a system in the portal with the alias SAP_R3_HumanResources...
    Thanks in advance,
    Mukta Pathak

  • Question about  Jco conenctions/Logical name of the model and metadata

    Is it common to use the same logical name of the model and metadata across different enviroments?
    For example,  MODEL_DATA_DEST, META_DATA_DEST is used for DEV, QAS and PRD? Because i seem to have some trouble using code built in DEV to another environment if the logical name of the model and metadata is different.
    Thanks in advance

    Hi,
    No for every environment the logical name of the model and metadata are different...
    for eg: some logical names, 
    WD_RFC_METADATA_DEST
    WD_MODELDATA_DEST
    USERINFO_WD_RFC_METADATA_DEST
    USERINFO_WD_MODELDATA_DEST
    About JCo Details,
    SAP JCo Functions,Architecture,Applications,Installation,Client & Server Programming :
    http://help.sap.com/saphelp_nw70/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm
    Creating Jco destination:
    http://help.sap.com/saphelp_nw70/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm
    Maintaining Jco destination:
    http://help.sap.com/saphelp_nw70/helpdata/en/94/3c1b40fcdd8f5ce10000000a155106/frameset.htm
    The SAP JCo Repository :
    http://help.sap.com/saphelp_nw70/helpdata/en/01/43e13d82fcfb34e10000000a114084/frameset.htm
    Dynamic Jco creation Blogs:
    /people/anilkumar.vippagunta2/blog/2007/02/06/dynamic-jco-creation
    /people/gregor.wolf3/blog/2004/09/23/from-function-module-to-jco-application--part-1-of-3

  • Where to get the SSO ticket for a JCO-Connection from?

    Hey All,
    The szenario is, I've got a Java application and I want to connect to a SAP System. For this I want to use SSO. In the documentation of JCO I found this phrase:
    For SSO specify the user to be $MYSAPSSO2$ and pass the base64 encoded ticket as as the passwd parameter.
    Well... Now my question... Where to get this base64 ticket from? The problem is, I'm NOT using WebDynpro, it's a custom application running on client side. Now how to get the needed information? (PSE?)
    It would be great when you could give me a clue.
    Best regards,
    Kristian

    This linksactualy leads to the same place I mentioned where
    it installs the
    player over the Internet
    Another thing is that these players are said to be different
    for different
    browsers which means they are working together with a
    browser. I am looking
    for a player which allows to play SWF file directly, without
    a browser.
    I have such a player installed together with FLASH-8 - I am
    looking for
    such a player
    "DMennenoh" <[email protected]> wrote in
    message
    news:e2qgmu$t5r$[email protected]..
    > Does this help:
    >
    http://www.macromedia.com/shockwave/download/alternates/
    >
    > --
    > Dave -
    > Adobe Community Expert
    > www.blurredistinction.com
    > www.macromedia.com/support/forums/team_macromedia/
    >
    >

  • R/3 Accessibility via JCo Destination

    Hello
    We have a WebDynpro application running in an SAP EP 7.0 SP15.
    We have metadata and modeldata JCo destinations defined for an R/3 backend system.
    The WebDynpro application is using the modeldata JCo destination to reach a BAPI in the R/3 backend system.
    As far as SSO access is configured for the modeldata JCo destination, it is required that the Portal user of the WebDynpro applications has an user defined in the R/3 system.
    We would need to find some solution so that the WebDynpro application can access the BAPI in spite the runtime Portal user does not exist in R/3 backend system (e.g. accessing R/3 system with another user, that could be hardcoded or mapped to the Portal user or whatever).
    Is that possible? If yes, how?
    Thanks a lot!
    Regards,
    Jon

    I think that perhaps you posted this question in the wrong Web Dynpro forum. This question appears to be Web Dynpro Java related and not Web Dynpro ABAP. Please confirm otherwise I will be moving this thread to the WDJ forum where it seems to belong.

  • How to use multiple clients within JCO?

    Hi,
    I'm pretty new to configuring Web Dynpro's with it's JCO connections. I have the following question.
    We are using one portal (SAP EP 6.0_640 SP15) and one R/3 system (SAP ECC 5.0) with multiple clients (multiple customers who are all using the same portal).
    Do I have to deploy a web dynpro for each client and maintain it's JCO connection for each client?
    Or is there another way how I can set this up?
    Thanks in advance.
    Kind regards,
    Dave Arends

    Hi Dave,
    <b><i>Do I have to deploy a web dynpro for each client and maintain it's JCO connection for each client?
    Or is there another way how I can set this up?</i></b>
    You dont need to deploy a web dynpro for each client . You can use same JCO connection for multiple User ID's  ( multiple Clients mean multiple user ID's on the same portal ).
    If this is the case then single JCo connection is enough to pull data from R/3 and show on portal page .
    Thanks,
    Nanda

Maybe you are looking for