SRM 7 WF - Multi level approval

Hi ,
Currently I am struggling at one requirement in SRM 7 process-controlled WF.
Requirement goes like this.
Lets say . In SC there are 10 items
depending on some logic they are grouped like 3 + 3 + 4
This is achieved using area creation badi.
Also first level approvers for each area are assigned using agent determnation BADI.
Here comes the interesting part.
Depending on the approval limit of the approver next level should get created .
But it may be possible that area 1 ( 3 items ) and area 2 ( 3 items) are approved ate first step itself.
And area3 ( 4 items) may go to multiple level as the value of these 4 items exceeds the approval limit of the approver.
In short,
at first level I need a fork.
and depending on the group (area) value that perticular area only should flow thru multiple steps.
Guys,
I have achieved multilevel and fork parts separately but combining both is really a tough task for me .
Is it possible to achieve such results ?
Pls help me getting through.
Thanks in advance,
Ganesh.

Ganesh
Refer to this document on PC Workflow if this could help:
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/procurement/supplier-relationship-management/process%20controlled%20workflow%20%26%20custom%20brf%20expressions%20for%20complex%20approval%20processes%20in%20srm%207.0
Regards
Virender Singh

Similar Messages

  • Project Workflow Extension for Multi level approval

    Hi,
    We have a requirement of 2 or 3 level of approval on Project Workflow for Project Status Change. We are planning to use the Seeded extension provided by Oracle to get the Approver for Project Status Change.
    The extension procedure provided pa_client_extn_project_wf . select_project_approver has only one out parameter that is Approver id. This means it's only possible 1 level of approval.
    Please help me to find out the way how can i make this work for multi level Approval.
    Regards,
    Ram

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • Converting WF to Multi level approval.

    Hi,
    I want to convert my standard WF to go Multi Level. I dont want to make any changes in standard. How can I achieve this and make my WF approvals n rejection  go Multi level Approval.
    Himanshu.

    Hi...
    What workflow are you talking about. Can you be more clear on your requirement.
    If you dont want to make any changes in the workflow, but still  you want mutliple approvals then i guess it will be difficult. For some workflows standard SAP has provided configuration in SAP IMG which will handle multiple approvals with a single workflow design.
    Please let us know what scenario are you talking about.
    Regards,
    Gautham Paspala

  • Issue with PO release (multi level approval)

    Hi,
    Need help regarding PO release. I am working with 4 level  approval process.
    Information:
    it is sequential release as I can see in workflow log, a new workflow gets generated for next level only after previous level executes the workitem.
    Facing following issue at 2nd Level :
    Level 2 releases item and it goes to Level 3, but workitem doesn’t disappear from inbox.Once Level 3 releases item, an acceptance mail goes to Level 2. But along with the mail, updated workitem (i.e. showing release by 3rd level) also appears in inbox of Level2. Now two work items appear in Level2 Inbox.
    In Workflow Log, this is how its behaving:
    WORKFLOW STARTED-->
    1st WF appears in WF log.
    Level 1 releases WI ->
    2nd workflow appears in WF log +
    1st workflow with (in process status)
    Level 2 releases WI ->
    3rd WF appears +
    2nd workflow with (in process status) +
    1st workflow with (in process status)
    Level 3 releases WI ->
    3rd WF appears +
    2nd workflow with (in process status) +
    1st workflow with (in process status)
    ISSUE: As soon as Level 3 sends back acceptance to Level 2, updated WI item appears( i.e. with latest release status which in this case is: released by level1, Level2 and Level3) along with the mail.
    Level 4 releases WI ->
    4th WF appears +
    3rd WF appears (in process status) +
    2nd workflow with (in process status) +
    1st workflow with (STATUS COMPLETED)
    ISSUE: As soon as Level 4 sends back acceptance to Level 2, updated WI item appears( i.e. with latest release status which in this case is: released by level1, Level2, Level3 and Level 4) along with the mail.
    Result:
    PO gets released.
    In workflow log 2nd, 3rd and 4th workflow appear with IN PROCESS STATUS. All of them show process stopped at LEVEL2.

    Hi Kjetil,
    Release strategy is being used. Configuration for release strategy is given as following.
    RGroup Rcode   Workflow     Agent
    Z6          R1         1                Blank
    Z6          R1             1                Blank
    Z6          R1             1                Blank
    Z6          R1             1                Blank
    Release is sequential.
    For column 'Agent' mentioning position or User is not really useful because we are getting agents through Z table. Reason is: current org structure supports 1 position with multiple users from same department. In our scenario we need to find initiators department then find relevant approval levels for that departemnt. So I cannot mention any position in 'Agent' Column as release code will be locked against one position and one departetment.
    Agents picked through Z table. Table has fields  Agent/ UserID , level, department.
    Logic to pick agents( Object and method created ): 
      When workflow starts, it finds department of the initiator.
      For that department-> find approval levels available(L1, L2,  L3).
      For these levels -> Find Agent mentioned for that level.
      Onece Agents are found for all levels -> Pass them to WF  container.
      In task activity, These agents are passed back to the rule and  the task comes to know which agent it should go to.
    Result : Four workflows start in sequence. When last level releases, only 1st workflow shows COMPLETED status. Rest three hang at level 2. If I see Me29N , release for that item is shown completed. To me it seems triggering of only first workflow is enough for release. Is there any way I can avoid trigerring of other three workflows?
    Edited by: User112 User112 on Jan 25, 2008 6:30 AM
    Edited by: User112 User112 on Jan 25, 2008 6:31 AM

  • Multi Level Approval Workflow in OIM 11g R2

    Hi everyone,
    I want to develope a two level approval workflow in OIM 11g R2.
    When I intent to provisioning a resource or an entitlement, this workflow will be executed.
    This workflow is two level (serial approval)
    First approver is manager of user, second approver is a custom group.
    Is there any sample workflow like this?
    How can I develope this?
    Thanks.
    Best Regards.

    Hi, you can find the same in oracle assets link.
    Download the guide for 11GR2.
    http://www.oracle.com/technetwork/middleware/id-mgmt/overview/workflow-development-1868162.7z
    Thank you,
    Shashi

  • Escalation in multi-level approval

    Hi all,
    I have created a release workflow for an RFQ.I have used a rule to send mails for approval to different release levels
    The escalation scenario follows :
    If an L1 doesn't respond to the approval mail in 5 days, I need to send it to the next level(i.e L2) for release level L1 + L2 approval.
    How do I proceed further for the escalation scenario.
    Any input would be helpful
    Thanks,
    nsp.

    Hi
    Thanks for the reply.
    What is the rule which i need to use in deadline monitoring to send the escalation mail to the L2 approver if L1 doesn't respond
    Regards,
    nsp.

  • OIM - Multi Level approval - Role assignment at the time of approval

    I have to provision to two target applications. But, the roles in each application are different. So, at the time of approval, the groupmanager (same from both apps- first level authentication) have to assign the roles individually to each application and the request will go to second level authentication . A person can have multiple roles in the application. How to achieve this functionality.
    Thanks in advance.

    You have two create different APproval Workflow for different resources.
    Attach two objects form each parent and child.
    First Approver can edit the object form data to add roles and then he will aprove.
    In you approval workflow two tasks will be there
    Approval1
    Approval2 > conditional
    Open Approval1 task and in the responses tab select Approve and in Task to Generate select Approval2.
    In Assignment tab you can assign it to anyone you want.
    Save.

  • Need multi level approval for Leave request workflow in ESS

    Hi All,
    Our requirement is for 5 levels of approvals for the leave request raised in ESS  means After employee raises leave request ,it has to be approved by 5 managers one after the other. In standard system only 1 level of workflow and approval  is available so please anybody suggest the solution . Thanks in advance.

    in addition to the above content your workflow consultatn have to create this ask him to
    refer this document
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    for multiple level of aproving the leave reqest and  and orgstructure have to be well formed
    ravindra

  • How to retrieve comments from one OfficeTask activity and use them in another OfficeTask activity for Multi level Approval sequential Workflow

    I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
    1. InitialProposal Stage
    2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
    3. Rejection Stage
    4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
    5. Execution Stage
    6. Completed Stage
    Requirement is workflow should move to Approval stage2 from Approval stage1  if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
    Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
    I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
    On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task
    but I'm not able to retrieve comments from officeTask activity.
    My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • Approval of Working Time & Multi Level CATS approval

    Hi experts,
    We have implemented CATS multi level approval as below.
    1. In the CATS user exit we call a Workflow which is a multi level
    workflow.
    2. We are using the standard Webdynpro for CATS entry and approval.
    Problem:
    Once the first level manager(Say A) approves the timesheet work item
    gets triggered for the next level approver(Say B). Since approval is a
    standard webdynpro, the status of the CATS record immediately changes
    from 20 to 30. So in the workflow, before sending the work item to
    second level approver, we change the status of the time record back to
    20 (Since it is yet to go through all approvals).
    Now in the Team--> Approve working time section of the MSS, manager 'A'
    still sees the record for approval, even though now the approval is
    pending from 'B'. Moreover 'A' can approve this item as well (which
    should not be the case).
    Please provide a solution so that 'A' will not have the working time
    item in his 'Working time section' after the A approves it in the UWL.
    Thanks
    Krishna

    Solved it myself.
    My solution is documented here.
    http://learnhrabap.blogspot.com/2010/09/cats-multiple-level-approval.html
    Please leave your comments if you have any better solution for multi level approval.
    Thanks in advance,
    Krishna

  • Multi-level Invoice workflow

    Assume, there is no HR in ECC. In precise, there is o Org structure in ECC but available in SRM
    1. How to achieve the multi-level approval workflow for Non PO Invoice (parked doc).
    2. Can it be done in SRM7. If so how to give a start to it.

    Hi,
    For any workflow Org structure is not mandatory.
    The workflow approval levels are fully based on client requirement.
    If there is no org structure in the organization then you can make use of any custom table to maintain the approvers for workflow.
    Thanks,
    Viji.

  • Why Template, request and operation level approval from 11g?

    Hi All,
    I''m very new to OIM 11g and could not understand the logic behind having three categories of approval workflow, sucn as Template, operational and request level approvals? In 10 g, on the contrary, we can achieve multiple level approval using one approval process against a resource object. Having said that, i think we can also achieve a multi level approval in one BPEL process using the serial or parallel type of approval. So, a single approval process, say request level approval process can be configured to catered to multiple level of approvals. If this is the case, i could not figure out the reason behind the availability of 2 further categories template and request level approval. Can anyone please shed light on the actual usage with a context and also render reference to a 10 g functionality for these approval categories.
    Thanks,
    Srini

    Request Level & Operation Level :
    Re: Difference requestlevel and operational level
    Template Level : It is also same as Request Level where you can reject the complete request in one shot. In latest version of OIM i.e. OIM 11g R2, you won't find this Approval Level.

  • Two level approval in Cats

    Is it possible to have two level approval of timesheets in cats? If yes How to do that?

    Hi,
    Its not possible to have multi level approval process in current set up of SAP.
    If you look at the current process flow time entry>approval> transfer (depending on the time entry profile some profile does not require approval level and direct transfer to receiving objects).
    considering the present flow, approved time is waiting to be transferred to receiving objects. it means only one level was set up.
    If you want to go for two levels please develop custom transactions from beginning of time entry to transferring. Else you can raise OSS note to have such functionality.
    Thanks,
    Sudhakar

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • ShoppingCart ProcessControlledWorkflow SRM 7.0 -BC set for N-level approval

    Hi experts,
    Which BC set I should activate for Shopping cart N-level approval Work Flow.?
    How to deactivate existing Active BC set in the system?
    Thanks

    Hello,
    Activation of BC set is to facilitate the faster & easier configuration. You have two options :
    1. Activation of new BC set will make the necessary changes. e.g if you have activated SC auto approval, run the BC set for 1 level approval, system will make all the changes required.
    2. Manually change the configuration based on your requirement. SRM - SRM Server - Cross Application Basic Setting - Business Workflow.
    BC sets are generic & might not fulfill all of your requirements. If your requirement is n -level approval, better to build your own expressions & process schema & levels. Take the reference of SAP delivered process levels.
    Hope this helps.
    Thanks
    Ashutosh

Maybe you are looking for

  • How to open and display a powerpoint file.

    I'm working on an app that I would like to have open and view a powerpoint presentation. How would I go about doing this? Is there already some framework available that'll do it for me? Is there something that'll let me convert it to a pdf? thanks fo

  • Windows 7 SP1, Error 0x80041010

    Hello, Windows Update service fails to install Service Pack 1 on my Windows 7 Professional 64-bit with an error code 0x80041010. After reading some posts on this forum I have come to conclusion that my problem is different. According to CBS.log the p

  • PO Output message triggering for change in PO

    Hi, We have configured a output message type for PO create . The output message is defiend for condition record doc type, partner as LS and medium A(ALE) and partner name. Once PO is created the output is getting triggered and idoc created.If I make

  • The Legend of Korra not in real HD, please fix it.

    Hello, iTunes customer service: I've bought the complete season of "The Legend of Korra". It's a great series, but your video encodes are messed up. You encode the video at 960x718 aspect ratio, which is definitely not real 720p HD. Also you set the

  • Web Server crashing

    Hi, Our webserver is crashing with this message. [01/Oct/2004:19:21:53] catastrophe ( 495): Server crash detected (signal SIGSEGV) [01/Oct/2004:19:21:53] info ( 495): Crash occurred in function pervs_vars from module /package/iplanet60sp6/bin/https/l