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

ABOUT LSMW

Former Member
0 Likes
612

Hi Developers,

CAN ANY ONE SEND THE DOCUMENT LSMW WITH BAPI AND IDOC.

Thanks&Regards,

phani.

Hi Developers,

CAN ANY ONE SEND THE DOCUMENT LSMW WITH BAPI AND IDOC.

Thanks&Regards,

phani.

3 REPLIES 3
Read only

Former Member
0 Likes
590

1. While running LSMW, goto Settings->IDoc inbound processing

2. The first requirement is a file port for the file transfer. If required, create a port of the file type via

Maintain ports. To do this, position the cursor on "File" and press Create. You should be in change mode. SAP recommends:

PORT: LSMW

NAME: Legacy System Migration Workbench

VERSION: 3 (IDoc record types SAP Release 4.x)

OUTBOUND FILE: Please enter a (dummy) physical directory and a file name, i.e. ‘filelsmw’

3. As an addition, you can specify a tRFC port. This port is required, if you do not want to create a file during data conversion but submit the data in packages directly to function module IDoc_Inbound_Asynchronous. SAP recommends:

PORT: assigned by the system

VERSION: 3 (IDoc record types SAP Release 4.x)

RFC DESTINATION: Name of R/3 System

NAME OF PORT: Legacy System Migration Workbench

4. Then the partner type should be defined or selected. SAP recommends:

PARTNER TYPE: "US" (User)

5. Finally a partner number should be defined or selected. SAP recommends:

PARTNER NUMBER: LSMW

PARTNER TYPE: US

PARTNER STATUS: A (active)

TYPE: US

LANGUAGE: EN or DE

PERSON IN CHARGE: your user id

6. Activate IDoc inbound processing, confirm with YES (to be done once for each system)

Read only

Former Member
0 Likes
590

Hi,

LSMW

Legacy System Migration Workbench

Purpose

The Legacy System Migration Workbench (LSMW) is a tool that supports data migration from legacy systems (non-SAP systems) to SAP systems. It is a cross-platform component of the SAP system.

Implementation Considerations

Do not use the LSMW before the SAP system has been installed and application customizing has been completed.

Integration

The LSMW is a cross-application component (CA) of the SAP system.

The tool has interfaces with the Data Transfer Center and with batch input and direct input processing as well as standard interfaces BAPI and IDoc.

Features

Instead of individual tables or field contents, the tool migrates user-defined datasets (known as objects), which are combined according to business criteria. In addition to using standard import techniques, you can also generate user-specific objects. For more details, see Recordings.

The LSMW comprises the following main functions:

...

1. Read data (legacy data in spreadsheet tables and/or sequential files).

You can use any combination of PC and server files.

2. Convert data (from the source into the target format).

3. Import data (to the database used by the SAP application).

The following additional functions are available:

· Import techniques: Apart from standard batch/direct input and recordings, BAPI and IDocs are available as additional import methods.

· Global functions: You can call certain functions from an ABAP code location of your choice, and so influence the procedure used to migrate your data.

· Editor function: The source code for a target field can be checked. You can insert source fields, global variables, and global functions as well as use the Pretty Printer.

· Action log: All the actions associated with an object are stored in an action log.

· The field assignments for all parts of a project can be downloaded/uploaded in one step.

· Unassigned source fields: Neglected data can be displayed.

· Source fields: You can create source fields by copying them from other sources.

· Processing times: The ABAP code can be added to at different times.

· Authorizations: The LSM Workbench is independent from the client. Access to the LSMW is controlled by authorizations. The assignment of these authorizations is basically independent from the client. The Display, Execute, Change, and Administration functions can be controlled by assigning authorizations.

· Documentation: User-specific documentation can be stored at different levels and formatted into an overall documentation by pressing the appropriate button.

Constraints

The LSMW supports a one-time transfer of data (initial data load) and also offers a restricted support of permanent interfaces. Thus, a periodic transfer of data is possible. The LSMW, however, does not include any functions for monitoring of permanent interfaces.

The tool does not support any data export interfaces (outbound interfaces).

Chk out the link

LSMW with BAPI & IDOC