Statistical process control (spc)

Hello All,
I need some help in building SPC cycle. I succeded in a way to get (Shewhart chart for s) but result is not consistant like:
1) system shows values for control limits fields when I go for overview in QGC1/QGC2/QGC3 but didn't show any limits on chart
2) I am able to see chart only when inspection lot is in change mode and not display mode
3) even when I have chosen Valuation mode as SPC valuation in sampling procedure, system is not considering calculated control limits but considers specificaiton limits mentioned for Inspection Characteristics
I need some guidance on steps to be followed in setting up system, result recording, limit calculation and control chart display.
It would be great if any one can guide me with that or forward me some training/testing documents on SPC.
Thanks and regards,
Devang
Edited by: Devang Shah on Apr 4, 2011 3:06 PM

One correction.
I have a lot of inspection points for each inspection lot

Similar Messages

  • Creating a Statistical Process Control Chart (SPC)..... X-Bar

    Could I please have some hints and/or examples about how to create SPC
    charts with LabVIEW? Specially for X-bar... how could I create it from
    Scratch? Thanks in advance for the time and consideration regarding
    this matter.

    The thing to remember is that SPC was originally implemented during World War II so we are not talking high-tech here. In fact SPC was originally designed to be done using nothing more than graph paper and a pencil. Given that, it's vitally important that you know about how the process works. Therefore my recommendation is to find a book on SPC and read it. This book will tell you not just how to create the various plot types, but what they do and how. An excellent book I can recommend is:
    Understanding Statistical Process Control, Wheeler and Chambers, SPC Press, 2nd edition, 1992, ISBN 0945320132
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

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

  • SRM 7.0 Process-Controlled (BRF) Workflow -- Error message to Shopping Cart

    I am modifying a BRF Expression used to calculate approval levels.  During this calculation, I may run into error conditions (e.g. Currency tranlsation not found) that I want to display to the user (in the Shopping Cart).
    I have tried raising the following exceptions:
    /sapsrm/CX_WF_RULE_ERROR.
    /sapsrm/CX_WF_RULE_ABORT.
    Raising these exceptions do result in SLG1 log entries being written, but the User is not informed of the error (ie. at top of shopping cart where other messages display).
    I can probably jump out of the Webdynrpo to read logs, but thought there MUST be some standard way of passing error conditions from the BRF, back to WF, and then back to the Webdynpro Window.
    Anybody raise error messages back to the online user from Process-Controlled Workflow?
    Thanks,
    - Tim

    >
    Saravanan Dharmaraj wrote:
    > Hi Tim,
    >
    >    I am not sure about your business requirement, but if you want to display custom error message while user create a SC, SAP has provided a standard BADI - BBP_DOC_CHECK_BADI. You can implement this Badi to raise a custom error,warning message. You can build your brf logic in the BADI implementation..
    >
    >
    > Best Regards,
    > Saravanan Dharmaraj.
    Hi Saravanan,
    I am actually modifying the Approval Limit Checks (for multi-currency translations) that you recently coded in Maryland.  It can occur that errors occur in determining limits (new Currency translation I just added), or during the lookup of agents (ie user config is inconsistent).
    In these cases, I can make the shopping cart Dump, by raising untrapped error messages, or assertions.   However, I would like to raise exceptions that get trapped (such as the ones I identified in original post), and then make their way to the shopping cart.
    Unless I am missing something, I don't think the WF BADIs, or BRF are gonna communicate errors back to the shopping cart, even though these components are called during cart creation and checks.
    I realize that I can recode the Agent Determination BADIs,  BRF calls, or even read BRF logs within BBP_DOC_CHECK_BADI.  I mentioned this in my original posting as well.
    Anyway, any help is appreciated.
    Thanks,
    - Tim

  • Workflow error in fork step, process control, wait event

    I am using fork step in workflow which has 2 parallel branches. In 1st branch i have a user decision step followed by a task for posting PO document in case of approval. In the 2nd branch of fork step I have a wait step to wait for an event followed by the same task for posting document with a process control step after that in the end to cancel the workitem(workitem generated by user decision step in the 1st branch of fork). I created the event by using a custom BOR object.
    After the fork step is triggered, i have both a wait event running and workitem generated. When i raise the wait event from SWUE by entering the event, object key etc it works fine i.e., the workitem in the other branch is set of logically deleted and workflow ends.
    But if the wait event is triggered from the program i.e., using FM SWW_WI_CREATE_VIA_EVENT, both get an error message in workflow log(SWIA). The message is: Error when executing the binding between work item 000000XXXXXX and flow item 000000XXXXXX where workitem number is the workitem id of the posting document task and flow item id is the workflow parent id

    hi,
    message is self explanatory.
    Activate the event trace SWELS, then do the event with SWUE and within your program (als please use SAP_WAPI function modules).
    Now compare the 2 events in SWEL to see what the differences are .
    Kind regards, Rob Dielemans

  • 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

  • Dead Line Monitoring for Shopping cart approval(SRM 7.0 Process controlled)

    Hi Friends,
    I am using SRM 7.0 Process controlled Workflow. I need to do below.
    Dead Line Monitoring details are given below.
    If the approval workitem is not addressed in 3 business days by Approver, the approver would get reminder email notification. If approval Workitem is not addressed in 5 business days by the approver, then an email notification is sent to requester,approver and the workflow administrator.
    How to obtain this. Please help me.
    Thanks,
    Balaji.T.

    Hi Masa,
              Thank you for your input.
    You mean, shall we use BADI  BBP_ALERTING for deadline monitoring.?
    Infact, i have used
    SRM Server->Cross-Application Basic Settings=>Event and Event Schema for Alert Management->Define Event Schema
    In that i specified
    WF_COMPL_LATEST_END->Message(low)->APPROVAL_DEADL_NOTIFIC_NEW  : 24 hours.
    But it is not triggering for dead line Monitoring(24 hours Later).
    If any body faces this same problem, Please let me know.
    Thanks,
    Balaji.T.

  • 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

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

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

  • How to trigger standard task manually in Process controlled workflow?

    Hi All,
    I would like to trigger a task mannually in BRF, process controlled workflow. My requirement is to send an approval notification to the approvers at the current approval level, at any instance by the requestor of the shopping cart. In that case, will it be possible to trigger the standard task 40007953 (SRM Shopping Cart Approval (1)) with the workitem of Shopping cart under consideration?
    I have tried searching for the same in SDN and other forums but most of the information was regarding application controlled workflows. None of those function modules seems to be working in PCW.
    Any pointers on how to trigger a standard task (using FM or code) in BRF(process controlled workflow) environment is also highly appreciated.
    Thanks,
    S.H@ri

    Hi,
    Use this FM [SAP_WAPI_START_WORKFLOW|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bb9100f8-0c01-0010-ac8e-e017351f3fc1].
    Regards,
    Surjith

  • 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

Maybe you are looking for

  • Did you Know? Disney Bought First HP Product

    My friend Anne Finnie blogs over on HP's Next Bench. Recently she did a great post about HP's very 1st product. You can read the full thread here.  Way back in 1939, an HP product was used to help construct the amazing audio in Fantasia. The unassumi

  • Migration of domain 2003 and exchange 2003

    dear sir, presently  we have    domain controller win2003 std sp2  and exchange server 2003 sp2  ,installed on domain controller we need to migrate from  exchange 2003 to exchange 2010 and then to  exchange 2013. please suggest the procedure step by

  • Mapping IDoc in Web Service structure

    Hey, now I got general question about mapping: I'm using the SAPRDI02 IDoc to send print data to PI. This should be mapped to the web service structure then. The IDoc contains the text elements of the sap script and the value of these elements. The W

  • Nokia x2-02 auto time update prob?

    I used Nokia n72 with grameen phone sim. N72 update automaticly date n time with gp service provider. But same sim card i used in x2-02 it wont update automaticaly. Please tel me how can i update automatic dat n tim...... Badhan

  • Need help getting guest access to work.

    I have searched and Googled and found very little about enabling temporary guest access on an AEBS. What I could find said just type in "the PIN number." OK, what PIN number? It appears that the device seeking access is supposed to supply it somehow