Calculated MIC from the results of MICs from different operations

Hi ,
I have requirement in which Operation 0010 have one MIC "A" and operation 0020 have MIC "B" and the third operation have an calculated MIC "C" which is caluclated by value of MIC A - MIC B.
How to map this in standard SAP.
I know this can be mapped by creating a Z fucntional module whic fethes the data from QAMR table and puts the value for MIC C.But is there any way of mapping this in STD SAP.

Hi Girish,
It is possible in SAP with in the operation.
Active tick mark in MIC C as Cal formula required under MIC control indicator (QS23).
Then assign in the MIC C in inspection plan, and map the formula in the inspection plan it self under MIC C = MIC A - MIC B.
Example:
Inspection Plan
0010  MIC A  
0020 MIC B
0030 MIC C -
in quanti data tab C00010 - C00020
The C0 is having the functional module to calculate the formula.
Regards,
S.Babusingh

Similar Messages

  • How do I create a 1d array that takes a single calculation and insert the result into the first row and then the next calculation the next time the loop passes that point and puts the results in thsecond row and so on until the loop is exited.

    The attached file is work inprogress, with some dummy data sp that I can test it out without having to connect to equipment.
    The second tab is the one that I am having the problem with. the output array from the replace element appears to be starting at the index position of 1 rather than 0 but that is ok it is still show that the new data is placed in incrementing element locations. However the main array that I am trying to build that is suppose to take each new calculation and place it in the next index(row) does not ap
    pear to be working or at least I am not getting any indication on the inidcator.
    Basically what I am attempting to do is is gather some pulses from adevice for a minute, place the results for a calculation, so that it displays then do the same again the next minute, but put these result in the next row and so on until the specifiied time has expired and the loop exits. I need to have all results displayed and keep building the array(display until, the end of the test)Eventually I will have to include a min max section that displays the min and max values calculated, but that should be easy with the min max function.Actually I thought this should have been easy but, I gues I can not see the forest through the trees. Can any one help to slear this up for me.
    Attachments:
    regulation_tester_7_loops.vi ‏244 KB

    I didn't really have time to dig in and understand your program in depth,
    but I have a few tips for you that might things a bit easier:
    - You use local variables excessively which really complicates things. Try
    not to use them and it will make your life easier.
    - If you flowchart the design (very similar to a dataflow diagram, keep in
    mind!) you want to gather data, calculate a value from that data, store the
    calculation in an array, and loop while the time is in a certain range. So
    theres really not much need for a sequence as long as you get rid of the
    local variables (sequences also complicate things)
    - You loop again if timepassed+1 is still less than some constant. Rather
    than messing with locals it seems so much easier to use a shiftregister (if
    absolutely necessary) or in this case base it upon the number of iterations
    of the loop. In this case it looks like "time passed" is the same thing as
    the number of loop iterations, but I didn't check closely. There's an i
    terminal in your whileloop to read for the number of iterations.
    - After having simplified your design by eliminating unnecessary sequence
    and local variables, you should be able to draw out the labview diagram.
    Don't try to use the "insert into array" vis since theres no need. Each
    iteration of your loop calculates a number which goes into the next position
    of the array right? Pass your result outside the loop, and enable indexing
    on the terminal so Labview automatically generates the array for you. If
    your calculation is a function of previous data, then use a shift register
    to keep previous values around.
    I wish you luck. Post again if you have any questions. Without a more
    detailed understanding of your task at hand it's kind of hard to post actual
    code suggestions for you.
    -joey
    "nelsons" wrote in message
    news:[email protected]...
    > how do I create a 1d array that takes a single calculation and insert
    > the result into the first row and then the next calculation the next
    > time the loop passes that point and puts the results in thsecond row
    > and so on until the loop is exited.
    >
    > The attached file is work inprogress, with some dummy data sp that I
    > can test it out without having to connect to equipment.
    > The second tab is the one that I am having the problem with. the
    > output array from the replace element appears to be starting at the
    > index position of 1 rather than 0 but that is ok it is still show that
    > the new data is placed in incrementing element locations. However the
    > main array that I am trying to build that is suppose to take each new
    > calculation and place it in the next index(row) does not appear to be
    > working or at least I am not getting any indication on the inidcator.
    >
    > Basically what I am attempting to do is is gather some pulses from
    > adevice for a minute, place the results for a calculation, so that it
    > displays then do the same again the next minute, but put these result
    > in the next row and so on until the specifiied time has expired and
    > the loop exits. I need to have all results displayed and keep building
    > the array(display until, the end of the test)Eventually I will have to
    > include a min max section that displays the min and max values
    > calculated, but that should be easy with the min max function.Actually
    > I thought this should have been easy but, I gues I can not see the
    > forest through the trees. Can any one help to slear this up for me.

  • Sample Size Calculation based on the results

    Dear all
    I have a scenario as below
    for a product the upper and lower specification is given as below
    Upper spec 19.00mm
    Standard  18.00mm
    Lower spec 17.00mm
    my client is having ranges as below
    Range 1
    Upper spec 19.0 to 18.75
    Lower spec 17.0 to 17.25
    Range 2
    Upper spec 18.75 to 18.50
    Lower spec 17.25 to 17.50
    Range 3
    Upper spec 18.50 to 18.25
    Lower spec 17.50 to 17.75
    Range 4
    Upper spec 18.25 to 18.00
    Lower spec 17.75 to 18.00
    a) Initially the sample size is 50%. Starts with range 4 .
    b) if consecutive 5 receipts are ok we want to switch to range 3 - sample size 25%.
    c) if consecutive 5 receipts are ok we want to switch to range 2 sample size 10%
    e) and range 1 sample size 5%.
    f) if there is any rejection at any range, then reset to range 4.
    g) if out of specification noticed then the next incoming material will be inspection in the next lowest range. ie in range 1 out of specification noticed shift to range 2 in the next Goods receipt.
    I know that Sampling scheme can be used but how to link the specifications in it.
    How to link this in SAP QM.
    awaiting for your valuable feed back Please.
    Regard
    P.Srihari

    Hi Sri,
    As per your requirement you have to create 4 MIC as well as 4 DMR follow the below step.
    1. Create MIC1,MIC2,MIC3,MIC4
    2. Create DMR1,DMR2,DMR3,DMR4
    3. Assign the DMR at MIC level.
             a) Go to QP01 In Header data screen choose Dynamic mod. level DMR at character level. (Don't assign any DMR here)
             b) In Characteristics screen assign DMR to MIC
    (Range1) MIC1 - DMR1
    (Range2) MIC2 - DMR2
    (Range3) MIC3 - DMR3
    (Range4) MIC4 - DMR4
    Save the Inspection plan.
    DMR detail explaination
    As per your requirement MIC4 will be initially inspected (ie: range 4) and remaing MIC all are after 5 consecutive lots if any rej at any stage again inspect the Range4.
    DMR1: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 15 (Bcz your case You need this MIC1 after 15 lot (555)), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 15 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC1 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 2, Rej 1, New 1,
    DMR2: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 10 (Bcz your case You need this MIC2 after 10 lot (5+5)), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 10 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC2 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 1, Rej 1, New 1,
    DMR3: Create 2 Stage (1st is SKIp  2nd is Inspection)
    Stage1: Start with Initial stage, Tick in SKIP, and Maintain No Skip as 5 (Bcz your case You need this MIC3 after 5 lot ), Skip duration 999 (Bcz your case days not consider) New Stage 2 (Bcz after complete the 5 lot it will go to 2nd stage for Inspection.), Rej 1 , New Insp 1 (Bcz rejected means MIC3 is not required)
    Stge:2, Insp Sev 4,  Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 1, Rej 1, New 1,
    DMR4: Create 2 Stage (1st is Inspection 2nd is Skip)
    Stge:1, Insp Sev 4,  Start with Intial stage Ist Enter Description as Inspection required and press enter.
    In another small popup screen enter no of Inspection 5 , New Stage as 2, Rej 1, New 1,
    Stage2: Tick in SKIP, and Maintain No Skip as 999 , Skip duration 999 (Bcz your case days not consider) New Stage 2,  Rej 1 , New Insp 1 (Bcz rejected means again inspect the MIC4)
    Note: Read step by step.
    Revert further clarification.
    Regards,
    S.Babusingh

  • In Organise Bookmarks/Search I want to move a search result bookmark into a different folder, but it "copies" rather than "moves" - how can I "move" it?

    Having got a list of bookmarks as the result of a Search in "Organise Bookmarks", I want to move one of the resulting bookmarks to a different folder.
    If I move the bookmark into a folder on the left hand pane - it copies it.
    If I hold the shift key down and move it - it copies it.
    If I hold the control key down and move it - it copies it.
    If I hold both the control and shift key down, the icon does change from a "+" sign to an arrow, but - you guessed it - it still copies it.
    All I want to do is a simple move!
    I'm probably doing something daft. Please let me know what it is!
    I'm using Firefox 17.0.1 if that's of any relevance.

    Hello mara1618, go from Firefox button > Bookmarks, touch the folder and when expand all folder bookmarks, drag the bookmark you want to another folder.
    thank you

  • How do i put the results from a calculation as the offset value

    hi .. i am trying to set the value of the mask offset from the results i get from a calculation.
    this is what i am trying to do
    i want to get a ROI from an image, so i used thresholding to separate it form the background
    then i find the centroid of the image. i then create a mask a little
    larger than the ROI to get rid of the background in an unthresholded
    image but the position of the mask is at origin(0,0)
    i need the centroid of the mask to be the same as the ROI. so i
    subtract the x and y values of the ROI centroid with the centroid of
    the mask to get the offset.  which is done manually. but i want to
    do it for ROIs in different positions, so i want to get the value of
    the subtraction staight into the VI .. how can i do that..?? i tried
    wiring the value of subtraction into the input of the "set offset" node
    but it does not work .. can anyone help me ??thanks very much

    i managed to get it done...i did not know how about the cluster to element function .. could you comment on my program?
     i'm trying to construct a sign language translator.  for the
    signing. i am using yellow colored gloves with colored finger tips. the
    yellow region is to help me detect the position of the gloves during
    thresholding.
    1st of all .. i do thresholding to separate the ROI from the
    background.. then i put a bouding box around the region of interest. is
    there any better and easier way to do this??
    could anyone point me in the right direction ?
     i am very new to LV and image processing. i always have problem
    using some functions especially when it requires lots of settings.
    sometimes the help file does no help much ..
    my next problem after creating the bounding box is how do i extract
    only the colors from the image? i tried color thresholding but the
    result is gray scale. how do i extract only the yellow region of the
    gloves and the finger tips to be further processed? in MATLAB , color
    segmentation is used.. but i can't figure how it works in LV .. please
    help me .. thanx
    Attachments:
    color threshold_andreas_centroid_mask.vi ‏263 KB

  • Calculate Percentage from the result of row result

    Expert
    I want to calculate percentage from row result
    For Ex
    Vendor
    ID  Record Percentage
    1001                                1002                   1003                                sum
    A   10   10%                     B   20   20%        C   70     70%                  100         100% 
    X    50   25%                    Y   125  62.5%      Z   25     12.5%               200          100%
    I want to get percentage such as A percentage 10/(102070), , X percentage 50/(5012525)
    not A 10/(10207050125+25) = 3.33%
    Please help me to get the percentage which client want to
    thanks

    Dear Lemine.
    Try using this..
    Percentage Share of Result (%CT)
    %CT<Operand>
    Specifies how high the percentage share is in relation to the result. The result
    means the result of aggregation at the next level (interim result).
    %CT Incoming Orders specifies the share of incoming order values of each
    individual characteristic value (for example of each customer) in relation to
    the characteristic's result (for example, customer of a division).
    Percentage Share of Overall Result (%GT)
    %GT <Operand>
    Specifies how high the percentage share is in relation to the overall result.
    The overall result means the result of aggregation at the next level in the list.
    In the calculation of the overall result, the dynamic filters (filters that were
    not already defined in the Query Designer) are included.
    Hope this helps u..
    Best Regards,
    VVenkat,,

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • OBIEE Report - filter based on the result from another analysis

    Hi,
    I am using OBIEE 11g,
    I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
    Table 1
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-01
    14:00
    20:00
    14:00:00
    20:00:00
    2015-03-02
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-07
    14:06
    20:02
    14:00:00
    20:00:00
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    Table 2
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    -3
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    6
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-01
    14:00
    20:00
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-02
    16:00
    20:00
    00:00:00
    00:00:00
    4
    16:00:00
    20:00:00
    4
    2015-03-07
    14:06
    20:02
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    4
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    4

    Why avg here?
    What columns you want to show in the report?
    for a employee for given date if he have 2 rows then you may sum up hours right?
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours

  • Call CR XI from C++ routine, need to run the report without display and send the resulting report to the printer

    <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"></tr><tr><td height="1" style="font-size: 1pt"></td></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>I initiate a CR XI from a C++ routine using  ShellExecute command, the report file is opened and the C++ program continues to execute, this is working fine, now I need the following two things:</p><p>1. When the report is invoked I would like it to run and print the result either to a printer or to a file.</p><p>2. I need to send the report parameters since it will not prompt for it if it runs automatically.</p><p>Thanks in advance for your help.</p></td></tr><tr></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>&#160;</p></td></tr></tbody></table></blockquote></blockquote>

    Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

  • I want to make a copy of slide show create from my own photographs and with a an audio track behind them. I have carefully followed the iDVD tutorials and burnt the result to a disc but image quality is very poor. What is wrong?

    I want to make a DVD of a slide-show with an audio track behind the photographs. I have carefully followed the iDVD video tutorials but the result is far from satisfactory. The quality of the images on the resulting DVD are blurred and indistict although the original photographs are of a very high quality. Where am I going wrong? Would I have better results from a different program than the inbuilt iDVD and if so so what programs have others found to be better? I should be grateful for some expert guidance.

    Hey Falcopebo,
    Thanks for using Apple Support Communities.
    Looks like you have image quality issues when using iDVD to burn.
    iDVD 7.0: Burned DVD has interlacing, pixelation, or image quality issues
    http://support.apple.com/kb/ht4078
    A standard DVD made by iDVD is made to the standard DVD resolution of 720 X 480, which is smaller than most HDTVs and monitors. When expanded to fit the entire screen or monitor, the image will distort slightly due to upscaling to fit the screen or monitor.
    Have a nice day,
    Mario

  • SSRS - How to display all the results from a query and then be able to filter the data

    Let's say I have a simple query that will return products name, ID, price
    SELECT pname,
    pID,
    price
    FROM products
    When I display the results in SSRS the user will (without entering any parameters) see something like:
    Product Name | ID | Price
    xyz                    1     $10.00
    .zzz                    10   $4,000.00
    How can I filter my results once they are displayed? For instance, Out of the results the user wants to see only the products where price is between $10 and $3000?
    -Alan

    Hi Visahk,
    Maybe I did not explain my issue very good. 
    I want the user to first see all results (without entering the price range) - then if he wants she/he can filter the results by price.
    As soon as I add 
    WHERE price BETWEEN @StartPrice AND @EndPrice
    to my SQL query, the user is prompted to enter a price range before seeing any data.
    -Alan
    Ok for that what you can do is to set allow null value property for the parameters.
    Then set NULL as default value for parameters in parameter properties tab
    and make the query as below
    WHERE price BETWEEN @StartPrice AND @EndPrice
    OR (@StartPrice IS NULL AND @EndPrice IS NULL)
    and then report will get executed without waiting for any prompt and user may change values at a later stage and rerun it
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to search XML data from a HTTPMultiService and display the result on the Spark List

    Hello all,
    I am totally new to Flash Builder and Actionscript and hope someone might be able to help me out. I basically create a mobile app with a single view. The view has a TextInput as a search box and a search button. I conntected a Data/Service using a local XML file and bind the Data to a Spark List. Innitally the List will show nothing until the user enter the search term and hit the button. The List suppose to show the XML data that match the search term.
    Now is my problem. I cannot make the List to show the data that match the search text. The List just shows ALL the data.
    Here are my MXML code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:shopping="services.shopping.*"
            title="Search">
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                protected function button1_clickHandler(event:MouseEvent):void
                    navigator.popView();
                protected function list_creationCompleteHandler(event:FlexEvent):void
                    getDataResult.token = shopping.getData();
                protected function seach_clickHandler(event:MouseEvent):void
                    getDataResult.token = shopping.getSearchData(searchTxt.text);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <s:CallResponder id="getDataResult"/>
            <shopping:Shopping id="shopping"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:actionContent>
            <s:Button height="79" label="Back" click="button1_clickHandler(event)"/>
        </s:actionContent>
        <s:List id="list" left="0" right="0" top="111" bottom="0"
                creationComplete="list_creationCompleteHandler(event)" labelField="english">
            <s:AsyncListView list="{getDataResult.lastResult}"/>
        </s:List>
        <s:TextInput id="searchTxt" x="80" y="34" width="250" height="49" enabled="true"
                     prompt="search..."/>
        <s:Button id="search" x="338" y="35" width="72" height="49" label="s"
                  click="seach_clickHandler(event)"/>
    </s:View>
    Here is the _Super_Shopping.as file:
    * This is a generated class and is not intended for modification.  To customize behavior
    * of this service wrapper you may modify the generated sub-class of this class - Shopping.as.
    package services.shopping
    import com.adobe.fiber.core.model_internal;
    import com.adobe.fiber.services.wrapper.HTTPServiceWrapper;
    import com.adobe.serializers.xml.XMLSerializationFilter;
    import mx.rpc.AbstractOperation;
    import mx.rpc.AsyncToken;
    import mx.rpc.http.HTTPMultiService;
    import mx.rpc.http.Operation;
    import valueObjects.Shop;
    [ExcludeClass]
    internal class _Super_Shopping extends com.adobe.fiber.services.wrapper.HTTPServiceWrapper
        private static var serializer0:XMLSerializationFilter = new XMLSerializationFilter();
        // Constructor
        public function _Super_Shopping()
            // initialize service control
            _serviceControl = new mx.rpc.http.HTTPMultiService();
             var operations:Array = new Array();
             var operation:mx.rpc.http.Operation;
             var argsArray:Array;
             operation = new mx.rpc.http.Operation(null, "getData");
             operation.url = "assets/data/shopping.xml";
             operation.method = "GET";
             operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/::shop";
             operation.resultElementType = valueObjects.Shop;
             operations.push(operation);
             operation = new mx.rpc.http.Operation(null, "getSearchData");
             operation.url = "assets/data/shopping.xml";
             operation.method = "GET";
             operation.resultFormat = "text";
             argsArray = new Array("item");
             operation.argumentNames = argsArray;
             operation.properties = new Object();
             operation.properties["xPath"] = "/::shop";
             operation.resultElementType = valueObjects.Shop;
             operations.push(operation);
             _serviceControl.operationList = operations;
             preInitializeService();
             model_internal::initialize();
        //init initialization routine here, child class to override
        protected function preInitializeService():void
          * This method is a generated wrapper used to call the 'getData' operation. It returns an mx.rpc.AsyncToken whose
          * result property will be populated with the result of the operation when the server response is received.
          * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
          * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
          * @see mx.rpc.AsyncToken
          * @see mx.rpc.CallResponder
          * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
        public function getData() : mx.rpc.AsyncToken
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getData");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send() ;
            return _internal_token;
        public function getSearchData(item:String) : mx.rpc.AsyncToken
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getSearchData");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(item);
            return _internal_token;
    The getSearchData() supposed to return XML data that match the search text, but it doesn't. Can anyoen help?
    Thank you!

    Hi,
    are you able to change dynamically the  operation.url = "assets/data/shopping.xml";?
    i need to do that based on the users input.
    Thanks in advance,

  • Is it possible to put the results from a query in a variable to use in the bean class?

    Hello, I'm using JDeveloper 12.1.2.0.0
    I would like to keep the result of my queries (the method i created in the AppModule) in a RichTable or other type of variable so i can have the results stored and i don't have to do unnecessary queries after. I don't think the query is the problem but keeping the results.
    I've tried to do that by using this:
        public String testVFactSales(String conditions) {
            PreparedStatement query = getDBTransaction().createPreparedStatement("" + "select * from v_fact_sales " + conditions, 0);
            //ResultSet rs;
            ResultSet result;
            //RichTable result;
            //String result = null;
            try {
                //query.setString(1, conditions);
                // query.execute();
                query.execute();
                result = query.getGeneratedKeys();
                query.close();
                System.out.println("Result: " + result.toString());
                return result.toString();
            } catch (SQLException e) {
                e.printStackTrace();
            return "";
    As you can see, i've already tried some solutions but so far i only get errors (cannot convert or null exception, when i try to put the result in a richtable in my bean class)
    Any ideas?
    This is very important for me, since it would improve the performance of my project a lot.
    Regards,
    Frederico.

    Hey Arunkumar,
    I came to this conclusion since i'm using binding variables with my where clauses.
    I've measured the time and i get really bad time responses.
    This is my main table query, where all the others selections will be filter the search in this table:
    SELECT VFactSalesNew.N_SALES,                              
           VFactSalesNew.QUANTITY,                              
           VFactSalesNew.PRICE,                               ,                              
           VFactSalesNew.FK_STORE,                              
           VFactSalesNew.ID_ANO,                              
           VFactSalesNew.QUARTER   
    FROM V_FACT_SALES_NEW VFactSalesNew                              
    WHERE                                          
    ((nvl(:var_dimCoin,'0') ='0' OR FK_COIN IN (select * from THE(select cast( in_list(:var_dimCoin) as mytableType ) from dual ) a) )                                                   
    AND                                                 
    (nvl(:var_dimProduct,'0') ='0' OR FK_PRODUCT IN (select * from THE(select cast( in_list(:var_dimProduct) as mytableType ) from dual ) a) )                                                  
    AND                                                 
    (nvl(:var_dimCustomer,'0') ='0' OR FK_CUSTOMER IN (select * from THE(select cast( in_list(:var_dimCustomer) as mytableType ) from dual ) a) )                                                 
    AND                                                 
    (nvl(:var_dimStore,'0') ='0' OR FK_STORE IN (select * from THE(select cast( in_list(:var_dimStore) as mytableType ) from dual ) a) )                                                
    AND                                                 
    (nvl(:var_dimSeller,'0') ='0' OR FK_SELLER IN (select * from THE(select cast( in_list(:var_dimSeller) as mytableType ) from dual ) a) )                                                  
    AND                                                 
    (nvl(:var_dimProject,'0') ='0' OR FK_PROJECT IN (select * from THE(select cast( in_list(:var_dimProject) as mytableType ) from dual ) a) )                                                  
    AND                                                 
    (nvl(:var_ano, '0') ='0' OR ID_ANO IN (select * from THE(select cast( in_list(:var_ano) as mytableType ) from dual ) a) )                                                  
    AND                                                 
    (nvl(:var_treemap,'0') ='0' OR PK_REGION IN (select * from THE(select cast( in_list(:var_treemap) as mytableType ) from dual ) a) )                                                  

  • Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong v

    Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong version of backup.

    Answer is no.
    If you want the iCloud backup you have to have n internet connection, thus WiFi.
    The not working WiFi has happened with quite a number of users.
    It is not exactly clear what is the cause but there are suggestions to clear it up:
    Some people have had success by removing an apostrophe from the iPhone name. If your iPhone is called something like “John’s iPhone” then this might work. Go to Settings > General > About > Name and change it to something with no apostrophe.
    Some people have reported success by putting the iPhone into Airplane mode and then going to Settings > General > Reset > Reset Network Settings, but the problem may return.
    You could also try going to Settings > Control Center and disable Access on Lock Screen then turn your iPhone off and on again.
    Make sure that your router firmware is up to date.
    Try backing up your iPhone and then restoring it. Check how to factory reset an iPhone for details.
    If nothing is working for you, try contacting Apple or take your iPhone into an Apple Store.
    Succes, Lex

Maybe you are looking for

  • ERROR in running a Form

    Hi I have installed Oracle 10g DS in my PC successfully.But while i am running the form i am getting internet explorer error and the browser is shutting down. But i am not having any problem to run a oracle report. Can anybody help me out from this p

  • Writing large xmltype data to UTL_FILE and setting max row per file

    Hey Gurus, I am trying to create a procedure (in Oracle 9i) that writes out xml data I have created into several xml files (file would probably be to large for one xml file output...I am doing this for 270,000 rows of data), setting the max rows to 1

  • BAPI for asset disposal through tcode F-92

    Dear all, Is there any BAPI to perform asset disposal that posted in tcode F-92 in foreground with asset transaction type = 210? I found this BAPI BAPI_ASSET_RETIREMENT_POST however i did not find the field to enter the posting key + gl account info

  • Insert a frame or window into adobe acrobat  or reader window

    Using Windows OS XP or Vista. Can you ad a frame or window into the main window to allow saving a document through another application? I have an application that routes save documents to specific folders depending on the type of document. I would li

  • Imovie 11 : problem with black photos

         Hello, I have some very dark photo in my Imovie project, good resolution, and in the timeline are displayed correctly. When I export the project these photo become of less quality and they loose their definition, the black color is not well disp