Determine Physical Samples using a Sample Scheme

Dear QM friends,
currently I am struggling with a QM issue that maybe you can help me with.
Within the one of our factory sites we have rolled-out QM for quality inspection at GR, for this we use Physical Samples (just like we do in other factory sites). Only thing is that in this specific site they want to draw their physical samples based on a sample scheme. The other site use formulas to draw samples.
So we have setup a sample-drawing procedure to determine the samples based on a specific sample scheme that has been setup for this factory.
What I expected SAP to do when doing a goods receipt of for example 3 items is that SAP will draw 3 Physical Samples with a quantity of 1. However strangely SAP creates 1 Physical Sample with a size of 3 items.
With kind regards,
Kenny Galle

Thanks for both of your responses
In relation to you questions I checked the following:
1. I am using Primary Samples alone and they are to be taken from a Sample Scheme linked in the Sample-Drawing Procedure;
2. Increasing the sampel size does not work, I am still left with one physical sample and multiple items. Where I want a physical sample PER item.
When we use a formula in the Sample-Drawing procedure (e.g., "P1" or "TRUNC(P1/10)+1") it works fine and we get a Physical Sample per serialize item.
Any guidance will be highly appreciated!

Similar Messages

  • How do i determine the speed of a sample

    I want to know if there is a way to determine the speed of a sample that i want to match in logic.

    Eriksimon wrote:
    A loop is not a sample, though a sample can be looped, in which case one can call it a looped sample. What would a sampled loop be? The recording of a piece of a loop that is playing?
    A Loop would be a phrase.
    A sample would be a single note.
    Just to avoid a futile debate: yes, in the broad (semantic) sense a sample can be a loop too.
    These are not laws (I think), but customs.
    I think your customs regarding samples and "sampling" are stuck in 1982 hip-hop.
    To further muddy the waters: Almost any non-percussive sample played via a keyboard (remember when "samplers" used to be keyboards?) is also looped at some point.

  • Biztalk WCF-SQL polling sample using a FOR XML Path

    I've been searching in the web for a sample that uses FOR XML "PATH" to poll the SQL database . The result returned from my query is a parent child data and FOR XML PATH is the best choice to structure it in that way . I guess I'm missing something while
    generating the schemas from this stored procedure.
    I guess Dan Rosanova has touched on this concept (http://social.technet.microsoft.com/wiki/contents/articles/3480.aspx)
    , but its using XML Auto. Again there is no sample available so makes things a bit difficult.
    Can someone point to a sample walkthrough , generating the schemas and then later using it in the application.
    Thanks
    Anthstone

    I used XMLPolling and it worked for me. you can go for XMLPolling. Steps to be followed:
    1) Create the SP which will have the SELECT query similar to below:
    ;WITH XMLNAMESPACES (default 'http://yourcustomnamespace')
     Select * from Employee FOR XML PATH('YourCustomRootNode') 
    2) Create a schema out of the table using the following query
    Select * from Employee for
    xml
    auto,
    xmlschema 
    3) Re-name the root name and namespace as per you mentioned in point#1 (YourCustomRootNode)
    4) Create an Envelope Schema and refer the schema from point#3. Also make a note of the root node name and namespace that we need to specify
    in the admin console.
    5) Assign the Body XPath to debatch. Refer
    this.  Deploy the solution.
    6) In the Admin console, add the Root Node Name and namespace mentioned in point#4 under "XmlStoredProcedureRoodNodeName" and "XmlStoredProcedureRoodNodeNamespace"
    There you go. I did this for debatching. You can do for nomarl batch message instead of Envelope create a normal document schema.
    Thanks
    SKGuru

  • Question on "Master Detail page using ADF" sample

    I downloaded the "Master Detail page using ADF" sample application. I modified editDepartment.jsp page to include the Commit button as follows:
    <html:submit property="event_Commit">Save and Commit</html:submit>
    When I go to edit a department record and click on the new "Save and Commit" button, I SQLed the DEPARTMENTS table and noticed that the edits were not commited. I also restarted the embedded OC4J server and still get the same results. For some reason, the department view object contains the modification but the entity object doesn't. Why?

    Scott,
    My colleague suggested a workaround, which is to explicitly include the detail table's id in the master table's partialTargets list. So, for example, in MasterDetailDP.uix, changing:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState">to:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState EmployeesView312">...will cause the detail table to be updated when sorting the master table.
    There is some question about whether sorting a table should actually cause the currently selected row to change - we're still discussing this point.
    Andy

  • Samples using UTL_FILE package

    hello;
    I would like to use the utl_file package: fopen, put_line ...
    can you send me some samples using this package.
    thanks to your help
    mam
    null

    declare
    T1 UTL_FILE.FILE_TYPE;
    begin
    begin
    T1:= UTL_FILE.FOPEN
    ('/u02/applmgr/10.7p161/eye/3.3.1/out','filename.dat','w');
    EXCEPTION
    WHEN UTL_FILE.INVALID_PATH THEN
    DBMS_OUTPUT.PUT_LINE('Invalid Path');
    WHEN UTL_FILE.INVALID_MODE THEN
    DBMS_OUTPUT.PUT_LINE('Invalid Mode');
    WHEN UTL_FILE.INVALID_OPERATION THEN
    DBMS_OUTPUT.PUT_LINE('Invalid Operation');
    end;
    UTL_FILE.PUT(T1,'PROD DATE ');
    UTL_FILE.PUT(T1,'PRODUCT ');
    UTL_FILE.PUT_LINE(T1,'INTEREST TYPE ');
    UTL_FILE.PUT(T1,'LEASE NUMBER ');
    begin
    UTL_FILE.FCLOSE(T1);
    EXCEPTION
    WHEN UTL_FILE.WRITE_ERROR THEN
    DBMS_OUTPUT.PUT_LINE('write error');
    WHEN UTL_FILE.INVALID_FILEHANDLE THEN
    DBMS_OUTPUT.PUT_LINE('Invald File Handle');
    end;
    END;
    mamoudou (guest) wrote:
    : hello;
    : I would like to use the utl_file package: fopen, put_line ...
    : can you send me some samples using this package.
    : thanks to your help
    : mam
    null

  • Parse error when using  ojspc SAMPLE.WAR

    Hi,
    I am facing oracle.jsp.parse.JspParseException while using ojspc SAMPLE.WAR
    Parse error in index.jsp:
    oracle.jsp.parse.JspParseException: /index.jsp: Line # 20, <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
    Error: org.apache.struts.taglib.logic.IterateTei while reading TLD /WEB-INF/struts-logic.tld
    index.jsp contains
    <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
    and web.xml
    <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    --Kailas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    one solution: assume the toplink library to be so full of bugs as to be unusable and switch to the hibernate persistance manager where it works fine.
    Edited by: pointer2null on Feb 17, 2009 11:02 AM

  • JMS1.1 Domain Unification sample using OC4J 10g

    I am trying to run the JMS1.1 Domain Unification sample using OC4J 10g
    I am not sure why I get the Invalid provider URL exception at run time when trying to run AsyncClient using listenTopic in Ant. The code prints out the provider URL accurately from my ConnectionParam.java file but exception happens after that. I am running the J2EE container using OC4J and can access http://localhost:8888/adminoc4j as an admin user.
    ++++++++++++++++++++++++++++++++
    C:\JMS1.1>c:\apache-ant-1.6.1\bin\ant listenTopic
    Buildfile: build.xml
    listenTopic:
    [java] local url...
    [java] http://localhost:8888/adminoc4j
    [java] env Hashtable populated...
    [java] javax.naming.NamingException: Invalid provider URL
    [java] at com.evermind.server.rmi.RMILocation.parseURL(RMILocation.java
    :83)
    ++++++++++++++++++++++++++
    This is the initialize method from AsyncClient.java.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
    public void initialize() throws Exception{
    Hashtable env = new Hashtable();
    // set the environment properties
    env.put(Context.INITIAL_CONTEXT_FACTORY,
         "com.evermind.server.rmi.RMIInitialContextFactory");
    System.out.println("local url...");
    System.out.println(ConnectionParams.PROVIDER_URL);
    env.put(Context.PROVIDER_URL, ConnectionParams.PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, ConnectionParams.USERNAME);
    env.put(Context.SECURITY_CREDENTIALS, ConnectionParams.PASSWORD);
         System.out.println("env Hashtable populated...");
    // get the initial context
    InitialContext ctx = new InitialContext(env);
         System.out.println("got context...");
    // lookup the queue and topic objects
    Destination topic = (Destination) ctx.lookup("jms/sampleTopic");
         System.out.println("looked up topic...");
    // lookup a connection factory
    ConnectionFactory factory = (ConnectionFactory) ctx.lookup("jms/sampleConnectionFactory");
    // create a connection
    Connection connection = factory.createConnection();

    Sorted out the answer myself.
    +++++++++++++++++++++++++++++
    The URL in ConnectionParams should use ormi protocol as given in the sample example.
    Good example and it all works! Thanks.
    +++++++++++++++++++++++++++++++++++++++++++++
    public class ConnectionParams{
    // variable for OC4J Provider URL
    public static String PROVIDER_URL="ormi://localhost:23791";
    +++++++++++++++++++++++++++++++++++++++++++++

  • Using Commerce Samples from 7.0 in 8.1

    Folks,
    Have a general question.We know well that BEA do not provide any commerce samples
    with 8.1 and it exists in only 7.0
    When I develop a commercial site with 8.1, can I use the samples? I have 3 original
    weblogic 8.1 portal licenses.
    Thanks
    Johnson

    Much of the sample code in 7.0 (in wlcsApp and e2eApp) is contained in
    PipelineComponents and webflow InputProcessors, but the commerce code
    contained in those should still work if put into something else (e.g. a
    pageflow, a business process, a control).
    Additionally, you can run 7.0 PipelineComponents and InputProcessor in
    an 8.1 application, although we don't provide any specific development
    tools to support developing those.
    http://e-docs.bea.com/wlp/docs81/upgrade/chapter3.html#1049039 has some
    information about how to enable Pipeline and webflow in your app and
    webapps.
    Greg
    Johnson wrote:
    Folks,
    Have a general question.We know well that BEA do not provide any commerce samples
    with 8.1 and it exists in only 7.0
    When I develop a commercial site with 8.1, can I use the samples? I have 3 original
    weblogic 8.1 portal licenses.
    Thanks
    Johnson

  • Conflict between the saved data and the sampling rate and samples to read using PXI 6070e

    Hello, I am using PXI 6070e to read an analog voltage. I was sampling at 6.6 MHz and the samples to read were 10. So, that means it should sample 10 points every 1.5 um. The x-axis of the graph on the control panel was showing ns and us scale, which I think because of the fast sampling and acquiring data. I use "write to measurement file" block to save the data. However, the data was saved every 0.4 second and as 35 points data at the beginning of each cycle (e.g. 35 points at 0.4 sec and 35 at 0.8 sec, and so on) and there was no data in between. Can anyone help me how there are 35 reading points every cycle? I could not find the relation between the sampling rate and samples to read, to 35 points every 0.4 second!
    Another thing, do I need to add a filter after acquiring the data (after the DAQ assistant block)? Is there anti-aliasing filter is built in PXI 6070e?
    Thanks for the help in advance,
    Alaeddin

    I'm not seeing anything that points to this issue.  Your DAQ is set to continuous acquire.  I'm not sure if this is really what you want because your DAQ buffer will keep overwriting.  You probably just want to set to Read N Samples.
    I'm not a fan of using the express VIs.  And since you are writing to a TDMS file, I would use the Stream to TDMS option in DAQmx.  If you use the LabVIEW Example Finder, search for "TDMS Log" for a list of some good examples.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Any code samples using StringWriter?

    I looked through the examples here and couldn't find one that used StringWriter. Does anyone know where a code sample using it can be found?
    Thanks

    OK... I got a small sample program to work but I am having trouble getting this one to work with StringWriter. I get an error on the line containing ---- s = new String(sw.toString); It says it can't resolve symbol. Here is the part of the code that is giving me trouble.
    try {
                   fin = new FileInputStream(args[0]);
              } catch (FileNotFoundException e) {
                   System.out.println("File not Found");
                   return;
              } catch (ArrayIndexOutOfBoundsException e) {
                   System.out.println("Usage: ShowFile File");
                   return;
              do {
                   i = fin.read();
                   if (i != -1) {
                        pw.print(i);                         
              } while(i != -1);
              fin.close();
              s = new String(sw.toString);
              StringTokenizer st = new StringTokenizer(s);     (I didn't put the import statements, variable declarations or main line for clarity). I also tried putting sw as the argument for StringTokenizer() as well and it didn' work.
    Any help would be great.
    Thanks

  • Code sample using Oracle Provider

    Hi Is any got code sample using Oracle Provider with aspnet app

    Assuming your stored procedure is returning a REF CURSOR, it cannot be done. Oracle's REF CURSORS are read only constructs.
    Justin

  • Difference between Sampling Procedure and Sample-drawing procedure

    Friends,
    I am new to QM and started learning QM Module. My doubt is what is the difference between Sampling Procedure and Sample-drawing procedure?
    The reason for my doubt is, we can determine the sample quantity with Sampling procedure itself. then what is the need of sample-drawing procedure?
    Also describe primary, pooled and reserved samples.
    Regards,
    IMIMINT

    Hi,
    Sampling Procedure 
    Definition
    A procedure that contains the rules for determining the sample size for an inspection. The sampling procedure also specifies the type of valuation to use for results recording (attributive, variable, or manual).
    Use
    You assign a sampling procedure to each characteristic in an inspection plan to calculate the sample size.
    Sample-Drawing Procedure 
    Definition
    A master data object in which you plan the drawing of physical samples. In the sample-drawing procedure, you specify:
    Which categories of physical samples must be drawn
    How many physical samples must drawn
    The size of each physical sample
    Whether the drawing of physical samples must be confirmed
    Use
    The system uses the information in the sample-drawing procedure together with the information in the inspection plan to calculate the physical sample sizes, and to create physical-sample records when an inspection lot is created.
    Primary Sample : It is the sample drawn from the lot directly.
    Pooled Sample : It is the sample whcih is combination of 2 or more primary samples.i.e. primary sample sfrom say 3 differetn drums is mixed and tested.
    Reserved Sample :sample which is preserved for the testing in future.
    or in other words
    Primary samples (1st stage)
    Physical samples drawn directly from a material or batch that will be inspected or used to create pooled samples.
    Pooled samples (2nd stage)
    Physical samples to be created by mixing the contents of two or more primary samples from the same material or batch.
    Reserve samples
    Primary physical samples drawn from a material or batch reserved for future inspection.
    Vishal
    Edited by: VISHAL JONNALWAR on Feb 4, 2010 6:43 AM

  • Object reference not set to an instance of an object error when generating a schema using flat file schema wizard.

    I have a csv file that I need to generate a schema for. I am trying to generate a schema using flat file schema wizard but I keep getting "Object reference not set to an instance of an object." error when I am clicking on the Next button after
    specifying properties of the child elements on the wizard. At the end I get schema file generated but it contains an empty root record with no child elements.
    I thought may be this is because I didn't have my project checked out from the Visual SourceSafe db first but I tried again with the project checked out and got the same error.
    I also tried creating a brand new project and generating a schema for it but got the same error.
    I am not sure what is causing Null Reference exception to be thrown and there is nothing in the Windows event log that would tell me more about the problem.
    I am using Visual Studio 2008 for my BizTalk development.
    I would appreciate if some has any insides on this issue.

    Hi,
    To test your environment, create a new BizTalk project outside of source control.
    Create a simple csv file on the file system.
    Name,City,State
    Bob,New York,NY
    Use the Flat file schema Wizard to create the flat file schema from your simple csv instance.
    Validate the schema.
    Test the schema using your csv instance.
    This will help you determine if everything is ok with you environment.
    Thanks,
    William

  • Problems using mathml XML Schema in XMLDB

    I have successfully loaded the hierarchy of XML Schema definition documents for the current 'mathml' by adjusting the relative paths in all include and import statements, and by forcing the load to overcome cyclic dependency issues.
    However when I try to create a table using the XMLTYPE or register another schema which is dependent on mathml I receive the following error:
    ERROR at line 1:
    ORA-31079: unable to resolve reference to group "Content-expr.class"
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 61
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 126
    ORA-06512: at line 14
    Having tried loading into both 9iR2 and 10GR2 databases and pasting the document containing the 'Content-expr.class' into the parent document (i.e. removing the include) I have come to the conclusion that there is a problem with the schema definition.
    However being new to XML I do not know what ths issue is as the file containing the definition (math.xsd) is included well before the references in the parent document.
    Here is the group definition corresponding to the offending reference:
    <xs:group name="Content-expr.class">
    <xs:choice>
    <xs:group ref="ContExpr.class"/>
    <xs:group ref="PresExpr.class"/>
    </xs:choice>
    </xs:group>
    I am also unable to trace which reference is causing the problem as there are several.
    Does anyone have any suggestions as to what could be causing this issue, or how I can obtain further diagnostics?
    Any help much appreciated.
    Robert Honeyman
    *********** New info ***************
    OK. I have tried further to register the schema, and have the following additional information.
    I determined that I thought my problem was cyclic dependencies being resolved ONLY by virtue of the parent file mathml2.xsd. I therefore pasted all the files together in include order so that this was no longer an issue. I then performed the following actions:
    1. I tried to register into Oracle 9iR2 database (9.2.0.4) and received the following error:
    ERROR at line 1:
    ORA-31151: Cyclic definition encountered for group: "Content-expr.class"
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 131
    ORA-06512: at line 14
    2. I then tried registering the schema into an Oracle 10G Release 2 database as well, and received the following error:
    ORA-31084: error while creating table "MEDLINE"."math729_TAB" for element
    "math"
    ORA-01792: maximum number of columns in a table or view is 1000
    ORA-02310: exceeded maximum number of allowable columns in table
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 61
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 126
    ORA-06512: at line 14
    My conclusions are as follows:
    1. 9iR2 (the version I was using at least 9.2.0.4) can't handle cyclic dependencies at all, or at least not complex ones.
    2. Neither 9iR2 or 10gR2 can handle cyclic dependencies (or other dependent definitions managed purely by virtue of a parent file with multiple include statements)
    3. 10gR2 can handle cyclic dependencies when they are all defined in the same file or resolved by an explicit include regardless of complexity.
    4. 10gR2 cannot handle highly complex XML Schema definitions due its limit of 1000 columns per table.
    Does anyone have any comments on these conclusions?
    I don't even want to handle Mathml, just another schema definition that imports it. I may try to make my own adjustments.
    Message was edited by:
    rhoneyman
    null

    Thanks, I found the relevant sections in the XML DB 10GR2 documentation (chapter 3 I think). As far as I can tell my options are to either use one of the following:
    - top-down technique creating tables for sub elements in the schema definition
    - bottom-up technique collapsing some of the lower elements into CLOBs (I guess this is semi-structured storage)
    The problem with Mathml is that it seems quite complex, with only one global schema element and many nested elements, hence only one table is created by XMLDB and it logically follows that we run out of columns.
    To get it to work is likely to involve a fair amount of manual schema modification, which incurs a maintenance overhead for me.
    It would be good if Oracle could provide a way of simplifying this maintenance of complex schemas to get them to be registered. I guess this would be increasing the number of columns alllowed for a table or offering some other parametric option for DBMS_XMLSCHEMA.REGISTER_SCHEMA that allowed a threshold and either a top-down or bottom-up approach to be taken automatically.
    For the time being I am using a simplified schema that does not depend on Mathml for my storage needs.

  • How to determine physical disk size on solaris

    I would like to know whether there is a simple method available for determining physical hard disk sizes on Sun sparc machines. On HP based machines it is simple:
    1. run "ioscan -fnC disk" - to find all disk devices and there raw device target address ie /dev/rdsk/c0t2d2
    2. run "diskinfo /dev/rdsk/c0t2d2" - display the attributes of the physical disk including size in Kbyes.
    This simple process allows me create simple scripts that I can use to automate collation of audit data for a large number of HP machines.
    On Sun based machines I've looked at the prtvtoc, format, and devinfo commands and have had no joy. Methods and suggestion will be well appriciated.

    ok,
    format should say .....eg
    type format ..
    AVAILABLE DISK SELECTIONS:
    0. c0t0d0 <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>
    if this is not a Sun disk, and you do not get the info,
    select the required disk and select partition and then print. This will display what you need.
    hope this helps

Maybe you are looking for

  • Using .ocx file in java

    hi i have a ocx file and i want to call the functions in this ocx file from java. can anyone help me in using ocx functions in java program thanking you

  • My iPhone 5 isn't working properly!

    My sounds, music Siri is not working phone only vibrates help please

  • RAC on two nodes

    Hi, Need to implement Oracle RAC on two nodes.I am trying it first time so need some basic advice from you all regarding the basic requirements for installing RAC. Are there any more softwares,other than Oracle11g setup, needed for installation? What

  • How to install downloaded HTML DB 2.0

    Hi! I've just downloaded HTML DB 2.0 to my windows PC and now I want to install it on our sun host (DB 9iR2.0.5.0 running on it). My problem is that I can't find a 'how to install' -file in htmldb_2.0.zip. Is there anyone who can help me? Pietja

  • Out of date skills & Software; help!

    My skills and software are so out of date.  I used to do Graphic & Web Desigin; & now would like to update my skills and software.  I can't decide which route to go.  Are there any good online classes, or should I register at the Community College (b