Changes to SC Workflow - queries
Hi all,
We have implemented the WF 140000133 for 2 step approval of SC based on the cost centre details in the first line item of the SC.
Now we want to change the WF such that Work item goes to all the different cost centres which are there in a multiline SC.
For the above reqt,should we only make changes toBADI "BBP_WFL_APPROV_BADI" or change the workflow WS14000134???
Also when a Sc is rejected,a notification mail should be sent to the SC creator.Is this std functionality with SC WF 140000133???
Please advise.
Hi,
Please check workflow template WS14500015 for item level approval.
Regards,
Masa
Similar Messages
-
How to transport changes made on Workflow Template to other cleint
We have make changes to Workflow template via tcode PFTC_CHG (Change Task), with workflow builder screen, we make changes on the standard task, work item text etc, save the changes to workflow template WS90000XXX. However the changes we make is not save under a Transport Request number.
How to make the changes on workflow template to save under a transport request and transport it to other client. ?Hi Eric,
All development and customization of workflwo are saved in a transport request.
If while making the changes it did not prompt you for a TR then check the TR in whcih the task was created.
To port TRs follow the below procedure:
1. Go to t-code SCC1.
2. Select the transport request number and enter the source system (client)
3. Click on 'Including Request Subtasks.
4. Click on button 'Start immediately'
This would port the TR.
Please note to port workbench TRs before the customizing TRs.
Regards,
Saumya -
How change subtitute of workflow through dynpro application
Hi,
i need to show facility to change subtitute of workflow in dynpro application . So Is there any ready to use i view for that or any Configuration settion for uwl connections.
Regards,
Gurprit BhatiaThanks Enrique,
The URL is changed, however I face another problem, it stated, 'DNS error - cannot find server' when browser started.
Actually the test environment do not hv domain , so I use the workgroup name as the domain. is this not possible ?
Rgds,
Janice -
How change subtitute of workflow through portal
Hi,
i need to show facility to change subtitute of workflow in dynpro application . So Is there any ready to use i view for that or any Configuration settion for uwl connections.
Regards,
Gurprit BhatiaHi,
i need to show facility to change subtitute of workflow in dynpro application . So Is there any ready to use i view for that or any Configuration settion for uwl connections.
Regards,
Gurprit Bhatia -
Change settings for workflow operation
Hi,
I am trying to change the settings and choose a custom workflow for the workflow operation 'Upload Document' in a folder in content services. However i cannot change the settings as the 'Workspaces' container has 'Do not allow subfolders to modify this operations workflow settings' checked, and i cannot edit this as it is all greyed out (even though i have admin rights?). Could anyone tell me how I can change the containers workflow settings?
Many Thanks
DaveIf you upgrade to Workspaces 10.1.2.2 you can relax this restriction. As a user with administration privs on the workspaces container (likely the orcladmin by default), switch into administration mode (with link in the top right hand corner of the UI) and edit the properties of the workspaces container to allow subfolders to override the workflow settings.
regards,
-sancho -
Hi all,
I had done some changes in workflow template with English login to SAP. When it is tested with English login, output can be seen according to changes made in workflow. But when I log in in dutch language, output doesn't refect the changes made in workflow.
Please advice what could be done in this case?
KR
Vithalprasadhi Vittal,
As Mr.samy had said Logon languare is diffrent from maintanance language. Use USE EXTRAS->Translation
Regards,
Dheepak -
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. -
Change PR Approval Workflow Creator to whoever Generate the workflow
We had a situation in our PR approval workflow: When PR creator had resigned, the new approval workflow does not reflect the last
person who changed the PR. It's still showing workflow creator as PR creator instead. Is there any way we could change workflow creator ID to whoever generate the workflow?
Thank you for your supports.Hi, You have to change the PR workflow creator ID through the below path,
OLME -> Purchase requistion -> Release procedure -> Procedure with Classification -> Set Up Procedure with Classification -> Then double click on Workflow, do your changes for workflow creator ID over there. -
Hi Exeprts,
I have few queries related to us eof BADI's in SRM 7 process controlled workflows;
1. BBP_CHNG_AGNT_ALLOW is obselete in SRM 7.How do we control the chnage of approvers when the user clicks on the "Approver" name in Approval preview in Shopping cart?
2.BBP_CHNG_AGNT_GET is obselete in SRM 7.How dow e control the list of users which can be added using the "ADD APPROVER" button in Approval preview screen in Shopping cart?
3.in SRM 5,the no of levels of approval were determined using the parameter in BBP_WFL_APPROV_BADI.In SRM 7,is it done through customizing or some other badi?
4. Which is the BADI to be implemented for determining the AGENT/APPROVER for the work item/shopping cart?
5. Is changing of the shopping cart during "Approval" process controlled through parameter BBP_WFL_SECURITY?
6.Is restart of workflow after change of cart also controlled through parameter BBP_WFL_SECURITY?
Pls advise.
Thanks.Hi,
Hence you are using PCW.
1. BBP_CHNG_AGNT_ALLOW is obselete in SRM 7.How do we control the chnage of approvers when the user clicks on the "Approver" name in Approval preview in Shopping cart?
yes
2.BBP_CHNG_AGNT_GET is obselete in SRM 7.How dow e control the list of users which can be added using the "ADD APPROVER" button in Approval preview screen in Shopping cart?
yes
3.in SRM 5,the no of levels of approval were determined using the parameter in BBP_WFL_APPROV_BADI.In SRM 7,is it done through customizing or some other badi?
yes - here are badi's
Determining the approver's /SAPSRM/BD_WF_RESP_RESOLVER
increasing the process leve dynamically /SAPSRM/BD_WF_PROCESS_CONFIG
4. Which is the BADI to be implemented for determining the AGENT/APPROVER for the work item/shopping cart?
Determining the approver's /SAPSRM/BD_WF_RESP_RESOLVER
5. Is changing of the shopping cart during "Approval" process controlled through parameter BBP_WFL_SECURITY?
obseleted
6. Is restart of workflow after change of cart also controlled through parameter BBP_WFL_SECURITY?
obseleted
Saravanan -
Account Change Problem in Workflow
Hi All, i have created new client in GRC development system. i have configured all workflow but now i am getting error while submitting for new role. NWBC > Access Request creation > change account > add new role > submit then i am getting error : An error occured during processing. can anyone say which workflow configuration is still pending. thanks in advance. Thanks, Arif
Hi Arif,
Check this below thread.
Access Request - An error occured during processing
Unable to Submit Access Request form - “An error occured during processing error”
Hope this might give you idea.
Thanks
KH -
Changes to existing workflow --- Putting conditions at SWETYPV
Hi all,
I work on developing workflows for SAP HR system. I have a working workflow in production and now I need to put some conditions using the condition editor (on header -> Version Independent tab>Start events>Condition). I am not sure which of the following option to use.
1> Create a new version as I dont think is needed as there is no change to the flow.
2> Modify the current active version (Currently it is 0001) and move it up, so that a new version will be created in production as there are inflight workflow instances in prod.
Please share your views on applying this change so that I dont end up in a mess.Amit,
If you are talking about putting condition in SWETYPV then you gotta create Check FM (with exception) and for that you dont have to care about version.
All you have to do is to create FM and insert it in SWETYPV (for BO- receiver-event entry) and transport your FM.
Cheers
Jai -
I want to change the title of an entry when this entry reach a certain workflow state. How can this be done?
It's needed for sending an email to an external system in which the new title is used. The change is at needed at the end of the title, so the default notification on entry in workflow is not working.svisser,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
Change or Restart Workflow and Skip to Workflow
You have the option in server settings to "Restart current workflow for the selected projects", with the choices of skipping to current workflow stage or to a particular workflow stage. Using a new 2013 project server workflow neither of these
choices work. The project in each case is returned to the very first workflow stage.
Is this a bug or badly designed workflow?
Is this also the case with legacy 2010 workflows?
rgds
Mike
Mike MahoneyMike,
Thanks to John on the Product Team, I think I can explain what is going on.
I am going to assume you have a workflow similar to the one below? Some simple logic, a wait event and a transition or some type.
As the workflow progresses in the above case, it will log a message out, then wait for the submit button to be pressed before transitioning. If you try to use the Change / Restart workflow function and choose Restart > Skip to Stage 3, what
you will see is the workflow restart, log Stage 1 to the history list, and then wait for input. There is no skipping through as the workflow is waiting for the event.
The new workflows, whilst allowing looping etc, are essentially still sequential in nature, so to skip though the various stages, they need to start at the beginning and then progress through the stages depending on the logic in the stage transitions.
Just like in 2010, to get something to progress, you need to introduce some special 'Skip to Stage' logic (for want of a better phrase), with this logic, you can tell the workflow 'If the workflow is being run normally, or restarts the workflow and includes
this stage' execute the actions within. This is achieved by using the 'Include Stage' condition I mentioned in a post above. In the example below, I have wrapped the logging and the Wait for submitted event in an 'Include Stage' action (and added
some extra logging)
Now when this workflow runs normally, it will go through and execute everything, including the bits inside the 'Include Stage' action because the workflow was started normally (as in the name).
However, if I choose to restart > Skip to Stage 3 for instance, the workflow will realise it is in 'Skip to Stage' mode and not execute anything in the 'Include Stage' action as the workflow is not being run normally, nor is that stage included (we
are skipping to Stage 3). As the Wait for Submit is not executed, the workflow will not wait for the submit button to be pressed and progress without issue to the desired stage. From a logging perspective, you should see something like 'Stage 1 > Leaving
Stage 1 > Stage 2 > Leaving Stage 2 > Stage 3 > Included Stage 3.
It took some time, but I hope that explains what your seeing. If it doesn't, well it does give a good overview of how to use Skip to Stage logic in 2013 workflows.
Alex Burton
www.epmsource.com |
Twitter
Project Server TechCenter |
Project Developer Center |
Project Server Help | Project Product Page -
How to change All Human workflows urls in from machine name to IP Address
I've installed oracle BPM server and when I've deployed my bpm processes i've found that all human workflows URLs are maaped by machine name.
Hostname = "Machine Name" not the ip.
I know that i can go inside each task and replace the name with the ip but i have a lot of processes and a lot of human workflows.
is there any way to replace all machine name in these human workflows URLs with the server ip address. and I need the new deployments to be with the ip not machine name.Wouldn't it be easier to add the machine name to the dns server or the servers hosts file?
What do you do if the IP of the host changes?
Have you looked into the deployment plan? That's the location to change such things when deploying applications.
Timo -
Change access to workflow from command
Is it possible to change the access to a workflow from a command instead of Server Admin GUI? I am trying to script the creation of workflow but only want the workflows seen by a group of users. I want to be able to in my script to create the workflow to add the group to that workflow in Server Admin - Podcast Producer so that I don't have to touch every workflow that is created.
I have come across the serveradmin command but it requires way more information than I have in order to setup the group to have permissions to the workflow.Gavin,
There is a script wfuignt.sql which created the public synonym. You will have to grant execute privileges to the schema which is calling the engine APIs.
Cheers,
Raja
Maybe you are looking for
-
SUPPLIER SITES OPEN INTERFACE rejected
hi, i'm working on importing supplier sites on Oracle EBS R12. i have inserted a supplier 'ap_suppliers_int' and was successfully imported after i run "supplier open interface import". However, now when i'm trying to import a site for the same suppli
-
Trying to figure out if my macbook (early 2011) is high resolution or not? Model Number A1286 antiglare screen? Does anybody know?
-
cant download my music to ipod bc ipod wont show up when it is connected to the computer HELP!!!!!
-
Working of LMT datafile and ASSM bitmaps + data-dictionary
Hi, I was looking to have some clarification on effective changes that take place within the database during a datafile addition/resize in a LMT. Hence what are the scenarios where a datafile resize would be better than a datafile addition and vice-v
-
my apple id is not working and connecting to app store