Problem with Role and User Distribution to the SAP System

Hi to all.
I've a problem when i try to transfer roles from portal to SAP CRM. (System Administration --> Permissions --> SAP Authorizations).
If I select from the drop down list the SAP Alias corresponding to the connector to the target system an error is displayed:
class com.sapportals.connector.connection.ConnectionFailedExceptionConnection Failed: Nested Exception. Failed to get connection. Please contact your admin.
I think the problem is in the connector configuration since the connector test fails too (due to User attribution problems I think)
Thank you for any help!

Hello Mario,
I have the same problem.
Did you find a solution for this?
Please let me know.
Thanks in advance, Michael

Similar Messages

  • Problem with role and user; user can't see the table

    Hello forum,
    I've created a role:
    CREATE ROLE enr_service;
    GRANT CONNECT TO enr_service;
    GRANT ALL ON Locataires TO enr_service;
    GRANT ALL ON Batiments TO enr_service;
    GRANT ALL ON Sportifs TO enr_service;
    GRANT SELECT ON Epreuves TO enr_service;
    and also a user:
    CREATE USER ENR1 IDENTIFIED BY password QUOTA UNLIMITED ON USERS;
    GRANT enr_service TO ENR1;
    ALTER USER ENR1 DEFAULT ROLE enr_service;
    ALTER USER ENR1 DEFAULT TABLESPACE USERS;
    I can connect to the database with this user but when I try to query a table he's been granted access to I get an error message:
    SELECT * FROM Sportifs;
    ORA-00942: table or view does not exists
    I can't see what I've done wrong. Any help is appreciated.
    Sebastian

    user2019788 wrote:
    Hello forum,
    I've created a role:
    CREATE ROLE enr_service;
    GRANT CONNECT TO enr_service;
    GRANT ALL ON Locataires TO enr_service;
    GRANT ALL ON Batiments TO enr_service;
    GRANT ALL ON Sportifs TO enr_service;
    GRANT SELECT ON Epreuves TO enr_service;
    and also a user:
    CREATE USER ENR1 IDENTIFIED BY password QUOTA UNLIMITED ON USERS;
    GRANT enr_service TO ENR1;
    ALTER USER ENR1 DEFAULT ROLE enr_service;
    ALTER USER ENR1 DEFAULT TABLESPACE USERS;
    I can connect to the database with this user but when I try to query a table he's been granted access to I get an error message:
    SELECT * FROM Sportifs;
    ORA-00942: table or view does not exists
    I can't see what I've done wrong. Any help is appreciated.
    SebastianThat's probably because ENR1 doesn't have any table named SPORTIFS and he didn't qualify the table name with the schema name ...

  • Problem with Roles and Triggers

    I'm having a strange problem with Roles and Triggers in Oracle. It's a little difficult to describe, so bear with me...
    I'm trying to create a trigger that inserts records into a table belonging to a different user/owner. Of course, the owner of this trigger needs rights to insert records into this other table. I find that if I add these rights directly to the owner of the trigger, everything works okay and the trigger compiles successfully.
    However, if I first create a Role and grant the "insert" rights to it, and then assign this role to the owner of the trigger, the trigger does not compile successfully.
    To illustrate this, here's an example script. I'm using Oracle 10g Release 2...
    -- Clean up...
    DROP TABLE TestUser.TrigTable;
    DROP TABLE TestUser2.TestTable;
    DROP ROLE TestRole;
    DROP TRIGGER TestUser.TestTrigger;
    DROP USER TestUser CASCADE;
    DROP USER TestUser2 CASCADE;
    -- Create Users...
    CREATE USER TestUser IDENTIFIED BY password DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" QUOTA UNLIMITED ON "USERS";
    CREATE USER TestUser2 IDENTIFIED BY password DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" QUOTA UNLIMITED ON "USERS";
    CREATE TABLE TestUser.TrigTable (TestColumn VARCHAR2(40));
    CREATE TABLE TestUser2.TestTable (TestColumn VARCHAR2(40));
    -- Grant Insert rights on TestTable to TestRole...
    CREATE ROLE TestRole NOT IDENTIFIED;
    GRANT INSERT ON TestUser2.TestTable TO TestRole;
    -- Add TestRole to TestUser. TestUser should now have rights to INSERT on TestTable
    GRANT TestRole TO TestUser;
    ALTER USER TestUser DEFAULT ROLE ALL;
    -- Now, create the trigger. This compiles unsuccessfully...
    CREATE TRIGGER TestUser.TestTrigger AFTER INSERT ON TestUser.TrigTable
    BEGIN
    INSERT INTO TestUser2.TestTable (TestColumn) VALUES ('Test');
    END;
    When I do a "SHOW ERRORS;" after this, I get:
    SQL> show errors;
    Errors for TRIGGER TESTUSER.TESTTRIGGER:
    LINE/COL ERROR
    2/3 PL/SQL: SQL Statement ignored
    2/25 PL/SQL: ORA-00942: table or view does not exist
    SQL>
    As I said above, if I just add the Insert rights directly to TestUser, the trigger compiles perfectly. Does anyone know why this is happening?
    Thanks!
    Adrian

    Hi Raghu,
    If the insert rights exist only on TestRole, and TestRole is assigned to TestUser, I can do the INSERT statement you suggest with no problems if I just execute it from SQLPlus (logged in as TestUser).
    The question is, why does the same INSERT fail when it's inside the trigger?

  • Importing from BO XI R2 to 3.1 problems with Favorites and User Memberships

    I am having a problem when using the Import Wizard to import users and groups.  I marked it to import favorite folders for selected users and all groups and users.  Well, the user favorites folder keeps failing with "The owner of this Favorite Folder was not found" and the groups are not associating the users in the new system under the same alias with the groups.
    Old system I am using AD NTLM.  New system I am using AD Kerberos.

    Tim,
    Thanks for the info.  However, I think I need to be clearer.
    The AD plugin has been configured on the destination system with no groups mapped.  It has AD enabled and updated so the initial batch of users were imported in without any further manipulation. 
    When migrating the users and groups from the source system, all of the groups seem to have migrated over fine.  However, all of the users from the source that has AD did not migrate over to the destination system because it says there is a duplicate.  That is why the groups did not map these users and the favorites did not go through.. please let me know if this is not clear.
    I do not want to change all of the system users to Enterprise and then transfer them over as enterprise and then configure them as AD users... this may end up causing more problems and may not even work

  • Getting the No of Users logged in the SAP system

    Hi Experts ,
    I have the requirement of finding the No of Users ( User Ids) logged into the SAP system.
    Is there any database table or FM to retrieve this information.
    Regards,
    Abhishek Kokate

    Hi Abhishek,
    Check out transparent table : USR41 (User master: Additional data) This may be the table you want to use.
    Or
    You can use SUBMIT command with the above stated report (RSM04000_ALV) - export the output( ALV data) to memory and then retrieve to use it as you want (as an internal table).
    example :
    DATA  BEGIN OF itab_list OCCURS 0.
            INCLUDE STRUCTURE abaplist.
    DATA  END OF itab_list
    SUBMIT RSM04000_ALV
      via selection-screen
        EXPORTING LIST TO MEMORY
          AND RETURN.
    * To read from the memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = itab_list
      EXCEPTIONS
        not_found  = 4
        OTHERS     = 8.
    Hope this is help full to you  !!
    Salil.

  • ZGPGL - Copying Accounts and Cost Centers to the SAP system

    Hi all,
    When I try to copy accounts and cost centers from my excel mapping document to the SAP system I can only copy about 20 of them at a time. I have about 30,000 accounts and am wondering if there is a quicker way to do this.
    Thanks,
    Deki

    Write a catt script to create the GL account and cost center master data. they are relativley easy to learn and create. They work great for this. I have used them several times for that purpose.
    pls assign points to say thanks.

  • Problems with roles and ldapgroups in IDM 8

    Hello Guys,
    I'm facing a problem. I have to put users in ldap groups and i using roles. I have create an IT role and a Business role.
    I use the IT Role to add users in ldap groups through a rule and the business role to assign groups to a user. The business contains the IT Role.
    Normally, when i put a list of two groups in the rule, i must have user put in the two groups and if i remove one of this group in the rule, user must be removed from the choosen group. Unfortunatly, the second scenario doesn't work. I always have the two. And i can't removed the users from all groups.
    Is there something that i'm missing?
    I'm using IDM 8.A patch 2 and Sun Directory Server 6.3.
    The definition of my IT Role is :
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Role PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Role authType='ITRole' name='My Groups'>
      <ResetLimit count='0'>
          </ResetLimit>
      <Services>
        <ObjectRef type='Resource' name='RESSOURCE LDAP'/>
      </Services>
      <ContainedRoles>
      </ContainedRoles>
      <RoleAttributes>
        <RoleAttribute name='My Groups:#ID#RESSOURCE LDAP:groups'>
          <Comment>Auto generated by Role Mes Groupes</Comment>
          <AttributeName>groups</AttributeName>
          <AttributeValueRef>
            <ObjectRef type='Rule' id='#ID#RuleListeUserGroups' name='Rule Liste User Groups'/>
          </AttributeValueRef>
          <Requirement>Authoritative merge with value, clear existing</Requirement>
          <ResourceRef>
            <ObjectRef type='Resource' id='#ID#RESSOURCE LDAP' name='RESSOURCE LDAP'/>
          </ResourceRef>
        </RoleAttribute>
      </RoleAttributes>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#All' name='All'/>
      </MemberObjectGroups>
    </Role>Thanks All!

    i have it role mapped to ldap groups implemented successfully with the following...
    1. Instead of a rule adding to groups, you should have a resource attribute mapping ... this is described in the ldap resource adapter references....
    <AccountAttributeType id='101' name='ldapGroups' syntax='string' mapName='ldapGroups' mapType='string' multi='true' />2. Now have your IT ROLE to have the group population like the following
    <RoleAttribute name='MYROLE:RESOURCE-NAME:ldapGroups'>
          <AttributeName>ldapGroups</AttributeName>
          <AttributeValueString>
            <List>
              <String>cn=Wirelessaccess,ou=Groups,dc=example,dc=com</String>
            </List>
          </AttributeValueString>
          <Requirement>Authoritative merge with value</Requirement>
          <ResourceRef>
            <ObjectRef type='Resource' name='RESOURCE-NAME'/>
          </ResourceRef>
        </RoleAttribute>

  • [SOLVED] Problem with .htaccess and user dirs.

    Hi!..
    I write here because i have a problem with .htaccess files and url rewrites.
    I deployed a Cakephp[1] app in my /home/~asmerkin/public_html/books directory. This folder contains a .htaccess file with the following directives:
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^$ app/webroot/ [L]
    RewriteRule (.*) app/webroot/$1 [L]
    </IfModule>
    My server works well in user directories but it fails to rewrite urls. When i go to http://localhost/~asmerkin/books/ apache returns 404 error. If i go to apache log i find this:
    [Sat Sep 04 02:02:02 2010] [error] [client 127.0.0.1] File does not exist: /srv/http/home
    So the .htaccess is working but the url it rewrites is not correct. My httpd.conf file is this file[2]  and my httpd-userdir.conf is this one[3].
    So i'd like to know if somebody can help me with this issue. I tried everything without results.
    Thank you!
    [1]: Cakephp.org
    [2]: http://perkin.pastebin.com/g0dbbW2P
    [3]: http://perkin.pastebin.com/fprNYCRY
    Last edited by Perkin (2010-09-06 11:24:55)

    Finally i had to edit my .htaccess file adding a RewriteBase rule to it.

  • Having a problem with iTunes and internet radio. The programme keeps changing stations

    I'm abroad at present and using a wireless connection at the lab. Itunes keeps changing internet radio stations as a function of time,
    Any suggestions or os it a known problem with the current version?
    Don

    Try the following user tip:
    "Invalid drive X:\" install errors

  • Problems with environments and transactional mode in the Python API

    Hello everyone,
    I have been having problems with the Python API, and I wonder if anyone can comment? I am using DB XML version 2.2.13, with python 2.3 (RedHat linux WS 4.0) and python 2.4 (SuSE 10.1) with identical results. I started with a simple example:
    #!/usr/bin/python
    """XPath example from http://www.w3schools.com/xpath/default.asp
    ported to DbXML
    from bsddb3.db import *
    from dbxml import *
    books = """<?xml version="1.0" encoding="ISO-8859-1"?>
    <bookstore>
      [xml data omitted for brevity]
    </bookstore>"""
    if __name__ == "__main__":
        conFlags = DB_CREATE | DB_NOMMAP
        myMgr = XmlManager()
        myMgr.setDefaultContainerFlags(conFlags)
        myMgr.setDefaultContainerType( XmlContainer.NodeContainer)
        uc = myMgr.createUpdateContext()
        container = myMgr.createContainer("books.dbxml")
        container.putDocument("books.xml", books, uc)So far, so good - this works, and creates a container books.dbxml that I can open and query. Next, I try to instantiate the XmlManager using an environment:
    if __name__ == "__main__":
        envFlags = DB_CREATE | DB_PRIVATE
        conFlags = DB_CREATE | DB_EXCL | DB_NOMMAP
        myEnv = DBEnv()
        myEnv.open("/home/pkeller/dbxml_tests", envFlags, 0)
        myMgr = XmlManager(myEnv, DBXML_ADOPT_DBENV)
        myMgr.setDefaultContainerFlags(conFlags)
        myMgr.setDefaultContainerType( XmlContainer.NodeContainer)
        uc = myMgr.createUpdateContext()
        container = myMgr.createContainer("books.dbxml")
        container.putDocument("books.xml", books, uc)This fails with the following output:
    Traceback (most recent call last):
      File "w3school_xpath_c2.py", line 60, in ?
        container = myMgr.createContainer("books.dbxml")
      File "/scratch_bernoulli/pkeller/dbxml/install/lib/python2.3/site-packages/dbxml.py", line 125, in createContainer
        def createContainer(*args): return dbxml.XmlManagercreateContainer(*args)
    RuntimeError: Error: Invalid argument
    Segmentation faultA bit odd - I can't find anything in the docs about the required arguments to XmlManager.createContainer being different if an environment has been used explicitly.
    Anyway, I persevered (my aim being to use transactional mode in Python). Changing the environment and container flags like so:
        envFlags = DB_CREATE  | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE
        conFlags = DB_CREATE  | DB_EXCL | DBXML_TRANSACTIONAL | DB_NOMMAPThis change allowed the script to run, outputting the single classic line:
    Segmentation fault(the C++ API docs at http://www.sleepycat.com/xmldocs/gsg_xml/cxx/transaction.html#initializetransaction are incorrect by the way - there is no flag DB_TRANSACTIONAL).
    In spite of the segfault, the file "books.dbxml" was produced and could be queried by another application. A transaction log file "log.0000000001" was also written (10485760 bytes long).
    Running this last example again with "python -v" showed that the segfault was being produced during the python's cleanup phase:
    # clear __builtin__._
    # clear sys.path
    # clear sys.argv
    # clear sys.ps1
    # clear sys.ps2
    # clear sys.exitfunc
    # clear sys.exc_type
    # clear sys.exc_value
    # clear sys.exc_traceback
    # clear sys.last_type
    # clear sys.last_value
    # clear sys.last_traceback
    # clear sys.path_hooks
    # clear sys.path_importer_cache
    # clear sys.meta_path
    # restore sys.stdin
    # restore sys.stdout
    # restore sys.stderr
    # cleanup __main__
    Segmentation faultCan anyone clarify what is going on? I had been hoping to deploy DB XML as an alternative to something more admin-heavy, but with this behaviour that would be hard to justify. A dirty exit from Python means that no-one will consider trusting their data to this engine (or am I doing something wrong?).
    Regards,
    Peter.

    Peter,
    Your first failure -- invalid argument -- was due to an invalid combination of
    flags to DBEnv.open(). Along with DB_CREATE you need at least DB_INIT_MPOOL.
    As you can see, it worked once you added more flags.
    The second, cleanup problem (segmentation fault) is the result of out of order
    destruction of objects. This is fixed in the next release (later this year), but
    you can work around it by ensuring that your XmlContainer and XmlManager
    objects are deleted/cleaned up before the DBEnv object.
    Python will cleanup in reverse order of creation, unless you perform explicit
    deletions, which is also fine (e.g. del container, del myMgr).
    Explicit deletion is always safe.
    Regards,
    George

  • Web login (JSP, Servlet) with roles and users list stored using db4o

    Dear all,
    I would be grateful if someone of you (the masters out there) could help me with the build of an application where the first page will be a login page.
    The users will be devided in 3 categories (user, editor, administrator) and there member information will be saved in db4o database.
    If the user has not been registered in the past then a registration page should come up allowing him to be registered and keep his details in a db4o database on the same site.
    I am using JSEE8 and the site will be sent to a Tomcat server on the net.
    Please please please HELP

    I am giving some code for to redirect as the user is, But before that you have to made a extra coloumn "role" in your security table. and put admin, user as respective roles.
    doPost(HttpReq...........)
    String user = req.getParameter("UserName"):
    String pass= req.getParameter("Password");
    Then Connect the database with ur code ie class.forName etc
    String sql= "Select * from security_table where Username= ' "+user+" ' and Password= ' "+pass+" ' ";
    Statement stmt = conn.createStatement();
    ResultSet rs= stmt.exequteQuary(sql);
    if(rs.next)
    String S1=rs.getString("Username");
    String S2= rs.getString("Password");
    String S3= rs.getString("Role");
    if(S1.equals(user) && S2.equals(pass) && S3.equals.(admin)){
    req.sendRedirect(http:// full path name of the page)
    else if( S1.equals(user) && S2.equals(pass) && S3.equals.(user))
    req.sendRedirect(http:// full path name of the page)
    }else
    req.sendRedirect(http:// full path name of the Error page)
    }

  • Problems with "v", "]", and command keys on the keyboard

    Hi,
    On my MacBook, pressing either the "v" key or the command key to the left of the space bar, without pressing the other one as in a keyboard shortcut, pastes what is currently on my clipboard. Pressing only the command key to the right of the space bar, and not the "]" key in combination, moves me forward in my web browser. When I do press the "]" key, nothing happens (I had to copy and paste the "]" and the "v" for this post). Obviously this is somewhat annoying as typing anything with these two symbols becomes a chore. I am still able to use other keyboard shortcuts, however, but in doing so the command key either pastes from the clipboard or, if I'm using a web browser, moves me to the next page in my history before completing the shortcut. How can I fix this? Thanks.

    Try resetting your SMC.
    Resetting the System Management Controller >>
    Try resetting PRAM:
    1. Shut down the computer.
    2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    3. Turn on the computer.
    4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    5. Hold the keys down until the computer restarts and you hear the startup sound (bong) for four times.
    6. Release the keys.
    If neither help, you could have a hardware issue with the keyboard.
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group  iTunes: MacOSG Podcast
    Creator of 'Mac611 - Mobile Mac Support' (designed exclusively for an iPhone/iPod touch)

  • Problem with ALV and user defined selection screen. please help!

    Hi Experts,
           I have program which has a user defined selection screen 9001. On executing the selection screen i call a ALV using resuse_alv_grid function module.
    What problem I am facing is that when I press back button from ALV page it goes to the se38 editor instead of selection screen.
    How to resolve this?
    Thanks
    Gopal

    Hi,
    This might be due to LEAVE TO TRANSACTION statement. You might be running the program from SE38. Try to run the program using Z-TCode assigned to it.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was edited by: Bharat Reddy V

  • Probleme with Group and users

    And I have a lot of trouble when i insert user in group. On the 3rd user insertion in group, I have each-time a
    end-of-file on communication Channel.
    thanks a lot
    alexandre gaud

    Alexandre,
    This is not the forum for this type of questions. This forum is for PDK related questions.
    However, what version of Portal is this for and what Platform. I have not seen this issue, but with more information, we can test to see if this is a bug or configuration issue.
    null

  • I am having a problem with copying and pasting text into the Safari search bar.

    For example, when I copy and paste "Organic Chemistry: A Short Course" it will change to Organic%20Chemistry:%20A%20Short%20Course"
    It will then tell me it has failed to open page, even though my interenet is otherwise working.
    How can I fix this?

    What you tried worked for me. Try "Organic Chemistry -  A Short Course"    It took me to the same search result as what you are trying.

Maybe you are looking for

  • Water damage on retna screen MacBook Pro

    Does my apple care cover this type of damage ?

  • Second window loses focus

    Hi all, I set up a navigation between two wd applications within the portal. The navigation will open a new window once the user clicks a button in the first application. The navigation itself works well, however, the new window is always shown behin

  • Document is incomplete

    Hi, While creating sales order System showing document is incomplete,would you like to save or edit incomplete document.Whether I can save this or not.If not then what r the other customization i will,Please reply me this issue. thanks , Rajendra

  • What's new in 10g?

    HI! anyone has any ideas what will be new for spatial in 10g?

  • 2012 Active Directory compatibility

    Hi, i have 2 servers one with all the setup Active Directory (Server 2003) and a new one for ERP application (Server 2012). My question is Whether 2 servers, 2003 Active Directory compatible with 2012 Active Directory and how to. Thank you for your k