Need FM to know user and roles in given Objid

Hello experts ,
I need function module that to which I will provied Organization id and in retuen it should give me Roles and Users under it . First of all is there any function module like this ? If yes please provied with sample code if any.
Points will be rewarded .
Cheers
Parry

see this sample code.
DATA : BEGIN OF int_orient OCCURS 10,
           domvalue_l LIKE dd07v-domvalue_l,
           ddtext LIKE dd07v-ddtext,
           END OF int_orient.
DATA: ZPETS_PORTORIEN type dd07l-domname,
        int_values_table  TYPE dd07v OCCURS 0 WITH HEADER LINE.
  CALL FUNCTION 'GET_DOMAIN_VALUES'
    EXPORTING
      domname         = 'ZPETS_PORTORIEN'
      text            = 'X'
    TABLES
      values_tab      = int_values_table
    EXCEPTIONS
      no_values_found = 1
      OTHERS          = 2.
  LOOP AT int_values_table.
     int_orient-domvalue_l = int_values_table-domvalue_l.
    int_orient-ddtext = int_values_table-ddtext .
    append int_orient.
  ENDLOOP.
Rgds
Anver

Similar Messages

  • I have bought a iphone 5 second hand and i restore it and now i need the icloud original user and i don't know it!what can i do?i can not activate my iphone

    I have bought a iphone 5 second hand and i restore it and now i need the icloud original user and i don't know it!what can i do?i can not activate my iphone

    If you're able to contact the previous owner, send them this link and tell them to follow the instructions.
    If not, you can't activate the device but may be able to get it refunded.
    Apple won't remove the lock for anyone other than the original owner(assuming they're alive.)
    (112266)

  • How to use the user and role API's and where to use it

    Hi All,
    I have configured SSO for my UCM11g. Now my application authenticates through the Oracle SSO login page. Currently it is working with SQL authenticator.
    Now, i have to use LDAP authenticator. when i will configure the LDAP authenticator, i have to use the user and role API's to fetch the user profile information from LDAP. i have got the API's which will be used to fetch the respected information, but i am not getting as where i will write those java programs and how this API will be used in my application. what settings i need to do on it so that application uses the API's. ?
    Please can anyone help me on this.
    thanks,
    Saurabh

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • How to config the user and role in the runtime for executing in the GP?....

    Hi Experts,
    I am learning GP(Guided processor)according the document
    http://help.sap.com/saphelp_nw70/helpdata/en/44/0d5b8f250d5cfae10000000a155369/frameset.htmneed.
    I meet two question when I learn the GP.
    The first:
    This document don't tell me how to config the member framework of the company.  After I design the GP, I have to config the user and role in the runtime for executing. I hope I can use the WDA(webdynpro for java or webdynpro for java) to implement to config the user for executing in the runtime. Thus, the customer don't config the user when runing the GP. But I don't know how to do this.
    I need a document guide step by step to tell me how to do this.
    The second:
    If I use the workflow in the GP, I have to install and config the NWDI(Netweaver Development Infrastructure). Now I have installed the NWDI, but I don't know config it so that I can download it to my machine for develop the workfolw in the GP.
    Do you give me some hints? Thanks a lot.
    Thank a lot.
    Best regards,
    tao

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • Developing Custom User and Role Providers

    Hi
    I am new to Fusion Middleware and trying to develope a Custom User and Role Providers based on the pdf "Oracle® Fusion Middleware Application Security Guide 11g Release 1 (11.1.1) E10043-06"
    It mentioned a sample code "sampleprovider.zip" in chapter 18.10.7 Example: Implementing an Identity Provider
    I couldn't find this zip file anywhere, Can someone know this please let me know how to get this zip?
    Many Thanks
    djia002

    URL:
    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10043/devuserole.htm#CHDEBAEB
    18.10.7.1 About the Sample Provider
    The sample provider is bundled in <b>sampleprovider.zip</b>. Unzip the file. It should generate the following structure (...)

  • User and role permissions getting reset on managed server

              Hi..
              I am not sure whether this is really a clusteing problem. I have a clusted server
              with one admin server and one managed server. I have deployed the some of my own
              applications alongwith the Weblogic Integration application on the managed server.
              I have some users and roles defined in the BPM studio to access and execute the
              workflows.
              But every time I restart the managed server, the user and role permissions are
              reset and the workflows are not executed. I get the following error.
              ####<May 13, 2003 10:01:22 AM BST> <Error> <BPM> <hwdusa08> <managed1_eai2d2A>
              <ExecuteThread: '44' for queue: 'default'> <kernel identity> <11
              1:21ad542a0d3cc527> <000000> <<wlpirequest>
              <started>2003-05-13 10:01:22.230</started>
              <requestor>wlisystem</requestor>
              <templateid>1</templateid>
              <template-name> WLI Logging Framework V2.0 Installation test</template-name>
              <templatedefinitionid>1</templatedefinitionid>
              <instanceid>2001</instanceid>
              <actions>
              <error time="2003-05-13 10:01:22.427">WorkflowException: The server was unable
              to complete your request.
              The WebLogic Integration role "logging" is not mapped to a WebLogic
              Server security group.</error>
              </actions>
              <completed>2003-05-13 10:01:22.428</completed>
              </wlpirequest>
              >
              And the only remeady I need to do here is to delete the role and recreate it with
              specific permissions every time the managed server is bounced. The same thing
              also happens for the created user also where the user loses all the permissions.
              Can anyone please help me on this issue ?
              Thanks in advance
              Mandar
              

    are you using filerealm?
              This seems like a security related question - can you please post this
              question to the security newsgroup you may get a faster answer there.
              sree
              "Mandar Gandhe" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi..
              >
              > I am not sure whether this is really a clusteing problem. I have a clusted
              server
              > with one admin server and one managed server. I have deployed the some of
              my own
              > applications alongwith the Weblogic Integration application on the managed
              server.
              > I have some users and roles defined in the BPM studio to access and
              execute the
              > workflows.
              >
              > But every time I restart the managed server, the user and role permissions
              are
              > reset and the workflows are not executed. I get the following error.
              >
              > ------
              > ####<May 13, 2003 10:01:22 AM BST> <Error> <BPM> <hwdusa08>
              <managed1_eai2d2A>
              > <ExecuteThread: '44' for queue: 'default'> <kernel identity> <11
              > 1:21ad542a0d3cc527> <000000> <<wlpirequest>
              > <started>2003-05-13 10:01:22.230</started>
              > <requestor>wlisystem</requestor>
              > <templateid>1</templateid>
              > <template-name> WLI Logging Framework V2.0 Installation
              test</template-name>
              > <templatedefinitionid>1</templatedefinitionid>
              > <instanceid>2001</instanceid>
              > <actions>
              > <error time="2003-05-13 10:01:22.427">WorkflowException: The server
              was unable
              > to complete your request.
              > The WebLogic Integration role "logging" is not mapped to a
              WebLogic
              > Server security group.</error>
              > </actions>
              > <completed>2003-05-13 10:01:22.428</completed>
              > </wlpirequest>
              > >
              >
              > ------
              >
              > And the only remeady I need to do here is to delete the role and recreate
              it with
              > specific permissions every time the managed server is bounced. The same
              thing
              > also happens for the created user also where the user loses all the
              permissions.
              >
              > Can anyone please help me on this issue ?
              >
              > Thanks in advance
              > Mandar
              >
              

  • I donot see pi/xi  related service users and roles in ecc6 box

    hi,
      I donot have pi/xi  related service users(PISUPER etc)  and roles in ecc6 box. Do i need to create these.
    Thank you
    Moni

    Hi,
    >Do you meen to say there wont be any pi related services users and roles exists in ECC6 box?
    yes
    Cheers
    Agasthuri Doss

  • Matrix users and roles

    Hi,
    is there any sap standard functionality to get a matrix of users and roles like this:
    Z_ACCOUNTING_ROLE-Z_BASIC_ROLE-Z_SALES_ROLE---Z_TREASURY_ROLE
    MEYER---XX--
    SMITH--XX--
    JACKSONXX--
    X
    Regards
    Walter Habich

    report S_BCE_68001400
    for so far I know there isn't but when you run the standard report S_BCE_68001400 which shows all the rolles of all the users (click on button roll when you have the list of users) it is quite simple to export it to excel. make a crosstable with the rolles in the top and the usernames at the left. and in the middle count the rolles (which is always 1)
    copy all with ctrl a
    make a new workspace
    and paste special with only values
    replace all the 1 in the crosstable data section with X
    select the row with all the rolles and turn the text 90%
    make the colum width fit to maximum
    and you have a splendid crosstable
    kind regards
    arthur de smidt
    Edited by: A. de Smidt on Jul 2, 2008 4:56 PM
    Edited by: A. de Smidt on Jul 2, 2008 4:58 PM

  • PeopleSoft Users and roles

    Hi all ,
    I want to know about how users and roles are created and managed in PeopleSoft campus , any related documentation or help would be great !!
    Thanks

    There is and entire chapter in PeopleBooks dedicated to this subject:
    PeopleBooks > PeopleSoft Campus Solutions 9.0 Application Fundamentals PeopleBook > Creating and Maintaining User Profiles

  • Creation of user and roles in ldap using jldap api

    Please help me in creating user and roles in ldap through java api.
    I am able to manupulate the existing user and role in ldap. Please give
    me some steps or some sample code for creating user
    satyanandasahu
    satyanandasahu's Profile: http://forums.novell.com/member.php?userid=89095
    View this thread: http://forums.novell.com/showthread.php?t=414763

    Thanks Jim..
    this is doing the work. Here we have a custimised class with customised
    attributes I am looking how to do that.
    Can you give your mail id.
    thanks again
    Jim Willeke;1995096 Wrote:
    > Have you seen these samples:
    > 'Novell Documentation'
    > (http://developer.novell.com/document...mple/index.htm)
    >
    > See the AddEntry.java
    > -jim
    >
    > On 7/2/2010 9:36 AM, satyanandasahu wrote:
    > >
    > > Please help me in creating user and roles in ldap through java api.
    > > I am able to manupulate the existing user and role in ldap. Please
    > give
    > > me some steps or some sample code for creating user
    > >
    > >
    satyanandasahu
    satyanandasahu's Profile: http://forums.novell.com/member.php?userid=89095
    View this thread: http://forums.novell.com/showthread.php?t=414763

  • Is it possible to store user and role information in MDS instead of jazn ?

    Hi
    I want to store the user and role details in mds rather than jazn xml. Is it posssible? Could any one tell the steps that to be follow?
    Thanks,
    Vishnu

    Hi,
    MDS is not a polic store nor an identity management system. It does not really make sense what you are asking for. Instead of jazn-data.xml you can use OID and RDBMS for holiding user identities and policies. If it is only user identities and groups you want to move to another store then you have OID, RDBMS, Active Directory. OAM etc.. The jazn-data.xml file btw. is used at design time only. Upon deployment - by default - users and groups are created from jazn-data.xml into the integrated WLS LDAP server. Policies in jazn-data.xml file are copied to system-jazn-data.xml of the target WLS server.
    Frank

  • Portal user and role creation

    How do we add (bulk add) users and roles to Portal 6.0 without the management console ?
    Thanks ,
    Ravi

    Did anyone have an answer to this? I've used tools with other directories that permitted a bulk add or a flat file dirsync that allowed a CSV file to add accounts. I would be interested if someone has done this for portal 6.2 or 6.X.
    Thanks in advance,
    Mike

  • Extract Users and Roles

    Hi,
    I would like to move my users and roles from one system to another . Is there a way i can export and import the data back into the system.
    I have already tried to export the repository schema and it did not give the necessary output.
    I am working in 5.5 SP6 version
    Regards,
    Vignesh

    Hi
    You can do at Data base level using DML Queries, follow the below links.
    How to Create Mass Users/Roles in SAP MDM Repository Running On Oracle Database
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0daad81-6a4b-2c10-9cb8-9586b0ebfb28?quicklink=index&overridelayout=true
    How to Create Mass Users/Roles in SAP MDM Repository Running On SQL Database
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0224edf-bf37-2c10-228f-c16415815c5f?quicklink=index&overridelayout=true
    regards
    Sowseel

  • Framework to handle users and roles

    hi
    is there any framework that allow to manage security(users and there roles) in swing application

    Swing is a graphic user interface toolkit. What do users and roles have to do with user interfaces?
    Anyway, in Java of course you have a multitude of possibilities at your disposal.
    [check here|http://java.sun.com/javase/technologies/security/]

  • Need to authenticate a user and create session thru a procedure.

    I am doing loadtest on portal and I need to authenticate a user and create user session to simulate user logging thru the web and I want to see a record is created in the wwctx_sso_session$ table.
    can we do this from stored procedure ?
    thanks.

    Hi,
    I guess the message is pretty clear !! you lack privilege.
    SQL> conn imx/imx
    Connected.
    SQL>
    SQL> create user testproc identified by testproc;
    create user testproc identified by testproc
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> create or replace procedure sp_createsuser(username varchar2)
      2  as
      3  begin
      4  execute immediate 'create user ' || username || ' identified by ' || username;
      5  end;
      6  /
    Procedure created.
    SQL> exec sp_createsuser('testproc');
    BEGIN sp_createsuser('testproc'); END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "IMX.SP_CREATESUSER", line 4
    ORA-06512: at line 1
    SQL> conn sys/******* as sysdba
    Connected.
    SQL> grant create user to imx;
    Grant succeeded.
    SQL> conn imx/imx
    Connected.
    SQL> exec sp_createsuser('testproc');
    PL/SQL procedure successfully completed.
    SQL> conn sys/syssys as sysdba
    Connected.
    SQL> select username from dba_users where username like 'TESTP%';
    USERNAME
    TESTPROC
    SQL>Regards

Maybe you are looking for

  • How to retrieve data dynamically from db using db adapter in 11.1.1.4 jdev?

    in my bpel process,i am invoking db by passing a variable which is there in db table.with that variable, iam trying to retrieve data.But i don't know the code for dynamic retrieval.I am a fresher.So please help me .

  • Just installed Final Cut Express BUT

    NOW it tells me that I need an AGP graphics card. Is something I can get to work withan Imac, or am I screwed? Any help would be greatly appreciated. I've had one of those days where I just can't get anything to work right. Thank you. IMacG5   Mac OS

  • Numbers problem(2)

    I tried restarting my ipad but the numbers icon says "waiting" then it tells me to connect to a WIFI network because the application is over 20MB. However i have actually tried this again and installed the application from my computer but i keep gett

  • Changing "x" location in adobe forms

    Hi, I am trying to move a textfield based on an event in adobe forms. I coded it as TextField1.x = TextField1.x + 20 I guess "TextField1.x" returns a String and hence it pretty much concatenates the string and makes it like "92.5mm20". Need some help

  • Bapi for mrp wfich has material quantity as import parameter

    hi to all, i need a bapi for mpr run  which has material quantity as import paramaeter so that we can create pr for given material quantity. Regards, Manoj Rwat.