This document contains transaction codes, function modules, and macros for working with workflows in SAP. It includes transactions for workflow administration, building and maintaining workflows, and starting and monitoring workflow processes. It also describes function modules for creating events, starting workflows, and managing work items. Finally it provides macros for declaring and setting values in workflow containers, creating and executing objects, and handling exceptions.
Download as XLS, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
137 views
Important Transactions in Workflow
This document contains transaction codes, function modules, and macros for working with workflows in SAP. It includes transactions for workflow administration, building and maintaining workflows, and starting and monitoring workflow processes. It also describes function modules for creating events, starting workflows, and managing work items. Finally it provides macros for declaring and setting values in workflow containers, creating and executing objects, and handling exceptions.
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 5
Transaction Code Transaction Name
SWDD Workfow Builder
PFAC Maintain Standard Role PFTC Maintain Tasks PFOM Create Organizational Assignments PPOME Organization and Staffing Change PPWFBUF Refresh client buffer SWB_COND Workflow start conditions SWEC Events for change document overview SWEL Display Event Trace SWELS Switch Event Trace on/off SWES Consistancy Check for Event Linkage SWETYPV Event Type Linkage SWI1 Selection Report for Work Items SWI11 Where used list for Tasks SWI13 Authorization to Execute and Start Tasks SWI14 Display workflow from object type SWI2_DIAG Diagnosis of work item with errors SWI2_FREQ Work items per task SWI5 Workload analysis (by org unit) SWI6 Workflows for object SWIA Execute work items without agent check SWL1 Dynamic columns for business workplace SWPR Workflow restart after error SWU0 Event simulation SWU10 Workflow Trace Delete SWU3 Verify workflow customizing (traffic light summary) SWU8 Workflow Trace On/Off SWU9 Workflow Trace Display SWUD Workflow diagnostic tool SWUE Event creation SWUF Administration of workflow run time systems (delete work items, error monitoring) SWUI Start Workflow (Split Screen) SWUS Start Workflow (Test Environment) SWWL Delete Work Item Function Modules Description SWU_START_WORKFLOW To start Workflow SWE_EVENT_CREATE To create Event SWW_WI_DISABLE For locking of work items against execution SWW_WI_ENABLE For enabling of work items against execution SWW_WI_CONTAINER_READ To read the container elements of a particular work item SWW_WI_DEADLINES_CHANGE To change the attributes of the deadline monitoring for a particular work item SAP_WAPI_EXECUTE_WORKITEM To execute workitem of another user To change the attributes of the deadline monitoring for a particular work item The include file <CNTN01> must have been included into the program in order to use these macros. INCLUDE <CNTN01>. Declaring Container SWC_CONTAINER <Container>. "Declaration SWC_CREATE_CONTAINER <Container>. "Initialization Writing value into container SWC_SET_ELEMENT <Container> <ContainerElement> <Value>. SWC_SET_TABLE <Container> <ContainerElement> <Value>. Reading value from container SWC_GET_ELEMENT <Container> <ContainerElement> <Value>. SWC_GET_TABLE <Container> <ContainerElement> <Value>. Creating a variable for the object reference DATA <Object> TYPE SWC_OBJECT. Create the object reference. SWC_CREATE_OBJECT <Object> <ObjectType> <ObjectKey>. To get Object Key and Object Type SWC_GET_OBJECT_KEY <Object> <ObjectKey>. SWC_GET_OBJECT_TYPE <Object> <ObjectType>. To execute Mehtod of Object SWC_CALL_METHOD <Object> <Method> <Container>. To get property of Object SWC_GET_PROPERTY <Object> <Attribute> <AttributeValue>. SWC_GET_TABLE_PROPERTY <Object> <Attribute> <AttributeValue>. SWC_GET_PROPERTY SELF <Attribute> <AttributeValue>. Raising Exceptions EXIT_RETRUN <Exception Number> <Var1> <Var2> EXIT_OBJECT_NOT_FOUND Setting Result Parameter of Synchronous method SWC_SET_ELEMENT <Container> Result <Value> URL Description service.sap.com/webflow service.sap.com/performance service.sap.com/technology help.sap.com SAP Help Portal service.sap.com SAP Service Marketplace sap.ittoolbox.com SAP Knowledge Base searchsap.com search SAP www.sap-professional.org SAP Professional Organization www.saplabs.com SAP Labs North America www.wfmc.org Generic Workflow Site