🚀PROMO #PLANCARRERA2024 - 🔥Bonificaciones, Precios Congelados y Cuotas

 X 

✒️ABAP El customizing ALE

ABAP El customizing ALE

ABAP El customizing ALE

Customizing ALE

Partner Agreement

An ALE partner is a remote SAP system or a legacy system with which data is exchanged. For communication between partners, i.e., sender and receiver, to work correctly, there must be an agreement on the syntax and semantics of the exchanged data. This agreement is called a Partner Agreement.

A Partner Agreement is defined by the following data:

  • IDoc Type and Message Type: These are the key identifiers of the Partner Agreement.
  • Sender and Receiver Names exchanging IDocs for the IDoc Type and Message.
  • Port through which sender and receiver communicate.

Specific message data to be transmitted will be defined in the input or output parameters as appropriate.

Partner agreements are created using transaction WE20. These must be defined in each client of the system where the IDocs are executed, as their definition is client-dependent. The receiving system is selected from the "EDI Partners" menu. If it does not exist, it should be created. This new system must exist as a logical system within our SAP system.

To complete the IDoc definition, we will add the message type in the corresponding sector. Output Parameters if it is an outbound IDoc, Input Parameters if it is an inbound IDoc.

For Outbound IDocs, the following parameters are required:

  • Receiving System.
  • Port.
  • Base Type.
  • Message Generation Method.
  • Processing Mode.

For Inbound IDocs, the parameters will be:

  • Sending System.
  • Logical Message.
  • Process Code.
  • Function that performs the input processing.

Creation of RFC Destinations, Ports, and Logical Systems

An RFC destination is a gateway that allows communication between one SAP system and another SAP or non-SAP system. RFC destinations are configured through SM59. Depending on the destination, the RFC connection will be of one type or another. Generally, IDocs are sent via TCP/IP connections. These connections require informing the server name and the destination TCP port.

A port is the logical name for an input/output device. Programs communicate with a port through a standard interface and allow defining the communication medium for Partner Agreements. Each port, with its characteristics, can be assigned to multiple Partner Agreements. At least one port must be defined for each external system.

Ports indicate how EDI messages are sent and are configurable via WE21.

There are different types of ports:

  • Files: Used if the IDoc information needs to be stored in a directory on the application server. It is recommended not to use static file names to avoid overwriting. Dynamic file names can be created using the EDI_PATH_CREATE_CLIENT_DOCUMENT function based on the client and IDoc number.
  • XML Files: Allows sending documents in XML format. These ports require the port name, XML format, and the filename to generate. The filename can be dynamically generated with the same function mentioned above.
  • Transactional RFC: Used when the receiving system is an external system, either SAP or non-SAP.
  • XML-HTTP: In this port, an RFC destination is specified instead of defining the XML file name.
  • ABAP: Executed when communication is within the same SAP system. An RFC destination specifies a function module to be executed once the IDoc is sent.

Logical systems are created with transaction BD54. If a logical system is an SAP system, we must assign it a client. To do this, access transaction SCC4.

Configurations made in WE20, WE21, and SM59 cannot be transported. There is a way to force their inclusion in a transport order:

  • Create a custom transport order using transaction SE01.
  • Double-click on the task of the order and press the Modify button.
  • In the next screen, enter the following fields:
    • Program ID: R3TR.
    • Object Type: TABU.
    • Object: RFCDES for entries from transaction SM59, EDIPORT for entries from WE21, and TBDLS and TBDLST for entries from WE20.
  • Double-click on the table name, and a new screen will appear where you can enter the records generated in the corresponding tables. If you want to transport all destinations from SM59, enter *. Do the same for WE20 and WE21.

Distribution Model

The Distribution Model is a view where the distribution of master data is defined. In the Distribution Model, the following functions are performed:

  • Relationships between logical systems, message types, BAPIs, and filters are defined.
  • Applications and the ALE layer use it to determine recipients and control data distribution.
  • Distribution scenarios define IDoc types and partner pairs participating in an ALE distribution. They serve as a reference to determine which data will be replicated and its recipients.

The Distribution Model is shared among all participating partners. However, it is only maintained from one system, the so-called leading system. From this system, the model is configured for any partner, even if the scenario is already active.

Different scenarios can be created within a Distribution Model for different purposes. It is recommended to have one scenario per administrator. So, if we have different departments with different requirements, we will have one scenario per department.

To create a Distribution Model, follow these steps:

  • Access transaction BD64 and switch to modification mode using the menu option Distribution Model => Change Treatment Mode.
  • Press the "Create Model View" button. In the dialog window, enter a brief text and the technical name for the Distribution Model.
  • Select the newly created record and click the "Insert Message Type" button. In the new dialog window, enter the sender's logical system name that will transmit the message, the recipient's name that will receive it, and the message type to be transmitted between sender and recipient.

It is important to note that it is not possible to maintain the same message type between the same sender and receiver in more than one Distribution Model.


 

 

 


Sobre el autor

Publicación académica de Jaime Eduardo Gomez Arango, en su ámbito de estudios para la Carrera Consultor ABAP.

SAP Master

Jaime Eduardo Gomez Arango

Profesión: Ingeniero de Sistemas y Computación - España - Legajo: SW34C

✒️Autor de: 108 Publicaciones Académicas

🎓Cursando Actualmente: Consultor ABAP Nivel Avanzado

🎓Egresado del módulo:

Disponibilidad Laboral: FullTime

Presentación:

Ingeniero de sistemas y computación con 8 años de experiencia el desarrollo frontend & backend (react/node) y en cloud (aws), actualmente desarrollando habilidades en sap btp, ui5, abap y fiori.

Certificación Académica de Jaime Gomez

✒️+Comunidad Académica CVOSOFT

Continúe aprendiendo sobre el tema "El customizing ALE" de la mano de nuestros alumnos.

SAP Master

Lección 3: Customizing ALE. 1.- Acuerdo de Interlocutor. Acuerdo de Interlocutor es cuando el emisor y el receptor están de acuerdo en la sintaxis y semántica de los datos intercambiados. Interlocutor ALE - Es un sistema SAP remoto o un sistema legacy con el que se intercambian datos. Datos definidos en un Acuerdo Interlocutor: Tipo de IDoc y Tipo de mensaje, los cuales son el identificador clave del Acuerdo de interlocutor. Nombre del Emisor y Receptor que intercambiarán los IDocs para el tipo de IDoc y mensaje. Puerto por el cual el emisor y receptor se comunican. A través de la transacción WE20 se crea el Acuerdo de interlocutor. Se debe definir el acuerdo en cada mandante, ya...

Acceder a esta publicación

Creado y Compartido por: Calixto Gutiérrez

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master

Customizing ALE 1- Acuerdo de Interlocutor El Interlocutor ALE es un sistema SAP remoto o sistema legacy con el que se intercambian datos. Acuerdo de Interlocutor es establecer entre el Emisor y el Receptor de la sintaxis y semántica de los datos a intercambiar Tipo de IDoc y Tipo de Mensaje, los cuales son el identificador clave del Acuerdo Nombre del Emisor y Receptor que intercambiarán los IDocs Puerto por el cual se comunicarán para el intercambio En el Interlocutor se definen datos específicos de cada mensaje a trasmitir en los parámetros de Entrada o Salida. A través de la Trx WE20 se crea el Acuerdo de Interlocutor, y se lo debe definir en cada Mandante y Sistema donde se...

Acceder a esta publicación

Creado y Compartido por: Victor Norberto Levi

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master

Lección 3: Customizing ALE 1 Acuerdo de Interlocutor Interlocutor ALE: es un sistema SAP remoto o un sistema legacy con el que se intercambian datos. Cuando los datos son intercambiados entre interlocutores, es importante que el emisor y el receptor estén de acuerdo en la sintaxis y semántica de datos intercambiados. A este acuerdo se llama acuerdo de interlocutor. Los datos definidos en un acuerdo de interlocutor son: ü Tipo de IDoc y Tipo de mensaje, los cuales son identificador clave del acuerdo de interlocutor. ü Nombre del emisor y receptor que intercambiarán los IDoc para el tipo de IDoc y mensaje. ü Puerto por el cual el emisor y el receptor se comunica. El interlocutor se define datos...

Acceder a esta publicación

Creado y Compartido por: Jhon Deibys Cano Pineda

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Senior

ALE Interlocutor ALE es un sistema SAP remoto con el que se intercambian datos. Acuerdo de Interlocutor es cuando el emisor y receptor están de acuerdo en sintaxis / semántica de los datos. Trx WE20 Dependiente de Mandante Datos Definidos: * Tipo de Idoc y Mensaje * Nombre Emisor y Receptor * Puerto de comunicación (nombre lógico para un dispositivo de Entrada/Salida) * Trx WE21 * Indican la forma de envio Destino RFC es una puerta de enlace que permite comunicar sistema SAP a otro sistema (SAP o no SAP) * Trx SM59 Sistemas Lógicos se crean en la trx BD54 Cuando es sistema lógico R/3 se le asigna mandante con la Trx SCC4 Modelo...

Acceder a esta publicación

Creado y Compartido por: Hazel Maribel Flores Martin

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Senior

En el Acuerdo de Interlocutor se definen: Tipo de IDoc y tipo de mensaje. Nombre del emisor y receptor. Puerto de comunicación (Ficheros, Ficheros XML, RFC, XML-HTTP y ABAP). Los destinos RFC permiten comunicar sistemas SAP con otros sistemas SAP o no SAP. El modelo de distribución es donde se define la relación entres sistemas lógicos, tipos de mensaje, BAPIs y filtros. * TRANSACCIONES - WE20 --> Creación de Acuerdo de Interlocutor. - SM59 --> Mantenimiento de sistemas RFC. - WE21 --> Mantenimiento de puertos de comunicación. - BD54 --> Mantenimiento de sistemas lógicos. - SCC4 --> Asignar un sistema lógico a un mandante. - BD64 --> Creación de modelos...

Acceder a esta publicación

Creado y Compartido por: Francisco Javier López Andreu

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master

1.- Acuerdo de Interlocutor. Interlocutor ALE: Es un sistema SAP remoto o un sistema legacy con el que se intercambian datos. Cuando existe intercambio de datos entre interlocutores, es importante que el emisor y el receptor estén de acuerdo en la sintaxis y semántica de los datos intercambiados. A este acuerdo se le llama Acuerdo de interlocutor Los datos definidos en un Acuerdo de Interlocutor son: Tipo de IDoc y Tipo de mensaje, los cuales son el identificador clave del Acuerdo de Interlocutor. Nombre del Emisor y Receptor que intercambiarán los IDocs para el Tipo de IDoc y mensaje. Puerto por el cual el emisor y receptor se comunicarán. En el interlocutor se definen datos especificos de cada mensaje...

Acceder a esta publicación

Creado y Compartido por: Gustavo Alberto Ramirez Franco

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert


Acuerdo de Interlocutor. Es un sistema SAP remoto o un sistema legacy con el que intercambian datos. Se crea mediante la transacción WE20 Para definir los Idoc, se agrega el tipo de mensaje, en el sector parámetros de salida si es de salida y en el parámetro de entrada si es de entrada y haciendo clic en el botón agregar registro- Los Idoc de salida se indican el sistema receptor, el puerto, el tipo de base, forma en que se genera el mensaje y en que modalidad se procesa. Los Idoc de entrada indican el sistema emisor, el mensaje lógico, el código de proceso y la función que procesa la entrada. Creación de destinos RFC, puertos y sistemas lógicos. Destino RFC: es una puerta de enlace...

Acceder a esta publicación

Creado y Compartido por: David De Jesùs Restrepo Cañas

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Expert


INTERLOCUTOR ALE: Es un sistema SAP REMOTO o un sistema LEGACY con el que se intercambian datos. Transaccion WE20: Se crea el acuerdo de Interlocutor DESTINO RFC: Es una puerta de enlace, permite comunicar un sistema SAP con otro sistema SAP o no SAP. Transaccion SM59: Se crean los detinos RFC. Transaccion WE21: Los puertos se indican en forma de envio de los mensajes EDI Transaccion BD54: Se crean los sistemas logicos. Transaccion SCC4: Asigna un sistema logico a un mandante de SAP. Transccion BD64: Se crean los modulos de distribucion.

Acceder a esta publicación

Creado y Compartido por: Ernesto Aristides Romano

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP SemiSenior

Interlocutor ALE: sistema de Intercambio SAP remoto o Sistema Legacy Tx. WE20 1) Tipo de IDOC; tipo de Mensaje 2) Nombre del Emisor y del Receptor 3) Puerto del Emisor y del Receptor que se comunican _______________________________________________________________________ Destinos RFC: Enlace de Sistemas SAP o no SAP (Tx. SM59) _______________________________________________________________________ Puerto: Nombre Logico dispositivo de entrada/salida. (Tx. We21) 1) Ficheros: cuando se requiere que la informacion este almacenada: 2) Ficheros XML: se puede invocar la funcion EDI_PATH_CREATE_CLIENT_DOCNUM. 3) RFC Transaccional: Funcion directa. 4) XML-HTTP: Se especifica un destino RFC. 5) ABAP: Define el flujo de procesos, ejecutan un modulo de...

Acceder a esta publicación

Creado y Compartido por: Leonel Amador Ortiz

*** CVOSOFT - Nuestros Alumnos - Nuestro Mayor Orgullo como Academia ***

SAP Master

Acuerdo de interlocutor Es una acuerdo de sintaxis y semántica de los datos intercambiados entre interlocutores ALE (sistema SAP remoto o un sistema legacy). Datos que definen el acuerdo Tipo de IDoc y Tipo de mensaje Nombre de emisor y receptor Puerto de comunicacines Se crean a través de la Tx WE20 Destino RFC Puerta de enlace para comunicar un sistema SAP con sistema SAP o no SAP Para envío de IDocs se usa TCP/IP especificando nombre de servidor y puerto destino Para configurar puertos Tx WE21 Puertos más comunes: Ficheros Ficheros XML RFC Transaccional XML-HTTP ABAP Creamos los sistemas lógicos desde la TX BD54 Modelo de distribución...

Acceder a esta publicación

Creado y Compartido por: Xavier Martinez Garsaball

 


 

👌Genial!, estos fueron los últimos artículos sobre más de 79.000 publicaciones académicas abiertas, libres y gratuitas compartidas con la comunidad, para acceder a ellas le dejamos el enlace a CVOPEN ACADEMY.

Buscador de Publicaciones:

 


 

No sea Juan... Solo podrá llegar alto si realiza su formación con los mejores!