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

Former Member
0 Likes
550

Hi all,

Can anyone tell me whether there is any standard work flow or business object for skills??

merlin

3 REPLIES 3
Read only

Former Member
0 Likes
523

Hi,

I don't think if any is there

If u asked for docu:

http://help.sap.com/saphelp_nw04s/helpdata/en/a1/172437130e0d09e10000009b38f839/frameset.htm

Regards,

Renjith Michael.

Read only

Former Member
0 Likes
523

Hi

floow these steps you can find some standard ones

this is one work flow design

LEAVE ABSENCE FORM WORKFLOW CREATION

T. Code PFTC_INS

Task Type: WS Workflow Template

Task: LEAVE_NOTIF

• Click on Create

• Enter Name

• Enter Work Item Text

• Save

• Click on Workflow Builder Button & Continue

• Double click on undefined step

• Click on activity button

• Give the step name as create notification

• Select the Workflow Initiator from agent dropdown list

• Click on create task option

• Enter the Abbr as Create_Notif and enter the name and work item text

• Give business object type as FORMABSENC and method as CREATE

• Click on save, check and back

• Check whether the Elements and Tasks bindings are done properly

• Click on continue

• Click on agent assignment for task button in Task Properties

• Create the task and click on create agent assignment icon or F5.

• Select USER from the list

• Select the required user name who initiates the workflow. (i.e. SAPUSER), back

• Click on continue icon.

• Double click on undefined step

• Click on Activity button

• Give the step name as SEND NOTIFICATION FOR APPROVAL

• Click on create task button

• Enter the Abbr as SEND_NOTIFIC enter the name and work item text as

SEND NOTIFICATION FOR APPROVAL TO and click on insert variables button and select &_WI_OBJECT_ID.APPROVBY&

• Give business object type as FORMABSENC and method as APPROVE

• Click on save, check and back

• Check whether the Elements and Tasks bindings are done properly

• Click on continue

• Click on agent assignment for task button in Task Properties

• Create the task and click on create agent assignment icon or F5.

• Select USER from the list

• Select the required user name who initiates the workflow. (i.e. SAPUSER ), back

• Click on continue icon.

• Click on outcomes tab and deactivate the NEW

• In the control tab select workflow initiator for the agents dropdown list

• Click on continue to icon to transfer to graphics

• You’ll find 2 undefined steps (Approved and Rejected)

• Double click on Approved undefined step

• Click on sendmail button

• Select recipient type as Organizational object, Expression as workflow initiator

• Click on control tab and give the step name as LEAVE APPROVED

• Select the send express checkbox and type and give the subject in the textbox

• Enter message the mail message text box as YOUR LEAVE HAS BEEN APPROVED BY &ABSENCEFORM.APPROVBY&

• Click on continue icon to transfer

• Give the abbr as leave_approv and name as leave approved and continue & save

• Click on continue

• Double click on Rejected Undefined step

• Click on sendmail button

• Select recipient type as Organizational object, Expression as workflow initiator

• Click on control tab and give the step name as LEAVE REJECTED

• Select the send express checkbox

• Enter subject as YOUR LEAVE HAS BEEN REJECTED

• Enter the mail message text as Pls provide reason for leave to approve

• Click on continue icon to transfer

• Give the abbr as leave reject and name as leave rejected and continue & save

• Delete the 2 undefined steps and save, check and activate & Execute

• Test the workflow

• Enter the input data in the fields and save

• Mail will be sent to your manager to approve your leave.

• Once your manager approve or reject the leave you’ll get a mail.

• Check the mail in SO01.

Read only

Former Member
0 Likes
523

Hi Merlin,

please check the Developer's Guide in general:

http://www.sdn.sap.com/sdn/developersguide.sdn

the concrete information on workflow you can find here:

Business Process Management

http://help.sap.com/saphelp_nw70/helpdata/en/9c/8d8442dcaad665e10000000a155106/frameset.htm

Embedded processes (workflow)

http://help.sap.com/saphelp_nw70/helpdata/en/fd/517b42303e0e53e10000000a155106/frameset.htm

SAP Business Workflow can be used to define business processes that are not yet mapped in the R/3 System. These may be simple release or approval procedures, or more complex business processes such as creating a material master and the associated coordination of the departments involved. SAP Business Workflow is particularly suitable for situations in which work processes have to be run through repeatedly, or situations in which the business process requires the involvement of a large number of agents in a specific sequence.

Features

SAP Business Workflow provides a number of tools for defining and analyzing workflows as well as for monitoring operation.

The Workflow Builder is for displaying and making changes to workflows. You can make small extensions directly to the original workflows supplied by SAP, such as carrying out your own agent assignments or changing deadline monitoring.

There are several Workflow Wizards to support you in the definition of workflows, with which you can create specific parts of a workflow. The Workflow Wizard Explorer gives you an overview of the existing Workflow Wizards.

In order to make the functions of the R/3 Systems available to a workflow, you use business objects, which you can define and analyze in the Business Object Builder. These business objects are made available to the workflow in reusable tasks. The Business Wizard Explorer gives you an overview of all existing tasks.

You can also use SAP Business Workflow to respond to errors and exceptions in other, existing business processes. You can start a workflow when predefined events occur, for example an event can be triggered if particular errors are found during an automatic check.

Please follow the links,

http://help.sap.com/saphelp_nw04s/helpdata/en/04/926f8546f311d189470000e829fbbd/content.htm

http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/172437130e0d09e10000009b38f839/frameset.htm

A good tutorial

http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp

http://www.sap-basis-abap.com/wf/sap-business-workflow.htm

http://www.sap-img.com/workflow/sap-workflow.htm

/people/alan.rickayzen/blog

/people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow

a good book

http://www.sap-press.com/product.cfm?account=&product=H950

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf

http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm

http://www.workflowing.com/id18.htm

http://www.e-workflow.org/

http://web.mit.edu/sapr3/dev/newdevstand.html

Check the following PDF

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf

] Workflow is Simulation of Business processes automated through SAP.

May be you can take a process for applying for leave Leave.

In this Leave scenario we can automate it stepwise,

1) Employee apply for leave with dates

2) mail shoot to Manager

3) He can accept ot reject, May be he can approve with modified dates.

2] As you can see Applying for leave is 1st step so it can be a trigeering event for workflow. Means Workflow starts with event.

check these links.

http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm

http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm

Workflow

http://www.sap-img.com/workflow/sap-workflow.htm

http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm

http://www.erpgenie.com/workflow/index.htm

http://www.sap-basis-abap.com/wf/sap-business-workflow.htm

http://www.insightcp.com/res_23.htm

This shows how to create a sample work

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b905...

This shows how to create a sample work

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b905...

<REMOVED BY MODERATOR>

cheers,

Hema.

Edited by: Alvaro Tejada Galindo on Jan 22, 2008 5:32 PM