How to check a list of users whether integrated to SRM Org Structure

Dear SRM Gurus,
I am using SRM 4.0 system with classic scenario.
We are not using the HR system integration for org structure setup.
I have a list of users to be checked, whether they are integrated to SRM Organization structure.
Normally, I use the "Check Users" option under, Users_Gen tcode to check a single user.
Is there any way to check multiple users(almost 300 users) at once.
Any Table or function module is avalable?
Thanks in advance.
Loka

Hello Loka,
Run same transaction. When you are on screen "Object Synchronization and Repair", set "User" but do not populate any value, then execute.
You will get all users: when user has a red icon in column 'Object links', this means he is not integrated in the organizational model.
In same transaction, if you can also set "Branch from Organizational Unit" and "Users only". Here, you will get only users integrated into organizationl model.
Regards.
Laurent.

Similar Messages

  • Business partner not created when User is intergrated in SRM org Structure

    Hi SRM gurus,
    A new users  in integrated into the SRM org structure thro Z tcode ,business partner is not created.
    the user is not able to create shopping cart.
    When we try to check for t.code:BBP_BP_OM_INTEGRATE we are getting this error"
    Connection of object us XXXXXX to object u2018CPu2019 is not unique"
    how to resolve this error.
    Regards
    G.Ganesh kumar

    Hi  all,
    1) I  have checked the SLG1 -No error log is found
    2) In the basic tab there is no details to enter.
    I am getting this error"Missing Authorisation : info type 1001 ,object type BP,Subtype A207".
    since it is Production system -can we run run PFAL directly
    G.Ganesh Kumar

  • How to check a list of users against AD if they exist

    Hi Scripting Guys,
    I have a powershell script that allows me to query a list of users against AD, and if they exist, it will write their details into a new file.
    I want to adapt this script so that it will still do the same, but if the user does NOT exist anymore, write a line such as "<User-ID> does not exist in AD".
    Here's the code I have so far:
    Import-Module ActiveDirectory
    $UserList = get-content C:\temp\checkAD\Accounts.txt
    Foreach ($Item in $UserList) {
    Get-aduser -filter {samAccountName -eq $Item} | Out-File C:\temp\checkAD\existingAccounts.txt -encoding default -append
    Does anybody know how to achieve that?
    Thanks and best regards,
    Cap'

    Function LDAP_query{
    param
    [Parameter( Mandatory=$true )][String[]]$cID
    # change the DCs to your domain information
    $root = [ADSI]"GC://dc=$($cID[0]),dc=company,dc=com"
    $searcher = new-object System.DirectoryServices.DirectorySearcher($root)
    $searcher.filter = "(sAMAccountName=$($cID[1]))"
    #running LDAP query
    $cAcc = $searcher.findall()
    if($cAcc.Count -ne 0){
    return ($cAcc[0].Properties["samaccountname"][0])
    else{
    Write-Host -BackgroundColor Black -ForegroundColor Red "Error with account:" -NoNewline
    Write-Host " $($cID[0])\$($cID[1])"
    return ""
    The function is waiting for a string array: [domain][user id]
    Return the string of the User ID if valid, return an empty string if not a valid ID

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • Mass user movement from one org. unit to another in SRM org. structure

    Hi,
    Is there any way by which i can move mass users from one organisational unit to another in SRM org. structure..
    there is a thread available in SDN but it is not conclusive. it talks abt using a FM: BBP_USER_CHANGE_ORG
    BR
    Bharat M

    Bharat-
    I am assuming that your requirement is to move mass users from One Org node to another. Ex One Plant Org node to Another plant Org node.
    If my assumption is correct then, please follow the below steps.
    1) Go in to the change mode of Org Plan using T-code PPOMA_BBP
    2) Using shift key, select all the users that you need to move.
    3) Drag and Drop the selected users to the desired Org node.
    If the user IDs are not in sequence then you can use Ctrl key to select the relevant user ID.
    Let me know if you have any questions.
    If the answer is helpful, please reward points.
    Regards,
    Upendra.

  • How to Display a List of Users Currently Logged On to Domain

    Windows Server 2008 R2 Enterprise.
    I had a snap-in in Windows Server 2003 that allowed me to see who was currently logged onto the domain.  How can I do this in Windows Server 2008 R2?  I am the administrator, so there is no privilege issue.  Thanks for any help.
    Doug Pruiett Good News Jail & Prison Ministry Richmond, Virginia www.goodnewsjail.org

    Hi,
    If you want to list current logon users from all servers in a domain, I’m afraid there is no existing tool from Microsoft to support you do that. However, you can use LsaEnumerateLogonSessions
    API like
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa375400(v=vs.85).aspx to enumerate all logon sessions on the clients and gather all information together to achieve your target.  
    If you want to find out who is logged on to a specific terminal server, there are four methods:
    1. check event log
    2. write some PowerShell scripts as:
    http://technet.microsoft.com/en-us/library/ff730963.aspx
    http://learn-powershell.net/2010/11/01/quick-hit-find-currently-logged-on-users/
    3. use WMI&VBScript as:
    http://blogs.msdn.com/b/alejacma/archive/2008/03/04/how-to-get-the-logged-on-user-with-wmi-vbscript.aspx
    4. use some third-party tools like others suggested.
    In addition, here is another thread who used scripts to realize this for your reference:
    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/c956a5d9-8895-4042-8047-78a44ffc1d53
    Regards,
    Cicely

  • How to check for cookies on user machine?

    Hi there,
    what is the correct method to check for cookies on user machine?
    I've tried the following:
    Cookie[] cookies;
    boolean cookiesFound = false;
    if (request.getCookies() != null) {
    cookiesFound = true;
    String name=null, birthMonth=null, birthDay=null;
    cookies = request.getCookies();
    However, the problem is that the if statement will pass to be true even when there is no cookies on my machine. How come?
    Pls advice.
    thanks.

    cuz if there are any cookies, you're setting it to true. getCookies will return a list of cookies, you have to loop thru to find the one you want.

  • How to find out list of users and their access on Sharepoint

    Hello Everyone
    How can i find out list of users and what access they have on SharePoint site? I want to create table with list of the users and their access?
    Thanks

    you can get the report using below powershell scripts. first one gives list of users in a site collection level.
    The second link generates the permissions reports for each user.
    http://techtrainingnotes.blogspot.com/2010/12/sharepoint-powershell-script-to-list.html
    https://sp2010userperm.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to find out list of users who have access to particulat SID

    HI
    How to find out the list of users who has access, to a particular SID?
    Satish.

    jurjen,
    Thanks for replying, actually i was trying to navigate and execute the report using, SUIM...
    could you help me to find out the list of users who has access to a particular system.. using SUIM.
    satish.

  • How to find the list of users  used  transcation from last 2 days plz urgen

    hi friendd
                   i am in need of  knowing the list of users used transcation in last 2 days
    can any one help me . how to find out the list of  users and used trancation in detail or step by step
    thanks in advance .i know that i can see in st03 but i dont find any user list or trancations .
    apart from that so we have any other transcation to see the user in sap abap box
    regards
    raja

    This info has been posted before but here you go (this is an alternative way to Bernhards):
    ST03N, make sure you are in Expert Mode (not Service Engineer)
    Expand Workload
    Expand Total
    Double Click on the day you want to analyse
    You can see transaction details under Transaction Profile -> Standard
    You can see what tx a user has started under User & Settlement Statistics -> User Profile
    If you are not seeing any data then speak to your Basis administrator about what they are doing with the log files.

  • OCS2007R2 - how to create a list of users and meeting policies assigned to them?

    Hi all
    is it possible to create a list of users and policy assigned?
    For example
    UserA   Default
    UserB   High
    UserC    High
    UserD   Medium
    and so on?
    Thanks in advance!

    You can try to use the Office Communications Server 2007 R2 Resource Kit Script LCSEnableConfigureUsers
    The LCSEnableConfigureUsers.wsf script automates enabling and configuring users belonging to the local Active Directory Domain Services domain.
    For details, see
    http://blogs.technet.com/b/nexthop/archive/2011/08/02/how-to-use-the-office-communications-server-2007-r2-resource-kit-script-lcsenableconfigureusers.aspx
    Lisa Zheng
    TechNet Community Support

  • How to get a list of users currently logged on to InfoView?

    Post Author: ak004
    CA Forum: Administration
    Hi,
    Is there an option in CMC that gives the list of concurrent users currently logged on into the Infoview? I have CR server XI and Settings in CMC currently just gives the number of users logged in. I am using Enterprise security for the users.How can I get the list of users logged in?
    Appreciate your help.
    Thanks

    Post Author: jsanzone
    CA Forum: Administration
    The quickest way to see who is logged in is to go to the CMC, then click on Servers, then click on the .cms entry (it's the second one down on the list for my system).  When you click on the cms link on the next page should be a list of users currently logged in (including you the administrator).

  • How to get a list of user who is shared with particular workbook

    Hi everyone,
    I have duplicated a workbook and made some changes on the new one. Now I'd like to share the new one with the same list of user as the old one.
    The number of user is great, more than 500.
    I would like to know any SQL that let me get a list of user who have been shared with the old one, such that I won't miss anyone of them.

    Hi,
    I would like to know any SQL that let me get a list of user who have been shared with the old one, such that I won't miss anyone of them.Refer to these documents.
    Note: 293021.1 - How to Find Out the Sharing Information for Discoverer workbooks From the Database
    Note: 375777.1 - How To See Which Discoverer Workbooks Are Owned And Shared By An Existing Or Dropped Database User
    Thanks,
    Hussein

  • How to check the value from user input in database or not?

    Hello;
    I want to check the value of user input from JtextFiled in my database or not.
    If it is in database, then i will pop up a window to tell us, otherwise, it will tell us it is not in database.
    My problem is my code do not work properly, sometimes, it tell me correct information, sometime it tell wrong information.
    Could anyone help,please.Thanks
    The following code is for check whether the value in database or not, and pop up a window to tell us.
    while( rs.next()) {
                    System.out.println("i am testing");
                    bInt=new Integer(rs.getInt("id"));
                    if(aInt.equals(bInt)){ // If i find the value in data base, set flag to 1.
                  flag=1;  //I set a flag to check whether the id in database or not
                        break;
             System.out.println("falg" + flag);
                if(flag==1){ //?????????????????????
              String remove1 = "DELETE FROM Rental WHERE CustomerID=" + a;
              String remove2 = "DELETE FROM Revenus WHERE CustomerID=" +a;
              String remove3 = "DELETE FROM Customer WHERE id=" +a;
              s.executeUpdate(remove1);
              s.executeUpdate(remove2);
              s.executeUpdate(remove3);
                    JOptionPane.showMessageDialog(null,"you have success delete the value");
              s.close();
             else//???????????????????????????????
                  JOptionPane.showMessageDialog(null,"I could not found the value"); -------------------------------------------------------------------
    My whole program
    import java.sql.*;
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class DeleteC extends JFrame
        public static int index=0;   
        public static ResultSet rs;
        public static Statement s;
        public static Connection c;
        public static  Object cols[][];
        private static JTable table;
        private static JScrollPane scroller;
        private static int flag=0;
        public DeleteC()
            //information of our connection
            //the url of the database: protocol:subprotocol:subname:computer_name:port:database_name
            String strUrl      = "jdbc:oracle:thin:@augur.scms.waikato.ac.nz:1521:teaching";
            //user name and password
            String strUser      = "xbl1";
            String strPass      = "19681978";
            //try to load the driver
            try {
                Class.forName("oracle.jdbc.driver.OracleDriver");
            catch (ClassNotFoundException e) {
                System.out.println( "Cannot load the Oracle driver. Include it in your classpath.");
                System.exit( -1);
            //a null reference to a Connection object
            c = null;
            try {
                //open a connection to the database
                c = DriverManager.getConnection( strUrl, strUser, strPass);
            catch (SQLException e) {
                System.out.println("Cannot connect to the database. Here is the error:");
                e.printStackTrace();
                System.exit( -1);
           //create a statement object to execute sql statements
        public void getData(String a){
            try {
             //create a statement object to execute sql statements
             s = c.createStatement();
                int index=0;
                Integer aInt= Integer.valueOf(a);
                Integer bInt;
                  //our example query
                String strQuery = "select id from customer";
                //execute the query
                ResultSet rs = s.executeQuery( strQuery);
                //while there are rows in the result set
                while( rs.next()) {
                    System.out.println("i am testing");
                    bInt=new Integer(rs.getInt("id"));
                    if(aInt.equals(bInt)){
                  //JOptionPane.showMessageDialog(null,"I found the value"); 
                  flag=1;
                        break;
             System.out.println("falg" + flag);
                if(flag==1){
              String remove1 = "DELETE FROM Rental WHERE CustomerID=" + a;
              String remove2 = "DELETE FROM Revenus WHERE CustomerID=" +a;
              String remove3 = "DELETE FROM Customer WHERE id=" +a;
              s.executeUpdate(remove1);
              s.executeUpdate(remove2);
              s.executeUpdate(remove3);
                    JOptionPane.showMessageDialog(null,"you have success delete the value");
              s.close();
             else
                  JOptionPane.showMessageDialog(null,"I could not found the value");
            catch (SQLException e) {
                 JOptionPane.showMessageDialog(null,"You may enter wrong id");
    My main program for user input from JTextField.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.util.*;
    public class EnterID extends JFrame{
        public JTextField tF1;
        public EnterID enID;
        public String tF1Value;
        private JLabel label1, label2, label3;
        private static JButton button;
        private static ButtonHandler handler;
        private static String aString;
        private static Integer aInteger;
        private static Integer checkV=0;
        public static void main(String args[]){
           EnterID eId= new EnterID();
       public EnterID(){
          handler=new ButtonHandler();
          Container c= getContentPane();
          c.setLayout(new GridLayout(3,1));
          button= new JButton("ok");
          button.addActionListener(handler);
          label1 = new JLabel(" CustomerID, Please");
          label2 = new JLabel("Label2");
          label3 = new JLabel();
          label3.setLayout(new GridLayout(1,1));
          label3.add(button);
          label2.setLayout(new GridLayout(1,1));
          aString = "Enter Id Here";
          tF1 = new JTextField(aString);
          label2.add(tF1);
          c.add(label1);
          c.add(label2);         
          c.add(label3);            
          setSize(150,100);
          setVisible(true);     
       private class ButtonHandler implements ActionListener{
         public void actionPerformed(ActionEvent event){
             tF1Value=tF1.getText();
            //   CheckData cData = new CheckData();
             //  aInteger = Integer.valueOf(tF1Value);      
             if(tF1Value.equals(aString)){
              JOptionPane.showMessageDialog(null,"You didn't type value into box");
              setVisible(false); 
            else {
                DeleteC dC= new DeleteC();
                dC.getData(tF1Value);
                setVisible(false); 
    }

    You may have working code now, but the code you posted is horrible and I'm going to tell you a much much much better approach for the JDBC part. (You should probably isolate your database code from your user interface code as well, but I'm skipping over that structural problem...)
    Do this instead:
        public void getData(String a){
            PreparedStatement p;
            String strQuery = "select count(*) the_count from customer where id = ?";
            try {   
             //create a prepared statement object to execute sql statements, it's better, faster, safer
             p = c.prepareStatement(strQuery);
                // bind the parameter value to the "?"
                p.setInt(1, Integer.parseInt(a) );
                //execute the query
                ResultSet rs = p.executeQuery( );
                // if the query doesn't throw an exception, it will have exactly one row
                rs.next();
                System.out.println("i am testing");
                if (rs.getInt("the_count") > 0 ) {
                // it's there, do what you need to...
             else
                  JOptionPane.showMessageDialog(null,"I could not find the value");
            catch (SQLException e) {
                 // JOptionPane.showMessageDialog(null,"You may enter wrong id");
                 // if you get an exception, something is really wrong, and it's NOT user error
            // always, always, ALWAYS close JDBC resources in a finally block
            finally
                p.close();
        }First, this is simpler and easier to read.
    Second, this retrieves just the needed information, whether or not the id is in the database. Your way will get much much slower as more data goes into the database. My way, if there is an index on the id column, more data doesn;t slow it down very much.
    I've also left some important points in comments.
    No guarantees that there isn't a dumb typo in there; I didn't actually compile it, much less test it. It's at least close though...

  • How to find the list of USER-EXITS or BADI for the transaction ABSO

    Hi all,
    Please help me to find the list of USER-EXITS or BADI for the transaction ABSO & find the exact user-exit which meets the requirement.
    Thanks & Regards,
    gyanaraj

    Hi,
    Copy the problem  in SE38 and  Execute it
    Enter the Tcode  u want
    this  will the  list of Userexits and badis
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.

Maybe you are looking for