Create new users from an excel spread sheet

Hi Everyone.
I am very new to SAP and I have only done the ABAP programming course last month.
To make mme become familiar with ABAP - I was given a task of creating users from an Excel spread sheet - This will be used later on when we implement the new SAP system and decommision the legacy system.
I am just wondering If anyone has created such program - I would appreciated If I can have a copy So I can learn how it is done -
At the moment, I was thinking of using BAPI_USER_CREATE1 and BAPI_TRANSACTION_COMIT to create users and optimise the creation call. Is there any thing else that I should be aware of ? I'd be appreciated if someone drop me some ideas - Thanks in Advance

Hi Samantak.
Thanks for your quick response.
Since posting the question, I discovered that within  'BAPI_USER_CREATE1'  sub-call statements - comit is already done. Now my questions are:
1) Do I still need 'BAPI_TRANSACTION_COMIT' to optimise the CREATE new newusers call ?  Apparently, yes.......I am curious for the reason 'why' since comitting is already done.
2) I did an interactive call of the 'BAPI_USER_CREATE1'  - a user id was actually created in the system.  Now, my second question is.. Is there a way of calling 'BAPI_USER_CREATE1'  without comitting the data (i.e. create user record on file)..
I want to call this whout comitting because I want to sort out the number of 'good' records from the supplied data list - and presenting the success percentage to the users before comitting the data.
Thanks

Similar Messages

  • How can I form a group in address book. I need to transfer a large number of emails from an excel spread sheet to form a group to send emails to.

    I need to transfer a large number of emails from an excel spread sheet to form a group to send emails to. I can either use address book or transfer them to BTYahoo contacts and send from there.

    Hello, if you have the font that Photoshop is supposed to use to write the barcode, and each image is also listed in the spreadsheet, you can use the little known feature called variables: http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7417a.h tml
    see this video: 
    http://www.youtube.com/watch?v=LMAeX5pexNk
    Or this one:
    http://tv.adobe.com/watch/adobe-evangelists-julieanne-kost/pscs5-working-with-variables/

  • Create new user from EM

    Hi,
    I need to create a user who can only access to OEM and run a job: the job execute a stored procedure that reads and writes to the oracle tables.
    The user must have the least set of privileges possible.
    How can I do? What privileges do I set?

    Sara C. wrote:
    I must create a user in OEM who can ONLY:
    1) access to EM
    2) to create and run a job, or to view and run a job created by user SYS. The job run a stored procedure
    the user can not:
    1) access the Oracle schema and view the contents of store procedures, such as packages and are defined.Also I didn't get the need of such user, AFAIK I don't think that's possible. From EM, the users who are created are considered as teh admins of the EM. Why you want to make such user? If a job is made by Sys, why not log in as Sys and monitor it as well ?
    Aman....

  • Problem in creating new user

    Hai all,
    I am new to Portals, when I am trying to create a new user it was displayed as "<b>User could not be created</b>". What is the actual process of creating a new user and how to work with that user. I have gone through some of the discussions in the form but unable to create the new one.
    Can any help on this please.
    Suma...

    Hi,
    Actual process of creating the user is
    logon to http://server:port/irj
    goto user administration
    goto users
    click create new user
    fill up all mandatory fields, define the data as configured (for e.g. password alphanumeric etc
    click create.
    You should be able to create the user.
    If this process doesnot work check ur UME store settings? if it is in LDAP server check if your LDAP is ab to craete new users etc? you can also try to create new users from Visual Admin .
    logoff and then try to login with the newly created user it should show password expire screen.
    regards,
    Rohin Aggarwal

  • I need to download data from Oracle data base into a Excel spread sheet

    I need to download data from Oracle data base into a Excel spread sheet.
    Any input will be appreciated.

    Goes something like this:
    1) create an ODBC connection (on NT/WIN: ODBC DATA SOURCES in the control panel, create a USER DSN.
    2) in EXCEL-menu: DATA->GET EXTERNAL DATA->CREATE NEW QUERY. In the wizzard you will see the DSN created in the previous step. Select that source.
    3) follow the wizzard.
    Hope this does any good...
    Regards,

  • SAP BO XCelsius : Drilldown from pie chart to raw data ( Excel Spread Sheet) in Xcelsius

    Hi,
    I am working on a dashboard where my requirement says, Drill down data from Pie-Chart to Raw data ( Excel Spread sheet).
    Clicking on one pie should show me the required data in Excel format
    May I know if this is possible to create from Dashboard design tool SAP R4
    Thanks
    Javeed

    Hi Javeed,
    Drilling data from pie charts is very much possible. The data drilled down can be shown either in spread sheet format via components called "Scorecard" "List View". But if its specified that you need the current data drilled down to a separate excel spread sheet only then, you may need to use the third party components for it.
    There are many such components available for free. There are components available which are paid as well. You will have to find out which ones are free. Check out the threads below.
    How to export data out of Xcelsius to Excel
    CSV Connector
    http://pentaho-bi-suite.blogspot.sg/2013/12/exporting-table-component-to-excel-or.html
    Export Data from Dashboards | Just-BI | Business Intelligence
    SAP Dashboard Components - Multi Colour Column Chart, Hierarchical ComboBox &amp; Export To Excel Manufacturer from Beng…
    SAPexperts | Give Dashboard Users the Ability to Export Data to Excel at Run Time
    I hope this derives you to come conclusion.
    Thanks,
    Sara

  • I want to open excel spread sheets make additions and export back to pc users.  Is numbers suitable for this activity?

    I want to open excel spread sheets make additions and export back to pc users.  Is numbers suitable for this activity?  I am using a MACBook Air

    just read this in an other answer:
    Pages can open docx files, Numbers can open xlsx files. Each can export to  can export .doc or .xls to the newest Word or Excel format.respectvely, but not to the more recent .docx or .xlsx.
    Translation is not perfect in either direction. Numbers and Excel handle some similar features (eg. pop-up menus vs data validation) differently, and the translator cannot translate from one implementation to the other.
    If much of your work is going to be transferred between your machine and Windows machines running either MS Excel or MS Word, with editing taking place at both ends of the tunnel, then you'll probably be better off with Office, or one of the Office clones on the Mac end.

  • How to transfer a set of data from Excel spread sheet to an Access database

    hi,
    Can any one please tell me how to transfer a set of data from Excel spread sheet to an Access database using SQL query.I'm using java API currently. I have done all sorts of ODBC connection in administrative tools.The file is in correct location. I have done certain coding but with errors.Help me to get rid of these errors,
    Coding:*
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection datacon=DriverManager.getConnection("jdbc:odbc:exdata","",""); *//For Excel driver*
    Connection datacon1=DriverManager.getConnection("jdbc:odbc:stock1","",""); *// For mdb driver*
    Statement datast=datacon.createStatement();
    Statement datast1=datacon1.createStatement();
    ResultSet excelrs=datast.executeQuery("select item_code,sdata,closing_stock from phy "); *//phy is the excel file*
    while(excelrs.next())
    String ic=excelrs.getString("item_code");
    System.out.println(ic);
    String d=excelrs.getString("sdate");
    double cs=excelrs.getDouble("closing_stock");
    int dbrs=datast1.executeUpdate("insert into second values('"+ic+"','"+d+"',"+cs+")"); *//second is the mdb*
    excelrs.close();
    }catch(Exception e)
    System.out.println(e);
    Error:*
    java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'C:\JavaGreen\phy.xls'. Make sure the object exists and that you spell its name and the path name correctly.
    thanks,
    kumar.

    JAVA_GREEN wrote:
    No i haven't mixed up.But the file from where i have to retrieve the data is in csv format.Even though i created another csv driver.and tried but i cud not find a solution to load/transfer a set of records from one file(in Excel/csv format) to another file(in mdb format).plz help me.Is there any other methods for this data transfer.A csv file is NOT an excel file.
    The fact that Excel can import a csv file doesn't make it an excel file.
    If you have a csv file then you must use a csv driver or just use other code (not jdbc) to access it. There is, normally, a ODBC (nothing to do with java) text driver that can do that.

  • Help required in creating a dimension from an excel sheet

    Hello all ,
    We have a new requirement ,where we need to create a Dimension from an excel sheet. I tried creating it from a . csv file. But , I am not sure how to set the across, down statement ( if any) . The procedure is able to peek the data from the excel sheet. But , it says that the dimension member is not a selected member of variables. We have not created any variable yet. The transcript of the procedure is below :
    remove dimension MODULE
    ACCESS EXTERNAL
    USE 'C:\module.csv'
    DESCRIPTION FREE ,
    peek only 5
    read
    BEGIN
    construct MODULE
    level MODULE_CD
    label MODULE_DESC
    preface "custom 5 allocate 1000,30,1"
    END
    end
    compile dimension MODULE
    Please advise
    Thanks and Regards
    Vijay

    Hi Vijay,
    I believe you should be identifying the fields you have in your csv file, in your case MODULE_CD and MODULE_DESC:
    DESCRIPTION FREE ,
    MODULE_CD text 10
    MODULE_DESC text 20
    Can you try that to see if it makes a difference?
    Regards!
    Ricardo

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • When I download an excel spread sheet from a Ford web site I seem to be getting code and not the work sheet. Example- MIME-Version: 1.0 X-Document-Type: Workbook Content-Type: multipart/related; boundary="====Boundary===="

    I have a Macbook Air. I have MS office installed and work in Excel often with no issues. But When I download an excel spread sheet from a Ford web site I seem to be getting code and not the work sheet.
    Example-
    MIME-Version: 1.0
    X-Document-Type: Workbook
    Content-Type: multipart/related; boundary="====Boundary===="
    --====Boundary====
    Content-Location: file:///C:/HOLD.XHT
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="utf-8"
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <HEAD>
    <meta name="Excel Workbook Frameset">
    <xml>
    <x:ExcelWorkbook>
      <x:ExcelWorksheets>
       <x:ExcelWorksheet>
        <x:Name>BTB</x:Name>
        <x:WorksheetSource HRef="./IBIT0001.xht"/>
       </x:ExcelWorksheet>
       <x:ExcelWorksheet>
        <x:Name>GSM</x:Name>
        <x:WorksheetSource HRef="./IBIT0002.xht"/>
       </x:ExcelWorksheet>
       <x:ExcelWorksheet>
        <x:Name>RODetail</x:Name>
        <x:WorksheetSource HRef="./IBIT0003.xht"/>
       </x:ExcelWorksheet>
      </x:ExcelWorksheets>
    </x:ExcelWorkbook>
    </xml>
    </HEAD>
    </HTML>
    --====Boundary====
    Content-Location: file:///C:/IBIT0001.xht
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="utf-8"
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <HEAD>
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
    <style>
    <!--table
            {mso-displayed-decimal-separator:"\.";
            mso-displayed-thousand-separator:"\,";}
    @page
            {margin:1.0in .75in 1.0in .75in;
            mso-header-margin:.5in;
            mso-footer-margin:.5in;
            mso-page-orientation:landscape;}
    tr
            {mso-height-source:auto;}
    col
            {mso-width-source:auto;}
    br
            {mso-data-placement:same-cell;}
    .style21
            {color:blue;
            font-size:10.0pt;
            font-weight:400;
            font-style:normal;
            text-decoration:underline;
            text-underline-style:single;
            font-family:Arial;

    Try search/ask in the forum devoted entirely to Excel issues:
    http://answers.microsoft.com/en-us/mac/forum/macexcel

  • Can't create new users after GroupWise is moved from NetWare to Linux

    Hi,
    I moved GroupWise (Version 6.5 SP 6, single domain and single office)
    from NetWare 6.5 server to SUSE Linux Enterprise server 9. It seems the
    GroupWise server is running oaky. Existing users are able to connect
    their mail box and send and receive messages. But I can't create new
    users on the GroupWise server.
    I used ConsoleOne installed on the Linux server to create new GroupWise
    users. It seemed that I was able to do it. The new users appear on the
    NDS and the GroupWise File IDs were assigned for these users. And I was
    able to add these new users to distribution lists. But the users DB
    files (userXXX.db) were not created under /grpwise/po/ofuser on the Linux
    server and they cannot connect to the server. Old users cannot find them
    in Novell GroupWise Address book.
    Does anyone how to fix the problem?
    Thanks in advance!
    Jinkang

    Hi,
    [email protected] wrote:
    >
    > Hi,
    >
    > I moved GroupWise (Version 6.5 SP 6, single domain and single office)
    > from NetWare 6.5 server to SUSE Linux Enterprise server 9. It seems the
    > GroupWise server is running oaky. Existing users are able to connect
    > their mail box and send and receive messages. But I can't create new
    > users on the GroupWise server.
    >
    > I used ConsoleOne installed on the Linux server to create new GroupWise
    > users. It seemed that I was able to do it. The new users appear on the
    > NDS and the GroupWise File IDs were assigned for these users. And I was
    > able to add these new users to distribution lists. But the users DB
    > files (userXXX.db) were not created under /grpwise/po/ofuser on the Linux
    > server and they cannot connect to the server. Old users cannot find them
    > in Novell GroupWise Address book.
    >
    > Does anyone how to fix the problem?
    This clearly sounds like your domain (which is the part of groupwise
    which you admin against) doesn't/can't talk to the postoffice, so the
    change you made (to the domain) does never get to the PO (which is where
    the addressbook of your other users come from, and is what is
    responsible for creating the user DB). This seems very likely to be
    caused by your move not being done properly, and old information (either
    path or IP address) for the PO still being in the domain and/or domain
    database.
    So how's the domain linked to the PO?
    CU,
    Massimo Rosen
    Novell Product Support Forum Sysop
    No emails please!
    http://www.cfc-it.de

  • Custom workflow... creating a new user from the End User's point of view

    Hello I am trying to design a new Request for the end user so that they are able to create a new user. I am having problems with my workflow at this point and keep getting the error "Missing view id." Below is my code please help me out... I am very new to this so be gentle.
    P.S. All my fields are named with " view.waveset.* " where * is either accountId or firstname or any attribute I need to set
    <Extension>
    <WFProcess name='End User Create New User' maxSteps='0'>
    <Activity id='0' name='start'>
    <Transition to='Create View'/>
    <WorkflowEditor x='33' y='5'/>
    </Activity>
    <Activity id='1' name='Create View'>
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='createView'/>
    <Argument name='id' value='$(accountId)'/>
    <Argument name='type' value='User'/>
    </Action>
    <Transition to='Update View'/>
    <WorkflowEditor x='107' y='81'/>
    </Activity>
    <Activity name='Update View'>
    <Action process='Update View'>
    <Argument name='type' value='User'/>
    <Argument name='id' value='$(accountId)'/>
    <Argument name='options'>
    <map/>
    </Argument>
    </Action>
    <Transition to='Provision'/>
    </Activity>
    <Activity id='2' name='Provision'>
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='provision'/>
    <Argument name='user' value='$(view)'/>
    <Argument name='options'>
    <map/>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='296' y='83'/>
    </Activity>
    <Activity id='3' name='end'>
    <WorkflowEditor x='393' y='5'/>
    </Activity>
    </WFProcess>
    </Extension>

    I ran across the same error today. Since it's been over a month, I assume you've fixed it already or decided you didn't need it at all? What was your fix?
    For me, I noted that in the sample directory, a similar "createView" call (in End User Anonymous Enrollment) also includes this argument:
    <Argument name='viewId' value='User'/>
    When I added that to my createView call, the "Missing view id" error went away, and the user are gets created.
    I'm not entirely comfortable with the value specified, though; seems like view IDs should be more unique. I would have thought it should have been something like this instead:
    <Argument name='viewId' value='User:$(accountId)'/>

  • Error while creating new user in Oracle 11i EBS

    I am getting following error while creating new user. How solve this issue?
    “Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.

    Following is the text from Note for Custom Password Validation logic:
    Customers who wish to use their own password validation logic may do
      so by writing their own Java classes that implement the
      oracle.apps.fnd.security.PasswordValidation Java interface.  The
      interface requires 3 methods to be implemented:
      1) public boolean validate(String user, String password)
        - This method takes a username and password, and then returns true
      or false, indicating whether the user's password is valid or invalid,
      respectively.
      2) public String getErrorStackMessageName()
        - This method returns the name of the message to display when the
      user's password is deemed invalid (i.e., the validate() method returns
      false).
      3) public String getErrorStackApplicationName()
        - This method returns the application shortname for the
      aforementioned error message.
      After writing the Java class to perform customized password
      validation, the customer must then set the value of the profile option
      SIGNON_PASSWORD_CUSTOM to be the full name of the class.  If, for
      example, the name of the Java class is
      oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
      SIGNON_PASSWORD_CUSTOM profile option must be
      oracle.apps.fnd.security.AppsPasswordValidation.  Note that AOL/J
      will attempt to load this class dynamically.  Hence it is necessary to
      make the class accessible by AOL/J.  This means that in Forms, the
      class must first be loaded into the database using the loadjava
      command.
    You will need to apply the following patches for 11.5.1:
       1344802
       1363919
       1472974
       1351004
       1377615
    You will need to apply the following patches for 11.5.2:
       1377615

  • Old user account not accessible - Had to create new user account

    Why was I forced to create a new user account in order to access Apple discussions? The last time I had posted to Apple discussions was 11/06. From the emails notifying me of replies to my post, I can still go to the link where my question and the replies are. Last week I wanted to post another question. Instead I encountered a circular problem. Every time I tried to log in to discussions with my Apple ID and password (the same as my .Mac name and password, which were working fine for accessing .Mac), I was told that there was an error in my password. When I tried again, I was repeatedly re-directed to a "create new user account" web page that listed my .Mac email address as my Apple ID, as it should have. I tried to re-create my old user account with my own [real] name (as before) and was told that name was in use! Of course, it was me! (I had always used by real first name and surname as my name on Apple discussions.) So finally, very frustrated, I created a new name, a nickname, for discussions, and it worked. Now, all my previous posts are gone. It's as if I didn't exist in the Apple world until today, 9/16/07, but I originally had established my user account in 2004. I tried asking about this in a phone call to Apple support, but I was re-directed to the .Mac web site. Then I posted a question at .Mac feedback to no avail. I had a feeling that as soon as I "obeyed" and created a new user account that wouldn't be recognized as myself, my past posts would be sent into oblivion. I don't like losing all my previous posts that were attached to my user account. I have found this problem very frustrating and would really like an explanation.

    Hi decemberbaby,
    Try this procedure.
    Delete all the Apple Cookies in your browser, and empty the Cache.
    Go here Discussions Sign In, and try logging in with your original Apple ID again.
    If that still doesn't work, delete the Cookies again, and go to My Info, and log in with the original Apple ID.
    If you get the error message "Your Apple ID or password was entered incorrectly.", click on "Did you forget your password? Click here for assistance".
    On the page that opens, you can also click on "Forget your Apple ID
    ali b

Maybe you are looking for