Showing posts with label workflow. Show all posts
Showing posts with label workflow. Show all posts

Workflow Transaction codes


·  Customization Settings:
  • SWU3 - Automatic Customizing Workflow.
  • SCOT - SAP to mail server Configuration
  • SU01 - User Maintenance
·  Workflow Design:
  • SE37 - Function Builder
  • SE38 - ABAP Editor
  • SWO1 - Business Object Builder
  • PFTC - Task Maintain
  • SWDD - Workflow Builder
· Runtime Behavior/Analysis:
  • SBWP - Business Workplace
  • SWUD - Workflow Diagnosis
  • SWU_OBUF - Synchronize Runtime Buffer
  • SWPR - Workflow Restart After Error           


Create simple Work flow


Create simple Work flow


A simple work flow to send an email to sap inbox
Go to the tcode SWDD - Main Workflow Builder to to the create button to start a new workflow  




Basic structure will come -double click on the step

The following option will come
Go to the user decision



Go to the user decision Go to the agent the user do F4 and select






Now go to approve and select send_email 























Activate the above








Go to test





And execute it













Choose accept to sent the email to the inbox 












Workflow Tips 1


Macro Instructions for Processing a Container 

INCLUDE <cntn01>.
 Use
You can use these macro instructions for the following programs:
  • Implementation programs of object types
  • Function modules for event creation
  • Function modules for rule resolution
  • ABAP classes (for example, for use in programmer exits)
Processing a container instance includes:
  • Accessing the value of a container element
  • Entering a value for a container element
The container must be declared and initialized with the following macro instructions:


SWC_CONTAINER <Container>."Declaration
SWC_CREATE_CONTAINER <Container>. "Initialization




Standard tasks and customer tasks



Standard task
  • Organizational object type TS
  • Cross client
  • Any plan version
  • No validity period
Customer task
  • Organizational object type T
  • Client specific
  • Plan version specific
  • Validity period
Only standard tasks will be supported in future releases.


A task described by an object method. 


Go to the PFTS t code --- for standard task
Go to the PFT t code   --- for  task














Workflow Definition describe in business process