Documentos de Académico
Documentos de Profesional
Documentos de Cultura
1.
Crear Proyecto........................................................................................................ 2
2.
3.
4.
5.
6.
7.
8.
Specify Files......................................................................................................... 21
9.
Assign Files.......................................................................................................... 22
10.
Read Data......................................................................................................... 23
11.
12.
Convert Data..................................................................................................... 25
13.
14.
15.
16.
17.
Recomendaciones.............................................................................................. 31
1. Crear Proyecto
Prerequisites
To be able to use IDoc inbound processing, you have to define settings and perform
preparatory tasks. These tasks are grouped on the initial screen of the LSM
Workbench under Settings IDoc Inbound Processing.
To use IDoc inbound processing, you must first perform the following steps:
1.
Define or select a file port for transporting the file. Optionally, you can also
create a tRFC port.
See Creating Ports
2.
3.
Creating Ports
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 Settings IDoc inbound processing on the LSMW initial screen,
and the IDoc inbound processing: Preparations screen is displayed.
Procedure
We recommend to maintain the following entries:
...
Port:
LSMW
Description:
Version:
4.x
If you additionally want to create the transactional RFC port:
Position the cursor on Transactional RFC and choose Create.
Fill in the given fields.
Save your entries.
Choose F3 or Back to return to the IDoc inbound processing: Preparations screen.
Si exportas un LSMW de alguno existente debes de refrescar el proceso de creacion
para que actualice los perfiles
Kehren Sie ber F3 oder Zurck zu dem Bild en zurck
Result
The partner port has been created.
More Information
See also: Partner Types
See also: Partner Numbers
Partner Types
Use
You must select a partner type when you transfer data from an external system or
legacy system to an SAP system in IDocs. For the LSMW, we recommend that you
use the partner type US.
Prerequisites
You have chosen Settings IDoc Inbound Processing on the LSMW initial screen,
and you are on the screen IDoc Inbound Processing: Preparatory Measures.
Procedure
Enter US as the partner type.
To do this, proceed as follows:
1.
2.
A table is displayed.
3.
4.
Recommended values:
Partner type:
US
Report name:
/SAPDMC/SAP_LSMW_PARTNERTYPES
Form routine:
READ_USER
Short text:
<any>
5.
Save your data and choose F3 or Back to return to the screen IDoc Inbound
Processing: Preparatory Measures.
Partner Numbers
Use
You must select a partner number when you transfer data from an external system
or legacy system to an SAP system in IDocs.
Prerequisites
You have chosen Settings IDoc inbound processing on the LSMW initial screen,
and the IDoc inbound processing: Preparations screen is displayed.
Procedure
Enter LSMW as partner number.
Or:
...
1. Choose Maintain partner numbers.
The Partner Profiles screen appears.
2. Choose Create.
3. Fill in the given fields.
Recommendation:
Partner
number:
LSMW
Partner type:
US
Partner status:
A (active)
Type:
US
Language:
EN or DE
ID:
Your user ID
4. Save your data and choose F3 or Back to return to the IDoc inbound
processing: Preparations screen.
Result
The partner numbers have been maintained.
Se da click al botn
Method (BAPI)
Se deben indicar los campos del layout; lo que diferencia este proceso con BAPI al
del BATCH es que se debe generar un indicador para la cabecera y las posiciones en
la BAPI.
Debido a que se generan dos estructuras, el layout contempla dos lneas para cada
dato maestro que se desea generar.
BAPI.xlsx
8. Specify Files
Se especifica el archive de carga
BAPI.txt
9. Assign Files
Aqu se asigna el archivo dos veces, una por cada estructura, solo se
puede hacer si existen 2 estructuras de origen y si se selecciono la opcin
indicada en el punto 8.
Cada lnea verde representa un documento generado y abajo las estructuras que se
ocupan para el envo de datos.
17. Recomendaciones
Buscar la bapi y ejecutarla en la transaccin se37, el objetivo es conocerla y saber
la totalidad de campos0020a llenar y la estructura de labapi.