Std Workflow Values in MM
Hi MM Gurus
Could any one share the Std Workflow Values available in MM. Ex: 9, 1, etc., and uses of the same
Thanks
Hi,
Chekc on it:-
www.erphome.net/wdb/upload/forum26_f_21.pdf
http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
pherasath
Similar Messages
-
Changes to Std Workflow - WS14500015
Hi friends,
I want to make changes to std workflow WS14500015. Before approval process I want to first send a workitem to a person say 'manager1' who will change a SC field. Only when he changes it and approves, then only should the remaining wfl process continue otherwise the workitem should be sent to creator for resubmission. Can anyone please help me out with this???its very urgent.
Please help out!!!Hi,
See the foll code for reference:
method if_ex_bbp_wfl_approv_badi~get_remaing_approvers.
Business objects (local)
constants:
c_shop type crmt_subobject_category_db value 'BUS2121',
c_step1 type bbp_step_description value 'First approval step',
c_step2 type bbp_step_description value 'Second approval step'.
*variables for holding the runtime SC values
data : w_total type reqhead-total_value_long,
w_group type zgroup-zprodgrp,
w_category type zgroup-zprodcat,
w_ccenter type zapprovers-zccnetre.
data:
*Header data table
wa_header type bbp_pds_sc_header_d,
*approver structure
wa_approver type bbp_wfl_approval_table_badi,
item structures
it_item type table of bbp_pds_sc_item_d,
wa_it_item like line of it_item,
accounting structures
it_account type table of bbp_pds_acc,
wa_it_account like line of it_account.
*tables for holding the final list of approvers bsed on the SC criteria.
data : it_rule type standard table of zrule,
wa_it_rule like line of it_rule,
it_approvers type standard table of zapprovers,
wa_it_approvers like line of it_approvers.
case object_type.
when c_shop.
----------------------------- shopping cart-------------------------------- *
*get the details of the shopping cart
call function 'BBP_PD_SC_GETDETAIL'
exporting
i_object_id = object_id
importing
e_header = wa_header
tables
e_item = it_item
e_account = it_account.
clear w_total.
if sy-subrc = 0.
*move the total value fo SC to w_total.
move wa_header-total_value to w_total.
endif.
clear : w_category,
w_ccenter,
w_group.
*reading the item table for the Product category
*Here the first record is read only since all the items will necessarily
*have the same Product category
read table it_item into wa_it_item index 1.
if sy-subrc = 0.
*set the product category
move wa_it_item-category_id to w_category.
endif.
Found out to which cost center the items belong
read table it_account into wa_it_account
with key p_guid = wa_it_item-guid.
if sy-subrc = 0.
move wa_it_account-cost_ctr to w_ccenter.
endif.
*to select the Proper Product Group from the maintained Z-table
*ZGROUP for the Product category of the SC items.
select single zprodgrp
from zgroup
into w_group
where zprodcat = w_category.
if sy-subrc = 0.
clear it_rule.
refresh it_rule.
*selecting the proper approval Levels for the Product Group retrieved from
*the previous step as well as based on the range in which the total value
*of the shopping cart falls in form the maintained Z-table ZRULE
select zrule
zprodgrp
zlevel
into corresponding fields of table it_rule
from zrule
where zprodgrp = w_group
and zval1 le w_total
and zval2 ge w_total.
if sy-subrc = 0.
clear it_approvers.
refresh it_approvers.
*selecting the List of Approvers based on the previously retrieved
*Product Group,Approval Level and the Cost Center value from the
*maintained Z-table ZAPPROVERS
if it_rule[] is not initial.
select zindex
zrule
zprodgrp
zlevel
zccnetre
zuser
zname
into corresponding fields of table it_approvers
from zapprovers
for all entries in it_rule
where zrule = it_rule-zrule
and zprodgrp = it_rule-zprodgrp
and zlevel = it_rule-zlevel
and zccnetre = w_ccenter.
endif.
endif.
endif.
if w_total eq 0.
no_further_approval_needed = 'X'.
endif.
*Based on the Current approval step,the values for the corresponding
*Approvers is exported
clear approval_table.
refresh approval_table.
*Actual approval index represents the current WF approval step
case actual_approval_index.
*WF not started
when 0.
*At each and every approval step we need to pass the Approvers from that step onwards
loop at it_approvers into wa_it_approvers where zindex = 1.
wa_approver-approval_index = 1.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step1.
append wa_approver to approval_table.
endloop.
loop at it_approvers into wa_it_approvers where zindex = 2.
wa_approver-approval_index = 2.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step2.
append wa_approver to approval_table.
endloop.
*1st step approval
when 1.
loop at it_approvers into wa_it_approvers where zindex = 1.
wa_approver-approval_index = 1.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step1.
append wa_approver to approval_table.
endloop.
loop at it_approvers into wa_it_approvers where zindex = 2.
wa_approver-approval_index = 2.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step2.
append wa_approver to approval_table.
endloop.
2nd step approval
when 2.
loop at it_approvers into wa_it_approvers where zindex = 2.
wa_approver-approval_index = 2.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step2.
append wa_approver to approval_table.
endloop.
when others .
no_further_approval_needed = 'X'.
endcase .
endcase.
endmethod.
The above code is for the header level approval but in your case you will have to modify the code for item level approval.
The field "actual_approval_index" is the Approval step while the field "approval_index" is the levels of approval for each approval step.i.e. Total no of approvals can be 3 but at each indidvidual aproval step there can be 2 approvals.
Also you just need to populate the APPROVAL_TABLE and not the approval_administrators table for Approvers.
BR,
Disha.
P. S. Pls reward points for useful answers. -
Std workflow for Parked Invoices?
hi guys
are there any std workflows for parked invoices? Our requirement is that once the Finance clerk creates a customer or vendor invoice he should only be able to park it and not post the invoice. Once the invoice is parked then the system should trigger a workflow and a notification neeeds to be sent to the approver to approve the invoice. Once it is done the finance clerk will post the invoice.
I switched on the event trace and did a trace on while creating a parked invoice. No event is triggered when the document is parked. If i post the document the event POSTED of object FIPP is triggerd. So since we dont have any std events raised when a document is parked is it possible to have a workflow?Hi,
The event FIPP.CREATED is raise via the customizing (SPRO)
Financial Accounting -> Financial Accounting global setting -> document -> document parking -> create workflow variant for parking documents.
Assign co.code to a workflow variant for parking documents.
Have a look at ws10000051.
Regards,
Ronit. -
How to search for std workflows
hi
what is the best way to search for std workflows in SAP. I tried the tcode SWDM( Business Workflow Explorer ) but it does not bring correct results.
can any one guide me on which is the best way to search for std workflows?
thanks
SameerHi,
SWDM should yield the correct results, make sure you're defining your search correctly.
Another way is to look directly in table HRS1201 (I think, im not in an SAP environment now).
But here you also have to know the business objects related to the functional area where you are looking for standard workflows.
Another thing is to use the search functionality in SDN with your query ike "standard workflow for ..."
Kind regards, Rob Dielemans -
Std workflow for document distribution.
Hi Gurus,
Scenario is I donot have a workflow resource for customization. I need to send the document for Approval to a list of 4 Approvers after I set the status to "For Approval". Can we achieve it through document distribution with any std workflow avalaible which can be triggered after I set the status to " For Approval"?
Thanks
PadHi Sri,
Thanks for the reply. I had the Workflow WS 20000104 inserted at the " For Approval " status. Then I created a new DIR and before setting this status I created the receipient list with my user Id . After I set the status "For Approval" I cannot see any work item in SBWP. Am I missing any step?
If in case its because of the Workflow linkage inactive, could any of the Workflow experts guide me
on how to do that.
Thanks,
Paddy -
Std Workflow events for HR Scenarios
Hi I am looking for standard workflows for the following scenarios. Can someone tell me if there are any standard workflow events or should I go for creating a new WF event.
1.Legal Name change---Is there a Wf that triggers some notification.
2.Hire Action in SAP--Is there a Wf that triggers some notification to HR team and Dept mgr.
3.Hire Action in SAP--Is there a Wf that triggers some notification to HR team and Dept mgr.
4.Leave of Absence--Sap notifying HR team.
5.Initial change(IT 105)--Payroll Admin sends notification to associate as well as security team.
6.Marital Status Change.
7.Termination(Voluntary and Involuntary)--Notification to Security team.
8.Probation--Sap reminds the HR team that date is due for employee to return.
I was thinking that for every scenario we have to create a new wf event. I may be wrong but is there a standard wf for the above.
Thanks in advance.There are std. workflows for this, but it will depend upon your configuration. You can trace whether a workflow is getting triggered from txn: SWEL.
The better option is to use the MAIL feature of dynamic actions. Here's the process:
Enter the name of the feature which defines the characteristics of the mail.
Example
Infotype Field ..... Ind. Var.function part
0001 SACHP M M0001
A mail is sent when the field SACHP is changed. The characteristics of the mail are defined in feature M0001.
In the standard system, feature M0001 is provided as a model. The documentation on feature M0001 explains how to define the characteristics of a mail.
Thanks
Sankhadip
<b>Reminder: Points should be awarded on answers</b> -
More than six Std. Value Key
Greetings,........
how to define more than six value under one standered valu key.Hi,
Routing
0010 Workcenter (XYZ) Control key PP01
0020 Dummy Work Center (XYZDummy) Control key PP01
Now for the XYZ workcenter you will have 6 standard values and assigned to to the first Operation.
Remaining Standard values say 7, 8 and 9 will be assigned to the Std. Value key for workcenter XYZ Dummy.
Now create Order with this Routing, confirm both the operations Values will be captured as intended.
Hope this clarifies..
Regards,
Siva -
Employee terminate.Std workflow
Hi Friends
Is there any std. workflow to send a notification when an employee terminate? We are in Ecc 6. Let me know which business object to be used.
Thank a lot in advance
NashWS 01000041 Delimit Vacancy for Position
You can check through pftc Tcode.
Most probably configure the HR Event in SWEHR3 Tcode.
<b>Reward points if useful</b> -
Doubt in std workflow WS20000104
Hi Experts,
I have the scenario like when ever the staus change in document, the mail should go to SAP Inbox. Business object is DRAW - Changed.
Actually its a support project and I checked in workflow template. But there is no step type or code to send a mail to iniatior. But it sends mails for some departments and didn't send mail for some departments.
I checked in workflow log. Some successfull workitems called the std WS20000104 and failured work items didnt called this standard workflow.
I dont know the use of this workflow. I checked in SAP help but it wont help. This workflow used BO BUS1082. I just want to know about the workflow. Is it used for sending mails to distribution list?
If anybody worked on this means, please help me.
Thanks in Advance,
Helps will be Appreciated.Hi,
These are some features of WS2000014:
- Distribution order being initiated or restarted.
- Distribution order Id determined when order is initiated.
- Subsequent check possible to determine whether you really want distribution
to take place.
- Partial orders are grouped together in a package that
is created for each recipient and communication type.
- A sub-workflow is started for each package that the SAP mail
to be sent is generated in and the physical distribution
is started in.
- After all packages have been successfully sent, the main
Workflow is terminated.
Regards, -
PO Std Workflow stuck "In Process" status
Dear Experts,
I have a case where a PO workflow is stuck "In Process" for over 8hrs. The background step - that has the underlining method to set status of PO to released is stuck and has not completed. (WS14000145)
I am not sure of what could have been the problem - possible locking or anything else?
Could you please suggest me a way out?
Do I have kill the workflow (logically delete) and restart it again or have any other way around?
Many thanks!
VjWell, it appears to be a locking issue.
I found entries in SM58 and SM12. However I released them but the workflow still continued to be in Hanged - IN Process status.
I then cancelled the workflow and then manually set released the PO documents.
Then the PO documents were fine and were possible to edit.
Thank you. -
Hi Frds
How to copy standard workflow?
Can anyone tell me step by step.
By
Pariyou can also choose to go to PFTC
select workflow template and enter template id without WS. Click the copy icon.
regards,
Imran -
How to create a workflow based on std 11i workflow
How do you create a new workflow process based on one of the std workflows embedded in the 11i apps?
Thanks,
Dave.Dave, there are a lot of workflows in 11i apps, my best advice would be to read through the Oracle Workflow Guide on Oracle Support Policy for Predefined Workflows, Events, and Subscriptions and to look through Workflow Development guidelines on Appsnet: http://www.oracle.com/appsnet/content.html (scroll down on that page)
How do you create a new workflow process based on one of the std workflows embedded in the 11i apps?
Thanks,
Dave. -
Rgarding Purchase order release workflow
Hi Gurus,
What is the roll of an abaper while using standard workflow for any thing like Purchase order release ?
If any one worked pls send me the screen shot both functional as well as technical documentation. Becasue our team is new to workflow.
Already i searched in sdn.sap.com as well as **************** etc........
In **************** they gave screen shots but some thing is missing . Pls any one worked on workflow( standard sap scenario).forward those documents to me
Thanks in Advance,
NagHi Naganjana,
In SWDD transaction open the PO std workflow template (WS20000075). Then click on the Basic data icon (hat icon). Go to start events tab --> Click on the Activate (A). Then now open every task. Go to additional data --> Maintain Agent --> General Task. Generate Index. Now come back to workflow screen. You have define agent. As you are going to determine the agent based on PO value you have write your own rule. For this go to PFAC tcode. Create a rule.
Check out the link below which gives you an idea on how to create a rule.
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d053fe48-6513-2b10-a59f-871923ff99d8]
Then define this rule in your workflow taks. Do proper binding. Save and activate your workflow.
Validation : Go to SWE2/SWETYPV tcode. Check if event linkage is active between workflow template (WS20000075) and Event BO : BUS2012 and RELEASESTEPCREATED (Check if the checkbox for event linkage is checked).
Let me know if you have any queries.
Regards,
Raj -
Hi Friends,
I am trying to create a Workflow for PO . I am maintaing the email ids of the approvers in a ztable since HR module is not implemented.
I copied the std BUS2012 using subtype option and created my own object and tried to create Method and attribute within that. I wrote a code in the attribute to get the approver email id from the ZTABLE( temporary purpose, i have hard coded values for selection criteria from ZTABLE) and delegated to BUS2012.
When I execute this ZBUS2012 IN SWO1, i am able to see the email id in my attribute.
Now I have copied the std workflow WS20000075 and attached a step called SEND EMAIL where I am trying to use the email id from the attribute. When I run the Workflow in SWDD transaction, i could see the emails getting trigerred to the email id tht the attribute is providing, but the same workflow is not seemed to be trigerred from ME21n transaction.
Note: If I change the email option to WF Initiator, then the same workflow is getting trigerred from ME21N transaction.
So I am not sure wht shuld I do so that the workflow is properly triggered when ME21N trsanction is invoked and sends email to the concerned person .
Please help me gurus...Its very very urgent...
<REMOVED BY MODERATOR>
Thanks
Ramya
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 11:32 AMhi check these links for workflow..
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
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
regards,
venkat. -
Workflow implementation(help)
hi all,
i am new to workflows but have learned a bit on the same from help.sap,sdn etc....
now we r implementing workflows for our client and he needs some std. workflows to start with
i have done performed auto workflow customizing(SWU3)
but now when i am testing std. worfklows in dev. server i am getting diffrent
kinds of errors like say
one of the task say "deletebillingblock" says error as "The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow." in the workflow log
other says "The workflow runtime system has called an application method in a tRFC or background context. A message was processed in this application method. This causes the execution of the workitem to be cancelled in this context."
i dont know y this is happening
is there any more customization needed other than swu3 (basis/abap work)
rgds
Edited by: SAP SD GUY on Jan 7, 2009 10:08 AMHi,
"The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow." in the workflow log
This kind of Error comes due to the following reasons:-
1> There is a problem in the Binding, in which step this Error is Coming. You have Binded the element for which there is no Target Defined. Source is there but no Target is there, so it is unable to catch the data that you want to send through Binding.
2> It also could be because of Binding Mismatch. The Container elements would not be having the same Data Type.
"The workflow runtime system has called an application method in a tRFC or background context. A message was processed in this application method. This causes the execution of the workitem to be cancelled in this context."
This Error can be because of the RFC Settings that are not propoerly configured in SWU3. All the ticks should be green in Colour. Check the same for the Server on which you are trying to trigger the WF.
For more on WF: Kindly check theses:-
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
/people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
Let me know if you still face any issues.
Regards,
Kanika
Maybe you are looking for
-
Hi All, We have installed EP 7.0. The problem we are facing is : The "Portal Content" folder is not displayed under the "Browse Category" of content administration & system administration. Why is it so? Do we need to add some other portal Roles to th
-
I bought a new computer, and downloaded iTunes, therefore the new itunes doesn't have my music or anything on there. I want to get everything on my iPhone to my new computer/itunes. But no matter what I do, it won't let me. My desktop has everythin
-
hello When i load a cgi program with my iplanet server i have a 500 error message and in the error.log : "[04/Dec/2001:20:02:05] failure (22308): for host 10.67.209.59 trying to POST /cgi-bin/EnvoiFormulaire, cgieng_scan_heade rs reports: the CGI pro
-
Web services broke after PHP 5.2.0-3 upgrade
Setting up NEW Intel xserve. Had one little problem with a PHP routine that was written using a newer version of PHP one another xserve. So I'd figured I upgrade the new xserve to the latest version of PHP 5.2.0-3. I downloaded "entropy-php.mpkg," ra
-
When getting data from the usual HttpSession object, I understand how the following (for simplicity) hypothetical line of code works: AccountInfo someAccount = (AccountInfo) session.getAttribute( ... ); Here, assume that "AccountInfo" is a bean i.e.,