Process controlled workflow - SC process schema evaluation

Hi experts,
at the moment I'm using the n-step item level approval in SRM 5.0.
We are implementing SRM 7.0. With the new process controlled workflow I'm not sure how to
implement the logic of our "old" system.
Depending on category and item value the SC item has to be approved by 0 - 7 users.
I've created an event which finds a Z-process schema via FM.
In the FM I've tried to change the process schema (debugger) for one SC item.
But the schema has been changed for all items.
Is it possible to use different process schemas for items?
When yes how can I set the schema e.g.
item 10 schema1
item 20 schema1
item 30 schema2
item 40 schema1
Thanks in advance for your inputs!
Regards
Stefan

Hi,
Schema Evaluation is document header level.
There are 2 ways for implementation.
1. Schema Evaluation returns Schema name. For example, 1 step approval, ... 7 step approval
2. 1 Fixed Schema and 7 level evaluations. 1 Schema has 7 approval steps and each evaluation returns true or false.
You have to implement GET_AREA_TO_ITEM_MAP method of Agent BADI to exclude/include items.
BTW. If you set workflow framework as Application-Controlled Workflow, your old workflow logic works without any change.
Regards,
Masa

Similar Messages

  • SRM Process Controlled Workflow Issue - Process Level Agent not shown up

    System: SRM 7.0 (SP09)
    Implemented BADI to determine agents at process level - BADI Definition /SAPSRM/BD_WF_PROCESS_CONFIG
    Configuration: 1 Process Level (Seq 100, Lvl Type A, Resp. Resolver Name: Z_XXXXXX, Task ID 40007954, Decision Type 1)
    When creating the Shopping cart based on the cart value, the agents are determined correctly and process level GUID is created with Agent ID associated.
    something like
    GUID1 - APPR1
    GUID2 - APPR2
    GUID3 - APPR3
    GUID4 - APPR4
    Before "Order" when we do preview of Approval Process, it shows all the approvers in the sequence as expected. As soon as the cart is ordered, the first process level GUID lost its agent thus throwing error saying "Strategy Z_XXXXXX did not determine any approver"
    But when we look at the table /SAPSRM/D_WF_016, the corresponding entires of GUID1 has the agent ID as APPR1.
    The task 40007954 has been GENERALIZED so as the master workflow template 40000014. The same is working in our Dev system but throwing error "Strategy Z_XXXXXX did not determine any approver" in QA system.
    Any input is highly appreciated.

    See the thing is the agents were picked up & saved in the table /SAPSRM/D_WF_016 in the process level BADI. The first process level guid doesn't get processed in the RESP_RESOLVER BADI. I put the break point and can see the agents were picked up & saved in Process Level BADI.
    The funny part is it is working just fine in the Dev system. Secondly, when we do BOB for the same user (requester), it picks up the first level approver without the error.
    Meaning, If USER1 shops for himself (Creator & Requester are same), we encounter this error. If USER2 shops for USER1, then the corresponding approvers were picked up correctly without the error. USER1 & USER2 have same authorizations in SU01D (USER2 is copy of USER1, so no authorization issues). Approvers determination is based on the requester.
    Somewhere, we miss the settings. Don't know where though.

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

  • Process Controlled Workflow - Process Schemas

    Hi
    I am configuring Process Controlled Workflow in SRM 7.0 for shopping carts. As per one of the guidance documents, I activated the BC Sets for the shopping cart in order to pull in all the component parts. As none of the three standard Process Schemas created meet my requirements I am going to create my own Schema. Please could someone explain to me how I can ensure my schema will get activated, and not say  -  /SAPSRM/C_SC_600_001_SP04?
    Many Thanks
    Claire

    Hi,
    You can create custom schema definition. If you need only 1 schema, you can use constant type BRF expression.
    1. Create BRF event and Expression in transaction BRF
        BRF Event (ZEVALUATION1)
        BRF Expression (ZEXP1)  = Constant Schema name (ZSCHEMA1)
    2. Link the event and expression
    3. Customize Define Process Level
        Process Schema Evaluation = BRF Event (ZEVALUATION1)
                                                     - linked to BRF Expression (ZEXP1)  = Constant Schema name (ZSCHEMA1)
        Process Schema Definition (ZSCHEMA1)
          - based on your requirements
    Regards,
    Masa

  • Process Controlled workflow

    Hello experts,
    We are trying to use process controlled work flow for SC approval. Approval process will be multiple based on the amount of shopping cart. Somebody has already activated BC set for one step approval in the system. If i want to have  my own process schema ( multiple approval ),what i supposed to do? Do i delete the existing schema attached to BUS2121 or create my own schema ?
    How system will determine which schema needs to be picked up after creation of SC?
    Regards,
    Sagar

    Hello Bharat,
    Thanx for reply.
    I have below cases for process controlled workflow.
    1.  No approval
    2. One step approval
    3.Multi level approval.
    All the above scenario will be decided based on the Z field which we have added to SC header. My understanding in this case is to have three process schema for above cases. Name of schema will be decided by Evaluation ID.
    Once the schema is decided then i need to define process level for each process schema.
    Please let me know if i am on the right track??
    Regards,
    Sagar

  • Process Control Workflow Configuration error on portal

    Hi Experts,
    We are using process controlled workflow for BUS2121 and activated a BC Set "/SAPSRM/C_SC_600_000_SP04" Shopping cart without approval.
    For this We have created a Event and a Expression in BRF as constant  for Process schema evaluation. No approval is required as of now. But when try to shop from the portal it shows a dump as:
    The following error text was processed in system SRD : Dynamic type conflict when assigning references
    The error occurred on the application server dl3803_SRD_40 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: INIT_BRF_TRACE of program /SAPSRM/CL_WF_BRF_MSG=========CP
    Method: CONSTRUCTOR of program /SAPSRM/CL_WF_BRF_MSG=========CP
    Method: INITIALIZE_BRF_MSG of program /SAPSRM/CL_WF_BRF_MSG=========CP
    Method: /SAPSRM/IF_WF_RULE_CONNECTOR~EVALUATE of program /SAPSRM/CL_WF_BRF_CONNECTOR===CP
    Method: /SAPSRM/IF_WF_RULE_CONNECTOR~EVALUATE of program /SAPSRM/CL_WF_SCHEME_PROVIDER=CP
    Method: GET_SCHEME of program /SAPSRM/CL_WF_SCHEME_PROVIDER=CP
    Method: GET_PROCESS_SCHEME of program /SAPSRM/CL_WF_CONFIGURATION===CP
    Method: CREATE_PROCESS_LEVEL_SEQUENCE of program /SAPSRM/CL_WF_CONFIGURATION===CP
    Method: CREATE_PROCESS_INSTANCE of program /SAPSRM/CL_WF_PROCESS_MANAGER=CP
    Method: CREATE_PROCESS_FORECAST of program /SAPSRM/CL_WF_APV_FACADE======CP
    Kindly help to solve this problem.

    Hi Anand,
    I am facing the same problem. Were you able to resolve that issue? if so, what is the solution? I don't find any relevant note for this.
    Probelm: BRF is activated and when you do save/check on SC, throws short dump with error message as
    "Dynamic type conflict when assigning references".
    "MOVE_CAST_ERROR" "CX_SY_MOVE_CAST_ERROR"
    Thanks
    Akbar

  • 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

  • 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

  • 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

  • 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

  • SRM Process Controlled Workflow

    Hi Exports,
    I have created a Process schema for SC object type (BUS2121)..
    Looks like my process levels are trigged before the shopping cart is actually ordered by the user..
    Is this a normal behavior? or I am missing any configuration? or I need to have a additional process level initially to check whether the SC completed?..
    Please advice..
    Thanks in advance
    Bharath

    HI,
    Yes. That is correct task ID.
    FYI. Task ID List for Process-Controlled Workflow
    SRM Contract     BUS2000113               No Completion Task
              40007980     SRM_CT_APPR1     SRM Contract Approval
              40008003     SRM_CTR_Acc     Accept Decision / Adjust Document
              40007997     SRM_CTR_Revi     Revise Document
              40107926     SRM_CTR_RW     review document
    SRM Shopping Cart     BUS2121     
                                               40007952     SRM_SC_COMP1     SRM Shopping Cart Completion
              40007953     SRM_SC_APPR1     SRM Shopping Cart Approval (1)
              40007954     SRM_SC_APPR2     SRM Shopping Cart Approval (2)
              40007994     SRM_SC_Acc     Accept Decision / Adjust Document
              40007936     SRM_SC_Revi     Revise Document
              40007945     SRM_SC_RW     Review Document
    SRM RFx     BUS2200     40107917     SRM_BI_COMP1     SRM RFx Completion
              40007982     SRM_BI_APPR1     SRM RFx Approval
              40107922     SRM_RFx_Acc     Accept Decision / Adjust Document
              40007998     SRM_RFQ_Revi     Revise Document
              40107927     SRM_RFQ_RW     Review Document
    SRM Purchase Order     BUS2201     
                                               40007973     SRM_PO_COMP1     SRM Purchase Order Completion
              40007974     SRM_PO_APPR1     SRM Purchase Order Approval
              40007995     SRM_PO_Acc     Accept Decision / Adjust Document
              40007996     SRM_PO_Revi     Revise Document
              40107924     SRM_PO_RW     Review Document
    SRM Supplier Quote     BUS2202               No Completion Task
              40007981     SRM_QT_APPR1     SRM RFx Response/Bid Approval
                        No Adjust task
              40007999     SRM_QTE_Revi     Revise Document
              40107928     SRM_QTE_RW     Review Document
                        No Completion Task
              40008000     SRM_QT_APPR2     SRM Bid Approval
                        No Adjust task
              40107934     srm_bid_revi     Revise Bid
              40107935     srm_bid_rw     Review Bid
    SRM Confirmation of Goods/Service     BUS2203               No Completion Task
              40007987     SRM_CF_APPR1     SRM Confirmation Approval
                        No Adjust task
              40008004     SRM_CF_Revi     Revise Document
              40107929     SRM_CF_RW     review confirmation
    SRM Incoming Invoice     BUS2205               No Completion Task
              40008005     SRM_IV_APPR1     SRM Invoice Approval
                        No Adjust task
              40008006     SRM_IV_Revi     Revise Document
              40107925     SRM_IV_RW     Review Document
    Auto          40007988     SRM_AUTOAPP     Automatic Approval
    Auto          40007989     SRM_AUTOREJ     Automatic Rejection
    Regards,
    Masa

  • How to make a restart of the workflow in a process controlled workflow?

    Hi Experts,
    How to make a restart of the workflow in case of process controlled workflow? Scenario is like this:
    The user has created a shopping cart with 1000 USD. The process schema has three process level with the first level being approval with completion.
    The first level being executed by the responsible purchaser. Here, the purchaser adds the source of supply and changes the price of the shopping cart 2000 USD and approve the shopping cart.
    Now, I want the approval task to start from beginning so that the requestor can know the changes and accept/reject the changes.
    Thanks and regards,
    Ranjan

    Hi,
    Restarting workflow goes to 1st level approval step. It is not requester.
    I think you need to set condition for "Acceptance by Contact Person" in Define Process Level.
    Regards,
    Masa

  • Shopping Cart - Process Controlled Workflow - replace standard task

    Hallo,
    I am on SRM 7.0 SAPKIBKV09 using NWBC.
    I use Process Controlled Workflow for Shopping Cart, and in the process schema definition,
    I replaced the standard workflow task 40007952,
    (with name - SRM Shopping Cart Completion),
    with a copy of task 40007952, task 90000010
    (with name - SRM Shopping Cart BUYER Completion)
    I did that for the following Reason: to ensure that in the Shopping Cart Approval Log, I can distinguish between diffrent approval level, all of type completion.
    Issue is that now when approver is executing the task from NWBC, I get the following error:
    ´No default action found for task TS90000010´
    Any idea?
    tried to apply Note 1409276 - Not all tasks have default action in inbox config, (as this applies to SAPKIBKV06)
    but no success.
    Thank you
    Marco

    Hi,
    I wanted to add that there is standard report /SAPSRM/IBO_FILL_TABLES in SRM 7.0 that updates these tables for all standard tasks:
    IBO_C_WF_ACS
    IBO_C_WF_APS
    IBO_C_WF_CAS
    IBO_C_WF_TAS
    IBO_C_WF_TTAS
    Use these views in SM30 to create entries for customer specific tasks:
    IBO_V_WF_ACC
    IBO_V_WF_APC
    IBO_V_WF_CAC
    IBO_V_WF_IRA
    IBO_V_WF_TAC
    IBO_V_WF_TTAC
    Best Regards,
    Marcus
    Edited by: Marcus Mock on Jun 6, 2011 11:56 AM
    Edited by: Marcus Mock on Jun 6, 2011 11:59 AM

  • Process controlled workflows- basic questions

    Hi,
    I am new to SRM 7 process controlled workflows.
    I need some help designing the process controlled worlflow for n step approval of shopping cart.
    If there are n conditions to be checked for a cart before deetrminig the no of approvers,then does that mean for a BO(in my case Shopping cart),there will be n process schemas or just one process schemas with n process levels?
    Also under each process schema,I see multiple expressions/process levels.Does the column "level sequence no" determine the sequqnce of the task in the whole approval process?
    Please advise.

    Hi Saravanan,
    Thanks for the prompt response!
    Based on your inputs,I think I need to go with option 2 as based on the data in shopping cart e.g. product category,spend limit,total value and a/c assignment catgeory,the no of approvers are determined.
    The flow is like:
    cond 1: check the prod category,if true,add 1st approver.
    cond 2: check reqeuseter spending limit with total value fo cart,if true,add further approver or approvers
    cond 3: check a/c assgt category,if true for a particular catgeory,add new approver or approvers using RFC call.
    cond 4: check ship-to-address,if a local address,add buyer as last approver.
    For a given cart,one or multiple conditions from the above may be true.But the sequence for the cosnidtions is as defined above.
    As per my understanding,I need to create only one process schema for "Shopping cart" and then create different BRF expressions for each of the above conditions right?E.g. cond1>level1,cond2>level2 etc...Please advise.
    Also under process schema,process level configuration,I see one column for "resp resolvername".What do I need to enter here?My understanding was that this entry will be responsible for determining the approver values...Pls confirm.
    Also if I go with option 2,you said BADI SAPSRM/BD_WF_RESP_RESOLVER' will have to be implemented for determining approvers.So the logic for determining the approvers for each of the above conditions will be implemented in this single badi?
    Pls advise.
    Also in the event linkage,I need to actiavte only the two entries /SAPSRM/CL_WF_PDO/SRM_PROCESS_START and /SAPSRM/CL_WF_PDO/WS40000014 right?
    Also regarding the workflow template,is WS40000014 the only template for all business objects i.e. Shopping cart and PO?
    Thanks again for your time and inputs.

Maybe you are looking for

  • HP Laserjet not working with CUPS

    There are some related threads in this forum, but I still can't figure out what is my problem (printer works in some situations - printing a pdf in evince or a webpage in chromium - but in others not, e.g. printing from emacs), and there are error me

  • You know... I thought it would be easy to migrate ...

    My life was a happy place. I had an E72, I had Nokia Suite and I had my own mail server. These three things all talked to each other. My mail would come to my phone and I could sync my calendar to my mail server (for a backup  E72 - Control Panel - p

  • How to send IP pacekts by LabVIEW RT

    In a project,I use PXT RT controler and cRIO , need send IP packets to communicate with other PCs. I can use raw socket to send IP packets on the Windows,how to send IP pacekts on the Pharlap and Vxworks by by LabVIEW RT? There is somebody can help m

  • How to use TO_DATE function in OBI having MSSQL DB

    Hello Experts, I am facing a problem plz help me..... I've just created an business application using Oracle BI Administration Tool of Oracle BI Server version 10.1.3.4.1,with oracle DB. But currently we migrate from Oracle to MSSQL Server. Due to wh

  • Spam contacts keep adding me

    Hello, Since moths I have a very very annoying problem with my skype account: every day I keep getting request from unknown persons with strange names... no messages or calls (my privacy settings only allow calls from people I have in my contact list