Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LSMW ,maintain source fields

Former Member
0 Likes
4,119

please tell me ,creating legacy system of migration workbench i have problem of maintaining source fields also field mapping and conversion rules.I have done recording in the maintain object attributes .please suggest how to maintain source fields that means how to create?

2 REPLIES 2
Read only

Former Member
0 Likes
1,358

hai Mahesh,

Go through This Link For Clear understanding of LSMW.

http://saptechnical.com/Tutorials/LSMW/Recording/Recording.htm

Regards.

Eshwar.

Read only

Former Member
0 Likes
1,358

HI,

This has the step by step procedure...

initially there will be 20 steps but after processing 1 step it will reduced to 14 for Batch input recording method

T-Code: LSMW

ENTER PROJECT NAME

Sub project name

Object name

Execute

1. MAINTAIN OBJECT ATTRIBUTES

Execute

Display/Change

Select Batch Input recording

go to->recording overview

create

Recording name

Enter transaction code

Start recording

do recording as per the Requirement

Save & Back

Enter recording name

Save & Back

Now there will be 14 steps

2. MAINTAIN SOURCE STRUCTURES

Execute

Display/Change

Create

Enter the name of structure

Save & Back

3. MAINTAIN SOURCE FIELDS

Execute

Display/Change

Select structure

Select Copy fields (a dialogue window will pop out )

Select From data file

Apply source fields

a. Enter No. of field's

b. Length of record

c. Attach file

Save & Back.

4. MAINTAIN STRUCTURE RELATIONS

Execute

Display/Change

Save & Back

5. MAINTAN FIELD MAPPING & CONVERSION RULE

Execute

Display/Change

Click on source field, select exact field from structure and press Enter

***repeat these steps for all fields

(or) Extras->Automapping

Save & Back

6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED ROUTINEs

Not necessary.

7. SPECIFY FILES.

Execute

Display/Change

Click on legacy data on pc

Brose flat file

Give description

Select tabulator

select Filed names at start of file

Enter

Save & Back

8*. ASSIGN FILES

Execute

Display/Change

Save & Back

9. READ DATA

Execute

Execute

Back & Back

10. DISPLAY IMPORTED DATA

Execute

Enter ok ***it will show records

Back

11. CONVERT DATA

Execute

Execute

Back & Back

12. DISPLAY CONVERTED DATA

Execute

Enter ok ***it will show records

Back

13. CREATE BATCH INPUT SESSION

Execute

Select keep batch input folder

Execute

Enter

14. RUN BATCH INPUT SESSION.

Execute

SM35 will come

Object name will be shown here

Select object & process

Hope this helps u,

Regards,

Arunsri