✒️SAP BI / BW BO ¿Para qué se crea una Cadena de Procesos?
SAP BI / BW BO ¿Para qué se crea una Cadena de Procesos?
Las cadenas de procesos en SAP BW, también llamadas Process Chains, son una poderosa herramienta gráfica utilizada para planificar y ejecutar de manera automática diferentes procesos en SAP BW.
A través de cadenas de procesos, uno podría configurar los pasos necesarios para por ejemplo realizar la carga de un cubo desde un sistema fuente y luego planificarla para que esta carga se ejecute automáticamente en el momento que queramos. Podríamos también configurarla para que se ejecute periódicamente cada cierto tiempo, entre otras cosas.
Una cadena de procesos consiste en distintos pasos (o procesos), arrancando siempre con un proceso de Comienzo (Start Process). Cada proceso es de un diferente tipo y en el sector izquierdo podemos ver todos los tipos de procesos que puede ejecutar una cadena.
Por ejemplo, entre los procesos que se pueden ejecutar desde una cadena podemos citar:
- Ejecutar un DTP
- Ejecutar un InfoPaquete
- Borrar datos de un cubo/ods
- Ejecutar un programa ABAP
- Activar un ODS
- etc.
Cada uno de estos procesos se une a través de flechas que indican el orden en que se irán ejecutando. Las flechas en color verde indican que el siguiente proceso se ejecutara cuando el anterior haya finalizado exitosamente y las rojas indican que se ejecutará cuando el anterior haya fallado. También puede configurarse que se ejecuten dos o más procesos de manera paralela luego de la finalización (exitosa o no) de un proceso anterior, entre otras cosas.
Estas herramientas que nos brinda SAP BW para la automatización de procesos, el diseñador de la cadena deberá usarlas tratando siempre de buscar la mejor performance, diseñándola de manera que se ejecuten solo los pasos necesarios y en el orden necesario.
Log de Cadenas de Procesos en SAP BW
Un aspecto muy importante de las cadenas de procesos en SAP BW es que estas cuentan con un log de ejecuciones, donde se pueden ver cada ejecución de ella junto con los resultados finales. De esta manera podremos confirmar la correcta ejecución de una cadena o ver en qué pasó fallo con el fin de comenzar la investigación de las causas y maneras de corregirlo.
n SAP BI Data Warehouse Management, it is possible to schedule a sequence of processes in the background for an event and few of these processes can trigger a separate event to start the other processes.
A process chain provides the following benefits to you in a SAP BI system −
-
They can be used to centrally manage and control the processes.
-
You can visualize the processes by using graphics.
-
Using event controlled processing, you can automate the complex schedules.
Features −
- Security
- Flexibility
- Openness
Structure of a Process Chain
Each process chain consists of the following components −
- Start Process
- Individual application Processes
- Collection Processes
The start process is used to define the start condition of a process chain and all other chain processes are scheduled to wait for an event. The application processes are the processes that are defined in a sequence and are the actual processes in a BI system. They can be categorized as −
- Load Process
- Reporting agent Process
- Data target administration process
- Other BI processes
A Process can be defined as a procedure inside or external to the SAP system and has a definite beginning and end.
Start Process for Designing a Process Chain
The start process is used to define the start condition of a process chain. You can start a process chain at the specified time or after an event that is triggered by a start process.
A start of the process chain can also be configured using a metachain. If the start condition of a process chain is integrated with another process chain, this is known as a metachain.
Following are the key features of a Start Process −
-
In a process chain, only a start process can be scheduled without a predecessor process.
-
You can define only one start process for each process chain.
-
A start process can’t be a successor of another process.
-
You can use a start process only in a single process chain.
How to Create a Process chain?
Use T-Code: RSPC or in the Modeling tab → Go to Process Chain.
Right Click in the Context area → Create Process Chain.
Enter the technical name and the description of the Process chain. Click Continue.
To create a Start process, click on the new icon in the next window that comes up. Enter the technical name and the description of the star process.
In the next window, you can define the scheduling options. Direct scheduling is to schedule the process chain at a specified time interval.
You can use “Change selection” to enter details of the scheduling.
Go to Date/Time button. Mention the Scheduled Start date/time, end date/time.
To define frequency, select the check box Periodic Job as shown in the following screenshot. Click on Period Values. Enter the frequency (Hourly/Daily/Weekly/Monthly/Other Period). Click on Save and back button to go back to the previous RSPC screen.
The next step is to select the Process type.
-
To perform dataload via an InfoPackage, use the Process Type Execute InfoPackage.
-
To perform dataload via a DTP, use the Process Type Data Transfer Process.
Double click on the process type and a new window will open. You can select InfoPackage from the options given.
To connect the variant with an InfoPackage, Select the “Start Variant” and keep the left mouse button pressed. Then move the mouse button to the target step. An arrow should follow your movement. Stop pressing the mouse button and a new connection is created.
To perform a consistency check, Click Goto → Checking View.
To activate the process chain, click on Activate or see the following screenshot for understanding the steps to be adhered to.
To schedule the process chain, go to Execution → Schedule. Select Priority and Continue.
This will schedule the process chain as a background job and can be viewed using Transaction SM37.
Monitor the Process Chain
Use T-Code: RSPCM
This is used to monitor daily process chains.
To view the logs, use T-code: RSPC
Select Process chain → Right Click → Display Log.
 
 
 
Sobre el autor
Publicación académica de Mary Galicia, en su ámbito de estudios para la Carrera Consultor en SAP BI / BW BO.
Mary Galicia
Profesión: Ingeniero en Informatica - Venezuela - Legajo: JZ82V
✒️Autor de: 47 Publicaciones Académicas
🎓Egresado del módulo:
Disponibilidad Laboral: FullTime
Certificación Académica de Mary Galicia