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.
You have chosen IDoc Inbound Processing: Preparatory Measures.
on the LSMW initial screen, and you are on the screenWe recommend to maintain the following entries:
Choose Maintain Ports. The IDoc: Port Definition screen appears.
Activate the change mode.
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:
Position the cursor on Transactional RFC and choose Create.Fill in the fields.
Save.
Choose F3 or Back to return to the IDoc Inbound Processing: Preparations Screen.
The partner port has been created.