How to use sampling procedure
Hello Friends,
I have to map the following scenario. Please advise the config & master data.
1) My sample size should change if my acceptance & rejecetion level changes.
2) If rejection increases then the sample size in the next lot should increase & the vice versa.
Regards
Hello Sir,
Thanks for your valuable reply. I have progressed on this. I need some more help.
Let us park DMR for a while. DMR is working fine. But I have some issues in results recording.
Let us only work only with sampling procedure with sampling scheme.
I have taken one inspection characteristic. It is quantitavie characteristic. It has lower limit as 10% & upper limit as 15%.
what I have done
1)
I have created one sampling scheme = ABC
Valuation parameter = variable inspection by S method
sampling table = severity/AQL
For normal inpsection (4) I have taken AQL as 2.
Lot size = 100
Sample size = 15
K-Factor = 3
2)
I created one sampling procedure = XYZ
Sampling type = Use sampling scheme
Valuation mode = Variable inpscetion S - Method (two limits)
without inpsection points
assigned sampling scheme = ABC
No multiple samples
Inspection severity 4
AQL value 2.000
3)
I assigned the sampling procedure in the plan with the characteristic.
4)
I did GR for 100 & sample of 15 generated.
why I have done
1)
In sampling scheme
valuation parameter = variable inspection by S method (because my characteristic is quantitative)
2)
In sampling procedure
Valuation mode = Variable inpscetion S - Method (two limits) (because my characteristic is quantitative with lower & upper limit )
My issues:
1) Is my settings for a quantitative characteristic with lower & upper limit correct?
2) During results recording system is asking to enter StdDev. What is standard deviation?
3) How characteristic is accepted & rejected? I am not getting any pop up to select accept or reject?
Regards
Similar Messages
-
How to assign sampling procedure at plant level.
Hi Team,
Pls suggest me "How to assign sampling procedure at plant level."
Error message is - You can not use sampling procedure here.
Not all sampling procedures can be used in this context.
Example:
Only the sampling procedures for an attributive inspection based on the
number of nonconforming units are allowed.
However I have assigned 0.05% sampling procedure in IDES system plant, which is accepted. However I am not allowed to assign this in client system..
Pls suggest me solution.
ThanksHi,
During creation of inspection plan you can assign SP at plant level, IP always at plant level
Q.Error message is - You can not use sampling procedure here.
---> pl check the MIC where Sampling procedure in clicked or not
pl revert
Cheers, -
How to use Stored Procedures in form 6i Blocks
Dear Friends,
I would like to know how to use Stored Procedures while creating blocks in Data Block Wizard in forms 6i application.
Please send me sample code of stored procedure.
Regards,
Khader.The Data Block Wizard is not for creating stored procedures. It will allow you to use a stored procedure in your form. See the help documentation for how to use the wizard.
Here's an example of a simple procedure. If you search the database forum or the web, you will find many examples.
CREATE OR REPLACE PROCEDURE procedure_name (value OUT NUMBER ) AS
BEGIN
SELECT COUNT(*) INTO value
FROM your_table;
END;
Message was edited by:
Mark Roberts -
How to use Stored Procedure Call in Sender JDBC adapter
Hi All,
Could someone send me a blog on how to use Stored Procedure call in Sender JDBC adapter?
XierHi Xler
refer these links
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Also, you can check Sriram's blog for executing Stored Procedures,
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
/people/jegathees.waran/blog/2007/03/02/oracle-table-functions-and-jdbc-sender-adapter
This blog might be helpfull on stored procedures for JDBC
JDBC Stored Procedures
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
Please go through these threads and see if it helps...
Re: How to execute Stored Procedure?
Re: Problem with JDBC stored procedure
Thnaks !! -
HOW TO USE STORED PROCEDURES IN JASPERREPORTS(URJENT)
Hi,
i'm using jasperreports in struts based project. How to use stored procedures in jasperreports. pls send the solution urjent
Thanks in advance
rameshHi,
Refer the below link:
JDBC:
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
Stored Procedures-
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
http://www.ics.com/support/docs/dx/1.5/tut6.html
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
http://www.ics.com/support/docs/dx/1.5/tut6.html
http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
http://www.sqlteam.com/article/stored-procedures-an-overview
HI in the message mapping structure u need to specify the different action and also u need to specify the procedure name.
refer the below link which has all the associated action
http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
Chirag -
How to use stored procedures in DIAdem and Can the stored procedures be used to return values?
Can anyone please tell me how to use stored procedures in diadem and to return values from it. Its really important, can you please answer it at the earliest.
Thanks In advance
spiyaHi Spria,
I'm very sorry for the mix-up, I thought Allen was going to answer you back with the particulars that we found out. Check out the attached Word document and the below tidbits:
The built-in DIAdem ODBC functions {SQL_...()} can only call stored functions, which return a scaler result {found then in SQL_Result(1,1)}. The syntax for this with an ORACLE db is
"select function(parameters) from package"
...where package defaults to "dual" if you don't use your own package.
There might be exceptions to that though, and the syntax will be different for other databases. Note that stored ORACLE procedures can NOT be called from the ODBC functions, instead you must use either ADO function calls in the DIA
dem VBScript or the OO4O COM wrapper that ORACLE provides (this is described in further detail in the below Word document).
Hope this helps,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
Calling_ORACLE_Stored_Procedures_from_DIAdem.doc 28 KB -
How to use Stored Procedures in JDBC sender side and receiver side
Hello,
Can anyone explain how to use stored procedures in configuring the scenario using JDBC adapter at bothe sides sender nad receiver..
Thanks,
SooryaHi,
Refer the below link:
JDBC:
Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
Stored Procedures-
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
http://www.ics.com/support/docs/dx/1.5/tut6.html
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
http://www.ics.com/support/docs/dx/1.5/tut6.html
http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
http://www.sqlteam.com/article/stored-procedures-an-overview
HI in the message mapping structure u need to specify the different action and also u need to specify the procedure name.
refer the below link which has all the associated action
http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
Chirag -
How to use 'oprofc' procedure?
How to use 'oprofc procedure'?
I don't find this program in JDEVELOPER2.0 directory.
is it necessary to launch 'oprofc' to use some oracle-specific
features (form exemple: CLOB)
nullDavid,
Please also see my reply to your other query about SQLJ and
CLOBs. It is my understanding that this script is only necessary
for command line SQLJ operations, and I don't believe it is still
used with 8.1.
Because JDeveloper handles the SQLJ translation for you, we do
not provide the command line utilities. They should be available
with either your server installation or the Oracle Client
distribution if you would like to use them.
-L
David DUPONT (guest) wrote:
: How to use 'oprofc procedure'?
: I don't find this program in JDEVELOPER2.0 directory.
: is it necessary to launch 'oprofc' to use some oracle-specific
: features (form exemple: CLOB)
null -
How to use the procedure column in reports
Hi all
How to call the procedure in reports as source.. If possible how to use columns of procedure in the layout column of report????Hi,
Your query is not clear.
1. In subject are you asking total column.
A. Edit pivot view and go to Rows and click Total BY option here you can find option like (none,before,after) the you can select after it will display total all culms.
2. I want use the columnC in columnD ? -- Am not understand.
A. What my understand is you want to see the report only C and D values only.
If it is correct we can apply filter in report level click column filed and apply not equal to A then it will show only C and D only.
If it is wrong pleas post me correct one with example. Will try to help out this.
I am not sure this is what your looking so far.
Award points it is useful.
Thanks,
Satya -
How to Use the Procedures in a Sql Query
Hi Friends,
Can anyone help me out whether can we use the procedure in the sql query..
if yes help me out with an example
my requirement is
i have one sql query .. in which i need to use the procedure which returns multiple values... how can i overcome it,can anyone help me out for this..
for your reference i am pasting the sql query
SELECT paf.person_id
FROM per_all_assignments_f paf START WITH paf.person_id = p_person_id
AND paf.primary_flag = 'Y'
AND paf.assignment_type IN('E', 'C')
AND l_effective_date BETWEEN paf.effective_start_date
AND paf.effective_end_date
CONNECT BY PRIOR paf.supervisor_id = paf.person_id
AND paf.primary_flag = 'Y'
AND paf.assignment_type IN('E', 'C')
AND l_effective_date BETWEEN paf.effective_start_date
AND paf.effective_end_date
and paf.person_id not in (>>>I HAVE TO USE THE PROCEDURE HERE<<<<);
Thanks in advanceWe never saw your procedure, but maybe you could wrap it in a function
SQL> create or replace procedure get_members(in_something IN number, out_members OUT sys_refcursor)
is
begin
open out_members for
'select level member_id from dual connect by level <= :num' using in_something;
end get_members;
Procedure created.
SQL> create or replace type numbers as table of number;
Type created.
SQL> create or replace function members(in_something IN number)
return numbers
as
member_cur sys_refcursor;
members numbers;
begin
get_members(in_something, member_cur);
fetch member_cur bulk collect into members;
close member_cur;
return members;
end;
Function created.
SQL> select * from table(members(4));
COLUMN_VALUE
1
2
3
4
4 rows selected.Variant on same using piplined function
SQL> create or replace function members_piped(in_something IN number)
return numbers pipelined
as
member_cur sys_refcursor;
rec number;
begin
get_members(in_something, member_cur);
loop
fetch member_cur into rec;
exit when member_cur%notfound;
pipe row(rec);
end loop;
close member_cur;
return;
end;
Function created.
SQL> select * from table(members_piped(4));
COLUMN_VALUE
1
2
3
4
4 rows selected.
SQL> drop function members_piped;
Function dropped.
SQL> drop function members;
Function dropped.
SQL> drop type numbers;
Type dropped.
SQL> drop procedure get_members;
Procedure droppedEdit:
Sorry Blu, had not seen you already posted similar thing
Edited by: Peter on Jan 27, 2011 5:38 AM -
How to use Stored Procedure in RPD
In the physical layer we have a option for procedure when we select a tables general tab.I created the procedure
but i am not able to retrieve values in the Dashboard.
Could anyone help me with this as how to use procedure.Oracle stored procedure don't return recordssets. You have to put the result of the stored procedure in a global temp table and reference the rpd to that table. the execution of the stored procedure can be triggerd form the "execute before query" part in the connection pool.
regards
John
http://obiee101.blogspot.com/ -
How to use SQL Procedure in SDK
Hi Experts
I have a form with grid. It is not attached with UDO to save data. I am using SQL Query (oRecordset.DoQuery() )to update and add records of this grid to the table. if there is ten rows then I have to insert records one be one . If five records are updated and after that there is some problem and rest of records does not update in the table. I want to use RollBack command of SQL so that all updated record must removed. Can i use SQL Procedure for that . If I can then how can I transfer all grid data to Sql procedure. Plz give your suggestion.
Thanks
Regards
GorgeHi,
I guess u can use oCompany.StartTransaction and end transaction after that u can commit or rollback.
Vasu Natari. -
How to use ODI procedures into a ODI variable
Hi,
I have the below condition
select c1 from table where c1>#ODIVAR1 and use the output of this query in a variable to define the package flow
If output=0 package flow goes as XXX
else
flow goes as YYY.
So please suggest how to use a ODI variable to capture the procedures putput and use it in package flow in this case.
Thanks,
Naveen.Step1 . Refresh the variable in the package, which have this query select c1 from table where c1>#ODIVAR1
Step2. Evaluate above variable (operator = , value 0 )
Step 3. If true Package flow xxx , else false yyy
Please close the thread once you get the required flow. -
How to use functions/procedures like wwv_flow_sw_api
Hello,
I want to use functions/procedures like wwv_flow_sw_api.check_priv(:P4_SCHEMA) in a process, but I get the error "identifier wwv_flow_sw_api.check_priv(:P4_SCHEMA); must be declared".
How can I access these functions?
Thank you,
KirstenHi Jari,
my problem is, that I need to replicate the exact feature of Query Builder page in my
application (see thread Re: How to create Query Builder page in application
So I imported the page 1002 and tried to make it working.
Do you know any solution?
Than you,
Kirsten -
How to use dbo procedure to execute for different schema?
I am using SQL Server 2008 R2, I have a schema [dbo],
and in that schema, I have created a stored procedure dbo.GetAccount:
CREATE PROCEDURE dbo.GetAccount
AS
BEGIN
select * from tblAccountNet
END
GO
Then, I have created a schema [ABC] with
user named UserABC.
Now, I would like to login with UserABC and
execute dbo.GetAccount for
schema [ABC] to
get all user of it and don't want to change code of dbo.GetAccount.
So, how can I do?
Thanks for your help.Thank you everyone.
But, I don't want to change procedure dbo.GetAccount because in face, I have more 100 procedures. I think of two solutions:
1. Create another stored procedure in
[dbo] schema, and use it to read all other procedure to list all table used in procedure and assign them with schema
[ABC]
2. Create
a stored procedure to change schema of all table in every procedure
But I really don't know how to do it. Please help me.
Thanks so much.
Maybe you are looking for
-
Return product id when all variant active flags = 'N'
Hi, I have a product table and a product_variant table. active_flag exists on product_variant table, with values 'N', 'Y'. How can I get products with all variants active_flag = 'N'? each product has multiple entries in variant table. Thanks,
-
Drive won't read ANY cd's or dvd's; only ejects them!!
Help! My Cd-Rom drive will not read any cd's or dvd's. However, it will allow blank cd's to stay in and be burned onto...sometimes. When I put in a disc, it tries to read it and then spits it back out. I have tried all forms of cd's and dvd's (even d
-
Hello, After a lot of research , i came to you , maybe you gonna be able to help me. Is it possible to display with flash some video stream comming from a IP camera or a DVR device (Assuming my device send a stream in a correct format ) ? I could rea
-
In the old firefox, when I hit the bookmarks tab they were listed on the side bar. Now when I hit the bookmarks tab I have to go to the unsorted bookmarks and pick my bookmark from there. How do I get them to ist in the side bar like before?
-
Problem in copy 2 WORD files to a new WORD file
Hi I have a problem in copy 2 WORD files to a new WORD file - i.e. the text of the new WORD file suppose to be composed from the text of the 2 original WORD files. Unfotunately I get a new WORD file which i can't open, or a file which contains strang