JCO getDefaultConnection() not using RFC user from XCM

Hello,
I am writing a custom backend class to call a custom function module in R3 to get some data. As this has to run before the application start page is loaded, I have used a exit before the /b2b/startapp.do is called.
The problem here is that when I am using the getDefaultJCoConnection() method in the backend class which extends the IsaBackendBusinessObjectBaseSAP class, the JCO user is determined as the application user rather than the RFC user which I have configured in XCM. Because of this there is an authorization error as the application user does not have auth to the custom function group.
I have written many other exits in the application and they are all working fine and picking up the RFC user which has relevant authorizations.
Am I missing something here?
Pradeep

Thanks Easwar
stateless was giving me other issues.
I managed to solve the problem with the below code.
ManagedConnectionFactoryConfig mConfig = (ManagedConnectionFactoryConfig)    (getConnectionFactory().getManagedConnectionFactoryConfigs().get("JCO"));
Properties props = mConfig.getConnectionDefinition("ISA_COMPLETE").getProperties();
connection = getDefaultJCoConnection(props);
Pradeep

Similar Messages

  • I know that iCloud backs-up apps and other stuff to your phone incase you want restore from a back-up if you start a New iPhone. My question is if I start a new iPhone (not use the restore from back-up option) and redownload apps like (games, Instagram),

    I know that iCloud backs-up apps and other stuff to your phone incase you want restore from a back-up if you start a New iPhone. My question is if I start a new iPhone (not use the restore from back-up option) and redownload apps like (Games, Instagram), would my pics show up on Instagram and would my Games show it was saved and the acccomplisments will remain from the last place I left out.

    Davin12 wrote:
    I know that iCloud backs-up apps and other stuff to your phone incase you want restore from a back-up if you start a New iPhone. My question is if I start a new iPhone (not use the restore from back-up option) and redownload apps like (Games, Instagram), would my pics show up on Instagram and would my Games show it was saved and the acccomplisments will remain from the last place I left out.
    Icloud or itunes backup, only backs up app data, not the app itself.
    so if you restore as new, then there is no app data on your phone, you start out new...

  • I am making my first keynote presentation.  I transferred the slides from a power point.  I did not use a 'theme' from keynote.  Keynote will not let me 'name' the presentation and the 'save as' option will not come up in the menu.  What have I done wrong

    I am making my first keynote presentation.  I transferred the slides from a power point.  I did not use a 'theme' from keynote.  Keynote will not let me 'name' the presentation and the 'save as' option will not come up in the menu.  What have I done wrong

    When it comes to Keynote, I try and start with a presentation that's 1680 x 1050 preset or something in that range.  Most projectors that you'll get at a conference won't project much higher than that and if they run at a lower resolution, it's better to have the device downsize your Keynote.  Anything is better than having the projector try and upsize your presentation... you work hard to make it look good, and it's mangled by some tired Epson projector.
    As far as slides go, scan them in at 150 dpi or better, and make them at least the dimensions of your presentation.  Keynote is really only wanting 72dpi, but I do them at 150, just in case I need to print out the presentation as a handout later, and having the pix at 150 dpi gives me a little help with their quality on a printer.
    You'd probably have to drop in the 150 versions again if you output the Keynote to .pdf or Word or something, but at least you have the option.
    And Gary's right (above) go ahead and scan them as TIFFs.  Sooner or later you'll want to do something else with these slides (like make something for an iPad or the like) and having them as TIFFs keeps your presentation looking good.
    Finally, and this is a big one, get to the location for your presentation ahead of time if you can, and plug the laptop in and see what you get.  There's always connection problems. Don't let the AV bonehead tell you everything will work just fine ('... I don't have any adapters for a Mac...') .  See it for yourself... you're the one that's standing up there.  Unless it's your boss, then you better be really sure it works.

  • Why can i not use  my giftcard from aruba

    why can i not use my giftcard from aruba to buy in the itunes store

    that not tru i buy a lot of things with my giftard from aruba on other websides in the usa and it was no problem.
    why with the apple itunes store is it a problem i have my usa adressin miami, now i understands why they say that a galaxy is better than apple.
    there is now problems with this things

  • Do not use the Restore from Backup when upgrading

    For those having issues......
    Try to restore your phone as "New" and not from a backup. After you have a clean version iOS 4.0 on your phone customize your phone manually, do not use a backup. i know this can be a pain in the *** but it should fix most of the upgrade issues.
    I believe many of the issues are being caused by people using backups.
    For those windows user out there. Its like when you upgraded Windows to a new version. you always had glitches if you just did an upgrade vs a clean install.

    i used itunes to sync my contacts, apps, music, videos, pictures. i e-mailed myself all my notes and copied the pictures in the camera to my computer. i also e-mailed myself all my bookmarks.
    once everything was sync with iTunes i upgraded my apps within itunes so only the most recent versions would by put on the "new" phone.
    once the phone was restored as "New" i synced all my stuff back.
    I lost all my in app data and text messages by doing this method. I also lost my "favorites list" in the phone and all old voice mails.
    i had to reset up my apps, setup my e-mail, retype my notes, make new bookmarks and a few other items. Once i did all of this I made a new Backup and deleted all the old backups.
    If my phone breaks i know have a good 4.0 back up that has no 3.X data on it.

  • Problem in Fetching data using RFC FM from NON SAP system

    Hi All,
    Need help from experts on data transfer using RFC from a non SAP system/database. I have creasted the destination in sm59.
    I have created a function module too which has an import parameter as a query and export parameter as an internal table.
    No when i test run this function module it returns some entries. But when I call this FM in a program it throws a dump 'rfc_external_abort' .  Here is what the call to FM looks like in my program. Please guide me on this.
    Thanks in advance,
    Saket.
    DATA : lv_query TYPE string,
           it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT *  FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION  'D39'
      EXPORTING
        in_sql_query       = lv_query
    IMPORTING
       ET_GDDB_DATA       = it_gddbdata

    Hi,
    your question..
    DATA : lv_query TYPE string,
    it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT * FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION 'D39'
    EXPORTING
    in_sql_query = lv_query
    IMPORTING
    ET_GDDB_DATA = it_gddbdata
    you are telling that you are fetching the data  from non sap system  using RFC function module.. how it is possible..you canot fetch the data from non SAP system using RFC FM alone.. you have to use the concept BAPI.. it will work..
    I hope this will help  you..
    Regards,
    Kiran

  • Can not use XML API from Sun (JAXP)

    Some of my EJBs and Servlets uses XML API from Sun (JAXP) but after deployment the J2EE Container uses its own XML engine (Oracle XML Parser....) instead.
    I try to add JAXP library to my deployment file and test again but this problem still occurred.
    My question is how to add my libraries to J2EE Container and these libraries can be shared by any applications.
    Regards,
    Narong

    Please post this in the misc or xml newsgroup.
    vipuld shah wrote:
    i have an application which is running through javaWebStart
    if u start the application first time(through clicking on
    link of .jnlp file), it will download necessary .jar files
    & it will store those files in javaWebStart's cache.
    when u will visit second time, it will check files in cache
    with the files in server, if both are same, then it will not
    download but will use from its cache.
    it works fine for .jar files, but is it possible for some .xml
    files which are changing very rarely.--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Can BIP be logged in using BIEE user from external tables?

    I've setup the BIEE Session Initialization Blocks using data from external table in database.
    And now Oracle BI Interactive Dashboards can be logged in using user "sysadmin" which stored in external table.
    And user "sysadmin" has its group information of "XMLP_ADMIN" from external table
    But BIP can't with error like follows:
    PS: xmlp-server-config.xml
    <property name="COMPRESS_REPORT_DATA" value="false"/>
    <property name="BI_SERVER_SECURITY_URL" value="jdbc:oraclebi://10.100.100.69:9703/"/>
    <property name="SAW_SESSION_TIMEOUT" value="90"/>
    <property name="BI_SERVER_SECURITY_DRIVER" value="oracle.bi.jdbc.AnaJdbcDriver"/>
    <property name="SAW_PORT" value="9704"/>
    <property name="SAW_PROTOCOL" value="http"/>
    <property name="COMPRESS_REPORT_OUTPUT" value="false"/>
    <property name="SAW_URL_SUFFIX" value="analytics/saw.dll"/>
    <property name="SECURITY_MODEL" value="BI_SERVER"/>
    2009-06-28 17:32:50.484 NOTIFICATION connect to NQSSECONDARYCCS=;PORT=;SSLKEYSTO
    REPASSWORD=***;PRIMARYCCS=;USER=sysadmin;PRIMARYCCSPORT=;TRUSTANYSERVER=;LOGFILE
    PATH=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\3\;SECONDARYCCSPORT=;TRUSTSTOREPASSWORD=
    ***;LOGLEVEL=;SSL=;HOST=10.100.100.69;CATALOG=;PASSWORD=***;
    2009-06-28 17:32:50.703 NOTIFICATION connect to NQSSECONDARYCCS=;PORT=;SSLKEYSTO
    REPASSWORD=***;PRIMARYCCS=;USER=Administrator;IMPERSONATE=sysadmin;PRIMARYCCSPOR
    T=;TRUSTANYSERVER=;LOGFILEPATH=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\3\;SECONDARYCC
    SPORT=;TRUSTSTOREPASSWORD=***;LOGLEVEL=;SSL=;HOST=10.100.100.69;CATALOG=;PASSWOR
    D=***;
    2009-06-28 17:32:50.921 WARNING java.io.IOException: [nQSError: 43001] validate user sysadmin from St
    ar failed:invalid user/password
    It's wired that a user can login to Oracle BI Interactive Dashboards but can't to BIP while they use the same authentication.

    That should work..
    If you are able to login in BIEE with the external user,
    and configured BI security model as BIEE, then you should be able to login.
    May be, restart the services and try. this is not going to change any, but just in case, you have modified any setting for which the restart may be required.,.

  • Server admin not seeing directory users from workgroup manager

    I am setting up a new Xserve with Snow Leopard (get 'em while we can). We have eight other XServes running Leopard or Snow Leopard server. On those machines we have set up file sharing over AFP. The machines are connected to our Active Directory server and our users authenticate using their domain passwords. All of our other servers were setup in Leopard and were upgraded to Snow Leopard. We have not had any issues authenticating to those boxes.
    This is the first one that we have actually setup new-out-of-the-box in Snow Leopard. I can set Workgroup Manager up to connect to our AD, and can see and search my domain users and groups in Workgroup Manager. When I try to set up my File Shares in Server Admin, none of my domain users show up-only local accounts.
    What have I missed? In Leopard, when I connected to the domain, the users immediately became available in Server Admin. Not so in SL, at least on this box.
    Help?

    Hi
    The first thing to check is if you've bound the Server to the AD Domain. The second thing is if the /Active Directory/All Domains is in the Search Policy. If you don't do either of these WorkGroup Manager won't display anything coming from the AD Schema.
    In 10.6 Apple moved the Directory Utility from where it used to be in /Applications/Utilities and made it part of the Accounts Preferences Pane. Perhaps it's this change that's confusing you? I would not advise doing this but it's also possible you used the Server Setup Assistant to do most of the configuration? If you did maybe something went wrong at that stage (won't be the first time) and you need to manually bind the Server instead?
    As ever make sure this server is using the same NTP Server as the others.
    Tony

  • Removing Photos Not Used in Albums from Library

    Is there a way to filter out the pictures (within the Library) not being used in any of the albums and mark them for deletion? Is this something that either iPhote 6 or that another application might address?

    Hi dudestar,
    Make a smart album whose conditions are
    "album" "is not" "any"
    this should give you a smart album of all unassigned images.
    You can then use Command Option Delete to delete them from that folder and the library. Then you must empty iPhoto's trash and they will be deleted from the hard drive.

  • HT4061 I can't not use my AirPrint from my I pad 2

    I can't print from my I pad 2

    Setup AirPrint Printer
    1. Buy an AirPrint enabled printer; see list below
    http://support.apple.com/kb/ht4356
    2. Run the CD provided and set printer and iPad on the same network
    3. Start printing from your iPad using AirPrint
    Note: You need a AirPrint enabled printer

  • New Tab Page - thumbnails are not using the files from cache folder, but they want a connection to their origin website.

    Hi there,
    each time I visit a website, FireFox saves a thumbnail of all these sites for the "New Tab Page". Those thumbnails are cached in the 'thumbnails' Folder . That's so far ok for me.
    The problem is:
    Every time if I use the "New Tab Page" (...after shutdown & reopening the browser and only with 'mousehoover' on any thumbnail) all the thumbnails on that page don't use the cached thumbnails from the local profile folder.
    This means:
    Instead of using the cached thumbnail-files all(!) these thumbnails dials to their origin websites without(!) a mouseclick on any of these thumbnails (...see jpg pictures) !
    I'm using the "Clear history when Firefox closes" with the following options:
    privacy.clearOnShutdown.cache - true
    privacy.clearOnShutdown.cookies - true
    privacy.clearOnShutdown.downloads - false
    privacy.clearOnShutdown.formdata - true
    privacy.clearOnShutdown.history - false(!)
    privacy.clearOnShutdown.offlineApps - false
    privacy.clearOnShutdown.passwords - true
    privacy.clearOnShutdown.sessions - true
    privacy.clearOnShutdown.siteSettings - false(!)
    So, i can't believe that this homedialing of pinned and unpinned thumbnails should be a normal function.
    1. Screenshot: thumbnails in the New Tab Page
    2. Screenshot: the same thumbnails in the Cache Folder "thumbnails" (...also they are there after shutdown of Firefox)
    3. Screenshot: Dialing to the origin websites (...after restart of Firefox)
    The Browser Version is Firefox ESR 31.2.0 and in the installation are no Add-ons, which are - for example - prefetching linked websites.
    I would like to use the "New Tab Page" without 'homedialing', so the question is:
    How can I force the thumbnails to use the cached thumbnail-files ?
    or
    How can i disable the 'loading of content from their origin websites' already on mousehoover ?

    There is a preload pref available that you could try to disable on the <b>about:config</b> page.
    *browser.newtab.preload = false
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • Preference for not using middle names from address book in emails

    I have quite a few contacts that I have their middle names in my address book. When I type their name in a new email, their full name is displayed in the "To" field. I don't want the middle name to show up in my outgoing emails. I also don't want to delete everyones middle name from my address book. Are there any preferences or plugins that allow this behavior?
    I also have some contacts that I have nicknames for...the most glaringly obvious being "Mom" and "Dad." I don't want to send an email to my parents with their name in the "To" field. Is there a plugin or a preference for this as well

    Greetings,
    Sorry, but there's no way to do what you want. The only way to avoid using a middle name in the To: field is for you to delete that from your contact, and from the Previous Recipients list in Mail. The same would be true for those contacts where you have a nickname.
    But ultimately, the name use by Mail and Address Book would be determined by the recipient when they send you an email; if they use their full name, that's what Address Book will change it to.

  • Org Rule anlaysis when performing mitigation from risk analysis report do not mitigate the user from management summary report message!

    Hi,
    When in the User Level>Mitigation screen this comment appears  (*). When taking the path to  ‘summary’(a) or ‘detail’ (b) doesn't change when we select the button  MITIGATE RISK (**).  What was the intent of the below message?
    What is the intent of the message ?

    Hi Pranjal,
    please see note: http://service.sap.com/sap/support/notes/1972382
    Regards,
    Alessandro

  • Ipad Air will not use the hotspot from my Samsung Galaxy S4

    I just got my Ipad air WiFi ( 16GB).  I have a samsung galaxy S4 phone.  When I turn on my hotspot on the samsung  and connect to it from the Ipad, it says there is a connection, the WiFi symbol is on the Ipad, and then try to go to the internet and nothing happens. I then turned off my hotspot and turned on my boyfriends Iphone 4s hotspot and it worked instantly.  I have tried rebooting both devices as awell as try using an open network on my hotspot on the samsung. Still nothing! Both devices are up to date on everything. Has anyone else had a problem connecting thier samsung to Ipad?

    if it see the signal, and lets you join your galaxy hot spot - it should work.  But your carrier needs to know, and you need to have an accout that supports the use of a hotspot.  Att for example, charges $20 mermonth to allow tethering.  Is your account set up for that?

Maybe you are looking for