Process Control in Confirmation Parameters

Dear All,
There is a Process  control tab in SPRO'confirmation parameters for Orders'.
I know it is used for decoupling of Production process like GI,GR & activity posting.What are the basic settings required for the same.Plz guide..

Hi,
Business Process:
If you are dealing with hundreds of components for your Production Order (like in Auto/Electronics Industry)
then executing the GI, GR and Activity Posting may consume a lot of System Resources.
If number of people doing the confirmations at number of locations (Multiple Plant scenario) then the situation will be even worse as far as the system load is concerned.
Etc....
With this Process Control we can handle the situation in a better way.
As you said there are couple ofoptions to do that:
1. Online (Then and there the Posting will happen, here you need to wait till the posting happens.)
2. in an Update (If you are working in update task the next dialog step is possible immediately)
3. in the Background (At later probably at the Night when the Load on the System is Very less)
For this you need to Schedule the Program CORUPROC as a Batch Job.
There are other Customization Settings also required to be made for this:
1. Define Time for Confirmation Processes (OPKC)
Here you define the how you are going to do your confimation with reference to GI,GR and Activity.
The Order Category for Production Order is 10, so you need to do your cutomization with reference to this.
2. Define Paralleling Type for Confirmation Processes (OPKB).
You need to define the No. of Paralleln tasks and maximum number of items per material document (for goods movements)
Now you have scheduled your CORUPROC say 5 times a day..
But if you want to do your confirmation immediately then and there then you can go with the Transaction : CO1P.
But this is to be used in rare cases..
Hope this clarifies..
Revert for further discussion..
Regards,
Siva

Similar Messages

  • Problem with Confirmation (BUS2203) Process Controlled Workflow SRM 7.0

    Hi gurus,
    I'm having a bit of trouble with the Process-Controlled approval workflow for the business object "BUS2203" (Confirmation) in SRM 7.0.
    Basically, I've configured it to determine N-process levels, and for each level to retrieve the corresponding agents/approvers. When I am creating the confirmation, I go to the "Approval" tab and I can see all of my approvers there. Nevertheless, the moment I confirm an item (ie, put a confirmed quantity and press the confirm button) first I get the status "Awaiting Approval" and then when I close/or click the refresh button I get the status "Release Rejected".
    Has anyone had this problem before with this workflow? Do you know if this is a standard error, or might I be doing something wrong? I tried to look through the OSS notes, but unfortunately couldn't find anything..
    Please feel free to provide any idea that may be useful!
    Many thanks...
    Adi

    Hi,
    Can you paste your process definition? BRF event and expressions.
    Does it work with SAP sample 1 step approval process definition?
    Regards,
    Masa

  • In-process inspection and confirmation

    Hi, i have used 03 insp type in material master. for each operation, some characterstics were assigned. after prod order confirmation with co11n t-code, i have done results recording thru qa32 t-code. even without confirmation (co11n) also, system allows to record the results thru qa32. please advise how can we restrict this? is there any link or relation in between confirmation and results recording?

    Dear Yadav
    Let me explain to you in detail the business process and the relevance of 03 inspection .
    1)Suppose you have a product A and routing of this product A be like this.
    0010 Forming > 0020 u2013 Winding > 0030 Testing > 0040 Assembling > 0050 Final Finishing.
    2) In a normal production process suppose you have a production order of 100 for product A
    3) Now during the production process you need to confirm each operation through CO11N what was the yield, rework, scrap, activity time taken etc.
    4) Once all the operation are confirmed the production order is GRu2019ed and this product A goes to quality stock for 04 inspections. 04 inspections is always considered as Final inspection.
    5) 0030 operation being a inprocess inspection , 03 inspection type gives the Quality personal a control over the confirmation process.
    6) Quality personnel can do not only result recording but also confirmation of the quantity thereby giving him the control over the production quantity.
    7) Quality personal can also do the testing partially and record result multiple times and confirm partially
    8 ) To bring the confirmation pop up in QA32 you will have to do
    a) In Routing at header kindly maintain inspection point as 150
    b) At Operation level maintain a QM work center ( testing ) with Control key QM04
    b) double click on the control key and go to Quality Management : Inspection points
    c) Maintain Inspection point completion : Quantity , Valuation and confirmation
    10 ) For a better control over the 03 inspection these setting have to be defined in PP configuration for production order Type in Tcode OPK4 in config
    SPRO > Production> Shop floor control> confirmation> define confirmation parameters
    Maintain
    1)Operation sequence u2013 error when order sequence is not adhered to
    2) Overdeilvery u2013 Error when over delivery tolerance is exceeded
    3) Results Rec. (QM)- Error message if no Insp results exist
    Edited by: Gajesh Nagesh on Dec 17, 2009 9:12 AM

  • Custom Expression creation in Process controlled  workflow

    Hi All,
    I am working on SRM 7.0 and utilizing process controlled workflow to model my approval workflow scenario. Below are the steps that i have done but still i have not got the desired result. May be i am missing something which the forum members can let me know.
    step 1: i have copied the standard function module  /SAPSRM/WF_BRF_0EXP001 and made chnages in the code  based on the logic to populate the ev_value.
    basically in the coding it is done this way.
    initialize
    EV_TYPE = 'B'.
      EV_LENGTH = 1.
      CLEAR EV_CURRENCY.
      EV_OUTPUT_LENGTH = 1.
      EV_DECIMALS = 0.
      EV_VALUE = ABAP_FALSE. " no processing
      EV_DATA_MISSING = 'X'.
    get event object
      LO_WF_BRF_EVENT ?= IO_EVENT.
    get Context Container from BRF event
      LO_CONTEXT_PROVIDER = LO_WF_BRF_EVENT->GET_CONTEXT_PROVIDER( ).
      CALL METHOD LO_CONTEXT_PROVIDER->GET_DOCUMENT
        IMPORTING
          EV_DOCUMENT_GUID = LV_DOCUMENT_GUID
          EV_DOCUMENT_TYPE = LV_DOCUMENT_TYPE.
      CASE LV_DOCUMENT_TYPE.
        WHEN 'BUS2121'.
    Get shopping cart instance
          LO_WF_PDO_SC ?= /SAPSRM/CL_WF_PDO_IMPL_FACTORY=>GET_INSTANCE(
            IV_DOCUMENT_GUID = LV_DOCUMENT_GUID
            IV_DOCUMENT_TYPE = LV_DOCUMENT_TYPE
            IV_PDO_EVENT_HANDLING = ABAP_FALSE
    custom logic  with the GUID of the shopping cart then populate  value accordingly
            EV_VALUE = ABAP_TRUE.
            CLEAR EV_DATA_MISSING.
    step 2: create an event ZEV_001 linked to expresion ZEX_001.
    step 3: expression ZEX_001 is of type 0FB001. and the xpression is as below.
      ZEX_002 = OB_WF_TRUE.
    step 4: ZEX_002 is of type 0CF001 and output result type is B. the attached function module is the one created above by copying /SAPSRM/WF_BRF_0EXP001
    no parameters provided .
    step 5: the process step level config completed.
    now when i am creating shopping cart  go for approval preview its gives an exception occured  error . i cant see any dump in the system. however  if  in the custom fucnction module code if i do not clear the  EV_DATA_MISSING. then i d o not get the error but my steps is not executed. Inslg1 log i see the  process level executed  but return as space.
    as per other post in the forum we have to clear EV_DATA_MISSING but that casuing  exception eror for me. in the dlg1 log howere the steps  expressin i can see executed  with return =X.
    hope i am made myself clear . feel free to ask for any more info.
    i have below question.
    1) do we need to copy  /SAPSRM/WF_BRF_0EXP001  or  /SAPSRM/WF_BRF_0EXP000 for creating a custom FM expression.
    2)what does the check box "Calculation of Parameter in Function Module/Badi/method" does
    3) how can i do debugging for such FM expression , probably saving the cart and then debugging the expression.
    Thanks in advance for any help provided.
    Cheers
    Iftekhar Alam

    Hi ,
       Just put the below code in the FM and try..
        DATA: lo_wf_brf_event     TYPE REF TO /sapsrm/cl_wf_brf_event,
            lo_wf_pdo           TYPE REF TO /sapsrm/if_wf_pdo,
            lo_ctxt_provider    TYPE REF TO /sapsrm/cl_wf_context_provider.
      DATA: lv_document_guid    TYPE /sapsrm/wf_document_guid,
                lv_msg              TYPE string,
                lv_document_type    TYPE /sapsrm/wf_document_type.
      DATA: lx_exception        TYPE REF TO /sapsrm/cx_wf_abort.
    *=======================================================================
    Preset return parameters
    *=======================================================================
      ev_type          = /sapsrm/if_wf_rule_c=>type_bool.
      ev_length        = 1.
      CLEAR ev_currency.
      ev_output_length = 1.
      ev_decimals      = 0.
    get event object
      IF NOT io_event IS BOUND.
    BRF event Object not bound. No further execution possible.
        MESSAGE e089(/sapsrm/brf) INTO lv_msg.
        TRY.
            CALL METHOD /sapsrm/cl_wf_brf_ccms=>send_message( ).
          CATCH /sapsrm/cx_wf_abort INTO lx_exception.
            ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
            EXIT.
        ENDTRY.
        ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
        EXIT.
      ENDIF.
    *=======================================================================
    Get purchasing document
    *=======================================================================
    get event object
      lo_wf_brf_event ?= io_event.
    get context container from BRF event
      lo_ctxt_provider = lo_wf_brf_event->get_context_provider( ).
    get Content Container from BRF event
      IF NOT lo_ctxt_provider IS BOUND.
    BRF Context Container Object not bound. No further execution possible.
        MESSAGE e090(/sapsrm/brf) INTO lv_msg.
        TRY.
            CALL METHOD /sapsrm/cl_wf_brf_ccms=>send_message( ).
          CATCH /sapsrm/cx_wf_abort INTO lx_exception.
            ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
            EXIT.
        ENDTRY.
        ev_data_missing = /sapsrm/if_wf_rule_c=>brf_data_missing.
        EXIT.
      ENDIF.
    get document
      CALL METHOD lo_ctxt_provider->get_document
        IMPORTING
          ev_document_guid = lv_document_guid
          ev_document_type = lv_document_type.
    get instance
      lo_wf_pdo ?= /sapsrm/cl_wf_pdo_impl_factory=>get_instance(
      iv_document_guid = lv_document_guid
      iv_document_type = lv_document_type
    Case lv_document_type.
    When u2018BUS2121u2019.
    Pass the lv_document_guid to get SC details.
    IF THE CONDITION TRUE..
              CLEAR: ev_data_missing.
              ev_value        = c_x.
    ELSE.
              ev_data_missing = c_x.
              ev_value        = c_blnk.
    ENDIF.
            WHEN OTHERS.
              ev_data_missing = c_x.
              ev_value        = c_blnk.
          ENDCASE.
    Make sure the check expression will have check as shown below
    ZEX_002= 0C_WF_B_FALSE
    FYI-
    You don't need to have expression ZEX_001 to check the result of ZEX_002, because both expressios resut is type 'B". you can directly attached the ZEX_002 to main Event ZEV_001
    Regards,
    Saravanan
    Edited by: Saravanan Dharmaraj on Jun 23, 2010 12:25 PM

  • SRM 7.0 Process Controlled Workflow change

    Hi
    I have a SRM 7 process controlled Shopping cart workflow working ok, Approval based on value levels. The customer wouldlike to change this so that approval is also based on cost center attributes and also want at each approval level to have a reviewer.
    Could anyone advise me how to add in a reviewer, as well as an approver for a particular process step, and also confirm that to have the cost center attribute taken account of at each process step, i would have to develop and code a new expression / evaluation ID, rather than use existing one.
    Many Thanks
    john

    Hi John,
    Reviews are common for all process level.. itu2019s not process level specify like approvers.. Also we can add reviewers dynamically by a simple BADI implementation and configurations as follows..
    BADI Implementation:
    BADI : /SAPSRM/BD_WF_RESP_RESOLVER
    Enhancement Spot: /SAPSRM/BD_WF_AGENTS
    BADI Definition : /SAPSRM/BD_WF_REVIEWER_RULE
    Configuration:
    We can see Reviewer folder for all process schemas..
    For adding approver or pool of approvers for a particular process level, review my answer in the following forum.. Re: SRM 7.0 SP05 - BRF Item level approval does not work
    Thanks!!
    Bharath

  • 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

  • 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

  • What's new in Process Control 2.5?

    Hi,
    I'm looking for information about what is new in Process Control 2.5(compare to the 2.0 version)
    Thank you in advance for your help,
    Regards,
    Julien

    The key innovation of PC 2.5 is the user experience. The highlights of this innovation are:
    A new user experience based on work centers which mimics the way compliance and business users actually work
    A combination of top session management and sidebar navigation leads to cleaner, more intuitive design
    Broad availability of relevant contextual information as appropriate, in the form of documents and links
    Pervasive search functionality, with list filtering and sorting capability to deliver information as the user needs it
    Automated testing
    Delivered scripts cover Financials, Procure to Pay, Sales and Distribution, and more...
    Rule parameters passed to scripts extract data from the source ERP system and return evaluation results with related issues or exceptions to Process Control
    Query-based scripts use SAP Query to provide additional flexibility
    Use of standard SAP and customer-created reports can be returned as part of evaluation and marked as requiring review to determine whether the evaluation passed or failed
    ANd much much more

  • Output control and outbound parameters

    Can you please help me locate the output control and outbound parameters...
    thank you in advance...

    Hi Pabito,
                  I am assuming that you need to send an outgoing EDI - Mail or fax to a specific partner. This process is possbile if you could set up the output control for sales  documents.
    spro->sales & distribution -> BF -> Output control-> output determination -> maintain output determination for sales documents -> Assign output types to partner function.
    Make sure that an output determination procedure is assigned to the sales dco type.
    Also Maintain condition records for the output type and the transmission medium(EDI) using the trx NACE.
    I hope this is what you are looking for, i also have a faint notion that you might be lookin how to setup an edi connection with the partner.!!!
    If my notion is right do ping back to know more abt that,If you find this piece of information do take some time to award points to mee
    - Girish

  • Process Control for Java processes

    I am on a unix platform and suspect that one of my java programs (that is supposed to run all the time) may be dropping, thus requiring me to check up on it occationally to ensure it is still running, and if it isnt, I have to start it up. Does anyone know of a quick and dirty way for me to build a process control routine using crontab that will make sure it stays up.
    What i first tried was to write a small perl script that looked for the process and if it wasnt there, it would try to start up the java program. The perl works great when I run it manually (thus starting up the process when it is down), but when I crontab the perl script, it doesnt seem to work. anyone know of a better way? or possibly a way that perl can start up the java process. I tried to embed the java command within a system statement within perl. I am lost right now and running out of ideas.
    Thanks,
    Kevin

    I've a similar situation and attached are files that are working in an AIX box:
    WfmScheduler and Forecaster are two java programs that are supposed to be running all the time. scheduler and forecaster are two script files that will start WfmScheduler and Forecaster. Each takes up to two parameters and writes their output to a corresponding log file. The cron task will check the ids every two minutes and if it does not see one of them, it will start them. I feel you are familiar with UNIX so it should be easy for you to understand the little script.
    Good luck.
    PC
    file 1
    #newcron.txt
    0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * * /home/wfm/autostart.sh WFM 5
    file2
    # autostart.sh
    # get WfmScheduler process ids
    cmd_path1=WfmScheduler
    cmd_path2=Forecaster
    pid1=`ps -ef | eval grep [0-9]./.*$cmd_path1.$1 | nawk '{print $2}'`
    if [ "$pid1" ]
    then
    else
    rm ./scheduler.log
    nohup ./scheduler $1 $2 > ./scheduler.log &
    fi
    # get Forecaster process ids
    pid2=`ps -ef | eval grep [0-9]./.*$cmd_path2.$1 | nawk '{print $2}'`
    if [ "$pid2" ]
    then
    else
    rm ./forecaster.log
    nohup ./forecaster $1 $2 > ./forecaster.log &
    fi

  • Error: Service process cannot be confirmed due to its status

    Hi Experts,
    we want to create a Service Notification (BUS2000117) as a follow-up document of a service order (BUS2000116). The problem is that we receive the following error:
    Service process cannot be confirmed due to its status
    *Diagnosis*
    You cannot enter a confirmation for the service process due to its status.
    *System Response*
    To enable you to enter a confirmation for a service process, it must be released and may not yet have the status Closed .
    *Procedure*
    Check the service process status and if necessary, change it.
    How can i shut off the control of the status as we need to create service confirmation of service orders which are still in process. Is there any customizing?
    Best Regards
    Oliver

    To solve the problem without using the note it is possible to change customizing.
    Customer Relationship Management -> Transactions -> Status Management -> Define Status Profile for User Status:
    In Transaction Control is has to be assigned the Business Transaction 'To be distributed' to the relevant status.
    Afterwards the service notification can be created without problems.

  • Unable to open data process control

    Hi,
    While I open Data Process Control, it prompt error as below. How to fix it?
    An error occurred while initializing POV data. Confirm that metadata has been loaded and that you have sufficient security rights.+

    Hi
    According to Oracle Support, the cause of the issue is:
    The file HsvWebSessionWSP.dll was not registered properly. This file will be in HFM Webserver under the location <MiddlewareHome>\EPMSystem11R1\products\FinancialManagement\WebServices.
    And the solution is:
    Re-registering the HsvWebSessionWSP.dll file should resolve the issue, by using this command: regsvr32 "<MiddlewareHome>\EPMSystem11R1\products\FinancialManagement\WebServices\HsvWebSessionWSP.dll"
    Hope this helps.
    Cheers,
    Lu

  • Is migrating open application workflows to process-controlled WFL required?

    Dear forum members,
    We have upgraded an SRM system from version 5.0 to 7.0 (SP 7) and we have gone live in SRM 7.0 with the old application-controlled workflows still being used for old and new documents.
    We are in the process of changing the workflow to the new process-controlled (BRF) workflow and this works OK for new docments in our test systems.
    Can you confirm if we MUST migrate the old workflows to the new BRF workflow when we activate the new p-c workflow into the live system?
    I would prefer to have the old application-controlled workflow continue for existing document approvals and use the process-controlled workflow for new ones.
    My questions are:
    1. Can we use both application and process-controlled workflows together at the same time (new docs use p-c workflow, existing approvals to continue to use A-C workflow while they run down)?
    2.  If not, can we migrate SC n-step BADI workflow to the p-c workflow (report /SAPSRM/PR_WF_MIGRATION_CFG implies not)
    Any help or advice is appreciated as always!
    Thanks a lot,
    Nick

    hello,
    we are dealing with the same issue in a srm migration from 5.0 to 7.0.
    We have a copy of the production system with a lot of open workitems based on application controlled workflows.
    We build up new process controlled workflows and activated those for the new shopping carts.
    The report for the migration (/SAPSRM/PR_WF_MIGRATION_CFG) of open workitems seems to be not sufficient, because
    - all open workitems are going to be restarted, right?
    we tried to approve old woritems from the powl, that seems to work. Simultaneously brf workflow works fine.
    Right now we are wondering why it should not be possible to finish the old workitems application controlled and the new ones process controlled. Do we miss something?
    Has anybody experiences based on customer projects?
    kind regards
    Carsten

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

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

Maybe you are looking for