2006 Jan 25 5:51 AM
how to transfer the data in lsmw using direct input method.
regards,
Sandeep Kumar B
2006 Jan 25 6:11 AM
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.
2006 Jan 25 5:55 AM
Hi,
Welcome to SDN!!!!!!!!!!!!
Check out the below links.Hopw you find something....
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
Thanks.
If this helps you reward with points.
2006 Jan 25 5:58 AM
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
2006 Jan 25 6:11 AM
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.
2006 Jan 25 6:28 AM