on 04-19-2007 3:56 PM
Hello Experts,
We are implementing ECM with workflow and we are <b>not implementing SAP HR</b>.
Can we create organisation unit,Role,Job,user even HR not implemented and assign to workflow?
How to trigger a mail to particular material group persons in a company code?
can we create rules to send a mail automatically who is assigned to that material group?
Please help me.
Thanks in Advance.
Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Triggering a workflow event on a particular material group can only be done using custom code(custom workflow).
Pls remember Rehman is talking about standard workflow and that he has helped you with maximum inputs...
Pls research yourself on what can be done by a workflow ...
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajasekhar,
A separate workflow organisation plan should be created by using different plan version W1, to meet your needs.
Suppose your company implements HR module in the same server of workflow. So the Current Plan will be always of HR .
The use of HR plan in future needs to be decided on case to case basis, so you need to use alternate Plan Version.
Workflow identification Description Start event Reqd?
WS90000001 ECH: Release ECO Enhancement None
WS90000002 ECH: Close ECO Enhancement None
WS90000003 ECH: info on object status Enhancement None
WS90000004 ECH: Convert ECR into ECO Enahncement None
WS90000005 Approve ECR Enhancement None
WS90000006 ECH: check ECR (not object check) Enh. None
WS90000007 ECH: Change request insp. request Enh. None
WS90000008 ECH: ECR/ECO (Rel.4.0) Enhancement ECM-OPENED
WS90000009 DM: Common Approval Process None
WS90000010 Notify material discontinuation BUS1001-CHANGED Yes
WS90000011 Deleted
WS90000012 DM: MM01->CV01: Mfg Parts & Assemblies BUS1001-CREATED;
BUS1001-CHANGED
WS90000013 dm_test_01 DRAW-CHANGED
WS90000014 DM: Non-Std Purchased Parts DRAW-CHANGED Yes
WS90000015 Notify sales order change BUS2032-CHANGED Yes
WS90000016 Initiate Proforma Budget Approval None Yes
Regards
Rehman
Reward Points if it is useful to you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
What I understand from your requirement is:-
Whenever a material master is created/change the mail has to go to a Material group Person right?
Do to this there is no standard Workflow available in SAP R/3, But you can achieve to solution by custom way.
1. You can use the Std Workflow WS90000010 with BUS1001 and modify the event for triggering and calling the Functional Module.
2. Make Material group Field as mandatory,
3. Create your Organization Plan with proper assignments to material group responsible persons.
4. Use appropriate Function Module for this purpose.
"MATERIAL_MAINTAIN_DIALOGUE
"CALL_SCREEN_SAPLMGMM
"CALL_SCREEN_DIRECT_SAPLMGMM
"MATERIAL_MAINT_DIAL_GET_DOC
This workflow is very simple but you need workflow consultant with strong ABAP knowledge.
Regards
Rehman
<b>Reward Points if Found Useful.</b>
Hi Raj,
The Std Workflow of ECR/ECO has to be modified accordingly:
1. You need to create a ZObjects for Authorizations, Properly assign the roles to this authorizations.
2. Build Validations to the Material Master attached fields, :- If MM is found with the Status Convert ECR "SET" then Trigger a Mail to MRP Controller by
To do all these as i have told earlier, you need to have a workflow consultant with Strong ABAP knowledge.
Convert ECR SM05 MRP Controller etc
Close ECO SM06 MRP Controller
Release ECO SM07
Regards
Rehman
Hi Raj,
The Std Workflow of ECR/ECO has to be modified accordingly:
1. You need to create a ZObjects for Authorizations, Properly assign the roles to this authorizations.
2. Build Validations to the Material Master attached fields, :- If MM is found with the Status Convert ECR "SET" then Trigger a Mail to MRP Controller by
To do all these as i have told earlier, you need to have a workflow consultant with Strong ABAP knowledge.
Convert ECR SM05 MRP Controller etc
Close ECO SM06 MRP Controller
Release ECO SM07
Regards
Rehman
Hi Raj,
Please take a help of workflow consultant & ABAP expert to understand this, this will give you a complete ECR/ECO Workflow calling positions from Workflow Org plan.
-
@5H\QActivity@ Activity
0000000005 ' Get position of user from workflow org '
-
Control
-
Standard Task TS90000011 z_dm_agnt01
Name Get position of user from workflow org
Validity 01.01.1900 To 31.12.9999
Object Type USR01 BO
SAP user
Object Method GETUSERORGPOSITION
Properties
Task references synchronous object method.
Task maintained completely
Task executed with background processing
No agents are assigned to task.
Binding Definitions
Task Container <- Workflow Container
&INITIATOR& <- &Z_WF_INITIATOR&
Task Container -> Workflow Container
&OTYPE& -> &OTYPE&
&POSID& -> &POSID&
&SHORT& -> &SHORT&
&STEXT& -> &STEXT&
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
No position found for the user
Multiple positions found the user
Other
-
Step Priority 1
Change Data
@5N\QMultiple Condition@ Multiple Condition
0000000009 ' Route approval using Group-ID '
-
Basis of Comparison:
&GROUPID&
Outcome Name: From = 1 (DM)
Value:
1
Outcome Name: From = 2 (CDM)
Value:
2
Outcome Name: From = 3 (PE)
Value:
3
Other Values: Invalid route
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5H\QActivity@ Activity
0000000053 ' Selection of Checker '
-
Control
-
Standard Task TS90000012 z_dm_list5
Name Selection of Checker
Validity 01.01.1900 To 31.12.9999
Object Type WF_TASK BO
Task as step in workflow
Object Method DISPATCH
Properties
Task classified as general task
Task references synchronous object method.
Task references object method with dialog.
Task maintained completely
Agent Restriction
&REQUESTEDBYAGENT&
Binding Definitions
Task Container <- Workflow Container
&OBJECTLIST& <- &OBJECTLIST&
&TASK_ID& <- 'TS90000013'{TYPE=SWWWIHEAD-WI_RH_TASK}
&NAMELIST& <- &NAMELIST&
Task Container -> Workflow Container
&REQUESTEDTOAGENT& -> &SELECTEDOBJECT&
Task Description:
- 1 -
You are receiving this work item in response to creation or
change of document.
Creation date :
Creation time :
This document needs Checker's approval.
Please select a Checker.
The system will then send this document to the selected Checker.
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Task & is a background task and cannot be assigned
No task was chosen.
Task & does not exist
Notification
-
Recipient of Notification
&REQUESTEDBYAGENT&
Text Sent
- 1 -
Your document has been sent to
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Other
-
Step Priority 1
Change Data
@5K\QContainer operation@ Container operation
0000000165 ' Initialise SelectedChoice '
-
SelectedChoice
=
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5J\QUser Decision@ User Decision
0000000193 ' CDM's Decision '
-
Title Checker's Approval
Decision Texts Outcome Name
Approve Checker-Approved
Reject Checker-Rejected
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Control
-
Standard Task TS90000013 z_dm_dcn01
Name DM: Checker's approval
Validity 01.01.1900 To 31.12.9999
Object Type DECISION BO
Technical implementation of a user decision
Object Method PROCESS
Properties
Task classified as general task
Task references synchronous object method.
Task references object method with dialog.
Task maintained completely
Agent Restriction
&REQUESTEDTOAGENT&
Binding Definitions
Task Container <- Workflow Container
&NOTE_REFERENCE& <- &PD_URL&
&EXTENDED& <- 'X'{TYPE=SYST-INPUT}
Task Container -> Workflow Container
&CURRENTAGENT& -> &_WI_ACTUAL_AGENT&
Task Description:
- 1 -
Choose one of the decision options given. This completes the
processing of this step.
Before you make a decision, you can display the attachments and
objects which have been attached to the user decision. You can
also create your own attachments.
If you choose Cancel, the user decision remains in your inbox for
processing.
Notification
-
Recipient of Notification
&REQUESTEDBYAGENT&
Text Sent
- 1 -
User made the user decision.
Result:
Methods
-
draw
DISPLAY
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Other
-
Step Priority 1
Change Data
@5J\QUser Decision@ User Decision
0000000222 ' PE's Decision '
-
Title Project Enginner's Approval
Decision Texts Outcome Name
Approve PE-Approved
Reject PE-Rejected
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Control
-
Standard Task TS90000014 z_dm_dcn02
Name DM: Project Engr's approval
Validity 01.01.1900 To 31.12.9999
Object Type DECISION BO
Technical implementation of a user decision
Object Method PROCESS
Properties
Task classified as general task
Task references synchronous object method.
Task references object method with dialog.
Task maintained completely
Agent Restriction
&REQUESTEDTOAGENT&
Binding Definitions
Task Container <- Workflow Container
&NOTE_REFERENCE& <- &PD_URL&
&EXTENDED& <- 'X'{TYPE=SYST-INPUT}
Task Container -> Workflow Container
&CURRENTAGENT& -> &_WI_ACTUAL_AGENT&
Task Description:
- 1 -
Choose one of the decision options given. This completes the
processing of this step.
Before you make a decision, you can display the attachments and
objects which have been attached to the user decision. You can
also create your own attachments.
If you choose Cancel, the user decision remains in your inbox for
processing.
Notification
-
Recipient of Notification
&REQUESTEDBYAGENT&
Text Sent
- 1 -
User made the user decision.
Result: &
Methods
-
draw
DISPLAY
Other
-
Step Priority 1
Change Data
@5J\QUser Decision@ User Decision
0000000300 ' PM's Decision '
-
Title Project Manager's Approval
Decision Texts Outcome Name
Approve PM-Approved
Reject PM-Rejected
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Control
-
Standard Task TS90000015 z_dm_dcn03
Name DM: Project Manager's approval
Validity 01.01.1900 To 31.12.9999
Object Type DECISION BO
Technical implementation of a user decision
Object Method PROCESS
Properties
Task classified as general task
Task references synchronous object method.
Task references object method with dialog.
Task maintained completely
Agent Restriction
&REQUESTEDTOAGENT&
Binding Definitions
Task Container <- Workflow Container
&NOTE_REFERENCE& <- &PD_URL&
&EXTENDED& <- 'X'{TYPE=SYST-INPUT}
Task Container -> Workflow Container
&CURRENTAGENT& -> &_WI_ACTUAL_AGENT&
Task Description:
- 1 -
Choose one of the decision options given. This completes the
processing of this step.
Before you make a decision, you can display the attachments and
objects which have been attached to the user decision. You can
also create your own attachments.
If you choose Cancel, the user decision remains in your inbox for
processing.
Notification
-
Recipient of Notification
&REQUESTEDBYAGENT&
Text Sent
- 1 -
User made the user decision.
Result: &
Methods
-
draw
DISPLAY
draw
EDIT
Other
-
Step Priority 1
Change Data
@5H\QActivity@ Activity
0000000309 ' Selection of Project Engineer '
-
Control
-
Standard Task TS90000016 z_dm_list6
Name Selection of Project Engineer
Validity 01.01.1900 To 31.12.9999
Object Type WF_TASK BO
Task as step in workflow
Object Method DISPATCH
Properties
Task classified as general task
Task references synchronous object method.
Task references object method with dialog.
Task maintained completely
Agent Restriction
&REQUESTEDBYAGENT&
Binding Definitions
Task Container <- Workflow Container
&OBJECTLIST& <- &OBJECTLIST&
&NAMELIST& <- &NAMELIST&
&TASK_ID& <- 'TS90000014'{TYPE=SWWWIHEAD-WI_RH_TASK}
Task Container -> Workflow Container
&REQUESTEDTOAGENT& -> &SELECTEDOBJECT&
Task Description:
- 1 -
You are receiving this work item in response to creation or
change of document.
Creation date :
Creation time :
This document needs Project Engineer's approval.
Please select a Project Engineer.
The system will then send this document to the selected Project
Engineer.
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Task & is a background task and cannot be assigned
No task was chosen.
Task & does not exist
Notification
-
Recipient of Notification
&REQUESTEDBYAGENT&
Text Sent
- 1 -
The document has been sent to
Other
-
Step Priority 1
Change Data
@5H\QActivity@ Activity
0000000314 ' Selection of Project Manager '
-
Control
-
Standard Task TS90000017 z_dm_list7
Name Selection of Project Manager
Validity 01.01.1900 To 31.12.9999
Object Type WF_TASK BO
Task as step in workflow
Object Method DISPATCH
Properties
Task classified as general task
Task references synchronous object method.
Task references object method with dialog.
Task maintained completely
Agent Restriction
&REQUESTEDBYAGENT&
Binding Definitions
Task Container <- Workflow Container
&TASK_ID& <- 'TS90000015'{TYPE=SWWWIHEAD-WI_RH_TASK}
&NAMELIST& <- &NAMELIST&
&OBJECTLIST& <- &OBJECTLIST&
Task Container -> Workflow Container
&REQUESTEDTOAGENT& -> &SELECTEDOBJECT&
Task Description:
- 1 -
You are receiving this work item in response to creation or
change of document.
Creation date :
Creation time :
This document needs Project Manager's Approval.
Please select a Project Manager.
The system will then send this document to the Selected Project
Manager.
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Task & is a background task and cannot be assigned
No task was chosen.
Task & does not exist
Notification
-
Recipient of Notification
&REQUESTEDBYAGENT&
Text Sent
- 1 -
The document has been sent to
Other
-
Step Priority 1
Change Data
@5K\QContainer operation@ Container operation
0000000318 ' PM rejected '
-
SelectedChoice
=
R
12
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5K\QContainer operation@ Container operation
0000000324 ' PM Approved '
-
SelectedChoice
=
A
12
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5K\QContainer operation@ Container operation
0000000327 ' Checker rejected '
-
SelectedChoice
=
R
12
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5K\QContainer operation@ Container operation
0000000330 ' Checker Approved '
-
SelectedChoice
=
A
12
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5K\QContainer operation@ Container operation
0000000333 ' PE Rejected '
-
SelectedChoice
=
R
12
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5K\QContainer operation@ Container operation
0000000336 ' PE Approved '
-
SelectedChoice
=
A
12
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5I\QCondition@ Condition
0000000339 ' Check decision: Appr/Rej? '
-
Condition
- 1 -
&SelectedChoice& = 'A'{TYPE=CHAR1}
Outcomes
True Approved
False Rejected
Change Data
@5K\QContainer operation@ Container operation
0000000348 ' Increase TableIndexValue '
-
TableIndexValue
=
&TABLEINDEXVALUE&
11
1
Change Data
@5H\QActivity@ Activity
0000000350 ' Read position ID of agent from table '
-
Control
-
Standard Task TS90000023 dm_agent_01
Name Read position ID of agent from table
Validity 01.01.1900 To 31.12.9999
Object Type SYSTEM BO
System object type (!!!only for Workflow Wizards!!!)
Object Method LOOPATAGENTS
Properties
Task references synchronous object method.
Task maintained completely
Task executed with background processing
No agents are assigned to task.
Binding Definitions
Task Container <- Workflow Container
&AGENTS& <- &AGENTS&
&INDEX& <- &TABLEINDEXVALUE&
Task Container -> Workflow Container
&POSID& -> &AGENT&
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Other
-
Step Priority 1
Change Data
@5K\QContainer operation@ Container operation
0000000363 ' Set table index to 1 '
-
TableIndexValue
=
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5H\QActivity@ Activity
0000000365 ' Get all agents of approval process '
-
Control
-
Standard Task TS90000024 dm_agent_02
Name Get higer position Ids in table
Validity 01.01.1900 To 31.12.9999
Object Type USR01 BO
SAP user
Object Method GETLISTALLAGENTS
Properties
Task references synchronous object method.
Task maintained completely
Task executed with background processing
No agents are assigned to task.
Binding Definitions
Task Container <- Workflow Container
&AGDETAILS& <- &AGDETAILS&
&AGENTS& <- &AGENTS&
&POSID& <- &POSID&
Task Container -> Workflow Container
&AGDETAILS& -> &AGDETAILS&
&AGENTS& -> &AGENTS&
&SHORT& -> &SHORT&
&STEXT& -> &STEXT&
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
No position found for the user
Multiple positions found the user
Other
-
Step Priority 1
Change Data
@5H\QActivity@ Activity
0000000369 ' Read position-text and group-ID '
-
Control
-
Standard Task TS90000025 dm_agent_04
Name Read position-text and group-ID
Validity 01.01.1900 To 31.12.9999
Object Type USR01 BO
SAP user
Object Method GETPOSITIONGROUPID
Properties
Task references synchronous object method.
Task maintained completely
Task executed with background processing
No agents are assigned to task.
Binding Definitions
Task Container <- Workflow Container
&POSID& <- &POSID&
Task Container -> Workflow Container
&SHORT& -> &SHORT&
&STEXT& -> &STEXT&
&GROUPID& -> &GROUPID&
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
No position found for the user
Multiple positions found the user
Other
-
Step Priority 1
Change Data
@5H\QActivity@ Activity
0000000374 ' Get all users of higher position '
-
Control
-
Standard Task TS90000026 dm_agent_05
Name Get all users of higher position
Validity 01.01.1900 To 31.12.9999
Object Type USR01 BO
SAP user
Object Method GETUSERSHIGHERPOSITION
Properties
Task references synchronous object method.
Task maintained completely
Task executed with background processing
No agents are assigned to task.
Binding Definitions
Task Container <- Workflow Container
&POSID& <- &POSID&
&NAMELIST& <- &NAMELIST&
&ADDRESSSTRINGS& <- &ADDRESSSTRINGS&
Task Container -> Workflow Container
&SHORT& -> &SHORT&
&STEXT& -> &STEXT&
&NAMELIST& -> &NAMELIST&
&ADDRESSSTRINGS& -> &ADDRESSSTRINGS&
Outcomes
-
Active Outcome Outcome Name
Processing obsolete
Other
-
Step Priority 1
Change Data
@5K\QContainer operation@ Container operation
0000000379 ' Assign new RequestedBYagent '
-
RequestedBYagent
=
&REQUESTEDTOAGENT&
Change Data
@1S\QSend Mail@ Send Mail
0000000381 ' Send doc to HOD '
-
Standard Task TS90000029 dm_agent_09
Name Document fully approved: Send message
Validity 01.01.1900 To 31.12.9999
Receiver:
Re: Send doc to HOD
Mail Text:
- 1 -
This document has been fully approved by .
Pl move to records.
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Other
-
Step Priority 5
Change Data
@5K\QContainer operation@ Container operation
0000000395 ' Increase TableIndexValue '
-
TableIndexValue
=
&TABLEINDEXVALUE&
11
1
Change Data
@5I\QCondition@ Condition
0000000408 ' Group ID = 4 (PM) '
-
Condition
- 1 -
&GroupID& = 4
Outcomes
True Position = PM & above
False Position below PM
Change Data
@5K\QContainer operation@ Container operation
0000000449 ' Set ContinueApproval = 1( End) '
-
ContinueApproval
=
1
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Change Data
@5K\QContainer operation@ Container operation
0000000453 ' Abort Approval Process: ContinueApproval = 1 (End) '
-
ContinueApproval
=
1
Change Data
@1S\QSend Mail@ Send Mail
0000000455 ' Confirmation to PM '
-
Standard Task TS90000030 dm_agent_10
Name Document fully approved: Send message
Validity 01.01.1900 To 31.12.9999
Receiver:
Re: Confirmation to PM
Mail Text:
- 1 -
This document has been fully approved by .
Pl move to records.
Properties
-
sap.bc.bmt.wfm.groups |
sap.bc.bmt.wfm.label |
Other
-
Step Priority 5
Change Data
Regards
Rehman
Rewards Points if it is Useful
Hi Rajasekhar,
You can create your own organization structure without integrating with HR but with different version,
The Main Standard Workflow template for ECR/ECO is WS90000017.
If you give your email id, i shall send you the workflow document.
Regards
Rehman
Mark Useful Answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rehman Khan,
I need your support to maintain ECR processing with workflow in my project.
Could you please share your ideas and documents to maitain workflow to mail ID: muthusamynagarajan@gmail.com
Regards,
Muthusamy
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.