LSMW Employee importing.

Hello, I have the next problem.
I use lsmw for employee importing. First of all I exported established posts to the text file, then somebody filled it (inserted first name, last name, middle name, birth date and ***).
I imported filled text file to SAP system using lsmw (I used recording and created employee one by one usng 'PA30' transaction and 'Z0' action. )
So, now I exported personal numbers of created employees, their first names, last names, middle names, birth dates and ***. Somebody fill the exported text file (insert adresses, some personal information and other infotypes).
And I need to upload that information using lsmw. Does anybody know how to do that ?
If I use 'PA30' transaction I can insert only single infotype then transaction breaks.
How to upload all the infotypes ?

what I've always done and for sure will be doing in the future is the following:
Create separate action/reason for action for conversion
Maintain an infogroup for this combination with only IT0000, IT0001 and IT0002
(Although IT0000 and IT0001 are sufficient for a first load, I recommend to use IT0002 as well as tracking based on names, birth date, SSN is far more easier if some load-records fail)
Create a LSMW for uploading IT0000, IT0001 and IT0002 based on the configured action/reason for action. Assign all employees to position 99999999
Create seperate LSMW for all other infotypes to be loaded (one LSMW for one IT)
Finally an LSMW for assigning the employee to his current position
Never failed on me....

Similar Messages

  • LSMW While importing data

    Hello, I'm using LSMW for transfering data, But I got an error on step 9. Import Data.
    I can't read error message text because it's not readable (shows in a wrong encoding,)
    The error doesn't  occur everytime. I use the same file but run it in a different period of time. I don't know the reason of that error.
    I know it's may be not enough info to solve my problem. But if someone was confronted with that pls notify me,
    Edited by: kernel.panic on Sep 28, 2009 12:07 PM
    link to the error:

    no matter which codepage I am using.
    for example: when I specify input file to disk H: although my file is on disk C; I got the same error.
    I've launched debugger and found the line with error:
    FORM write_header_record.            
        CLEAR gs_lsheader.                 
        gs_lsheader-lsmw = 'LSMW'.         
        gs_lsheader-project = g_project.   
        gs_lsheader-subproj = g_subproj.   
        gs_lsheader-object = g_object.     
        gs_lsheader-systemid = sy-sysid.   
        gs_lsheader-client = sy-mandt.     
        gs_lsheader-datum = sy-datum.      
        gs_lsheader-uzeit = sy-uzeit.      
        gs_lsheader-uname = sy-uname.                                                                               
    * Begin: binary write                                 
        g_record_length = STRLEN( gs_lsheader ).            
        g_hex_record_length = g_record_length.              
        TRANSFER g_hex_record_length TO g_filename.  // AT THIS LINE ERROR OCCURS        
        ASSIGN g_max_buffer(g_record_length) TO <g_buffer>. 
        <g_buffer> = gs_lsheader.                           
        TRANSFER <g_buffer> TO g_filename.                  
      * End: binary write

  • Error in(recording)  LSMW  while importing

    Hi All,
    I have did  LSMW for uploading some fields into IW41 transaction  i have  did a recording for it . It is working fine  in devlopment server but while importing to quality its showing as error message  that  error in recording unable to import . Couldn't trace where exactly the problem is ,Please kindly help me in this issue.
    Thanx in advance
    Indira Bhanu.

    May be the sequence of the source structure fileds and the sequence of
    fileds in the file are not same, those need to be in same order.
    Hope it helps

  • Runtime error on LSMW - Data Import

    During the import data procedure using LSMW we got a runtime error DATASET_SEEK_ERROR.
    Any suggestion?
    Thanks in advance.

    The problem was that the server had no more space to create the internal tables created by the LSMW.

  • LSMW export/import

    How to export/import single object of a LSMW project and not the entire project.

    you can copy the required object to some different project first and then Export or import....
    Export and import are done at project level where as you can copy single object from one project to other...

  • LSMW: standard import method for G/L account centrally?

    Do you know if there it's an object in lsmw in order to import G/L account centrally?

    Have you checked Business object: BUS6030, in LSMW??
    I have not used this one.
    Best Regards, Murugesh AS

  • LSMW: Product import error

    Hi Firends,
    We are using LSMW IDoc method for importing Product.
    We are using "Message Type         CRMXIF_PRODUCT_SAVE_M" and "Basic Type           CRMXIF_PRODUCT_SAVE_M01"
    When the IDoc is generated, it giving error :
    Attribute ID for Value , ISO Unit EA is missing in Object No. 1
    Please let me know how to slove the issue.
    thanking you,

    Hi Naveen,
    I'm assuming you are facing this problem at the time of processing IDOC. First try to check IDOC segment field, where you need to place unit of measurment field. If this value is populated in IDOC then this entry is missing in CRM tables.
    Error Indicates,
       Unit of Measurement EA is missing in the table T006A.
      If you are using ECC and CRM environment, then download DNL_CUST_BASIS3 object into CRM and reprocess your failed IDOC. It will download unit of measurments into CRM table T006A from ECC table T006A.

  • LSMW: error when import source file which contains other language character

    When I use LSMW to import master data,
    on the step,"Specify Files",there are
    two choice for code page,"ASCII" "IBM DOC",
    but neither of them can work correctly,
    both cause chaotic code.
    for example "#ãb####&#1378;##"

    Hi Colin!
    I'm working with English and Cyrillic input files. As long as I don't use English file for the Russian application, all works well.
    I figured out two important points:
    - Log-in in 'target' language. This has to set locale and language defaults -> LSMW will asume correct codepage (when your system has correct default settings).
    - Save your text file with correct codepage. With MS Word or MS Excel I haven't seen detailed options, but with OpenOffice  you can set codepage when saving files with '*.csv'-filter.

  • Import Manager vs LSMW

    Since I started to learn SAP I've been seeing many different solutions to the same problems, but always with some added value in the newer of them. The question is: is MDM import manager supposed to be a replacement to LSMW? if not when should the late be used?
    Best regards,
    Younos Aboulnaga

    Hi Younus
    There is significant difference between LSMW and Import Manager. Although both follow the same concept of "Importing" data.
    LSMW -
    1. The full form of this is Legacy System Migration Workbench
    2. The transaction code is LSMW and is executed in the SAP ERP system.
    2. This is used to import - Master and Transaction data from legacy systems (in text format) into the SAP ERP systems (like ECC, etc).
    3. This is a "workbench" that consolidates 4 methods of importing (master and transaction) data as mentioned below:
        a) Direct Input - Uses SAP provided standard programs for importing data.
            The data is imported in the SAP tables directly and hence is the fastest method.
            This must be the most preferred mode of importing data provided SAP has given standard programs.
        b) BDC - You need to create Batch import programs for specific SAP transactions to import the data.
        c) BAPI - Uses SAP provided standard BAPIs to import data.
        d) ALE/IDOCs - Use the ALE mechanism to import data via IDOCs.
    MDM Import Manager -
    1. This is a component in the SAP MDM suite of components used to import "master data" into the MDM repository.
    2. There is no transaction code for the SAP MDM components (Console, Import Manager, Data Manager, Syndicator).
         Infact there are different applications (executable programs).
    2. The import files can be XML or Text.
        It's possible to "push" data into the MDM repository using APIs and completely eliminate the middleware (NOT recommended).
    Commonality in concept between the two are:
    a) Both "import" data in the respective systems.
    b) Source structure - Destination structure mapping
    c) Field mapping
    d) Value transformation & mapping
    Hope this clarifies.

  • How to export and import the lsmw

    Hi Friends,
    How to export and import the objects in lsmw
    from dev to qas(quality) systems........
    its urgent.........

    best way is to create a transport and move it to other enviroments
    There are two ways of Transporting for this. Can choose any one.
    Goto the LSMW Transaction
    1)Extras>Export Projects>(Give the Project name)
    In next screen(Choose what subproject, routines, etc.. you wan to copy then, Export Rules-->Export((Will prompt for file name)
    A text file will be downloaded.
    In the Target System
    Goto LSMW Extras-->Import Projects and give the text file which was downloaded.
    2)Extras-->Generate Change Request
    Assign a change request which is basically a transport request and you can then get this transported from one system to another through the basis route.

  • BDC or LSMW for open PO

    Dear Friends,
    We are suppose to go likve soon, but we have @ 500 open Purchase orders and we would like to ipload same in sap as retail can any 1 guide me how to do it?
    [email protected]

    Hi Vishal,
    Please make a note that,
    LSMW is used to transfer Master Data.
    BDC is used for transactional Data.
    LSMW can import data from legacy systems (e.g. in the form of Excel sheets or CSV files). For this, I guess, LSMW converts your data into batch input files automatically. If you use BDC, on the other hand, you have to write your batch input file yourself, line per line.
    So, Open Purchase Order are the Transactional Data for you can use BDC for this Purpose
    Please take your ABAPER's help to will write a Code to Migrate the Data.
    Hope this Solve your Purpose and Please Reward If Really Helpful,
    Thanks and Regards,

  • Employee payroll program problems

    I have done good so far but now im stuck and lost on how to take my program to the next step, kids got sick and i missed like a week of school so im behind. I am suppose to modify the Payroll Program so that it uses a class to store and retrieve the employee?s name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information, and a method within that class to calculate the weekly pay. Once stop is entered as the employee name, the application should terminate. I am lost on the bold part..
    here is what I have:
    //Calculates weekly pay for an employee
    import java.util.Scanner; // program uses class Scanner
         public class BeemansPayroll
         private double rate;
         private double hours;
         private String name;
         //Used to save info
    public BeemansPayroll(String Name, double PayRate, double Hours)
         String name = Name;
         double rate = PayRate;
         double hours = Hours;
    private static void Quit()
    System.out.println("Thank You for using Beeman's Payroll");
    // main method begins execution of Java application
    public static void main(String args[])
    // create Scanner to obtain input from command window
    Scanner input = new Scanner(;
    String name = "";
    do {
    System.out.print("Enter Employee Name or stop to quit: ");
    // prompt for name
    name =; // get name
              if (name.equals("stop"))
    System.out.println("Thank You for using Beeman's Payroll");
    } //end if
    double PayRate;
    double Hours;
    double Pay;
         System.out.print("Please enter Employee payrate:$ "); // prompt
         PayRate = input.nextDouble(); // read first number from user
              while (PayRate <= 0)
                        System.out.println ("Invalid amount, Payrate must be positive");
                        System.out.print("Please enter valid payrate:$ ");
                        PayRate = input.nextDouble();
                   } //end if      
    System.out.print("Please enter Employee hours: "); // prompt
    Hours = input.nextDouble(); // read second number from user
                             while (Hours <= 0)
                        System.out.println ("Invalid amount, Hours must be positive");
                        System.out.print("Please enter hours worked: ");
                        Hours = input.nextDouble();
                   } //end if
    Pay = PayRate * Hours; // multiply numbers
    System.out.printf("Employee Pay for the week %s, is $%.2f\n", name,
    (PayRate * Hours)); // display product
    } //end else
    }while (!name.equals("stop"));
    } // end method main
    } // end class Beeman's Payroll

    john774077 wrote:
    Like I said, I am lost, with all that is going on I have done the reading 4 times , Then try reading a different source such as the Sun Java tutorials. They are excellent and there is no substitute to your reading and learning. We can help you debug an error in your code, but we are not a tutorial service nor a homework production service. Note also that we are all volunteers.
    on top of kids getting sick and taking three algebra all at once. I advice you to not go on and on about this. This is not our problem and won't affect how or if someone helps you. If anything continued mention of this will turn many away who would otherwise help you.
    How or where do I go about breaking it down?You are redeclaring the variables in your constructor, i.e.,:
    String name = Name;  // don't do thisDon't do this because you'll never change the class's name variable this way. Instead in the constructor do something like this for each variable:
    name = Name;or = Name;Later you will need to read up on Java naming conventions.
    As for creating the method, you should read up on method creation in your text book or tutorial. That'll give you a better explanation than we can, I think.

  • Lsmw.conv is not a session record (type 0)

    i am using lsmw to import gl master records. all my steps are correct but on the last step when i have to run batch input session the message below appears:
    lsmw.conv is not a session record (type 0)
    i have used the method both ticking and un-ticking file without session records but still doesn't work.
    can anyone advise as to what the issue could be?

    Have you checked box "Field names at start of file" in the Specify file step of the LSMW. This needs to be checked if your input file has column headings as first row. Otherwise, this should be unchecked.

  • [OrgChart] Change of position type depending on employees underneath

    I have a question regarding the OrgChart Add-In.
    When importing from Excel all employees are created as Executives / Managers / Positions, depending where they stand in the hierarchy. Is there a way to assign the position "Staff" to employees, who don't have any employees underneath of them?
    In Excel, I wrote a VBA-code to determine the number of people serving that special employee. Is this number is 0, I'd like to have this employee imported as a "Staff"
    Anyone having a solution? When exporting a sample hierarchy, Visio creates the column "Master_Shape". But it doesn't recognize when reading back (importing that Excel file).
    Thanks in advance

    Do you make some changes in the data file after creating the org chart? If so, you need to update the org chart manually.
    To reflect changes in the structure of an organization, refresh the chart data or update the org chart manually. Click
    Data > External Data > Refresh All.
    If new data doesn’t exactly match the data the chart was built with, you might have to move individuals manually.
    If you have a new chart, use Visio to compare it with your older chart and tell you what’s changed.
    Open either the new      version or the older version of the organization chart.
    Click Org Chart      >
    Organization Data > Compare. In the
    Compare      Organization Data box, find the version you want to compare to.
    Under Compare type,      select the situation, depending on which version you’ve opened.
    Under Report type,      choose the option that you want.
    Click OK.
    If you still can’t get the chart updated as you want it, you might have to rebuild the chart.
    More information:
    Update generated organization charts:
    Creating Org Charts by Importing Data:

  • IDOC method in LSMW

    how to work on LSMW using IDOC method . can anyone help with an approprite example .
    i learnt tht inbound processing is to be done before continuing with lsmw steps but is not sure of tht

    Hi Durga,
    Please give me your email ID I will send a ppt on the same.
    Also, have a look at the following links :     ABAP Tools -> ABAP utilities area and click on LSMW
    LSMW IDOC method to upload material master
    Reward points if it helps.</b>
    Amit Mishra
    Message was edited by: Amit Mishra

Maybe you are looking for