Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

4.4. Configuración de Reglas de Direccionamiento (ICOs y Receiver Determination)

Para la unificación de todos los objetos del DIR se recomienda el uso de escenarios de integración. En este caso algo similar a For the unification of all the objects of the DIR the use of integration scenarios is recommended. In this case something similar to "CS_SII_Procesar_Lote" para el escenario de envío de Lotesfor the Batch Send scenario.


Image Modified
Y And "CC_SII_Adapter_Basic_Monitoring" para el escenario encargado de dar funcionalidad de cancelación y reenvío al for the scenario in charge of giving cancellation and forwarding functionality to the ECC add-on del ECC
Image Modified

...

ICOS of the "CC_SII_Adapter_Basic_Monitoring" scenario

  • |BS_XXXX|SI_OS_ResendMessages||
    • Inbound Processing
      • Communication Channel: CC_S_ABAP_PROXY
    • Receiver
      • Receiver Determination: Standard
      • Communication Component: BC_SII_BROKER
    • Receiver Interfaces
      • Name: SI_IS_ResendMessages
      • Namespace: urn:techedgegroup.com:sii:af
      • OM: N/A
    • Outbound Processing
      • Communication Channel: CC_R_SOAP_AdapterMessageMonitoring

...

  • |BS_XXXX|SI_OS_CancelMessages ||
    • Inbound Processing
      • Communication Channel: CC_S_ABAP_PROXY
    • Receiver
      • Receiver Determination: Standard
      • Communication Component: BC_SII_BROKER
    • Receiver Interfaces
      • Name: SI_IS_CancelMessages
      • Namespace: urn:techedgegroup.com:sii:af
      • OM: N/A
    • Outbound Processing
      • Communication Channel: CC_R_SOAP_AdapterMessageMonitoring

NotaNoteBS_XXXX será el sistema SAP desde donde se realiza el proceso funcional. Normalmente seguirá la nomenclatura de un will be the SAP system from which the functional process is performed. Normally it will follow the nomenclature of a Business System BS_<SID><MANDANTE> <SID> <COMMANDER> (BS_OSD001 ó or BS_NWD100).

ICOS

...

of the scenario "CS_SII_Procesar_Lote"

  • |BS_XXXX|SI_OA_EnviarLote||
    • Inbound Processing
      • Communication Channel: CC_S_ABAP_PROXY
    • Receiver
      • Receiver Determination: Standard
      • Communication Component: BC_SII_BROKER
    • Receiver Interfaces
      • Name: SI_IA_EnviarLote
      • Namespace: urn:techedgegroup.com:sii:af
      • OM: N/A
    • Outbound Processing
      • Communication Channel: CC_R_AAPP_Procesar_Lote_Orchestrator

...

  • |BS_XXXX|SI_OS_CambioEstadoLote||
    • Inbound Processing
      • Communication Channel: CC_S_ABAP_PROXY
    • Receiver
      • Receiver Determination: Standard
      • Communication Component: BC_SII_DASHBOARD
    • Receiver Interfaces
      • Name: SI_IS_ProcesarLote
      • Namespace: urn:techedgegroup.com:sii:af
      • OM: OM_CambioEstadoLote_to_ProcesarLote
    • Outbound Processing
      • Communication Channel: CC_R_SOAP_LotesWS
  • |BC_SII_BROKER|SI_OA_LogTecnico|| Configuración en SAP PI 7.3 (Configuración mediante ICO)
    • Inbound Processing
      • Communication Channel: CC_S_SOAP_Log_Tecnico
    • Receiver
      • Receiver Determination: Standard
      • Communication Component: BC_SII_DASHBOARD
    • Receiver Interfaces
      • Name: SI_IA_LogTecnico
      • Namespace: urn:techedgegroup.com:sii:af
      • OM: N/A
    • Outbound Processing
      • Communication Channel: CC_R_SOAP_LotesWS

Configuración en Configuration in SAP PI 7.1 (Configuración clásicaClassic Configuration) Para las versiones de

For SAP PI 7.1 debe realizarse la configuración para que el procesamiento se realice a través de la pila ABAPversions, the configuration must be performed for processing through the ABAP stack. (Sender Agreement, Receiver Determination, Interfaz Interface Determination y and Receiver Agreement.)

Sender Agreement:
Image Removed Image Added


Receiver Determination: 
Image RemovedImage Added


Interface Determination:
Image RemovedImage Added


Receiver Agreement:
Image Removed Image Added

  • |BC_SII_BROKER|SI_OA_ProcesarLote|| Configuración en Configuration in SAP PI 7.3 (configuración mediante Configuration through ICO)
    • Inbound Processing
      • Communication Channel: CC_S_SOAP_Procesar_Lote
    • Receiver
      • Receiver Determination: Standard
      • Communication Component: BC_SII_DASHBOARD + BS de cada Sistema SAP a informar


Image Removed
Como condición habrá que añadir lo siguienteImage Added


As a condition must be added the following:
( /p1:ProcesarLote/lote/origen = BS_NWD100  AND /p1:ProcesarLote/lote/tipo_fichero = XML_RESP_AEAT ) OR ( /p1:ProcesarLote/lote/origen = BS_NWD100  AND /p1:ProcesarLote/lote/estado = 400 )
Esto evitará que se informe a sistemas cuyo origen ha sido diferente y que se informe con la información de petición (definida como This will prevent reporting to systems whose source has been different and is reported with the request information (defined as XML_ENVIO_AEAT). Por estas ramas al Dashboard irá toda la información mientras que a los sistemas origen tan solo la información de la respuesta de la For these branches to the Dashboard will go all the information whereas to the systems origin only the information of the answer of the AEAT.


    • Receiver Interfaces
      • Componente Component BC_SII_DASHBOARD
        • Name: SI_IA_ProcesarLote
        • Namespace: urn:techedgegroup.com:sii:af
        • OM: N/A


      • Componente Component BS_XXXXXX
        • Name: SI_IA_CambioEstadoLote
        • Namespace: urn:techedgegroup.com:sii:af
        • OM: OM_ProcesarLote_to_CambioEstadoLote



        • Name: SI_IA_RespuestaAEAT
        • Namespace: urn:techedgegroup.com:sii:af
        • OM: OM_ProcesarLote_RespuestaAEAT
        • Condition: /p1:ProcesarLote/lote/tipo_fichero = XML_RESP_AEAT

    • Outbound Processing
      • Componente Component BC_SII_DASHBOARD/ SI_IA_ProcesarLote
        • Communication Channel: CC_R_SOAP_LotesWS
      • Componente Component BS_XXXXXX/ SI_IA_CambioEstadoLote
        • Communication Channel: CC_R_PROXY
      • Componente Component BS_XXXXXX/ SI_IA_RespuestaAEAT
        • Communication Channel: CC_R_PROXY

Configuración en Configuration in SAP PI 7.1 (Configuración clásicaClassic Configuration) Para las versiones de

For SAP PI 7.1 debe realizarse la configuración para que el procesamiento se realice a través de la pila ABAPversions, the configuration must be performed for processing through the ABAP stack. (Sender Agreement, Receiver Determination,  Interfaz Interface Determination y Receiver and Receiver Agreement.)

Sender Agreement: Image Removed

Image Added

Receiver Determination

  • Se determinarán dos receptores:
    • BC_SII_DASHBOARD
    • Si ( /p1:ProcesarLote/lote/origen = BS_<SID><MANDT>  AND /p1:ProcesarLote/lote/tipo_fichero = XML_RESP_AEAT ) OR ( /p1:ProcesarLote/lote/origen = BS_<SID><MANDT>  AND /p1:ProcesarLote/lote/estado = 400 )  entonces el receptor será  then the receiver will be BS_<SID><MANDT>

Image RemovedImage Added


Interface Determination

  • Origen Origin BS_SII_BROKER y Destino and Destiny BC_SII_DASHBOARD

Image RemovedImage Added

  • Origen Origin BS_SII_BROKER y Destino Destiny BS_<SID><MANDT>: para este caso el sistema destino puede recibir dos tipos de mensajes:
  • La condición para ejecutar el OM OM_ProcesarLote_RespuestaAEAT será si el campo /p1:ProcesarLote/lote/tipo_fichero del mensaje origen es igual a XML_RESP_AEAT
  • Para ejecutar el OM OM For this case the target system can receive two types of messages:
    • The condition for executing the OM OM_ProcessAllAEATLatch is if the /p1:ProcessLoad/batch/file_type of the source message is equal to XML_RESP_AEATT
    • To execute the OM OM_ProcesarLote_to_CambioEstadoLote there will be no habrá condicionesconditions.

Image Removed Image Added
Receiver Agreement

  • Acuerdo de recepción para el sistema Reception Agreement for BC_SII_DASHBOARD System

Image Removed

...

Image Added

  • Reception Agreement for BS_<SID><MANDT> Para la recepción del mensaje a través del servicio<SID><MANDT> System  
    • To receive the message through the service: SI_IA_CambioEstadoLote Image RemovedPara la recepción del mensaje a través del servicioCambioEstadoLote 
    • Image Added
    • To receive the message through the service: SI_IA_RespuestaAEAT Image RemovedRespuestaAEAT 

Image Added