Approver not determined process controlled workflow in SAP SRM 7.0

Hello all,
I have setup process controlled workflow in SAP SRM 7.0 EHP3 for shopping cart approval.
I have 4 approval levels.
I have used item-based Decision for entire document because for some items i want system approval.
In implementation of BADI /SAPSRM/BD_WF_RESP_RESOLVER, in the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP, i am skipping the items for which i want system approval.
Also in method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID of BADI implementation class, i am keeping the approver table empty for the step which i want system approval.
For example i have 1 item in shopping cart and for 1st step, based on some accouting criteria, i want system approval for 1st level and the workitem should go directly to 2 approval step when shopping cart is ordered. This is not happening.
But if i have multiple items, and one item should have system approval based on some criteria and the 1st approval level should be system approval and other item should go to the 1st approver. This is happening and showing 'system' approver for item1 and 'appr_xyz' for item 2.
For shopping cart having only 1 item, If i approve the shopping cart in this state only, it doesn't go to any approver and is not usable.
am i missing anything in BADI /SAPSRM/BD_WF_RESP_RESOLVER??
Please let me know.
Regards,
Yayati Ekbote

Hi Adrian,
Yes it is possible to display custom workflows in the Universal Worklist,  However, I am not sure what you are trying to do with a routing table.  If the workitems are of type decision, you can use UserDecisionHandler (action handler) configured in the XML file to use the Approve/Reject functionality - we are talking about webflow connector here correct?  R/3 connector?
Regards,
Beth Maben
EP - Senior Support Consultant II
SAP Active Global Support
Global Support Centre Ireland
**SDN Forum Moderator:
SAP Enterprise Portal: Application Integration
**SDN Universal Worklist Wiki:
http://wiki.sdn.sap.com/wiki/x/ehU

Similar Messages

  • Approval Level in Process Controlled workflows

    Hi Sap Gurus,
    How can i find the number of approval levels in process controlled workflows for Shopping Cart, Purchase Order....
    Thanks in advance

    Hello,
    IMG: SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Business Workflow > Process-Controlled Workflow > Business Process Configuration > Define Process Levels
    For concerned object type, select "Process Schema Definition" directory.
    Then, select correct process level schema to display "Process Level Configuration" directory: here are the process levels defined.
    Regards.
    Laurent.

  • Process Controlled Workflow - 1-step approval for shopping cart approval

    Hi,
    I have configured a one-level approval for SC (Process Controlled Workflow):
    Object Type: BUS2121
    Additional 1 level under schema: 3C_SC_600_000 (the last level is the automatic approval)
    Level Type: Approval with completion
    Eval ID: 0EV_SC_SL1
    RR Name: RR_SPENDING_LIMIT_APPROVER
    RR Param: USTONY.Y (I hardcoded it using my user ID, for the moment)
    Task ID: 40007953 (I have checked, it's generalized as well)
    Decision Type: Item-based decision for entire document
    For PPOMA_BBP:
    Under my org unit (Position):
    Approval Limit: 1000
    Output Limit: 1000
    I didn't do any BADI implementations yet.
    During creation of SC by other user, before "Order" the SC, the approval preview can show correctly that the Processor is as indicated in the config.
    Once the SC is ordered, the whole step is gone and the event linkage becoming delinked (because there is error, and according to the config in SWEQADM).
    However, I cannot find the workitem (no workitem generated) and SLG1 does not give any clue whatsoever.
    I tried debugging method APPROVAL_LIMIT, and it seems fine as well.
    Please help, what did I do wrong here?
    Thanks,
    Tony Y

    Hi Sahil,
    I even changed to first process level to:
    Level Type: Approval
    Eval ID: 0EV000
    RR Name: RR_MANAGER
    RR Param: (Blank)
    Task ID: 40007953 (I have checked, it's generalized as well)
    Decision Type: Decision for entire document
    Under PPOMA_BBP:
    I made myself as a head of the org unit with the role manager.
    The requester is "Exclude" the role manager.
    The agent can be determined now.
    But the workitem ID is still cannot be generated. It's always no workitem generated.
    Please everyone, any help?
    Thanks in advance,
    Tony

  • Process-controlled workflow hang due to dump

    Hi all,
    due to a temporary dump in an SRM 7 system, some document-related workflows are stucked... in other terms, these workflow processes have been started, the the dump occoured and by now, they seems to be stucked in "in process" state.
    Tecnically, these are not workflow in error, so SWI2_DIAG is not helpful.
    We'd like to unlock this situation and -eventually- restart the workflow process. How can we do it?
    Thanks in advance for your help and support.
    edit: system dump is now solved, which means, triggering the same workflow process will result in a success.
    Edited by: Matteo Montalto on Jun 30, 2011 4:34 PM

    Ok. There used to be OSS Note 1458380 - Process Controlled Workflow Restart Program, if the document is in "Awaiting Approval" Status.
    Or do the manual restart by using tcode SWUE (Event trigger)
    Object Category - ABAP Class
    Object Type - /SAPSRM/CL_WF_PDO_SC
    Event - READY_FOR_WORKFLOW
    Object Key - <DOCUMENT_GUID>
    Event Parameter - <SC Creator User ID>
    and Click "Create Event" button
    Use SWI1 to check whether the event is created and see whether the document is submitted for workflow triggering or use SWI6 to check for that SC document

  • 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
    Kharabela

    Hi,
      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

  • Approval preview process controlled workflow

    Hi,
    We are using process controlled workflow (N step) for the shopping cart workflows.
    While sending the reminder mails to the approvers, we would like to include the approval preview in the email.
    In application controlled workflows we could use FM BBP_WFL_DIN_APPR_CONTAINER_GET to get the approval preview details.
    Is there a similar function module to pick the approvers/approval status/step name etc for the process controlled workflows so that we can simulate the approval preview?
    Thanks
    BR
    Swetha

    Use class /SAPSRM/CL_WF_APV_FACADE. This is used by standard SAP WF Analysis.
    Methods - RETRIEVE_PROCESS_HISTORY, GET_CURRENT_PROCESS_STATE, CREATE_PROCESS_FORECAST.
    To analyze more, check the program /SAPSRM/WF_CFG_ANALYSIS_002. Check lines 209...216 (These Lines pull Previous Approved Steps, Current Process Step & Gets the approval forecast). However the REJECTED Items (Accept Decision) work little different (which is not captured by this report).
    To Identify the current approval process awaiting decision by the requester of the cart, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED). If ITEM_STATUS_LIST-ITEM_STATUS EQ 'REJECTED', then the WF is waiting for acceptance/resubmission from the requester.
    To your specific need, pass DOCUMENT_GUID to the class /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_STATE get the return parameter /SAPSRM/S_WF_PROCESS. It will give you PROCESS_LEVEL_LIST. Then loop through DECISIONSET_LIST. It contains Table Types of AGENTS_LIST, ITEM_STATUS_LIST, WORKITEM_LIST. At /SAPSRM/S_WF_PROCESS level, you can get all the details of the current process level details
    Thanks,
    SC

  • Inconstancy in Approval Workflow- Process Controlled Workflow

    Hello Experts,
    We are in SRM 7.0 classic scenario using process controlled workflow and facing an issue as described below:-
    During the approval workflow, we are observing that in
    Case 1: When approver3 is forwarding the work item to approver10, the approver10 in not getting the work item in his Inbox. However, when we see the log detail in SWI6 the status is shown as u201CREADYu201D
    Case 2: We created a shopping cart with identical details as in Case 1 and followed the same approval process i.e.Approver3 forwarding the work item to approver10, however in this case approver10 is getting the work item in his Inbox and when we see the log details in SWI6 the status is shown as u201CCOMPLETED"
    We tried this scenario for 10 times and we found that in 2 cases the approval status is showing as u201CREADYu201D while in other 7 cases the approval workflow got completed.
    Can you all experts please help us understand why this is happening and how can be find the root cause i.e why Case 1 is in u201CREADYu201D status for last 2 days.
    We seek your help in understandingroot cause so that we can eliminate any inconsistency in future.
    Any pointers to resolve this issue will be highly appreciated.
    Thank you in advance.
    Regards,
    RKS

    Use class /SAPSRM/CL_WF_APV_FACADE. This is used by standard SAP WF Analysis.
    Methods - RETRIEVE_PROCESS_HISTORY, GET_CURRENT_PROCESS_STATE, CREATE_PROCESS_FORECAST.
    To analyze more, check the program /SAPSRM/WF_CFG_ANALYSIS_002. Check lines 209...216 (These Lines pull Previous Approved Steps, Current Process Step & Gets the approval forecast). However the REJECTED Items (Accept Decision) work little different (which is not captured by this report).
    To Identify the current approval process awaiting decision by the requester of the cart, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED). If ITEM_STATUS_LIST-ITEM_STATUS EQ 'REJECTED', then the WF is waiting for acceptance/resubmission from the requester.
    To your specific need, pass DOCUMENT_GUID to the class /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_STATE get the return parameter /SAPSRM/S_WF_PROCESS. It will give you PROCESS_LEVEL_LIST. Then loop through DECISIONSET_LIST. It contains Table Types of AGENTS_LIST, ITEM_STATUS_LIST, WORKITEM_LIST. At /SAPSRM/S_WF_PROCESS level, you can get all the details of the current process level details
    Thanks,
    SC

  • Process controlled Workflow is not starting

    Hi,
    I have problems with implementing an own process-controlled workflow. The "Sample BC Set for Process Level Definition" /SAPSRM/C_SC_600_001_SP04 is working fine. However I do not succeed in triggering a customer Process Schema for BUS2121.
    The (first?) problem can be duplicated as following:
    1. BC-Set /SAPSRM/C_SC_600_001_SP04 is activated
    1.1 When creating a shopping card (Web Portal) a approver ("Head of organizational unit" in OrgManagement) is displayed in the Details (Approval-Workitem is created when saving the shopping cart)
    --> OK
    2. Deactivation of Process Schema 3C_SC_600_001 (replace Eval.IDs with customer Eval.ID which contains always false expression)
    --> When creating a shopping card (Web Portal) no approval data is displayed in the Details 
    --> OK
    3. Copy Process Schema 3C_SC_600_001 into ZC_SC_600_001; replace customer Eval.ID with original Eval.IDs (Boole; no process schema in expression (Eval-ID 3EV_SC_600_001_100; Expression 3B_SC_600_001_100: "Execute always"))
    --> When creating a shopping card (Web Portal) no approval data is displayed in the Details 
    --> NOT OK; the same result as with 1.1 is expected
    Why is 3. not working? Any ideas would be very welcome.
    Best regards

    In most cases, this means that the 'Start Process' is not configured correctly. Take a look at the following:
    1. make sure that the Wf assigned to your start process is active
    2. make sure that reference numbers are configured and assigned to your process
    3. assign a user to receive error messages when an error occurs
    Thanks,
    Derrick Banks

  • Error during approval Process flow in Process controlled workflow

    Hello Experts,
    We are in SRM 7.0 classic scenario using Process controlled workflow.WE recently connected a new backend R/3 system to our SRM system i.e we now have 2 R/3 backend system connected to SRM system
    It is regarding the two new additional account assignment categories that came into picture when we connected the new R/3 backend system to our SRM system, i.e. Asset and Network.
    There seems to be some problem with the approval workflow for those SHC, that have such Acc *** Cats.
    Please find below my obeservations:
    - if you have just one line item in the SHC, and this item is either booked on Asset or on Network, than everything goes fine. After the Acc *** approval, the PR is created in R/3
    - if you have SC with a mix between an "old" Acc *** Cat (Cost Centre, WBS and Order) and one of the "new" Acc *** Cats, than the workflow is not working as required --- the manager, that is responsible for the accounting approval of the two positions (e.g Cost Centre and Asset) gets only one work item in his approval overview --- in that work item, the two positions are there, but the Asset one is grayed out --- so, the Manager approves only the Cost Centre positions and than the SC is no longer with the approver --- if you observe the SC now from the requisitioner point of view, the status of the line items in the approval process overview of both(!) lines is "approved", but the overall status of the SC is still "in approval"
    Can you all experts plz let us know why this is happening and how this can be resolved?
    Any pointers will be highly appreciated.
    Thanks & Regards,
    RKS

    Hi,
    What is Resp. Resolver Name and Decision Type in your Process Level Definition? Did you create custom agent BADI implementation?
    Regards,
    Masa

  • SRM 7.0 Process-controlled Workflow not starting

    Hi,
    I have problems with implementing an own process-controlled workflow. The "Sample BC Set for Process Level Definition" /SAPSRM/C_SC_600_001_SP04 is working fine. However I do not succeed in triggering a customer Process Schema for BUS2121.
    The (first?) problem can be duplicated as following:
    1. BC-Set /SAPSRM/C_SC_600_001_SP04 is activated
    1.1 When creating a shopping card (Web Portal) a approver ("Head of organizational unit" in OrgManagement) is displayed in the Details (Approval-Workitem is created when saving the shopping cart)
    --> OK
    2. Deactivation of Process Schema 3C_SC_600_001 (replace Eval.IDs with customer Eval.ID which contains always false expression)
    --> When creating a shopping card (Web Portal) no approval data is displayed in the Details
    --> OK
    3. Copy Process Schema 3C_SC_600_001 into ZC_SC_600_001; replace customer Eval.ID with original Eval.IDs (Boole; no process schema in expression (Eval-ID 3EV_SC_600_001_100; Expression 3B_SC_600_001_100: "Execute always"))
    --> When creating a shopping card (Web Portal) no approval data is displayed in the Details
    --> NOT OK; the same result as with 1.1 is expected
    Why is 3. not working? Any ideas would be very welcome.
    Best regards

    Hi..
       what do you see in SLG1? .. i think your process level Eval.id result is false, that is the reason workflow is not kicking of 
    1- level approval.. check your process level configure and try to use 0ev000 as a Eval.Id instead your custom Eval.Id and test..
    Saravanan

  • Process controlled workflow - Reject SC approval

    Experts,
    I configured process controlled workflow in SRM 7. My approval process is working fine but i need to send a notification e-mail when the approver rejects the SC approval. The requisitioner will receive this email saying that the SC was rejected.
    Is there any chance to do this with configuration? Do you have to use a new expression linked to an event to perform this ?
    Thanks for your help,
    Best regards,
    Mário

    Hello Mario,
    See IMG path below:
    SAP Implementation Guide -> SAP Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Business Workflow -> Process-Controlled Workflow -> Business Process Configuration -> Define Recipient of Notifications
    For scenario "Approve Shopping Cart", you can define user role which will receive notification in the event of "Rejection".
    Regards.
    Laurent.

  • Issue in Process Controlled workflow for Shopping cart in Quality system.

    Hello All,
    I ahve configured a Process controlled workflow in SRM 7.0  with custom resolver, and I am facing an issue taht the Workflow works well in Development but in Quality the approvers are dropped after SC is ordered in Quality system.
    The SC Workflow drops the approvers picked up from the Interface  method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP and IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID of BADI /SAPSRM/BD_WF_RESP_RESOLVER. The approvers can be seen in the shopping cart Approval preview Tab until the SC is ordered.
    I have compared the OSS notes relevant for Workflow, all of them have been transported, Also I compared and checked general Workflow settings, BRF Config and  Process level  settings in Dev and Quality, everything is same.
    Also while debugging; the approvers can be seen in the decision set table in the create_process_forecast method of class /SAPSRM/CL_WF_PROCESS_MANAGER.
    Kindly let me know what else i can check to find the root cause.
    Thank you in advance for help!
    Regards
    Prasuna.

    Hello Vinita;
    Thanks for the input and sorry for the not so "ASAP" reply;
    From what I'm seeing in from your 2 screenshot, i strongly believe that the problem is even before the Z implementation /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID (in which the FM i ZSRM_GET_USER_FROM_PGRP is called. I think the problem could be in the process level determination  ZSRM_WF_BRF_0EXP000_SC_APP100. Let me explain:
    In your  cases where not buyer is determined,  in the approval tab there is not even a process level for buyer approval. If the problem were indeed in the implementation  /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID  then the process level would be there, but the system will display, instead of the name of the buyer(if the buyer determination fails) a red label with the message:  "With the strategy "Buyer determination" an approver could not be determined (or something like that..please check the image at the end of the text)".
    I can propose a way to discard this: Implement the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS of class ZCL_BADI_SC_WC (in case you didn't know, in this method you can specify an "default" approver in case that the determination of approver in GET_APPROVERS_BY_AREA_GUID fails). The idea is to specify an default approval and see how it behaves:
    If the user you indicated in the method GET_FALLBACK_AGENTS appears as approver, then yes, the problem is arises from implementation GET_APPROVERS_BY_AREA_GUID, in which case it could be a data problem (peharps in pposa_bbp?). You could also check in TX SU53 with the users with this problem to see if there's a missing authorization objetc.
    If, in the other hand, the "default" approver is not shown, it means that the process level buyer determination is not even called, so you should check in more detail ZSRM_WF_BRF_0EXP000_SC_APP100 and /SAPSRM/CL_WF_PROCESS_MANAGER > Determine process restart –method ----- (i have never used this method, so i could not tell if  it could be the source of the problem).
    Also, you could implement the method GET_FALLBACK_AGENTS in this way so the default approver would be the WF administrator indicated in the customizing (or you could just append directly any user you want):
    METHOD /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS.
       DATA: lv_admin_expr TYPE swd_shead-admin_expr,
             lv_admin      TYPE swd_shead-wfi_admin,
             lv_admin_type TYPE sy-input,
             ls_agent      TYPE  /sapsrm/s_wf_approver.
       CALL FUNCTION 'SWD_WF_DEFINITION_ADMIN_GET'
         IMPORTING
           default_admin_expr = lv_admin_expr
           default_admin      = lv_admin
           default_admin_type = lv_admin_type.
       ls_agent-approver_id = lv_admin.
       APPEND ls_agent TO rt_agent.
    ENDMETHOD.
    Error of agent determination:
    Please let me know the result of the test with the implementation of method GET_FALLBACK_AGENT. By doing this we could ensure if really the problem is in method GET_APPROVERS_BY_AREA_GUID or before.  I just made the test in our system and I'm almost sure that you wont get the default approver, but i could be wrong. 
    Any question please let me know.
    Best regards
    Cristian R.

  • Dump on screen when configuring Process controlled workflow

    Hi Experts,
    I am facing 1 problem in SAP SRM 7 ehp1.  I am configuring Process controlled workflow. Previous workflow settings was Application controlled workflow as its been upgraded from SRM 5. If i run a RFX (BUS2200) cycle in application controlled workflow environment, it works flawlessly.
    But when i change my workflow framework to process controlled workflow for all Business Objects. I face a dump when I am creating an RFX. The dump on the portal is:
    http://dl3803.ltisap.com:8040/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
    DATREF_NOT_ASSIGNED
    No access possible via the 'NULL' data reference
    Method: PARTICIPATING_IN_ACTIVE_WF of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Method: EDIT_DURING_WORKFLOW of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Method: /SAPSRM/IF_PDO_META_CONF_BO~GET_BO_HDR_ACTION_METADATA of program /SAPSRM/CL_PDO_META_CONF_PROV=CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_RFQ====CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_RFQ_ADVCP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_HANDLER===CP
    Method: UPDATE_ACTIONS of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
    Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
    Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_IDEN_MAP_RFQ=CP
    Method: OVERRIDE_LEAVE_INIT_SCREEN of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP
    & when i check in st22. I get the dump as:
    Category               ABAP Programming Error
    Runtime Errors         DATREF_NOT_ASSIGNED
    ABAP Program           /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Application Component  SRM-EBP-PD
    Date and Time          17.12.2011 15:46:56
    and get dump at:
      1 method PARTICIPATING_IN_ACTIVE_WF.
      2   " this method returns ABAP_TRUE if the logon user has an active work item,
      3   " i.e. he participates in an active approval workflow process.
      4
      5   DATA lv_curr_workitem_id    TYPE /sapsrm/wf_workitem_id.
      6   DATA lr_process_info        TYPE ref to /SAPSRM/S_PDO_WF_PROCESS_INFO.
      7
      8   " the default:
      9   rv_participates_in_active_wf = abap_false.
    10
    11   " The scenario is not valid for application-controlled workflow:
    12   " Any agents who may edit the document (approver and requester)
    13   " enter "Edit" mode right-away. No special handling possible.
    14   lr_process_info = io_apf_md_context->get_process_info_ref( ).
    >>>   IF lr_process_info->wf_version NE /sapsrm/if_wf_process_c=>GC_APF_VERSION_0200.
    16     return.
    17   endif.
    18
    19   " check if a valid workitem exists
    20   lv_curr_workitem_id = io_apf_md_context->get_workitem_id( ).
    21   IF lv_curr_workitem_id IS INITIAL.
    22     RETURN.
    23   ENDIF.
    the only configuration I change in the system is I changed the workflow framework to process controlled workflow.
    Kindly help.
    Thanks
    Anand

    Hello Anand,
    As per standard SAP recommendations the application-controlled workflow framework is only intended to be used if you are upgrading from SAP SRM 5.0 or earlier and you need to continue using your existing work-flows.
    The default workflow framework setting is the process-controlled workflow from SRM 6.0 on-wards and the user will be provided a option to switch to the application-controlled workflow framework.  The option to switch to process-controlled workflows is available only after you have once switched to application-controlled work flows but there will be a big caution that " If you switch from the application-controlled workflow framework to the process-controlled workflow framework; once a process-controlled workflow has been run, it is not supported that you switch back to application-controlled work-flows".
    As per the details given i got a feel that we have tried executing the scenario by switching between application and process controlled workflow and hence the system have become inconsistent and its dumping.
    I suggest you to raise a OSS ticket to SAP to resolve the issue.
    Best Regards,
    Rahul

  • SRM 7.0 - Process controlled workflow

    Hi,
    Landscape -  SRM 7.0 SP05
    Workflow - Porcess controlled
    Scenario - Self service procurement
    Problem:
    1. We have mulitple level approval workflow for the shopping cart. I am using standard workflow task- 40007953 and using /SAPSRM/BD_WF_RESP_RESOLVER badi to determine agents.
    2. All the potential approvers (managers) are determined correctly by this badi but the issue is work-item is sent to all the approvers at the same time where as the requirement is to sent the work-item to each approver in series i.e. only when the work-item is approved by the lower level manager, it should go to the higher level manager.  Currently, this workflow task sends the work-item to all potential approvers at one go who can start working on parallely which is not desired.
    Could anyone please help me to resolve this?
    Please note that adding additional process steps in the process-level configuration was the option but we could not opt for that at this point of development as we have gone too far in terms badi development for agent derterminiation
    Thanks & regards,
    Amit

    Amit,
      It is not possible to send the work item to people in sequence by configuring only one process level. If you have only one process level, the agent determination will only be applicable to that process level. If you are trying to assign multiple agents to that step, then all will get the work item at the same time.
    I recommend doing one thing, Create multiple process levels(= no of approval levels you want). For each process level you keep same event and expressions. But your agent determination badi implementation need to be tweaked. Here is how you can do that
    Use Parameters along with agent determnation badi implementation. In other words derive Agents based on the value of parameter using your badi implementation. This parameter can be configured in Process Controlled Workflow Configuration.
    Example,
    Process step 1 - WF_BADI - Parameter1
    Process step 2 - WF_BADI - parameter2
    Now write some code in the WF_BADI to pick up particular agent if parameter value is Parameter1 , pick another agent if parameter value is parameter2. Doing this way you wont ve to redesign your BADI implementation as you are able to break up the Agent logic based on parameter values.
    Virender Singh

  • Advantage of Process-Controlled Workflow

    Good Morning!
    What are the advantage of Process-Controlled Workflow? (and/or what are the advantage of Business-Rule-Framework?)

    I am looking at a SRM 5.5 upgrade to SRM 7 and moving to PCW represents issues and risk to me. 
    The SAP Migration program /sapsrm/pr_wf_migration_cfg does not deal with the N Step Badi Wf's. 
    SAP's recommendation is to complete all active Wf's are restart with PCW which means finalising all approvals restarting Approvals using PCW from the start,
    SAP recommend ALL processes should be moved to PCW from ACW in a production environment. 
    If your trying to implement a ACW N Step Badi in PCW then you will probably be looking at Resp Resolvers that refer to a Badi implementation where you will need abap code. 
    Not sure about a flexible set of approval levels, but think that's another Badi implementation, with abap code.
    Not over impressed, I'm afraid. Better structured abap program code in the N Step BADI could be an improvement

Maybe you are looking for

  • Extract DDL from Database

    Hi all, I am trying to extract the DDL statements for my database indexes. I am using Oracle 8i. The two option: (1) You could run the export utility with ROWS=NO, but the output was hard to re-use because of quoted strings. (2) DBMS_METADATA.GET_DDL

  • Category changes for multiple selections

    On my IMac (early 2008) running Mavericks & iTunes 11.1.15, I moved some stories from the music catagory to audiobooks. Having accidently selected some music albums as well, I reselected those albums in audiobooks, changed the category back to music,

  • Adobe Reader cannot open

    I'm using Adobe Reader 11.0.10 and Microsoft Office Home and Student 2013. My Adobe reader will automatic close once I open MS Words, but it is fine if I open Ms Excel. I also cannot open Adobe Reader if I already open Ms Words before that. I have tr

  • Flex 2 Training Workshops

    Developing Rich Applications with Flex 2 with Zach Stepek March 15-17 9am - 5pm (18 hrs) This three day course introduces developers to all the primary features of Flex they'll need to know in order to build a fully functional, well architected front

  • Mac Book OS X 10.6.8  installer not working

    I've trying to update my Itunes and it will not work i get the following message: "The update could not be expanded, and may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update ru