R/3 connection using JCA For Ep 6.0 SP2 !!

I am able to connect to R3 system from the Ep 6.0 Sp2 portal using IConnectorService (JCA).
I am trying to find a solution where I can generate java proxy for BAPI's so that I can eliminate data mapping between R3 and Java in EP 6.0 SP2 environment.
In EP 6.0 Sp4, the Netweaver Developer Studio provides a "SAP Enterprise Connector" wizard which generates proxy classes for java but uses JCO to connect to R/3 system. It is very usefull since the mapping of data types can be done in one place for all BAPI's which needs to be called from the portal and also I do not need to constatly look at the SAP GUI for BAPI definitions and return types. I can look at the java proxies to know exactly what I need to pass to invoke a BAPI and what I am getting back. I really like these connector wizard.
Is there a way to generate proxies using some tool for EP 6.0 sp2 using JCA as the mechanism since it is recommended to  use JCA from EP 6.0 onward instead of JCO for better performance and management of R/3 connection ??
I appreciate your help !!

Thanks Will.
I have two choices to connect to R/3 system from EP 6.0 Sp2 ...
1) JCA : If I use JCA, I may have to write the layer of
         mapping the data and calling the BAPI's from R/3
         system to java.
2) JCO : I can use the "SAP Enterprise Connector" wizard.
         The only thing I have to make sure is R/3
         connection management using IJCOClientService 
         and JCOClientPoolEntry.
I am also aware that the iView's I am writing will be used by lot of users since we are migrating an existing applications functionality to SAP Portal.
So my question is, Which way should I implement the connection to R/3 so that I can achieve better performance and scalability ??
Thanks again for your help !!

Similar Messages

  • Mdm server connectivity using JCA

    hi need code for mdm server connectivity using JCA.
    Regards,
    venki.

    Hi venki ,
    Go through these links it may help you with a better understanding on the topic:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_con/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373131333330%7d
    MDM JCo Connection takes a long time
    MDM connectivity to java application
    Hope It Helped,
    Kindly Reward Points if found useful
    Thanks & Regards
    Simona Pinto

  • MDM connectivity using JCA

    hi friends,
    I want to connect MDM server using JCA
    can you please provide me the sample code for that.
    Regards,
    Venki

    Hi Venki,
    I'm trying to connect to SAP systems from my webservice provider with the help of JCA, could you help on this.

  • RFC connection using JCA

    Hi,
    Can anyboby send me the par file for updating data (set the data in the fields) through RFC using JCA.
    URGENT....
    Thanks,

    Hi Prakash,
    Could you please send me a sample example of making the connection to EIS application using CFDK API.
    It's very urgent pls do the needful for same. any other help in this context will be appreciated.
    If possible mail me all the details on my email id.
    regards,
    parveen
    [email protected]

  • Anyone else having an issue with TCP connections using iCloud for Windows?

    Hi,
    Before I asked this question, I did wait to see if any related questions came up, but none did, so I submit it now.
    On my admittedly older laptop running Windows 7 64b Home, I've run into difficulties with the iCloud for Windows app to the extent that I had to uninstall it.
    It would that, as my laptop was running, in the background, iCloudServices.exe would endlessly iterate TCP connections, which, while not actively sending or receiving any data, after some hours would number over 100 instances, taking up resources, and grinding my laptop's WiFi connection to a grindingly slow pace. I ended up, within the app, turning off everything, iCloud Drive and Photos, (I never used bookmarks), but still this would continue to occur.
    I contacted Apple Support, explaining what was going on, and they stated they only dealt with IOS and gave me a Microsoft Support number. When I called Microsoft support, I came more and more to the realization that the issue was specifically with the iCloud for Windows app, as that was the only software that was endlessly creating and not closing TCP connections as it was. How was Microsoft supposed to solve an issue with Apple code?
    So I called Apple back, whereupon they insisted it was a Microsoft issue. I explained other cloud services installed on the same computer were not having the same issue, it was unique to ICloudServices.exe. They stated they only dealt with IOS. I stated I purchased an iPad Air less than 7 months ago, and was trying to run iCloud in support of that.  They again stated they only dealt with IOS, and suggested I again try Microsoft. I asked them if it was reasonable to expect Microsoft to solve issues with Apple code? They said regardless, there was zero support offered for anything having to do with Windows, and all I could do was uninstall the app, which I did, though that did not feel very satisfactory to me. My thinking is, if Apple writes a Windows app in support of their hardware, they should offer support for it.
    Anyway, I was just wondering, is this an issue unique to me? or have others experienced a similar issue? I found this issue by opening the Windows Resource Monitor, looking under the Networking tab, and scrolling through the TCP Connections section to find 100+ concurrent iCloudServices.exe instances listed, whereas even Chrome, with multiple tabs and extensions, topped out at around 20.
    My one month old Desktop, DYI, sports a solid Asus 1150 MoBo, i7-4790k cpu, 16GB Ram, and an EVGA GTX 970 video card. I list some specs only to illustrate this computer has no hardware issues in comparison to my long in tooth laptop. On this desktop, running Win 8.1 Pro 64b,  at least as many, identifiably Apple, background service TCP connections are created even compared to Chrome, regardless of many tabs being open, many extensions, and even some related apps. Adobe does not even come close, though I run the full CC subscription. On this new computer, running Windows 8.1 Pro 64b, there are currently over 50 TCP connections and loopbacks that do not identify themselves, with just a - for the Image, and PID. With the experience on my laptop, I wonder how many of these are generated by Apple software, if not specifically iCloud software?
    The frustrating aspect of these connections is they seem in no way active, While the Chrome and Adobe connections can be seen to be transferring data, as long as I am not running iTunes, or so have my iPad actually plugged in, it seems 99% of the time these iCloudServices.exe connections are just taking up ports, neither sending nor receiving any data discernable to me under the Processes with Network Activity, or Network Activity lists, both displayed in the same window as the TCP Connections in the Windows Resource Monitor.
    Though I am fairly ignorant as regards coding, it seems as if there is no call to close a connection, very specifically, iCloudServices.exe, when it is no longer needed, and the next time a connection is needed, a new one is opened, rather than accessing the one previously opened. The only other reason I could imagine this might be occurring is if my Norton Internet Security software might mask and/or block the port after a certain time of inactivity.
    Anyone out there have any ideas or advice about this? Thanks in advance.

    Thanks jared,
    I'm still dealing with this issue through Apple. Some time after I posted this, I contacted Apple again. They did start a case up for me, as I was experiencing the same behavior on two different machines, with two different versions of Windows.
    So far it remains unsolved. I've logged iClouds for Windows on my desktop, which is brand new, then logged for awhile after completely uninstalling Norton Security Suite, depending on the Microsoft security for some time, and finally logged after I uninstalled iCloud for Windows, restarted, installed a clean download, and connected using a completely different test account, which Apple set up for me. None of this made any difference. Looking at the logs, it seems every 10 minutes, iCloudServices.exe creates a new TCP connection to confirm I'm using less than 5GB on iCloud, (which I am by a good margin, using less than 2GB), it seems this connection is not closed, and when the next iteration rolls around 10 minutes later, a new TCP connection is created. I come very close to having 6 TCP connections created per hour, until I restart my computer. This works out to... 6 x 24 = 144/day.
    Perhaps the article you posted will shed some further light on this. I'm thinking seeing the state of the connection through netstats, at the least, could help.
    For the last week, I've been putting a hold on further logging, as Apple wants me to create a new user account on one of my computers, install iCloud for Windows there, and log it running in the other account. This however basically means I cannot use my computer for a fair number of hours, and I've been busy enough with work the past week that I haven't the time or energy to afford to set this up and run it. I've had need of my computers too much for the past week.

  • Domino connectivity using CA for registrations

    The default mechanism to provision to Lotus Notes is to use an Admin and a Certifier IDs. Is there any way to configure the SIMs Domino gateway to utilise the Lotus Certificate Authority (CA) for registrations rather than providing access to the certifier ID and password?

    The default mechanism to provision to Lotus Notes is to use an Admin and a Certifier IDs. Is there any way to configure the SIMs Domino gateway to utilise the Lotus Certificate Authority (CA) for registrations rather than providing access to the certifier ID and password?

  • JCA for JDE-XE - Looking for more inbound and outbound service examples

    Where can I find more examples using JCA for JDE-XE inbound and outbound service / events.
    Edited by: Channu on Sep 23, 2011 1:37 AM
    Edited by: Channu on Sep 23, 2011 1:37 AM

    Hi Ralf,
    Yes, if you put a deny http, it would drop all packets for destination as http port, but be mindful that when you apply an access-list on your inside interface, it automatically activates the deny ip any any right at the bottom, you would be able to see that in the ASDM. So for the users that need be allowed access to the http, needs to be explicitly allowed http access, so your correct configuration would be:
    access-list inside_access_in deny tcp host 192.168.1.1 255.255.255.255 any eq http
    access-list inside_access_in permit tcp any any
    access-group inside_access_in interface inside
    This would block 192.168.1.1 to go to internet, but allow all others.
    Second question, i haven't chceked the ASDM, but just remember out of memory, that this service option should be the protocol, whether ip,tcp,udp,esp or gre etc.
    Moreover always try to block connections as closed to the source as possible, this would mean, if you want to filter traffic going from inside to outside, that should be done on the inside interface not outside.
    Thanks,
    Varun Rao
    Security Team,
    Cisco TAC

  • How to create a iview in eclipse for connecting  R/3 using JCA?

    Hi everybody,
           I want to create a iview in eclipse for connecting  R/3 using JCA. Can any body send me java code for this purpose. i tried one example from sdn in eclipse but i did't get any code for the same.
    thanking you
    Rajendra

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/sap connector examples download.htm

  • Custom iView Connecting to SAP R/3 system using JCA !!

    I did not get any response on the Portal forum so posting it again in the WebAs forum ...
    Environment : SAP Portal : EP 6.p SP2
    I am using JCA to connect to the SAP backend systems.
    The following code connects to the backend ...
    IConnectionFactory connectionFactory = (IConnectionFactory) ctx.lookup("EISConnections/SAPFactory");
    IConnectionSpec spec = connectionFactory.getConnectionSpec();
    ((Map) spec).put("client", "CLIENT_NUMBER");
    ((Map) spec).put("UserName", "YOUR_LOGIN_ID");
    ((Map) spec).put("Password", "YOUR_PASSSWORD");
    ((Map) spec).put("logonmethod", "UIDPW"); // or SAPLOGONTICKET
    ((Map) spec).put("Language", "YOUR_LOGIN_LANGUAGE");
    ((Map) spec).put("ashost", "YOUR_APPLICTION_SERVER_NAME");
    ((Map) spec).put("sysnr", "YOUR_SYSTEM_NUMBER");
    IConnection client = connectionFactory.getConnectionEx(spec);
    I want to use the message server for load balancing. Is there a way to specify the message server and logon group ??
    These is the code to get the BAPI information ...
    // Create interaction
    IInteraction interaction = client.createInteractionEx();
    IInteractionSpec interactionSpec = interaction.getInteractionSpec();
    interactionSpec.setPropertyValue("Name", "REMOTE_FUNCTION_MODULE_NAME");
    // Create IFunction instance
    IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
    IFunction function
    = functionsMetaData.getFunction("REMOTE_FUNCTION_MODULE_NAME");
    // CCI api only has one datatype: Record
    RecordFactory recordFactory = interaction.getRecordFactory();
    MappedRecord importParams
    = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS"
    and the following code populates the input table parameters ...
    IStructureFactory structureFactory
    = interaction.retrieveStructureFactory();
    IRecordSet table
    = (IRecordSet) structureFactory.getStructure(
    function.getParameter("TABLE_NAME").getStructure());
    table.insertRow();
    table.setString("COLUMN_NAME_1", "VALUE_1");
    table.setString("COLUMN_NAME_2", "VALUE_2");
    table.insertRow();
    table.setString("COLUMN_NAME_1", "VALUE_1");
    table.setString("COLUMN_NAME_2", "VALUE_2");
    importParams.put("TABLE_NAME", table);
    The above code causes performance issues in the SAP system because the code is calling the following other BAPI through the JCA java api ...
    1) RFC_GET_FUNCTION_INTERFACE
    2) DDIF_FIELDINFO_GET
    Looks like, the JCA library is not caching the metadata information for the BAPI instead for each call, it is calling other BAPI's to get the BAPI metadata information. Also, if I reuse the same IFunction class instance for all connections (Using Singleton Class), it seems to make less "RFC_GET_FUNCTION_INTERFACE" bapi calls.
    The problem is with the input table structure which I need to populate for the BAPI. Every time the structure is populated, the internal BAPI's are getting called and it takes more time to populate the structure as number of users increases.
    I am looking answers to the following questions ...
    1) Specify message and logon group in JCA
    2) Provide a way to cache the metadata for the BAPI's
    More details about JCA can be found here ...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bc9baf90-0201-0010-479a-b49b25598ebf
    I appreciate your help !!
    Thanks
    Bhabesh Patel

    we updated JCO to the latest version for EP 6 SP2 Patch 8 and it fixed the issue.

  • Problem Creating Partner Link for Adapter Integrating with Tuxedo using JCA

    Hi All,
    This is the first time that I am working on integration tools. I will explain in brief the problem.
    There will be a legacy system (Tuxedo) running which connect to legacy database for requests. I am able to connect to that legacy system using Attunity Studio for getting the response back. Which is working fine.
    Now I want that to integrate with BPEL PM 10.1.2 using JCA. For this I followed this URL (http://www.oracle.com/technology/tech/java/oc4j/904/how_to/oc4j-jca-tux/onjava-jca.html). What happens here is, a simple servlet invokes a Session Bean that interacts the Attunity Server using the JCA. For that I am using oc4j container of BPEL PM 10.1.2. I could able to work it fine.
    For working with BPEL, I have created synchronous process, when try to create Partner link using Adapter service from WSIL browser, it is not coming in.
    Am I missed any important configuration at BPEL PM end.
    For doing this a followed the "tutorial 2" @ http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    In exact way, above provided tutorial 2 PDF, I failed at step "Configuring a BPEL Service to invoke the above Adapter Service" on page 11.
    Your help is highly appreciated
    Thanks
    Venkata

    Something to note. I tried adding the same BPEL services as partner links to a new application and new project on two other developer's workstations, and the creation of the partner links were successful.

  • Need sample code to connect MDM using JCA

    hi friends,
    I want to connect MDM server using JCA
    can you please provide me the sample code for that.
    Regards,
    Venki

    Hello Venki,
    why do you want to use JCo for connecting to MDM? MDM has its own specific Java API for this task. There's no need for using JCo at all.
    BR Michael.

  • I want to use wifi for Apple TV, but it doesn't prompt for a password, so never connects.  What am I missing?  Can I only use it via a non-password-protected wifi connection?

    I want to use wifi for Apple TV, but it doesn't prompt for a password, so never connects.  What am I missing?  Can I only use it via a non-password-protected wifi connection?

    Hi - you might want to post this question on the Apple TV area - you would probably get a quicker response - if you have a specific question relating to Apple routers then post back here

  • I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &T cellular data plan?

    I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &T cellular data plan?

    I have a 1st gen iPhone that I just updated the software to 2.0.2
    Now whenever I press the mail icon it goes to the mail app for about 4 seconds, does nothing, no loading of folders, old messages, nothing.
    Then it reverts back to the home screen. Tried restarting, haven't tried restoring, thought I'd look here first.
    Anyone???

  • Hi I have used my macbook pro with miniport to HDM, and it was working fine.  Hadnt used it for a month and now when I connect the TV, the screen on the mac goes blue then back to the page but nothing comes up on the TV. Any ideas?

    Hi I have a year old Macbook pro.  I was using a miniport to connect it to the TV via HDM cable.   It was working fine but I have used it for a couple of months kept it in a drawer and now it doesnt work.  When connected to the TV the screen on the mac goes blue as though there is some signal then back to original screen but the TV doesnt show what's on the laptop.  Please any suggestions, thanks??

    Hello nothingissecret
    Check out the article below for troubleshooting steps to resolve the issue. One would be to try a different cable or adapter to test with the television.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • I have bought an iPhone4 and to be able to use it for the first time I connected into a friends itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?

    I have bought an iPhone4 and to be able to use it for the first time I connected into a friends' itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?
    Now I also have a macbook where I can sync my iphone but it doesn't allow me

    first of all only sync it with 1 computers itune account
    second settings->general->store click the appleID box with her appleID in it and log out

Maybe you are looking for