JCO Connection and Changing Parameters

Hi,
I am trying to retrive the content populated in changing parameter using the following code
                 JCoTable titles = function.getChangingParameterList()
                                              .getTable("TITLE_HELP");
                                  numEntries = titles.getNumRows();
I always get numEntries = 0 in one of the application server, but when the same application is deployed on the different server It is returning the number of entries correctly.
Do i need to maintian any configurations on the application server.
Please advice.
Regards,
Chandrashekar.

hi,
In the J2EE Engine the RFC functions are implemented by the JCo RFC Provider service, which is used for processing ABAP to Java requests. A feature is provided for receiving calls from the SAP systems – this is done by registering the J2EE Engine as a RFC destination.
The JCo RFC Provider Service processes calls from the SAP systems. It dispatches the calls to a stateless session bean, which is registered in the J2EE Engine naming system. By naming convention the JNDI name used is identical to the name of the SAP function module.
cheers,
jo

Similar Messages

  • ESS - JCO Connection and Performance

    Hi Forum,
    In ESS Package Applications we are not using Applications related to Travel Management and Finance but JCO connections are created for the respective application namely
    1. SAP_R3_Travel & SAP_R3_Travel_MetaData
    2. SAP_R3_Financials & SAP_R3_Financials_MetaData
    I need to know performance impact of these JCO creations which we are not using anyway.
    Many Thanks and Regards
    Sudhir

    Thank you Bala,
    Will there be any performance impact - If I disable these unused JCO connection. Basically I need to know creating a JCO connection and keeping it idle - how much memory/pool etc it is going to consume. If it is going to impact then the plan is to identify all unused JCO connection in the complete system and disable it.
    Regards
    Sudhir

  • JCo connection and  SLD

    Greetings, we have a federated portal which is using JCo connections as part of the MSS/ESS business package. We had a situation where the SLD was down therefore the JCo connections were down. Our question is JCo connection completely dependent on SLD. In other words if SLD is down, will that mean our JCo connection will fail thus an outage.
    If this is the case what is the best way to make sure SLD is highly available? Our options are to make SLD highly available or distribute SLD on each system.
    Also, what is the performance hit on making SLD distributed on all Portal system if this the route we go?
    Thanks in advance!

    Hi,
    The distributed SLD servers can cause higher administration expense with regard to consistent data. Therefore, we recommend that you consider to use a single SLD server first.
    but for large system landscapes that are distributed over different geographic locations, a single SLD server might slow down the performance of involved application systems. In this case, a distributed SLDserver installation can be taken into account.
    Samrat

  • How to generate biphasic pulses and change parameters?

    Hi I am a beginner. I need to know how to generate biphasic pulses. What are the functions i need to use(the logic involved in labview to generate)? I should be able to change the parameters like duration,interval during the course of the program.

    Greetings:
    You can go to the Analysis/waveform/signal generation toolbox and find Pulse Pattern. You can set the duty cycle, frequency and phase with the standard controls.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • Doubt is uning and changing parameters

    Hi all
    I get to know that if we pass a actual parameter with using value addition to a formal parameter , even if the values got changed inside the subroutine ,it will lost its changed value and turns to original value when its out of the subroutine. (Correct me if i am wrong).
    If the case is like this if v pass a actual parameter with the changing value addition what will happen..i got an example with the answer here it is
    REPORT demo_mod_tech_example_3.
    DATA: op1  TYPE i,
          op2  TYPE i,
          res  TYPE i.
    op1 = 3.
    op2 = 4.
    PERFORM multip
              USING op1 op2
              CHANGING res.
    WRITE: / 'After subroutine:',
           / 'RES=' UNDER 'RES=', res.
    FORM multip
           USING value(o1) TYPE any
                 value(o2) TYPE any
         CHANGING value(r) TYPE any.
      r = o1 * o2.
      WRITE: / 'Inside subroutine:',
             /  'R=', r, 'RES=', res.
    ENDFORM.
    This produces the following output:
    Inside subroutine:
    R=         12 RES=          0
    After subroutine:
                  RES=         12
    Can anyone help me how it arrived the result ???
    Thanks in Advance
    Arun Joseph

    Hi,
    1.You are using the pass by value.With this Whatever values are in the form are not replace by the passed in values.
    2.If pass as reference then it can affect.
    By default if you pass a varaible as Using , you cannot change the value of it in the subroutine but in case of chianging it can be.
    Now you can pass the value of using paramater by pass by value , it allows you to change the value in the subroutine but once you are out of the subroutine the changed value is lost and the original value is retained.
    So in case you want to change value of a parameter you are passing to a subroutine use changing and if you just want to use its value then use using.
    3.http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db979d35c111d1829f0000e829fbfe/frameset.htm
    4.pass by value ->
    go through this link
    http://www.supinfo-projects.com/fr/2005/begin_sap_abap/4/
    pass by reference->
    go through this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cb/40193c45f9fa13e10000000a114084/content.htm
    regards,
    Shiva.

  • What is different between connection and session parameters of dispatcher

    I can not find any info about the difference.
    I think "connection" is the connection between a dispatcher and a client, and "session" means the connection between a dispatcher and an instance.
    but I am not sure about it. am I right?
    there is another parameter named pool, it is used for what?
    the pool for connections(i.e. "session") between a dispatcher and an instance?

    I can not find any info about the difference.
    I think "connection" is the connection between a
    dispatcher and a client, and "session" means the
    connection between a dispatcher and an instance.
    but I am not sure about it. am I right?
    there is another parameter named pool, it is used for
    what?
    the pool for connections(i.e. "session") between a
    dispatcher and an instance?Hey
    After authentatication username/password database session starts whereas how user request will be handel it will be defined by conection.Either dedicated or shared Server.If U have not enough resource to handle user request and also you have application that is not using very long runing query then think to use shared server conection and if U have enough resource and very long runing query or transaction think about Dedicated Server.Both are different "SESSION" and connection.Conection determine hove request will be handled either by sharing resources(session memory,run time sql,bind variable) and
    process through (DSPATCHER and SHARED SERVER ) process or every user will have their own dedicated resources or Server process.
    Both in both cases after user/password session get created .it is the conection from client to database.
    regards
    Tinku

  • Unable to create the JCO connections in webdypro (JAVA) No SLD Connection

    HI All,
    In webdynpro i am unable to create standard JCo connections. create Jco connections and Maintain Jco COnnections are disabled. when i click any of the standard content of the Jco connections it displays error message No sld check. But SLD is running fine. I have checked in Visual Admin there also SLD supplier is running fine.
    But i am unable to create or maintain the Standard content of the JCo Destinations.
    Thank You,
    Mahesh C

    Hi ,
    I am having all admin rights. And also i have checked in Check SLD Connection. It showing the error connection to SLD Could not opened successfully. But SLD is running fine and i have checked in Visual admin SLD datasupplier is running fine.
    When i check in the log of the SLD there it is showing
    #2852 11/18/2008 18:27:18.265 [SAPEngine_Application_Thread[impl:3]_29] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors.
    Thrown:
    com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.
    Is that i need to change the CIM content?
    I could not able to get clue on this.
    Thank You,
    Mahesh C

  • JCO Connection

    Hi Experts,
    We use two types of JCo connections while connecting to back-end .
    1 . Modeldata
    2 . Metadata
    What is the use of each type of JCO connection ?
    Thanks a lot .

    Hi jain,
    I think you have posted some wrong part in your post.
    There no two type of JCo Connections; but you can create one JCo connection and specify different parameters to it; one is model data and other is meta data.
    model data - shows the default logical system name for model  instances that we use in application.
    meta data - shows the default logical system name for RFC metadata (Backend R3 meta data).
    and both together forms the JCo Connection for the WebDynpro  Front-end application.
    You can find more idea by login to ContentAdministrator and find your application name and view.
    Regards
       - Vinod
    Edited by: Vinod V on Apr 3, 2008 10:20 AM

  • Multilingual JCO connection setup

    We want to make our Portal multilingual with the following setup. We have Portal 7.31 installed with following technologies,
    - Java web dynpro applications using JCO destinations using user mapping (one hard coded userid/password), language specified in JCO destination is English.
    - DynPage HTMLB applications using System landscape connection to SAP using user mapping  (one hard coded userid/password). "Master locale" specified in the Landscape object is English
    I wanted to change the language attribute in the JCO connection and landscape object so that the RFCs know the language required to send the data back. For JCO connections I can make another french language JCO destination and use that when user switches to french, probably I can do the same thing in case of system landscape object. Is this the right approach?
    Would leaving the JCO destination language empty use the Portal user's language preference? Even though I am using a hardcoded userid/password?
    Any help and direction appreciated.

    hi,
    In the J2EE Engine the RFC functions are implemented by the JCo RFC Provider service, which is used for processing ABAP to Java requests. A feature is provided for receiving calls from the SAP systems – this is done by registering the J2EE Engine as a RFC destination.
    The JCo RFC Provider Service processes calls from the SAP systems. It dispatches the calls to a stateless session bean, which is registered in the J2EE Engine naming system. By naming convention the JNDI name used is identical to the name of the SAP function module.
    cheers,
    jo

  • How to monitor  (Create /Delete )JCo connections

    Hi Gurus,
    can anyone give me a clear picture of monitoring the Jco connections ,am i want to create the new Jco connection ,and where do i set the max.no connections ..
    reward point guaranted
    regards,
    S.Rajeshkumar

    Hi Rajesh
    Read,
    http://help.sap.com/Business_Packages/EN/ca/115e4088dc0272e10000000a155106/content.htm
    regards
    Juan

  • Error while obtaining JCO connection in t-code RSPLAN

    Hi Gurus,
    I have installed ECC 6.0 SR3 and i have added BI_CONT and updated all the patches. But while trying to access the t-code RSPLAN and after clicking on the START MODELER button it is opening in a browser . after giving the user id and password in the browser , while opening the page it is showing the error " Error while obtaining JCO connection". and how to create jco connections in visual admin.
    can anybody please help me in this issue.
    Thanks in advance.
    Regards,
    Babu.

    Hi,
    when i was trying to open RSPLAN  T-Code in BI,    i  able to open start modeller it says that http://udnubd1:8003/sap/public/myssocntl?sap-client=320 and says that cannot  find server. So i request you please can anyone help me onthis issue.
    Thanks,
    Reddy

  • Close jco connection

    Hi
       Can anyone tell me how to retrieve the existing jco connection and close it. Can we write that code in wdExit.
    Thanks
    Vidyadhar

    Hi,
      Following code can be used
    AAAAModel thisModel =
                        (AAAAModel) WDModelFactory.getModelInstance(
         AAAAModel.class);
                   thisModel.disconnectIfAlive();
    You can call this code's method in wdDoExit()

  • Will system change effect JCO connections.

    Hi,
    We are connecting to other server. So will the changes in the system reflect in the JCO connections or we have to create JCO connections individually for each application??
    Is there any way to create JCOs for all applications together?
    Thanks,
    Zayed

    If you are referring to the generated metadata and modeldata JCo destinations after creating/importing a model, it's wise to choose meaningful names for them. In my opinion a good practice is to let them reflect the type of system (ECC, CRM, etc.) that they will connect to. You can use the same names for different models. These models will then use the same JCo destinations, which has the advantage that you will only have to change 2 JCo destinations (the metadata and modeldata) when your ECC system connection parameters change for example.

  • Settings SLD and JCO connection for Java Web Dynpro

    Hi BI Gurus,
    I'm a Business Intelligence newbye and I'm a bit confused about Web Dynpro configurations.
    I try to execute, through Netweaver Developer Studio 7, a simple java Web Dynpro who call the standard Flight List BAPI.
    My configuration is: NW 2004s installed on BI server (with java instance and j2EE Server) and Flight List BAPI stored on R/3 ECC. 5 System in another server.
    Now, my doubt are:
    1) in SLD Data Supplier (J2EE Visual Admin on BI Server) CIM configuration, what are the connections parameter necessary?The BI host or R/3 host?
    2)if I set BW system parameters in SLD and in NWDS when I try to run my simple web dynpro an error occour This is the output:
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_FLIGHTLIST_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.
    Correction Hints
    Accessing the System Landsape Directory (SLD) failed. Depending on the concrete reason (see root cause) check the following:
    is the SLD Supplier in the J2EE engine configured correctly? See the SLD documentation for more details about the SLD and about how to configure it.
    are all JCO destinations maintained correctly? Use the preinstalled Web Dynpro Content Admin application to check/edit the destination. Use the Ping and Test functions of the Content Admin to verify that each destination is properly configured.
    Additional information about the System Landscape Directory and the Web Dynpro Content Admin can be found in the SAP Developer Network (SDN) and in the Online Help for the SAP Web Application Server (installed with SAP NetWeaver Developer Studio and available online).
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    3)where can I create new JCO connections?What are the requirements settings?
    I am always available for answers about the post!!
    Help me please!!
    Thanks thousand and sorry for my incorrect english!!

    Andrea,
    You can Create the JCo destination from Content Administrator. You must login as Administrator.
    use the link as
    http://<server>:<port>/webdynpro/welcome/Welcome.jsp, select Content Administator->Create JCo Destinations/Maintain JCo Destinations.
    Please have a look on the following links regarding creating/maintaining JCo destinations. The are usally asked questions regarding JCo destinations.
    Create JCo destinations:
    /message/4947478#4947478 [original link is broken]
    Creating JCO Destinations
    /message/5369333#5369333 [original link is broken]
    Rgs,
        Dni

  • How to change JCO Connection in a WD project?

    Hi to all,
    I want to deploy my WD projects to another J2EE server, but I have to change the JCO connection (modeldata and metadata) in my WD projects, otherwise I can't deploy. Where can I re-assign the new jco connection?
    thank you very much,
    Antonio

    hi Antonio,
    you have to make two changes:
    1) double-click on the generated adaptive-rfc-class below "Models / <Name> / Model classes" and change the property "modelInstance_defaultLogicalSystem" in the Properties-Editor for the modeldata-connection
    2)double-click on the dictionary that was generated for your adaptive-rfc-call below Dictionaries and change the "Logical System Name" in the Properties-Editor for your Metadata-Connection
    kr, achim
    feel free to reward points, if this answers your question

Maybe you are looking for