Show TOC

Creating PortsLocate this document in the navigation structure

Use

A port has to be available for a transfer of data from a legacy system to the SAP System by means of IDocs. As well as the file port, you can also specify a tRFC port.

For data conversion, you can decide whether a file should be created or whether the data should be passed to inbound processing by "packages" directly.

See: Starting IDoc Generation

Prerequisites

You have chosen Start of the navigation path Settings Next navigation step IDoc Inbound Processing End of the navigation path on the LSMW initial screen, and you are on the screen IDoc Inbound Processing: Preparatory Measures.

Procedure

We recommend to maintain the following entries:

  1. Choose Maintain Ports. The IDoc: Port Definition screen appears.

  2. Activate the change mode.

  3. Position the cursor on File and choose Create. Fill in the given fields. We recommend:

    Port:

    LSMW

    Description:

    Legacy System Migration Workbench

    Version:

    IDoc record types SAP Release 4.x

    System Settings

    You specify here whether the files are Unicode or non-Unicode.

    Recommendation: For Unicode systems, choose the Unicode Format setting. Otherwise, leave the entry unchecked.

    If Unicode is selected, then the IDoc control record contains the Unicode indicator EDIDC40_U (instead of EDICD40).

    You can also change the definition of the recipient port so that the process is not terminated if conversion errors occur, and the unconvertible characters are replaced with a replacement character. The default character for replacement is '#'. However, you can also store a different replacement character for the recipient port.

If you additionally want to create the transactional RFC port:

  1. Position the cursor on Transactional RFC and choose Create.Fill in the fields.

  2. Save.

  3. Choose F3 or Back to return to the IDoc Inbound Processing: Preparations Screen.

Result

The partner port has been created.

More Information