JCO connection without the use of HCM util.?

Hi Guru's!
I have developed a dynpage application where i call a function module inside sap, using the Sap Enterprise Connector.
I use this code to get the JCO connection, where "SystemIdentifier" is the System Alias parameter maintained in the portalapp.xml file eg. "SAP_R3_HumanResources"
the code looks like this:
public SapConnection(Object originator, IPortalComponentRequest request, String systemIdentifier) {
          try {
               IJCOClientPoolEntry poolEntry = Util.getJCoPoolEntry(originator, request, systemIdentifier);
               client = poolEntry.getJCOClient();
          } catch (BaseException e) {
               System.out.println("Fejl BaseException: " + e.getMessage());
          } catch (Exception e) {
               System.out.println("Fejl Exception: " + e.getMessage());
Normally this code works well, but today we where trying to use the iView in a portal which doesnt have ESS or MSS installed.
And therefore the HCM_util.jar is not deployed on the server.
So my question is: Is it possible to connect to the sap system using a System Alias, but wihtout the HCM_Util.jar ?
Help is very much apreciated!
Br
Ronni

Hi again.
Seems that i found another way to do this:
IJCOClientService clientService = (IJCOClientService)request.getService(IJCOClientService.KEY);
            IJCOClientPoolEntry poolEntry;
            try
                 poolEntry = clientService.getJCOClientPoolEntry(systemIdentifier, request);
Sorry for the commotion
Br
Ronni

Similar Messages

  • Is there any way to connect an iPhone to an external hard drive without the use of a computer?

    Hello All,
    I am planning to travel to Central America, and I want to take pictures with my iPhone. I only have 8 GB memory, so I wanted to take my 1 TB WD Mac External Hard Drive with me on the trip. Is there any way I can connect my iPhone directly to the external hard drive, without the use of a computer? Thanks in advance!

    The external hard drive has only one input port which is usb, so you can only use usb here. Also try considering online storage.

  • MetaData Jco Connection without MsgSvr

    Hi all!
    I have again a problem setting up the Jco Connections for the WebDynpro tutorial. Now, I'm able to create a JcoConnection for the application data, but none for the MetaData, because the IDes, I want to connect to, is not installed with a message server (in that case it really wouldn't make sense, as there is only one app server).
    So, please, can anybody tell me, if there is a way to define a MetaData Jco Connection without load balancing?! Or give me a hint, how I can make that tutorial run?
    Thx in advance!
    Nick

    Hi Nicolas,
    It is for load balancing purposes that message server is required for the creation of JCO metadata. When large volumes of users are accessing the metadata it becomes necessary that it should be load balanced.
    Also using the transaction SMLG you will have to add the message server to the Public logon group. Then only you can create the metadata connection
    Also check the services file for the entry sapms<SID> 3600/tcp
    Hope this helps you
    Regards
    Rohit

  • HT201250 Can I restore photo files from Time Machine without the use of an external drive?  I'm trying to restore lost photo files and I see them listed in Time Machine (without use of an external drive), but when I try to restore I get a error code 36.

    Can I restore photo files from Time Machine without the use of an external drive?  While I was transferring photos back and forth from a thumb drive something went haywire and my IPhoto was wiped clean!  When I click on Time Machine I see all the dated pages (without an external storage drive connected), go back to a date where all my photo files are there, click "restore", and I get the message:  "The Finder can't complete the operation because some data in file cant be read or written (error code - 36)"

    Thanks so much Terence.  I tried some of the fixes from that page, but then discovered the suggestion to compress the Time Machine Back up of the original library and transfer it as a zip back to my computer as detailed here:
    http://pondini.org/TM/E9.html
    That worked like a charm.  I really appreciate it. 

  • To find No.of JCO connections in the ABAP stack

    HI gurus!
    How can we find the no of JCO connections in the ABAP stack ! is there any possibilty to find this .........its an urgent and solutions rewarded with points
    regards,
    S.Rajeshkumar

    Hi Rajesh,
    You can not find no. of JCO connection fron ABAP Stack ......you have to login into JAVA Stack.
    <b>
    If useful ,Reward Points .</b>
    Thanks,
    Prashant.

  • JCo connection for the application data

    Dear All,
    Now, we configure BP for MSS. When we set JCo connection for the application data, from this link  http://help.sap.com/saphelp_erp2005/helpdata/en/29/d7844205625551e10000000a1550b0/frameset.htm we selected the method "Ticket".
    When we run the page in "Team" area, we found some errors as follow:
    - You do not have the authorization to start service sap.com/pcui_gp~isr/IsrStatusoverview
    - You do not have the authorization to start service sap.com/mssreccand/CandidateStatusOverview
    - Pages about "Employee Information" display Blank iViews.
    But if we set JCo connection for application data by using "User/Password" method (UserID have "SAP_ALL" profile in back-end system), the application work fine.
    Kindy advise us which method should be used to set JCo connection (Ticket or User/Password).
    If the method should be "User/Password", please advise authorization and user type for UserID that be used to map JCo connection.
    Thank you very much,
    Anek.

    Hi,
    Go through the contents in,
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/8f/67d27676ace84080964d4c4223bb3c/content.htm
    Hope this helps !
    Regards
    Srinivasan T

  • Running Predictive/Progresive outbound campaigns without the use of IVR

    Is it possible to run a predict/progers outbound campaign with a 3:1 (port:agent) ratio without the use of ivr
    could i instead place the customers on hold somewhere in icm while the agents are busy?
    just a thought...

    What you are asking for in essence is the ability to queue the call. This is only possible in an ICM environment with an IVR or with some other peripheral integration utilizing the Service Control interface.

  • Can a printer be set up on a iPad without the use of a separate computer? I want to get rid of my laptop and just use. IPad...

    Can a printer be set up on a iPad without the use of a computer? I won't to discard mt laptop and only use the iPad. I ordered a hp3050a which meets the spec....but it requires that the cd be used for see . this is fine for the initial set up but how do I fix or reconfigure if I do not have a computer?

    All you need to do is make sure it's a wifi configured print and connect the print and ipad over the same wifi network. Also make sure the printer is Airplay Capable.

  • The ipod is disabled, when i plug it in to my pc it says it can not connect without the passcode being put into the ipod, how do i fix it?

    the ipod is disabled, when i plug it in to my pc it says it can not connect without the passcode being put into the ipod, how do i fix it?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen        
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Image swipe on iBooks without the use of iBooks Author

    Im working on an e-book using calibre and dreamW. It contains lots of pictures. What i want to do is tap on one picture, make it pop at you (make it larger, just like it does when you tap on an image) but then from that be able to swipe to the next image, swipe back and so on. I manage to use JavaScript and make it happen in html, but not in xhtml...
    So i would really like to know before going any further, Is this action possible for iBooks without the use of ibooks Author?? in other words: Does iBooks allow the swiping gesture to see images within the normal swiping of the page
    Any thoughts, ideas? thanks!

    If you're looking to trap the swipe gesture and take some custom action with it, yes, it's easily doable within a hand-coded ePub and iBooks. We do it in our books to suppress the normal page turn response on certain controls. Trap the move event, act on it, and preventdefault.

  • Red Hat Cluster Suite without the use of RAC

    Hi,
    I want to install Oracle 9i/10g database on two nodes in linux redhat AS 3. I want to use Red Hat Cluster Suite for clustering and failover the Oracle db without the use of RAC. Is it possible and would it be sufficient enough ? Does Red Hat Cluster Suite support with Oracle 10g or just 9i ? With Red HAt Cluster Suite, would it require to have one virtual IP ?
    Thanks

    If you want failover all you need is a dataguard solution and skip out on cluster suite.
    If you want Distributed Database then you need RAC.. You can't implement a 9i/10g cluster per say by using an OS solution vs an Oracle solution.
    Node A - Primary
    Node B - Secondary
    Node A -> B (DataGuard redo replication)
    Process Management scripts to switch users from A to B and vice versa pending recovery of instances. Cluster suite has no involvement outside of what may be nice nice system management capability.

  • HT1766 Is there way of accessing your back up data without the use of an i-phone?

    Is there a way of accessing your back up data from the computor without the use of an i-phone?

    If it wasnt activated prior icloud wont help now. Did you ever use the save and print option to "send it itunes"?  I did that all the time prior to icloud to back up my docs. Then you can "copy from itunes" in the new document dialog.
    I still recommend doing the export to iTunes to create a local back up copy on ocassion.
    For future reference, To activate icloud for documents, go into the main settings app, tap icloud, then documents and data, and turn it on. Then go to the app (maybe numbers) further down the main settings list, tap it and turn on "use icloud".
    Jason

  • Direct wireless print without the use of a router

    Is it possible to print directly to the printer without the use of a router?
    This question was solved.
    View Solution.

    Hi Brad,
    Welcome to the HP Community Forum.
    OFFICEJET PRO X476 AND X576 MFP SERIES User Guide     says Yes
    See Page 118
    Reference:
    HP Officejet Pro X476dw Multifunction Printer
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • How to sort random number without the used of order by

    Hi ,
    how should 5 random number be sorted without the use of order by in PLSQL
    eg.
    id amount
    1 2
    2 9
    3 3
    4 5
    5 7
    Edited by: sake1 on 1-dec-2010 8:16

    I used Altavista and found one example, how does it look?
    DECLARE
      /* there is no built array in oracle, you must declare
      your own */
      TYPE Numarray IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
      /* the array of numbers - using assoc array because I can start
      with zero like traditional arrays */
      Nums Numarray;
      n NUMBER := 0;
      Temp NUMBER;
    BEGIN
      /* load up the array, put 20 random values in the array,
      in array indicies 0 to 19 */
      FOR i IN 0 .. 19
       LOOP
        Nums(i) :=  Round(Dbms_Random.Value(1, 1000));
      END LOOP;
      /* get the array size */
      n :=  Nums.Count();
      /* display the unsorted values - loop through the whole array and
      print out the values */
      Dbms_Output.Put_Line('unsorted:');
      FOR i IN Nums.First .. Nums.Last LOOP
        Dbms_Output.Put_Line(Nums(i));
      END LOOP;
      /* bubble sort - using two loops, compare each value with the one
      after it
      if the one after the current one is smaller , then
      switch their locations in the array, this is just like standard
      bubble sorts
      in other languages. The only real diff is the syntax.
      FOR i IN 0 .. n - 1 LOOP
        FOR j IN 0 .. n - (i + 1) - 1 LOOP
          IF (Nums(j) > Nums(j + 1)) THEN
            Temp := Nums(j);
            Nums(j) :=  Nums(j + 1);
            Nums(j + 1) :=  Temp;
          END IF;
        END LOOP;
      END LOOP;
      /* display the values sorted */
      Dbms_Output.Put_Line('sorted');
      FOR i IN Nums.First .. Nums.Last LOOP
        Dbms_Output.Put_Line(Chr(9) || Nums(i));
      END LOOP;
    END;
    unsorted:
    155
    909
    795
    977
    942
    214
    105
    269
    283
    820
    108
    594
    784
    921
    856
    736
    802
    457
    951
    411
    sorted
         105
         108
         155
         214
         269
         283
         411
         457
         594
         736
         784
         795
         802
         820
         856
         909
         921
         942
         951
         977
    */In the code the first comment is wrong actually i think, that one:
    "there is no built array in oracle, you must declare your own"
    I remember there were some system collection-types, if i'm not mixing with something, i remember there was some kind of such but they were un-documented ones, so we can juridically say that the comment in the code was still correct.

  • How to buy application on App store without the use of credit card?

    Hello! I would like to ask if there is a way to buy application on the app store without the use of credit cards
    I have a debit card. can i use a debit card instead?
    i'm from the Philippines by the way.

    Debit cards not accepted in all areas. Use an iTunes gift card if you have
    no credit card.
    In countries where the iTunes Store only sells apps, the accepted payment methods are Visa,
    MasterCard, and American Express. Other payment types such as gift cards, store credit,
    monthly allowances, ClickandBuy, and PayPal are not accepted. Depending on your App Store
    country, prices may be listed in your local currency, US Dollars, or Euros.   
    http://support.apple.com/kb/HT5552

Maybe you are looking for

  • Integration between EP & BW (with multiple application server)

    Hello Experts, We are configuring JCo Rfc Provider using visual administrator. We have Successfully used Note No##Note 917950 - SAP NetWeaver 2004s: Setting Up BEx Web,For Our Development  & QAS BW & EP Server.(Single application Server) But on our P

  • Suddenly slow macbook pro

    My macbook pro suddenly became very slow ,I've tried few tricks with no joy Can anyone help please? EtreCheck version: 2.1.7 (114) Report generated 29 January 2015 19:08:41 GMT Download EtreCheck from http://etresoft.com/etrecheck Click the [Support]

  • Regarding code

    Please correct this code public class obj{ private String objval; public obj(String val) objval=val; public String tostring() return objval; public static void Change(obj o,int i); o.objval="value 2"; o= new objval("value3"); o.objval="value 4"; i=2;

  • Ora-4031&ora-1280 error-Shared Memory Problem

    Sir , I am using oracle Streams for Data Replication I am facing the problem while confifurung cApture Process..It is giving error-ora-4031 description Ora-4031-Unable to allocate <n> bytes of shared memory ( "Shared Pool","Unknown Object ","Streams

  • 2 Iphones on one MacBok Pro?

    I have my IPhone 3G, that I synchronise on my MacBook Pro. My wife would want an IPhone too, but I would like to synchronise that one on the same MacBook. Is that possible? And what if I want to make the new Iphone (probably a 3GS) mine: can I change