Step By Step - Easy Guide On LSMW (For Beginners) With Example - Page 6.


>> PREVIOUS PAGE                                                                                    >> NEXT PAGE


Step 7: Maintain Fixed Values, Translations, User Defined Routines.


In the step ‘Maintain Fixed Values, Translations, User-Defined Routines’, you can process the reusable rules of a project, which are defined at project level, so they are the same for all objects.


Fixed value: Here you can specify the length, type flag for lowercase/uppercase and value in addition to the name of the field.


Translation: Here you can enter information on the source field and the target field. If you are creating a new translation you have to save data first before you can change it.


User Defined Routines: This routine can be re-used in other objects of the project. The system adds in ‘ur_’ to the name that you suggest using for this routine. It opens up an editor wherein you can enter your ABAP code.


In our case this step has no importance in this example.


STEP 8: Specify Files.


In the step ‘Specify Files’, you describe all files to be used.


If your legacy data is on the PC: In change mode, position the cursor on the line ‘Legacy data On the PC (Front-end)’. Select Add entry. A popup is displayed. Specify file path, file name and description and other properties.


If your legacy data is on the R/3 server: In change mode, position the cursor on the line ‘ Legacy data On the R/3 server (application server)’. Select Add entry. A popup is displayed. Specify file path, file name and description and other properties.


File for Imported data: Here, the file name is entered with file extension ’.lsmw.read’.


File for Converted data: Here, the file name is entered with file extension ’.lsmw.conv’. This file will contain all your converted data after applying the conversion rules if any.





















Mention the file path and also define the Delimiter. In this case we have used tabulator (tab space) to differentiate between two fields. The content of the file looks like:


Save the details and return to the initial screen.


>> PREVIOUS PAGE                                                                                    >> NEXT PAGE


Step By Step Explained in Detail. 
(Import Method - Batch Input Recording)

STEP 1: Create Project / Sub-Project / Object

STEP 2: Maintain Object Attributes: Select Maintain Object Attributes and Execute

STEP 3: Maintain Source Structures

STEP 4: Maintain Source Fields

STEP 5: Maintain Structure Relations

STEP 6: Maintain Field Mapping and Conversion Rules

STEP 7: Maintain Fixed Values, Translations, User Defined Routines

STEP 8: Specify Files

STEP 9: Assign Files

STEP 10: Read Data

STEP 11: Display Read Data

STEP 12: Convert Data

STEP 13: Display Converted Data

STEP 14: Create Batch Input Session


No comments:

Post a Comment