Application Development 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: 

lsmw

Former Member
0 Kudos
129

how to transfer the data in lsmw using direct input method.

regards,

Sandeep Kumar B

1 ACCEPTED SOLUTION

Former Member
0 Kudos
103

Hi Sandeep,

LSMW is a tool which generates the code based on the method you have selected and mappings you have defined. Direct inout method can only be used if there is a direct input program provided by SAP for that object. you won't find direct input programs for all objects.

1.so first thing you will have to find is whether there is any direct input program available for the object you need to migrate e.q. Material.

2.Then you will have to provide information about input file. how many structure will be there in input file and what fields will be there in input file.

3. LSMW will automatically show you the structure in which data is required by the program. you will have tp map input strucuture to corresponding program structure.

4. Then you will have to map field from input strucutre to program structure. you can either map is as it is or you can specify some conversion rule.

5. Then you will have to provide file names for input file and 2 imtermediate files which LSMW uses in its program.

6. then you will have to execute READ DATA and CONVERT DATA step.

7. Next step will be to create the session for performing data transfer.

There are some optional steps like Display data, Display conversion program etc.. which you may check if there is any bug or any oter problem.

Hope it helps..

Regards,

Komal.

4 REPLIES 4

Former Member

Former Member
0 Kudos
103

Hi Sandeep

while selecting "Object Type and Importing Technique"

select first radio button - standard batch/Direct input.

depending upon the specific object it select either Batch input or Direct Input.

Regards

Rahul

Former Member
0 Kudos
104

Hi Sandeep,

LSMW is a tool which generates the code based on the method you have selected and mappings you have defined. Direct inout method can only be used if there is a direct input program provided by SAP for that object. you won't find direct input programs for all objects.

1.so first thing you will have to find is whether there is any direct input program available for the object you need to migrate e.q. Material.

2.Then you will have to provide information about input file. how many structure will be there in input file and what fields will be there in input file.

3. LSMW will automatically show you the structure in which data is required by the program. you will have tp map input strucuture to corresponding program structure.

4. Then you will have to map field from input strucutre to program structure. you can either map is as it is or you can specify some conversion rule.

5. Then you will have to provide file names for input file and 2 imtermediate files which LSMW uses in its program.

6. then you will have to execute READ DATA and CONVERT DATA step.

7. Next step will be to create the session for performing data transfer.

There are some optional steps like Display data, Display conversion program etc.. which you may check if there is any bug or any oter problem.

Hope it helps..

Regards,

Komal.