Step 1-Maintain Object Attributes
Step 1-Maintain Object Attributes
Step 1-Maintain Object Attributes
Project : An ID with a maximum of 10 characters to name your data transfer project. If you want to transfer data from several legacy systems, you may create a project e.g. for every legacy system. Subproject: An ID with a maximum of 10 characters that is used as a further structuring attribute. Object : An ID with a maximum of 10 characters to name the business object.
Enter Project ID , Subproject ID , Object ID. Click Execute The next screen gives the STEPS in your LSMW data Migration
You can select a desired step and click execute. Lets look into each step in details
There are four Modes of Data Transfer : 1. Standard/ Batch Input : Standard upload Programs 2. Batch Input Recording : Here you can create a recording of your own and use it to upload / change data 3. BAPIs : Standard BAPIs are used to upload Data 4. IDOCs : Any Inbound IDOC function modules can be used to process the data Based on the requirement we try to find a suitable method to be processed. If it is a standard Master we can find it in the first method, Otherwise we try to use BAPIs or Idocs. If the requirement is a very custom one we use a recording to process the data.
The source structures can be used to design the hierarchy of the files to be uploaded.
Source Filed is used to identify whether a certain record should go to the specified structure. Eg : Suppose a file contains header rows and item rows, we can specify the first field as the indicator say H for header and I for Item. Thus when the file is being read, it checks the first field, if it is H then it is read into the Header source structure else it is written to the item source structure. The Source fields can be easily maintained in the form of a table maintenance.
All fields of all target structures, which you selected in the previous step, will be displayed. For each target field the following information is displayed:
Field description Assigned source fields (if any) Rule type (fixed value, translation etc.) Coding.
Note: Some fields are preset by the system. These fields are called technical fields are marked with Default setting. The coding for these fields is not displayed when first entering the fieldmapping; it can be displayed via the display variant. Changing the default setting may seriously affect the flow of the data conversion. If you erroneously changed the default setting, you can restore it by choosing Extras -> Restore default.
Reading the data from the file gives us an option to read only a few records and not the entire chunk in order to enable testing of first few records. This also provides the user defined selection parameter which can be used to restrict the read data based on the condition specified.
In this step, you can display all or a part of the read data in table form. Clicking on a line displays all information for this line in a clear way. The same happens when you click on Field contents. Change display allows to select either a one-line or multi-line view. Display color palette displays the colors for the individual hierarchy levels.
BAPI or IDoc: 1. 2. 3. 4. Start IDoc creation Start IDoc processing Create IDoc overview Start IDoc post processing
This completes a detailed overview of steps to transfer your data using LSMW in SAP.