QM_INCOMING INSPECTION WITH PARAMETERS VARIATION
Dear QM Consultants,
Wish you a very happy new year 2009!
I came across a scenario,
1. Client does incoming inspection. Activation of 01 inspection type in materials master.
2. Interesting fact is that client the inspection parameters vary at every inspection lot for the same material.
3. For example, letu2019s take material 123 as the material for incoming inspection. For GR number 001 it length is 1000 + / -2 mm
4. For the same material code in next consignment the length is 800 +/- 1.
5. The parameter is same i.e. length but its dimensions vary at every lot. This variation is not systematic. I mean there is no definite pattern that after every 2 or 3 lots length will be so and so. It may be anything.
6. Client does not want to create separate material codes for this.
7. Also based on above parameter (LENGTH) another parameter say Area has to be calculated.
I opted following solution,
1. Create MIC as LENGTH as incomplete model in QS21.
2. Prepare an inspection plan excluding above parameter i.e. LENGTH
3. Whenever lot gets generated user has to add MIC in inspection lot while result recording i.e. by create additional characteristic.
4. For area calculation I could not find any solution yet since calculated characteristics do not work for additionally added characteristics.
Is there any other solution to this problem?
Your expert comments please!
Best Regards,
Anand Rao
Thanks very much, Shyamal, Gajesh, Ghanshyam, and Vinay for so prompt replies,
1. I will proceed as suggested by Shyamal as this seems to be easier way rather than local addition of MIC in inspection lot.Thanks Shyamal!
2. Whatever Vinay is saying thatu2019s also interesting. This is really a value addition for me.
3. Gajesh, this input processing method is completely new to me. Can you please send some more stuff or link so that I can test it in system. Thanks for your suggestion also.
Also Dear Experts,
Please go through following links. These are other twos questions posted by me.
QM_Code group assignment to catalogue profile Catalogue profile
QM_LSMW BY RECORDING METHOD FOR QP01 LSMW by recording method for inspection plan
I am sure; all of you can definitely throw some light for these issues.
Thanks once again as my problem is resolved.
Best Regards,
Anand Rao
Similar Messages
-
Calling stored procedures with parameters with the Database Connectivi​ty Toolkit
Hi all,
I am new to the forum and am having difficulty finding a solution to a particular problem I am having regarding using the LabVIEW Database Connectivity Toolkit on a project I am currently working on at my job. I have a database in which I have tables and stored procedures with parameters. Some of these stored procedures have input, output, and return parameters.
I have been trying to follow this example but to no avail: http://digital.ni.com/public.nsf/allkb/07FD130746083E0686257300006326C4?OpenDocument
One such stored procedure I am working on implementing is named "dbo.getAllowablePNs", which executes "SELECT * from DeviceType" (DeviceType is the table). In this case, it does not require an input parameter, it has an output parameter that generates the table [cluster], and has a return parameter which returns an integer value (execution status code) to show if an error occurred. The DeviceType table has 3 columns; ID (PK, int, not null), PN (nvarchar(15), null), and NumMACAddresses (int, null). I have gone over many examples and have talking to NI support to try to implement this and similar stored procedures in LabVIEW but have not been successful. I am able to connect to the database with the Open Connection VI without error, but am running into some confusion following this step. I am then trying to use the Create Parameterized Query VI to call the stored procedure and set the parameters. I assume I would then use the Set Parameter Value VI for each parameter that is wired into the parameters input on the previous Parameterized Query VI? I am also having some confusion during and following these steps as well. I would greatly appreciate any advice or suggestions anyone might have in regards to this situation as I am not a SQL expert. Also, I would be happy to provide any more information that would be helpful.
Regards,
Jon
Solved!
Go to Solution.Also, I don't know if this would be helpful but here is the actual stored procedure in SQL:
CREATEPROCEDURE [dbo].[getLastSequenceNumber]
@p1 nvarchar(10)='WO-00000'
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SETNOCOUNTON;
-- Insert statements for procedure here
selectmax(SequenceNumber)from Devices where WorkOrderNumber= @p1
END
GO -
Discoverer report with parameters and functions
I am new to Discoverer. Is there a way to create a report (with parameters) of one line per customer such that the following data will be displayed for each customer?
Among the parameters is: from_date (month & year) ,to_date
The basic query gives totals for each date (month & year) for every customer.
Among the fields displayed:
1-customer_id,
2-balance until from_date,
3-total activity between from_date and to_date
I have a function to calculate the total balance until from_date, but then I cannot get the total activity on the same line. I tried using another function and I tried using a total calculation but to no success.
Is this possible?
Thanks.Hi Markus
You need to determine whether you can in fact call a Discoverer report using a URL before linking it in Portal. You need to run the report in Viewer first and then see copy the URL from the address line of the browser. Then you open another browser and paste the URL. You may well be prompted for a username and password but hopefully the correct report with the right parameters will then execute.
Assuming this works you then paste the same URL link into Portal and you should be able to get the report to run.
Best wishes
Michael -
How to call PDF Report with parameters in jdeveloper 10.1.3
Hi all,
how to call PDF Report with parameters in jdeveloper 10.1.3
for example I have Report name is repdept.pdf with parameter as deptno
and I want call this Report from JSP page ?
thanks
frankHi all,
how to call PDF Report with parameters in jdeveloper 10.1.3
for example I have Report name is repdept.pdf with parameter as deptno
and I want call this Report from JSP page ?
thanks
frank -
I cann't execute javac with parameters. please help !!
Hi All!!
I can't understand how to execute application or bat file (javac.exe for example) WITH parameters correctly.
I can execute javac.exe or bat file - WITHOUT parameters :
Process p = Runtime.getRuntime().exec(WIN_PATH + " " + WIN_FLAG + " " + "javac.exe");
But I can't execute correctly the command like:
"javac.exe -classpath C:\Alex; Test.java"
I tried to use exec(str,env[]) and exec(cmd[]) methods, but there were different errors as a result :(((
How can I execute the command "javac.exe -classpath C:\Alex; Test.java" ? Is it possible?
Please help me by a good idea.
Thank you.right you are! That's why we use "\\" instead "\" :)
If i try to execute this command -
cmd=WIN_PATH + " " + WIN_FLAG + " " + "c:/j2sdk1.4.0/deleteMe/javac.exe -classpath C:/WORK/jboss-3.0.3/client/jboss-j2ee.jar;S:/Alexander/jars/sys.jar;S:/Alexander/jars/ejb_conf_dev.jar;S:/Alexander/jars/; C:/j2sdk1.4.0/deleteMe/aaBean.java";
my OS Windows 2000 returns na error - "Error opening icon..."
What's wrong?
Thank you... -
List view - filter with parameters
Hi,
I need to define a list view to filter data with parameters.
I saw how to do it with the SPD in another post
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/92271aa4-6582-4ea5-a10f-deaf02d2b62c/filtering-the-list-view-by-passing-date-parameters-using-sharepoint-desginer-2010?forum=sharepointcustomizationprevious
But need to do it in visual Studio (via definitins or Object Model).
How can I do that in Visual Studio?
Help is really appreciated.
Many thanks,
DDHi,
According to your description, you might want to create a list definition with the filter value from query string from URL. Then when you create a list instance with this list
definition, you will be able to filter the list view page by appending parameters to the URL in the address bar.
You can achieve this through modifying the Schema.xml file in the list definition project in Visual Studio like this:
How to create custom list definition
http://msdn.microsoft.com/en-us/library/office/gg276355(v=office.14).aspx
http://www.codeproject.com/Articles/412429/SharePoint-Create-List-Definition-and-Instanc
CAML Query Schema
http://msdn.microsoft.com/en-us/library/office/ms467521(v=office.15).aspx
Then we can filter the list with such an URL:
http://sp/Lists/List1/AllItems.aspx?Param1=2014-08-24&Param2=2014-08-28
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
SSRS cube report with parameters...and more
Hi,
I have created some basic SSRS reports in the past with parameters, but I was just given the following project by my manager and I would like to find out 2 things:
1. Can this be accomplished using SSRS
2. If yes, what are the High-Level steps needed to get this accomplished
First off, the SSRS report(s) will be connecting to an SSAS cube, so there will be some MDX involved. The cube is fairly simple, 1 measure group and 3 dimensions.
The main piece of this project will be 4 parameters that will be displayed to the user; Quarter, Division, Operations, and ReportList.
The Quarter is just the Quarter that the user wants to run the report for (Q1-2012, Q1-2013, etc..). This will come from the Date Dimension The Division will be a list of all of our internal divisions that we have setup in our Client Dimension
table (Eastern Division, Western Division, etc...). The Operations will be list of operations for each division selected in the Division parameter (Boston Ops, NY Ops, etc...). This list will also come from the Client Dimension. The ReportList
will be a list of all reports that are related to the Division and Operations Selected. For example, Eastern Division and Boston Ops could have 3 reports, Western Division and San Francisco Ops has 5 reports, etc...
The final piece to this is that when the user selects the reports to be generated, they will have to be created into 1 report. This way the user can convert the report to 1 single PDF file or print the report. So if 3 reports were selected, each
report would be a separate page and could then be converted to a single PDF file or printed.
I know that SSRS has the ability to create cascading parameters, so that should take care of dynamically generating the Operations parameter drop down as well as the REportList drop down. Of course, using MDX to accomplish this will tricky since I
haven't done much with MDX.
I guess my last concern is how to generated multiple reports given the parameters selected and have them be combined into 1 report? I was thinking subreports, but not sure if that would work.
Any feedback or concerns/ideas on how this can be accomplished using SSRS?
**Using SSRS 2012
thanks
ScottDo you have a question? The title doesn't provide sufficient information what you are after.
-
How to call a AM method with parameters from Managed Bean?
Hi Everyone,
I have a situation where I need to call AM method (setDefaultSubInv) from Managed bean, under Value change Listner method. Here is what I am doing, I have added AM method on to the page bindings, then in bean calling this
Class[] paramTypes = { };
Object[] params = { } ;
invokeEL("#{bindings.setDefaultSubInv.execute}", paramTypes, params);
This works and able to call this method if there are no parameters. Say I have to pass a parameter to AM method setDefaultSubInv(String a), i tried calling this from the bean but throws an error
String aVal = "test";
Class[] paramTypes = {String.class };
Object[] params = {aVal } ;
invokeEL("#{bindings.setDefaultSubInv.execute}", paramTypes, params);
I am not sure this is the right way to call the method with parameters. Can anyone tell how to call a AM method with parameters from Manage bean
Thanks,
San.Simply do the following
1- Make your Method in Client Interface.
2- Add it to Page Def.
3- Customize your Script Like the below one to Achieve your goal.
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("GetUserRoles");
operationBinding.getParamsMap().put("username", "oracle");
operationBinding.getParamsMap().put("role", "F1211");
operationBinding.getParamsMap().put("Connection", "JDBC");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
return null;
i hope it help you
thanks -
Examples of 'calling a web dynpro application with parameters'
Hi!!
I'm I have been watching manual 'Web dynpro for abap: advanced concepts' in the sections 'url parameters' and 'calling a web dynpro application with parameters'.
Is there some example where these terms are seen.
Thanks in advance.Hi Ana,
a window inbound plug can have parameters.
These parameters are automatically fished out of the URL by the framework.
So your inbound plug handler method has easy access to the parameters.
URL
http://<host>:port/sap/bc/webdynpro/sap/<your application>?param1=xyz¶m2=abc
The application is configured to call an inbound interface(window) and plug.
The plug can be declared with parameters.
Double click on window inbound plug and add your parameters.
The parameters are made available by framework if present in Launch URL.
You can also call an application that has parameters directly entered on the parameters tab.
ie Parameters can be part of the application launch.
regards
Phil -
T-sql 2008 r2 place results from calling a stored procedure with parameters into a temp table
I would like to know if the following sql can be used to obtain specific columns from calling a stored procedure with parameters:
/* Create TempTable */
CREATE TABLE #tempTable
(MyDate SMALLDATETIME,
IntValue INT)
GO
/* Run SP and Insert Value in TempTable */
INSERT INTO #tempTable
(MyDate,
IntValue)
EXEC TestSP @parm1, @parm2
If the above does not work or there is a better way to accomplish this goal, please let me know how to change the sql?declare @result varchar(100), @dSQL nvarchar(MAX)
set @dSQL = 'exec @res = TestSP '''+@parm1+''','' '''+@parm2+' '' '
print @dSQL
EXECUTE sp_executesql @dSQL, N'@res varchar(100) OUTPUT', @res = @result OUTPUT
select @result
A complicated way of saying
EXEC @ret = TestSP @parm1, @parm2
SELECT @ret
And not only compliacated, it introduces a window for SQL injection.
Erland Sommarskog, SQL Server MVP, [email protected] -
Calling Stored procedure with Parameters in PowerPivot DataModel
Hi All,
I wanted to call a SQL stored procedure from PowerPivot(Excel) on based on changing slicer's value.
Currently, we can call stored procedure wihtout any parameter from Data Model tab using
Exec stored_proc_name in Table Properties window.
What if I want to call the same procedure with a parameter whouse value will come by changing slicer's value. I meant, changing slicer value will act as a parameter to that stored procedure & it should return updated results.
Is this possible in PowerPivot?Hi Rameshwar,
According to your description, you call a SQL Server stored procedure in PowerPivot data model, now the problem is that you need to pass a parameter to the stored procedure, right?
Based on my research, it seems that we cannot achieve this requirement directly in current version of PowerPivot data model. Here is a similar thread for you reference.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/5350228d-bc62-4a3b-a1a6-e847483e2858/powerpivot-for-excel-2013-call-execute-stored-procedure-with-parameters?forum=sqlkjpowerpivotforexcel
If you have any concern about this behavior, you can submit a feedback at
http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature
in the following release after official confirmation.
Regards,
Charlie Liao
TechNet Community Support -
Web service operation ... with parameters {} cannot be found
Hi All,
I am accessing a web service of a web site using ColdFusion.Each time I am calling the web service I am getting the message "Web service operation ... with parameters {} cannot be found".The wsdl file showing the parameter as complex type .So I have passed value to the particular method using structure and xml type each time I gets that error message.I can not post here the wsdl for security reason.
When I am calling this Web service from .net it is working without any problem. .NET directly creating the objects of the parameter which the method is needed from the wsdl but I don't know whether it is possible in ColdFusion or not.Also I don't know whether the web service in .net or in other language.
Please suggest something.
Thanks
UpenThanks for your response.
Yes, I have passed all the arguments but it seems the web application is coded in .net and by googling I came to know that if the .net receives a complex type of object then it creates problem when we pass argument from coldfusion.(means type mismatch)
If you know about it please suggest . -
JDBC receiver adapter to call MS SQLServer stored procedure with parameters
We are trying to use the JDBC receiver adapter to call a stored procedure in MS SQLServer with parameters. According to the help documentation for the JDBC receiver adapter for action=EXECUTE, "The elements within the stored procedure are interpreted as parameters" and "The parameter names must be identical to those of the stored procedure definition". The parameters within a MS SQLServer stored procedure are required to begin with the '@' symbol. The element names within a XML document i.e. used to call the stored procedure can not contain a special character such as '@' in the first position. For all of the tests we have done where the parameter name in the XML document omits the '@' character, the parameters are not being received by the stored procedure. Is there a way around this problem?
Thank you,
HaroldHello Harold - I am facing the EXACTLY SAME problem.Pls let me know how did you fix this problem ?
This is the message I am passing on to the DB SP:
<?xml version="1.0" encoding="UTF-8"?>
<MRIRequestInbound>
<StatementName>
<prc_FC_InsertStagingJournalEntries action="EXECUTE"/>
<JournalData isInput="true" type="STRING">
<NewDataSet><Table ITEM = "" ENTITYID = "" PERIOD = "" ACCTNUM = "" DEPARTMENT = "" JOBCODE = "" AMT = "" REF = "" DESCRPN = "" ENTRDATE = "" BASIS = " " BALFOR = "N" REQUESTNUM = "" ACCTNAME = "" TYPE = "" DESCRPTN = "" GDEP_DESCRPN = "" GJOB_DESCRPTN = "" JOBTYPE = "" /></NewDataSet>
</JournalData>
</StatementName>
</MRIRequestInbound>
Out of which,
<NewDataSet> tag contains the value of the parameter in the SP. So, my value to the SP's parameter is :
<NewDataSet><Table ITEM = "" ENTITYID = "" PERIOD = "" ACCTNUM = "" DEPARTMENT = "" JOBCODE = "" AMT = "" REF = "" DESCRPN = "" ENTRDATE = "" BASIS = " " BALFOR = "N" REQUESTNUM = "" ACCTNAME = "" TYPE = "" DESCRPTN = "" GDEP_DESCRPN = "" GJOB_DESCRPTN = "" JOBTYPE = "" /></NewDataSet>
Any clue ?
Cheers,
Amrish. -
IC webclient url with parameters
Hi all,
Can I call IC webclient url with Parameters from another SAP system?
Thanks and Regards,
SmrutiHi Smruit,
Check out this link that explains the options for opening the IC webclient. It gives you teh URL parameters
http://help.sap.com/saphelp_crm50/helpdata/en/84/11939c402646a080a44521c79a66f1/content.htm
Cheers
Andrew -
ADF how can i execute a query with parameters when the page renders
hi
i am using ADF web 11g
i need to execute a query with parameters when the page renders
thankshello,
I'm a fan of Java code, I really am.
But when you use ADF, you decided to move to a more declarative environment.
So why not do it declarative, the adf way?
In your pagedef insert a action binding.
This can be anything, a call to the application module, a call on the iterator(Like executeWithparams, etc.)
Create an invokeAction in your pagedef and set the condition.
This example refreshes(Action 2 is execute query) the data.
First the method binding:
<action IterBinding="PersoonIterator" id="Execute" InstanceName="LSAppModuleDataControl.Persoon"
DataControl="LSAppModuleDataControl" RequiresUpdateModel="true" Action="2"/>And the invoke action
<invokeAction Binds="Execute" id="refreshData"/>This always refreshes the data on page entry, but anything is possible, you can set condictions for the invokeAction.
-Anton
PS Yes I know that pagedefs become backing beans in the end and yes that is Java code, but if you wanna play the ADF way, the goal is the reduction of Java code and the increased performance of declarative programming.
Maybe you are looking for
-
Is it possible to add an extra Graphics card: ATI X300 SE PCI express
I have a PowerMac G5 with ATI Radeon 9600 XT(AGP) installed. Recently my friend gave me a ATI X300 SE PCI express card and I am wondering whether I can add this card in the G5 and hook up another monitor to it. The ATI and Apple websites didn't menti
-
What is difference between 2 characters Glyphs?
Sample data : Dropbox - test.indd If I copy content of TextFrame to Excel or Notepad, only first character can display. Why? What is difference between 2 characters Glyphs? How can set Character 2 can display the same character 1 if copy to Excel or
-
Different between adding a subview or visible/invisible it
Dear all, I would like to create a screen to overlay on the top of an existing UIView. I tested with 3 methods below and it all works. I would like to know how do i determine which method is the best and what are the different among them in terms of
-
Cn anybody tell me the date concept in HR payroll
Hi experts.... Well i m currently wrking in HR payroll module ...nd its all abt infotypes and date concet well if nybody have docs related to date concept cn u plz send me or tell me...suppose if i hv to choose date from 01-08-2009 to 31-08-2009 ...
-
To send attachment file using SMTP
Hi, Can anybody help me to send an attachment file using SMTP? Regards, Rakesh