Skip to Content
author's profile photo Former Member
Former Member

How can I obtain jco connection inside ep 7 ?

Hi all:

In my current EP 7, I have defined and setup one jco connections, the connections is for SAP HR ESS/MSS.

However, I want to create one small j2ee app to use this jco connections to connect to backend R/3. Is it possible to obtain jco connection inside that portal ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 09:13 AM

    Hello Jianhong,

    yes it is possible, if you are programming an portal component and you receive the IPortalComponentRequest object, then use next code:

    		IPortalComponentRequest req = ...;
    		IJCOClientService clientService = (IJCOClientService) req.getService(IJCOClientService.KEY);
    		String system = req.getComponentContext().getProfile().getProperty("System_alias");
    		IJCOClientPoolEntry poolEntry = clientService.getJCOClientPoolEntry(system, req);
    		JCO.Client client = poolEntry.getJCOClient();

    regards.

    mz

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 09:13 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 10:42 AM

    Hi,

    Refer the following link for JCo connection.

    JCOhttp://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">JCO>

    Rds,

    Shanthakumar.

    Assign points if useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 12:59 AM

    Hi all.

    Thanks , but in my small jsp application, how can I get the JCO connection ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.