✒️ABAP El customizing de un WorkFlow
ABAP El customizing de un WorkFlow
Introduction to Customizing
Customizing the SAP Workflow system is a straightforward task if you follow some basic guidelines. The configuration of the Workflow system mainly involves the following basic activities:
- Defining a number range for new Workflow objects (Workflows, tasks, roles, etc.).
- Defining an active plan version for the organizational structure.
- Defining a batch user for tasks that need to be executed by the system.
- Defining an RFC destination for batch tasks.
- Defining one or more users responsible for the Workflow system.
- Creating jobs for monitoring overdue and erroneous tasks.
To access the Workflow customizing, follow this path from the SPRO transaction menu:
|-> SAP Netweaver
|-> Servidor de aplicación
|-> Business Management
|-> SAP Business Workflow
Automatic Configuration
The Workflow system comes with a very useful tool for automatic configuration. This tool can be executed with transaction SWU3 or from the IMG menu: Update standard settings.
To execute automatic customizing, simply press the "Automatic Customizing" button and let the system do its job.
After executing this transaction, some configurations need to be reviewed manually.
Once all the configuration is completed, you can test the Workflow system by pressing the "Start Verification Workflow" button.
Manual Configuration
- Workflow Responsible: At this point, you configure a user or group of users responsible for administering the Workflow system. By default, the automatic configuration will use the user who is configuring the system.
Regarding the standard task and standard time unit, leave the task as default and set the desired time unit. This time unit will only affect the development phase because it will be the default one displayed.
- Jobs: There are two jobs that need to be programmed to monitor overdue and erroneous tasks. The first one to configure is for overdue tasks. This job has two options: configure an isolated job to execute immediately or schedule one. The name of the job is SWWDHEX. In the case of the job for erroneous work items (SWWERRE), besides the execution interval, you need to configure the number of failed attempts of a work item before sending a notification to the Workflow administrator.
Prefixes for Standard Objects
When developing new Workflows (Workflows, tasks, roles, etc.), the system will assign an internal number to the developed object. This number must be unique across all development systems. Therefore, for each system and development client the company has, a three-digit prefix and the development class or package being used for new developments must be set.
- This can also be accessed directly through transaction OOW4.
- Before defining the development class or package, ensure the consistency of developments across systems.
- If you want to add a new prefix, press the "Modify" button.
- Then, press the "Create" button.
- Finally, enter the prefix, system ID, and client number, and press the "Save" button.
You'll see the newly activated entry corresponding to the prefix you just created.
|-> SAP Netweaver
|-> Application Server
|-> Business Management
|-> SAP Business Workflow
|-> Global Settings
|-> Update Prefix Numbers
Customizing Standard Workflows
Configuring SAP's standard Workflows mainly involves two activities:
- Assigning responsibilities to the Workflow tasks.
- Activating the relationship between the Workflow and the event that triggers it.
These activities are configured in the "Task-Specific Customizing" within the specific Workflow customizing options (transaction OOCU).
A tree will appear with all the system modules and submodules. Select the functional element you want, and then two options will appear:
- Assign tasks to responsible parties.
- Activate event coupling.
Let's assign tasks to responsible parties.
- To do this, select the task and press the "Properties" button.
- You can mark the task as a general task if anyone can execute it.
- If only some job positions, organizational units, users, etc., can execute the task, then the buttons below in the menu should be assigned.
- To activate the event that initiates the Workflow, select the Workflow you want to activate and then press the activation button on the toolbar.
- Once activated, the coupling status will be set to activated. After completing this configuration, you can test if the Workflow works in the application by executing the program that triggers the event (depends on each specific Workflow and its own application).
 
 
 
Sobre el autor
Publicación académica de Jaime Eduardo Gomez Arango, en su ámbito de estudios para la Carrera Consultor ABAP.
Jaime Eduardo Gomez Arango
Profesión: Ingeniero de Sistemas y Computación - España - Legajo: SW34C
✒️Autor de: 118 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