Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Work flow events

Former Member
0 Likes
1,655

Hi Experts,

Could any one give workflow events?

Thanks in advance

Rao

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,383

Hi Rao,

check this below events......

SWE_EVENT_REC_TYPE_CHECK_FB Changes the check function module event receiver

SWE_EVENT_REC_TYPE_DISABLE Deactivates a type linkage

SWE_EVENT_REC_TYPE_ENABLE Activates a type linkage

SWE_EVENT_REC_TYPE_FB Changes the receiver function module

SWE_EVENT_REC_TYPE_GET_FB Changes the function module for the type determination of the event receiver

SWE_EVENT_REC_TYPE_GLOBAL Sets a global event linkage

SWE_EVENT_REC_TYPE_NOT_GLOBAL Deletes a global event linkage

SWE_EVENT_REC_TYPE_READ Reads a linkage type

SWE_EVENT_REC_TYPE_DELETE Can be used to delete an entry in the type linkage table

SWE_EVENT_REC_TYPE_ENTER It is also possible to create a completeentry in the type linkage table

regards,

sudheer.

3 REPLIES 3
Read only

Former Member
0 Likes
1,384

Hi Rao,

check this below events......

SWE_EVENT_REC_TYPE_CHECK_FB Changes the check function module event receiver

SWE_EVENT_REC_TYPE_DISABLE Deactivates a type linkage

SWE_EVENT_REC_TYPE_ENABLE Activates a type linkage

SWE_EVENT_REC_TYPE_FB Changes the receiver function module

SWE_EVENT_REC_TYPE_GET_FB Changes the function module for the type determination of the event receiver

SWE_EVENT_REC_TYPE_GLOBAL Sets a global event linkage

SWE_EVENT_REC_TYPE_NOT_GLOBAL Deletes a global event linkage

SWE_EVENT_REC_TYPE_READ Reads a linkage type

SWE_EVENT_REC_TYPE_DELETE Can be used to delete an entry in the type linkage table

SWE_EVENT_REC_TYPE_ENTER It is also possible to create a completeentry in the type linkage table

regards,

sudheer.

Read only

Former Member
0 Likes
1,383

Hi Rao,

SAP work flow event trace facility. Transactions SWEL, SWELS. Path is SAP Easy Access->Business Workflwo ->Development->Utilitites->Events->Event Trace.

SWEC -- Link change documents to events -- Path(Definition Tools > Events> Event Creation > Change Documents> Linkage )

SWED -- Assign change document objects to object types

path(Definition Tools > Events> Event Creation -->Change Documents --> Define Workflow Properties)

Important Transaction Codes for work flow

Path:

Tools ® Business Workflow ® Development ® ...

AWUW (*)

Logistics Information System (LIS)

Definition Tools ® Events ® Event Creation ® Logistics Information System (LIS)

Creation of Events Upon LIS Exceptions

BSVW (*)

Status management

Definition Tools ® Events ® Event Creation ® Status Management

Status management

NACE (*)

Message control

Definition Tools ® Events ® Event Creation ® Message Control

Creation of Events via Message Control

OOAW

Evaluation paths

PFAC_CHG

Change roles

Definition Tools ® Standard Roles ® Change

PFAC_DEL

Delete roles

Definition Tools ® Standard Roles ® Delete

PFAC_DIS

Display roles

Definition Tools ® Standard Roles ® Display

PFAC_INS

Create roles

Definition Tools ® Standard Roles ® Create

PFOM

Maintain assignment to SAP organizational objects

Definition Tools ® Organizational Management ® SAP Organizational Objects ® Create Assignments

PFOS

Display assignment to SAP organizational objects

Definition Tools ® Organizational Management ® SAP Organizational Objects ® Display Assignments

PFSO

Organizational environment of a user

PFTC_CHG

Change tasks

Definition Tools ® Tasks/Task Groups ® Change

Tasks and Task Groups

PFTC_COP

Copy tasks

Definition Tools ® Tasks/Task Groups ® Copy

PFTC_DEL

Delete tasks

Definition Tools ® Tasks/Task Groups ® Delete

PFTC_DIS

Display tasks

Definition Tools ® Tasks/Task Groups ® Display

PFTC_INS

Create tasks

Definition Tools ® Tasks/Task Groups ® Create

PPOCW

Create organizational plan

Definition Tools ® Organizational Management ® Organizational Plan ® Create

Enterprise-Specific Organizational Plan

PPOMW

Maintain organizational plan

Definition Tools ® Organizational Management ® Organizational Plan ® Change

PPOSW

Display organizational plan

Definition Tools ® Organizational Management ® Organizational Plan ® Display

SWDA

Workflow Builder

Definition Tools ® Workflow Builder ® Workflow Builder (Alphanumeric)

Calls the Workflow Builder in alphanumeric mode

SWDD

Workflow Builder

Definition Tools ® Workflow Builder ® Workflow Builder

Workflow Builder

SWDS

Workflow Builder

Definition Tools ® Workflow Builder ® Workflow Builder (selection)

Select workflow immediately when calling the Workflow Builder

SWDD_CONFIG

Workflow configuration

Definition Tools ® Workflow Configuration

Configuring a Workflow

SBWP

The Business Workplace

Runtime Tools ® Business Workplace

Business Workplace

SWDC_DEFINITION

Workflow Builder administration data

Administration ® Basic Settings ® Workflow Definition Time ® Workflow Builder Administration

Workflow System Administration

SWDC_RUNTIME

Workflow runtime administration data

Administration ® Basic Settings ® Workflow Runtime ® Maintain Administrator for Runtime

Workflow Runtime Administration

SWNCONFIG

Extended notifications for business workflow

Administration ® Basic Settings ® Notification for Work Items

Extended Notifications for Business Workflow

SWDM

Business Workflow Explorer

Definition Tools ® Business Workflow Explorer

Business Workflow Explorer

SWEINST

Evaluation and maintenance of instance linkages

Administration ® Event Manager ® Instance Linkages

Evaluation and Maintenance of Instance Linkages

SWEINSTVC

Evaluation and maintenance of instance linkages

Administration ® Event Manager ® Instance Linkages

Evaluation and Maintenance of Instance Linkages

SWE2

Evaluation and maintenance of type linkages

Administration ® Event Manager ® Type Linkages

Evaluation and Maintenance of Type Linkages

SWE3

Evaluation and maintenance of instance linkages

Administration ® Event Manager ® Instance Linkages

Evaluation and Maintenance of Instance Linkages

SWE4

Switch event trace on/off

Administration ® Event Manager ® Event Trace ® Switch Event Trace On/Off

Event Trace

SWEL

Display event trace

Administration ® Event Manager ® Event Trace ® Display Event Trace

RSWELOGD

Delete event trace

Administration ® Event Manager ® Event Trace ® Delete Event Trace

SWEC

Link change documents to events

Definition Tools ® Events ® Event Creation ® Change Documents ® Linkage

Creation of Events When Change Documents Are Written

SWED

Assign change document objects to object types

Definition Tools ® Events ® Event Creation ® Change Documents ® Define Workflow Properties

Maintenance of Workflow-Relevant Settings for Change Documents

SWEQADM_1

Event queue administration

Administration ® Event Manager ® Event Queue

Event Queue Administration

SWEQBROWSER

Administration of event queue browser

Utilities ® Events ® Event Queue Browser

Event Queue Browser

SWETYPV

Evaluation and maintenance of type linkages

Administration ® Event Manager ® Type Linkages

Evaluation and Maintenance of Type Linkages

SWI1

Selection report for work items

Utilities ® Work Item Selection

Work Item Selection

SWI2_FREQ

Work items per task

Reporting ® Work Item Analysis ® Work Items Per Task

Work Item Analysis

SWI2_DEAD

Work items with monitored deadlines

Reporting ® Work Item Analysis ® Work Items with Monitored Deadlines

SWI2_DURA

Work items by processing duration

Reporting ® Work Item Analysis ® Work Items By Processing Duration

SWI11

Tasks in workflows

Reporting ® Task Analysis ® Tasks In Workflows

Task Analysis

SWI13

Task profile

Reporting ® Task Analysis ® Task Profile

SWI5

Workload analysis

Reporting ® Workload Analysis

Workload Analysis

SWL1

Settings for dynamic columns

Definition Tools ® Worklist Client ® Dynamic Columns for Worklist

SWLV

Maintain work item views

Definition Tools ® Worklist Client ® Maintain Views

Views

SWFVISU

Parameters for Work Item Visualization in the UWL

Definition Tools ® Worklist Client ® Workflow Visualization Metadata

Parameters for Work Item Visualization in the UWL

SWO1

Business Object Builder

Definition Tools ® Business Object Builder

Business Object Builder

SWO6

Customizing object types

From the Business Object Builder, choose Settings ® Delegate ® System-wide

Adapting Object Types on a Customer-Specific Basis

SWR_WEBSERVER

Customizing Web server

Administration ® WebFlow ® Customizing Web Server

Defining the Web Server

SWU_CONT_PERSISTENCE

Administration of container persistence

Administration ® Workflow Runtime ® Container Handling ® Container Persistence Administration

Workflow Runtime Administration

SWU_EWCD

Wizard for event creation using change documents

Definition Tools ® Events ® Event Creation ® Set Up With Wizard ® Change Documents

Wizards for Event Creation

SWU_EWLIS

Wizard for event creation using the Logistics Information System

Definition Tools ® Events ® Event Creation ® Set Up With Wizard ® Logistics Information System

SWU_BTE

Wizard for event creation using Business Transaction Events

Definition Tools ® Events ® Event Creation ® Set Up With Wizard ® Business Transaction Events

SWU0

Event simulation

Utilities ® Events ® Simulate Event

Event Simulation

SWU2

RFC monitor

Utilities ® Workflow RFC Monitor

Workflow RFC Monitor

SWU3

Automatic Workflow Customizing

Utilities ® Automatic Workflow Customizing

Automatic Workflow Customizing

SWU4

Consistency check for standard tasks

Utilities ® Consistency Check ® Tasks ® Standard Task

Consistency Check

SWU5

Consistency check for customer tasks

Utilities ® Consistency Check ® Tasks ® Customer Task

SWU6

Consistency check for workflow tasks

Utilities ® Consistency Check ® Tasks ® Workflow Task

SWU7

Consistency check for workflow templates

Utilities ® Consistency Check ® Tasks ® Workflow Template

SWU8

Switch workflow trace on/off

Utilities ® Workflow Trace ® On/Off

Workflow-Trace

SWU9

Display workflow trace

Utilities ® Workflow Trace ® Display

SWU10

Delete workflow trace

Utilities ® Workflow Trace ® Delete

SWUD

Diagnostic tools

Utilities ® Diagnosis

Error Diagnosis

SWUE

Trigger event

Utilities ® Events ® Create Event

Creation of Events for Test Purposes

SWUI

Start workflows/tasks

Runtime Tools ® Start Workflow

Starting Tasks

SWUS

Testing workflows/tasks

Runtime tools ® Test Workflow

Testing Workflows

SWXML

Display XML documents

Reporting ® WebFlow ® XML Documents Selection

Displaying XML Documents

SWUY

Wizard for linking messages to workflows

Definition Tools ® Wizard Create "Call Workflow from Message“

Starting Tasks From Message Long Texts

SWWCOND_INSERT

Schedule background job for work item deadline monitoring

Administration ® Workflow Runtime ® Work Item Deadline Monitoring ® Schedule Background Job

Workflow Runtime Administration

SWWCLEAR_INSERT

Schedule background job for clearing tasks

Administration ® Workflow Runtime ® Work Item Error Monitoring ® Configure and Schedule Background Job

Workflow Runtime Administration

RSWWCOND

Execute single background job for work item deadline monitoring

Administration ® Workflow Runtime ® Work Item Deadline Monitoring ® Schedule Background Job

Workflow Runtime Administration

RSWWCLEAR

Execute work item clearing work once

Administration ® Workflow Runtime ® Work Item Error Monitoring ® Execute Clearing Tasks

Workflow Runtime Administration

WF_HANDCUST

WebFlow service handler maintenance

Configure Workflow System for the Use of Web Services

WF_EXTSRV

Maintain Web Service Repository

Register Web Service Definition

WFWS

Import WSDL files

Register Web Service Definition

Thanks& Regards

venkat

Read only

Former Member
0 Likes
1,383

Hi Rao,

Time event-related confirmations recorded in the Production Planning and Control/Process Industries (PP/PI) components are posted as work time events to the Time Events infotype (2011) in Time Management. Time tickets are generated from the work time events and can be transferred to Incentive Wages if required.

Actual times are determined during pair formation in Time Management. If different work schedule rules are assigned to the employees, this is taken into account when calculating the actual times for past periods by performing a recalculation.

Pair formation also occurs in Logistics to calculate employee working time. However, work schedules in Time Management are not taken into account here. As a result, the differences resulting from pair formation in Time Management and Logistics are returned to the appropriate Logistics system.

Prerequisites

The confirmation data has been transferred from Production Planning and Control to Time Management. On the basis of the record type, the system has decided to process the work time events using table EVHR.

Confirmations that were not transferred successfully can be processed using the Time Management pool. An example of an error is a missing record type, making it impossible to assign the confirmation to EVHR or LSHR.

The activity types must be assigned the appropriate incentive wages indicators in Production Planning and Control. These settings are made for each existing work center. For more information, see Calculations.

Process Flow

The Post Work Time Events from CC2 (SAPCDT46) starts the processing.

Using existing person time events and work time events, time pairs are formed and time tickets are generated. The duration between two work time events is calculated from the employee’s daily work schedule and breaks, and written to the last work time event.

Once all validations and processing steps have been successfully completed, the time events and related information are saved to the database:

The time pairs and time tickets are saved separately for each employee and period to tables PT (pair table), WST (time tickets), and AT (link table) in cluster B2, database PCL2.

You can check the tables using the Display Cluster B2 of Database PCL2 (RPCLSTB2) report.

The time events are saved in table TEVEN. The personnel number, date, time, time event type, and previous day indicator fields are the main fields in table TEVEN. For work time events, data is also saved in table TEVEN_MORE. This table contains the Logistics order, operation, quantity, target time, standard data, and work center fields. The link between the tables is established by the PDSNR number assigned at the start.

The processed time events are deleted from table EVHR.

If there is a time event that could not be processed as the personnel number was already locked by another transaction, it remains in table EVHR and is processed the next time.

Work time events with errors are stored in a pool and deleted from table EVHR. You can display, post or delete the pools by choosing Time Management ® Pool ® Subsystem.

Any differences resulting from comparing pair formation in both Time Management and Logistics are transferred to Logistics. In this way, working times based on work schedules in Time Management are available in Logistics.

Result

On the one hand, generated time tickets are linked with work time events. They are also linked with the time pair as well.

The generated time tickets can be passed on to Incentive Wages. In this case, planning data is read from Logistics and entered in the time ticket, enabling a performance-based valuation in Payroll.

If the Logistics confirmations contain information on the cost centers to be debited, this data is included in Time Evaluation and in Incentive Wages, and is also passed on to Payroll.

thanks & regards

venkat