Invoce. N-step dynamic approval process
Hello,
I have a question.
According documentation we have BADI ONLY for SC workflow
and PO workflow.(BBP_WFL_APPROV_BADI)
I need N-step dynamic approval process for Invoice.
The question is : do i need to develop my own workflow or is there other functionality or BADI which i can use for INVOICE?
Thank you.
Tania
Hi Hari,
The total value of the shopping cart changes because Manager 1 deletes an item from the shopping cart. So the new value of the shopping cart is 10.000,- euro. In this example all managers must approve up to and including the first one who has an limit higher than the shopping cart value.
Regards,
Martin
Similar Messages
-
Multilevel dynamic approval process using precondition loop block
HI,
I am trying to create a multivel dynamic approval process using a precondition loop block. The structure of my process is,
Process->1)Sequential Block containing requestor action->processor of requestor action is initiator
2)Precondition Loop Block containing
i)Loop Decision action containing a business logic callable object
ii)Loop Body Block containing Approver action-processor of approver action is filled from context parameter
The loop decision action implements the logic for loop decision. Can anybody help me by suggesting the proper target of each of these actions, and the processor for loop decision action?
Whenever I am initiating the process, the requestor action is getting executed, On completion of this action I am getting a message "No activity is currently selected", that is, it is not entering the precondition loop block.
Please guide me with the proper process flow of this and how to adjust the roles and parameters
Thanks,
SwaralipiPosted another thread on the same issue
-
Multi-step content approval process
Dear All,
We have a requirement like this:
A content (after it has been authored) has to go through an n-step approval process. In our requirement, suppose if the 3rd approver rejects the content, then it should go back to the 2nd approver. But if we use SAP's built-in approval process, if any approver rejects the content, it goes back to the Content Author.
Any idea to solve this issue?
Please share the code if you have.
Kind regards,
Sreejesh.Hi Sreejesh,
the requirement in my eyes doesn't give much sense: What should the 2nd approver do with the content rejected by the third approver?! To approve makes no sense, for he knows that the 3rd approver would reject again. And to reject "makes sense" - anyhow, this is already implemented...
So, beneath the question of the usefulness of the requirement, you may implement your own reject command which does exactly what you expect. This probably would mean a modification of the standard behaviour.
Hope it helps
Detlev -
Can we disable Archive step in Approval process
Guys,
I wanted to know if I can disable Archive step in the Approval process. Right now the issue is I do not want the people to Archive the document by mistake.
1) Is there a way to disable the Archive step?
2) Or is there atleast a way to restrict it based on roles?
Please help me.
Thanks a lot,
DeepakHi,
you cannot configure anything on the Approval process.
If you want to change something you need either modify the standard (if you get the source code) or develop your own process.
The only things you can try, if remove or restrict UI commands.
There are several UI command groups involved.
For example there is the StatemanagementMassGroup with the command statemanagement_archive_mass inside. This you could remove, so that in the layout sets where this group is used, the archive command is gone (e.g. AdminExplorer menu)
But the StatemanagementGroup command group is just a java class and references no commands. So you cannot get rid of the single archive command from the resource context menu. But maybe it is enough for you to remove the whole command group and do approval actions only from a mass menu.
I guess thats the only thing without developing which can be done here.
Regards,
Sascha -
Workflow n-step dynamic approval error when saving SC
Hi all,
I have a process schema with 2 levels of approvals. The first one is a dynamic one (created based on a tutorial that I found here in SCN) and the second one is a simple approval step, I have a third step that's the automatic approval if none of the previous steps are required.
When I go the SC creation page, I enter all the information and before saving it, I click on Display Agents, I could see that all the agents were obtained correctly.
For example 4 approvers obtained,
1-User1 (obtained from the first process level, dynamic one)
2-User2 (obtained from the first process level, dynamic one)
3-User3 (obtained from the first process level, dynamic one)
4-User4 (obtained from the second process level).
The problem comes after I save the order..I click on the Refresh button and go again to the "Display Agents" part and then I see that the first approver is not there, instead I see that it says "No agent was obtained with strategy Z...", so I have something like this:
1-"No agent was obtained with strategy Z..."
2-User2 (obtained from the first process level, dynamic one)
3-User3 (obtained from the first process level, dynamic one)
4-User4 (obtained from the second process level).
If I check the WF, it ends in error as it says it could not find the approver.
The same thing happens if the first process level (dynamic) returns 2 agents....the first one is removed after I save the SC.
And If that first process level returns anly one agent, it's also removed when I save the SC.
Could you please suggest where could I start looking into it?
I debugged a lot and found out that when I click on SAVE and the on REFRESH and go to see again the approvers, the method
/SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID is not being executed for that first user, just for the rest.
Why could this be happening?
Thanks in advance!
MatiasHi Matias,
if could happen due to errors in your code.
Could yprovide the logic for MAP_ITEM_TO_AREA method?
Is it possible, that the first approver = requester in the shopping cart?
Regards
Konstantin -
Parameter mapping in Dynamic approval process
Hi experts,
We have a webdynpro application where the user inputs certain data.
Then from this application we are triggering a GP process and also passing parameters to the GP process.
In GP my Approval callable object is webdynpro(GP interface) Co.
In the execute method, I am reading the input parameters
CurrentLevel=(executionContext.getInputStructure().getAttributeAsInt("I_CurrentLevel"))+ 1;
totalLevel=(executionContext.getInputStructure().getAttributeAsInt("I_TotalLevel"));
VendorNo=executionContext.getInputStructure().getAttributeAsString("I_VendorNo");
Now in complete method I am writing these values to the output parameters.
output.setAttributeValue("O_VendorNo",contextElement.getVendorNo());
output.setAttributeValue("O_TotalLevel",contextElement.getTotalLevel());output.setAttributeValue("O_CurrentLevel",contextElement.getCurrentLevel());
In the Gp I have a process under which I have a postcondition loop ,it has a loop decision action and Business logic Co (with two parameters current level and total level).
And next I have a sequential block with the approver Co.
I have certain doubt regarding the parameter mappings.
For the first time the input to the Approver Co is passed from my application (triggering and also passing parameters).
So we are able to see the input parameters on the GP screen.
When the first approver approves it, it checks the loop condition, but my problem is Always the input to the approver screen is same.
After first approval the output of it should become the input for the second approval.
At which level should I group the parameters in GP because i tried mapping them at process level and also at the postcondition block level .
Thanks,
SwethaPosted another thread on the same issue
-
Two step Leave Approval Process
Dear All Gurus,
Please help me in this ESS issue. I am facing this issue in ESS Leave Request Application which I will explain with following scenarios.
I have employees Ram and Sham Reporting to Ajay.
1. Line Manager of Ram and sham is Ajay
2. Line Manager of Ajay is Mohan.
Ram has applied leave which came to Ajay inbox for approval. Ajay couldnu2019t able to see it so it went for an escalation to Mohan (who is line manager of Ajay).
Now Ajay donu2019t have Ram request in his UWL and as well as in his SAP Business workplace inbox.
Now Sham has applied leave which again went to Ajay ((who is line manager of Sham).this time Ajay saw the one sham request in his UWL and when he tries to approve it he is getting one more screen in which he is seeing Ram and sham request in the table.
When Ram request already went to mohan why it is coming in the absence table list under the request of sham??
Please help me in solving the same.
Regards
Priya LathaHi Priya,
I would suggest you to post your query in the below forum so that HR functional experts can respond to your query...
ERP HCM Employee Self-Service
Thanks,
Jagadish. -
Approver skipped during approval process in N-step BADI workflow
Hi,
I am some problem in n-step BADI approval process. For some reasons one of the approvers is skipping during approval. And later in the approval preview it observes that the approver, who is just above the skipped approver, is appeared twice.
I am not able to simulate this issue though this is happening in the system frequesntly though it is not for all.
Can you please let me know what is the problem in the system and how can we rectify this issue?
Thank You.
Regards,
KrishHello
sorry search for the n-step WS14500015 is the item based...
Another thing, you can try with testing to restrict the case to special conditions. Are there any added-approver there? Is there any approver who makes some changes to the SC? etc..
Daniel -
Using WF WS14000133 and WS14500015 in same approval process
Dear WF-Experts,
we want to use the WF WS14000133 and WS14500015 in same approval process in BAdi "Determination of Approver for n-Step Dynamic Approval Workflow".
For Example:
- Shopping cart with 3 items and total value 1000,. EUR
- first approval step financial for complete shopping cart cause total value
- second approval step for item 1 and 3 cause cost center
- not seperate approval for position 2
- third and final approval step for complete shopping cart cause total value
Thank you for your support
Best regards
Heinz-GeorgFor one approval process you can use only one workflow. But as you want some steps for the complete shopping cart and others on line item, use the line item approval. If you want to do the approval on "header" level just make sure all the items get the same approval object guid. That way all the items are assigned to the same approver and in that way you have a "header" approval.
I used this for a similar requirement and it works fine.
Regards,
Martin -
Hello All,
I am developing a dynamic approval process and here is my requirement.
We are maintaining the agents in the custom table.I am using multiline element to send the user decision tasks to all users in the table. if user approves then workflow continues..if user rejects then i need to send the user decision task to all agents in the table or just to the rejected user for reapproval..
for this..
what i have done so far is..
1. i have called a system method to pull the agents from custom table.
2. i have used the multiline element to the user decision step..and work items are going out for approvals to all agents in the table under this task which is parallel.
3.if approved..continue workflow
My question is if user 1 rejects the item can i do another user decision step which is sending the approval to all or just to the rejected user in the rejection path?
again if user2 rejects i need to follow the same..as it is dynamic am not sure how to achieve this flow..
and it continues until all approved..am not sure how to pursue this..please help..
Thanks in advance..Dear Suresh,
This means if rejected-- need to send it to all or just to the rejected user depending upon initiator decision..i believe we can add another option in second user decison as to send only to rejected user along with resubmit..i will try this option..
Yes you are right.. Provide 3 buttons to initiator like 1)resubmit to all 2) resubmit to rejector 3) exit
Have a multiline container element with name say approver. If initiator clicks the resubmit to all button in user decision then use the multiline container approver (which has all approvers populated by you). If he selects resubmit to rejector the pass the agent (who rejected the workitem in previous step) via binding for that step.
Remaining logic remains the same as mentioned by Sanju.
Regards,
Bharath -
How to set up approval process for test case in SAP solution manager?
Hi Experts,
We need to setup a 2 level approval process for test case documents in SAP Solution Manager.
e.g. If test case document is uploaded for transaction "MM01" then first it will go to Reviewer1. Once Reviewer1 approves it , should go to Reviewer2.
Adn finally once reviewer2 approves it , it will be complete.
What are the required configurations and steps for approval process setup? It will be helpful if screenshots and detailed steps are provided.
Thanks.
regards,
SanjanaHi,
the above requirement we are going develop add on.below code is there. in this code how we can set for line level amount instead of document total amount
Private Function GetCondition(ByVal sCondition As String) As ApprovalTemplateConditionTypeEnum
Try
Select Case sCondition
Case "Deviation from Credit Limit"
Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromCreditLine)
Case "Deviation from Commitment"
Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromObligo)
Case "Gross Profit %"
Return (ApprovalTemplateConditionTypeEnum.atctGrossProfitPercent)
Case "Discount %"
Return (ApprovalTemplateConditionTypeEnum.atctDiscountPercent)
Case "Deviation from Budget"
Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromBudget)
Case "Total Document"
Return (ApprovalTemplateConditionTypeEnum.atctTotalDocument)
End Select
Catch ex As Exception
MsgBox(ex.Message())
End Try
End Function
Please guide me.
Regds,
Samapth Kumar. -
Approval process creation steps using JDeveloper in OIM 11g R2
Hi,
Please help me to create approval process creation using JDeveloper and how to use the approval process in OIM provision in OIM 11g R2.
Thanks in Advace,
srinirefer developer's guide to get the detailed steps. http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/request.htm#BABFFJDH
Also refer OBE tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Custom_Approval_Process_for_Resource_Request/custom_approval_process_for_resource_provision.htm#t3
There will be slight changes in the steps as this OBE is for 11gR1.
High level steps:
Create a new application using the following command
ant -f <OIM_HOME>/server/workflows/new-workflow/new_project.xml.
It will be created in OIM_HOME/workflows/new-workflow/process-template/ directory
Openthe .jws file in jdeveloper and edit the default human task and add whatever logic is needed.
Then deploy the composite after which you need to create an approval policy and link the SOA composite created
Edited by: Durgaprasad on Apr 24, 2013 1:55 AM -
How to determine N Step Approval process through Process Controlled workflow
HI
For SC approval process after 4th level of approval the workflow keep go N step till the approval determine. If no approval find then go for WF Exceptions.
In PCW we have process level like 100, 200, 300 and so on. What would be the procedure for Nth process level determination in SRM process controlled workflows settings.
Regards
KharabelaHi,
From SRM 7.0 PCW, requestor of SC or creator(buyer) of the PO can't be in the approval list.. this is standard...
create two custom events like zev_po_schema_eva and zev_po_sl_approval
create two custom expression.. one with constants as zev_po_schema_def and other one is formula interpreter(0FB001)..
assign zev_po_schema_eva as schema evaluation for PO.. MAKE SURE YOU LINK THE zev_po_sl_approval
with as zev_po_schema_def..
now create schema definition entry and specify as zev_po_schema_def..
now create process level
100 approval / approval with completion ( Your chooice ) .. maintain zev_po_sl_approval as evaluation id in the process level... maintain RR_SPENDING_LIMIT_APPROVER as Resp.Resolver...
maintain formula interperter value as (OV_SC_PREVAPPROVALIMI < 0V_PO_POTOTALVALUE ) AND (OV_SC_SPNDNGLMTFRQST < 0V_PO_POTOTALVALUE).
Saravanan -
hi i need to create web flow application for step by step approve based on org unit.
in this process user will give some inputs and submit the form then workflow need to trigger then it gos to next level and the details are displayed in web dynpro page .
after proving the supervisor it should go for next level like this it go for approval up to top level .
in this process for every approval it should display the WebDynpro page for approval.
how to call the WebDynpro pages between the workflow.Hi Winston,
for a) see http://help.sap.com/saphelp_nw04/helpdata/en/db/a4bf4db1d011d5993800508b6b8b11/frameset.htm and especially "Setting Up the Approval Process".
b) I don't understand what you want to achieve?! Sounds a bit like you'd think of time-dependent publishing in parallel?
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
N-Step Dynamic Workflow in SAP E-Sourcing _CLM2.0 with Adhoc apprver Featre
Hi All,
We are in process of implemeting SAP CLM 2.0 Application to one of our key client. one of the key Requirements is to implement n-step workflow approval based on the HR Based org structure. What the specific client requirement are as below ...
a)Dynamic N Level organizational hierarchy based approval for a contract document. Approval to be routed to a business requestoru2019s organization hierarchy depending on the value of contract
b)Approver substitution u2013 Provide functionality of substitution. If a person has to substitute a person for a period of time, workflow item to be routed to substituted user
c)Forward a workflow item u2013 If a particular workflow item is sitting in a personu2019s for a considerable time, an administrator to have the ability to push the workflow item to another alternate approver
d)Exception management u2013 Trigger email notifications to an approveru2019s manager if the workflow item is pending for a predefined period without action. If no action even after reminder for additional period of time, trigger another email to manageru2019s manager
e)Adding Adhoc Approval at any stage during the workflow approval stage ( For eg: - particularly in additional an additional approver in between)
Our Understanding u2013 None of these functionality is available as standard functionality within SAP CLM application. Correction needed if this understanding itself is incorrect (Low probability). Also, It would be great if anybody can suggest an alternative approach to handle this.
Alternate Options u2013 (our thought )
Any options that can be explored. For instance......
a)Explore development in CLM itself to achieve the functionality. If so what are the limitations that would still remain. For example CLM supports only fixed levels in the approval, cannot handle dynamic N levels with adhoc approver addition
b)Explore if SRM framework can be used to integrate the system for n-step workflow requirement
c)Can we utilize SAP UWL to integrate CLM system for this functionality
d)Any Other alternate options if similar requirements were handled in other projects
Your expert opinion & input required to meet this complex requirement.
Thanks & Best Rgds/
Pawan Swaroop
Milpitas, CA, USA
Ph: 925-949-9574
Edited by: Pawan Swaroop on Jan 31, 2011 11:13 AMHi Pawan,
SAP has not delivered any standard workflows in CLM. We have to develop custom
Now let me answer your queries:
a)Dynamic N Level organizational hierarchy based approval for a contract document. Approval to be routed to a business requestoru2019s organization hierarchy depending on the value of contract
There is no Org structure/hierarchy in CLM. I think you mean the structure/hierarchy will be in SRM/ECC.
But there is no std interface available to get this into CLM. So you have to first develop an interface to get the hierarchy.
Dynamic N Level workflows are very much possible in CLM
b)Approver substitution u2013 Provide functionality of substitution. If a person has to substitute a person for a period of time, workflow item to be routed to substituted user
c)Forward a workflow item u2013 If a particular workflow item is sitting in a personu2019s for a considerable time, an administrator to have the ability to push the workflow item to another alternate approver
d)Exception management u2013 Trigger email notifications to an approveru2019s manager if the workflow item is pending for a predefined period without action. If no action even after reminder for additional period of time, trigger another email to manageru2019s manager
e)Adding Adhoc Approval at any stage during the workflow approval stage ( For eg: - particularly in additional an additional approver in between)
All this is very much possible but will require lot of custom solutions and efforts
Maybe you are looking for
-
How can I buy an unlocked iPad 2 from online store
I want to ask if I can buy an un locked iPad 2 from the online store notice that I am not in the United States and I am going to used it out side it
-
Line Items in PO..
Hi Guys, I want to clarify few things. We are receiving Raw coal, Limestone, clincker...and have different PO for different Items. When material is coming on weigh bridge there is one line item created for every trip in the PO for the particular mat
-
Hi, Is there a way to order the result set to display in the same order as data supplied in IN clause example: select * from t_cu where cno IN ( 220, 120, 900, 350, 99, 1, 34 );I would like to display the data in the same order as 220, 120, 900, 350,
-
Blank pics appearing on iphoto library
just wonder why some photos are coming completely black on my iphoto library after i rebuilt my library by pressing alt & apple when opening iphoto. Are these photo's completely lost or just not show for some reason
-
Hello, good afternoon! I need a little help because I've tried everything but can not find any solution. At about two weeks, listened to music on my BlackBerry my Z10 when suddenly the machine crashed and the screen went completely blue. I removed th