Bug in Interpolate 1D for repeated X values?

Using this vi:   LabVIEW 2014:vi.lib:gmath:interp.llb:Interpolate 1D
If you have the (X,Y) points (100,1)(100,2)(200,3)(200,4) and you want to interpolate to find a value for X=150, you would expect (hope?!) to get the answer 2.5. However, the VI returns an answer of 2, since it only uses one (probably the second?) of the repeated values…
The attached VI illustrates the behaviour, and also a workaround, making the X values ever-so-slightly different, to force the Interpolate 1D to give the correct(?!) answer
Attachments:
InterpolateBug.vi ‏14 KB

Why not use the tools from the array palette?
(Of course the FOR loop is not needed for a single interpolation value, just tring to duplicate your setup)
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Interpol.png ‏10 KB

Similar Messages

  • Win2008 64Bit Collection Error "Result has Repeating Key Value" On Host Per

    Win2008 64Bit Collection Error "Result has Repeating Key Value" On Host Performance Tab [ID 864908.1]      
         Modified 29-JUL-2009 Type PROBLEM Status MODERATED      
    In this Document
    Symptoms
    Cause
    Solution
    References
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Enterprise Manager Grid Control - Version: 10.2.0.5
    Microsoft Windows Server 2008 x64 (AMD64/EM64T)
    Symptoms
    OMS: 10.2.0.5
    Target Agent: 10.2.0.5 Windows 2008 Standard Edition Service Pack 1 64-bit
    Happens for all Windows 2008 64-bit hosts with SAN drives using multipathing.
    When accessing the Host > Performance tab on Windows 2008 64-bit host, get a Metric Collection Error:
    Exception: oracle.sysman.emSDK.emd.comm.MetricGetException: Result has repeating key value on
    drive 0: for diskactivity metric
    emagent.trc shows:
    2009-06-19 11:19:06,125 Thread-6736 ERROR engine:
    [host, <hostname>,Load] : nmeegd_GetMetricData failed : Result has repeating key value : 0 C: U: C: U:
    Collection Error:
    Error getting data for target <hostname>. Exception:
    oracle.sysman.emSDK.emd.comm.MetricGetException: Result has repeating key value : 0 C: U: C: U:
    Switching to the last 24 hrs view.
    Cause
    Microsoft issue with Windows 2008 64-bit and SAN multipath.
    Bug 8214155: ERROR RESULT HAS REPEATING KEY VALUE: <DISK DRIVES> ON DBCONSOLE
    Solution
    Contact Microsoft Support to fix the issue in Performance Monitor's PhysicalDisk object counter since "nmupm diskactivity" gets the information from the PhysicalDisk object counter.
    References:
    http://technet.microsoft.com/en-us/library/cc768048.aspx
    http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/prork/pree_exa_swlz.mspx?mfr=true
    References
    BUG:8214155 - ERROR RESULT HAS REPEATING KEY VALUE: ON DBCONSOLE
    This bug I found on Metalink but no workaround available. I've got the same problem everytime I view performance tab on Microsoft Windows 2008 x64. Does anyone know how to solve it?

    from the emoms.log
    2009-12-08 14:25:09,171 [EMUI_14_25_05_/console/monitoring/hostSummary$pageType=current$ctxType=Hosts$selTab=1$target=CITIZEN02$type=host] ERROR host.HostSummaryDataObject getHostSummary.1215 - Result has repeating key value : 0 C: D: C: D:
    oracle.sysman.emSDK.emd.comm.MetricGetException: Result has repeating key value : 0 C: D: C: D:
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at oracle.sysman.emSDK.xml.DelegatingHandler.getObjForTag(DelegatingHandler.java:121)
         at oracle.sysman.emSDK.xml.DelegatingHandler.startElement(DelegatingHandler.java:170)
         at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:597)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:180)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1227)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:195)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:431)
         at oracle.sysman.emSDK.xml.DelegatingHandler.parseObj(DelegatingHandler.java:296)
         at oracle.sysman.emSDK.emd.comm.EMDClient.parseStreamResponseContents(EMDClient.java:2883)
         at oracle.sysman.emSDK.emd.comm.EMDClient.parseResponseStream(EMDClient.java:2805)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2516)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2450)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2367)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2352)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:1120)
         at oracle.sysman.eml.mntr.host.HostSummaryDataObject.getHostSummary(HostSummaryDataObject.java:813)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.cabo.ui.data.provider.MethodDataProvider.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.provider.TableDataProvider.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.provider.CachingDataProvider.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.provider.DataProviderStack.getDataObject(Unknown Source)
         at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.DataBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
         at oracle.cabo.ui.laf.base.TextRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
         at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
         at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:368)
         at oracle.sysman.eml.app.Console.doGet(Console.java:304)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:265)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at

  • .INI files vs .TXT files for changing default values in a .EXE?

    Hi,
    I have a two-part question related to updating the default values of controls in an executable:
    I am creating a LabVIEW executable for installation on two different production-floor computers.   I need to be able to change the default values of the front panel controls (as I would do with the “make this value default” command during development). From reading prior posts, I understand that I could use the “Write Configuration Settings File.vi” and “Read Configuration Settings File.vi” to generate a .INI file that would be read by the .EXE and would establish the desired values of the controls. However when I took a look at the block diagrams for those configuration .VIs, they don’t appear (to me) to be any easier to use than just reading values from a spreadsheet file. IE: Instead of using these configuration files and a .INI file, could I not instead just read values from a .TXT file that contains the desired values?   I’ve never used a .INI file before, or had to worry about “keys” and “sections,” so from my (perhaps naïve) perspective, the .INI method seems less easy to use. Is there any advantage to the .INI format?
    Regardless of whether I use the .INI file or a .TXT file, I have this additional problem: One of the things that changes when I install my .EXE file on a new computer is the COM port numbers used by two serial devices.   (On my development computer, the two serial devices use COM5 and COM6, whereas on the two production-flood computers, the COM ports will almost certainly be different).   I suppose I could use the Device Manager on the production-floor computers to change the COM ports to be the same as those on my development computer, but I’d prefer to be able to (again) change the default value of the COM ports in my .EXE.   However, I’m not sure how to do that.   The configuration VIs, have options for reading / writing Booleans, strings, paths, and numeric, but not, (so far as I can tell) for a VISA class.
    Any thoughts / suggestions are welcome. Thanks.
    Solved!
    Go to Solution.

    Dan_the_Clam wrote:
    Thanks for your reply, Yamaeda,
    Great that I can use a string to open a VISA session - I had no idea.  I'll try that.  
    And - ah - you are right about the .INI files.  I just did an experiment in which I re-ordered the sections and randomly changed which letters were capitalized in the key values, and the "read configuration settings.VI" still read the file correctly.  Thanks for that.
    Unfortunately, in my existing code, the controls on the block-diagram aren't all co-located together; they are scattered throughout the block diagram - some of them in case structures and loops.   I suppose that means I'll have to move them all to the left side of the block diagram, route them to these "Write Key.VIs" and then wire them up into the cases and loops with fairly long wires.   It's just a hassle, and is going to make my block diagram more complicated.  Well, I suppose that's how one learns...
    Thanks again.
    dan
    Assuming you have a state machine and an Init state it's a fair use of Local Variables to update controls from the ini-file. The same goes for saving the values.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How do I save the width and height of a photo for repeated use?

    How do I save the width and height of a picture for repeated use, rather than having to enter it each time in the 'new file' box?
    Thanks,  Ed Jackson.

    It could be that I'm older and have forgotten. I'm now 73 and will admit I have forgotten many things over the years. I have been using Photoshop since Photoshop version 3.  And can not really recall which features or changes were made in ever version of Photoshop I have installed.  Adobe has added many features over the years. The number of bugs introduce has also greatly increased after CS3.  "New Doc Sizes.psp"  in your user id preferences is edited using the two buttons in the new document dialog.
    As for guide lines in new documents Photoshop CS6 or CC seem to add some for video file presets with guide lines.  I do not know how to edit or add guide line to new doc presets. Guide line actions are easy to create. I have also seem some guideline in new documents when I did not expect any perhaps a new bug. Photoshop like most software has bugs. If you do not see Adobe new presets perhaps you copied an old  "New Doc Sizes.psp"  over Adobe's newer default file or Adobe migrared you presets and wand wiped their presets out. There are bugs. Close Photoshop down and rename your current  "New Doc Sizes.psp"  in you user id Photoshop cc preferences folder and start Photoshop it will add a dedault  "New Doc Sizes.psp"  file see if you see Adobe new presets in the new doc pull down when you select video and film...

  • Show Repeated key values in Reports and Export Into Excel

    Hi Experts,
    Currently I am working on the BW3.5 version. Our client requirement to display the repeated key value in web and export same into excel. I have followed the steps in web template which mentioned below to achieve the requirement.
    1) In my web template, add the following line to the Template Properties object tag (the tag at the very top of the web template in HTML mode):<param name="SUPPRESS_REPETITION_TEXTS" value=""/>
    After the change web template change, Myself execute the report in web, Its fine web. But I export into excel, again the key values are suppressed. So I have followed the steps in query. Then its fine. I mean, I can export into excel with repeated key values.
    2) In my query, in Properties and on the Display tab, unchecked "Hide Repeated Key Values".
    But do we have any other option without changing query properties to achieve the requirement.. I am fine with the web template change("SUPPRESS_REPETITION_TEXTS"). But I do not want to change the query properties.
    Please help me to fix the issue. Thanks in advance.
    Thanks,
    RR

    Hi Experts,
    I have come across one of the suggestion in the below location. Could you plz help me to implement it.
    http://www.sapfans.com/forums/viewtopic.php?f=16&t=118185
    Suggestion:
    You can do exactly what you want, but it will take either a button changing the properties of the web item or a javascript function added to the context menu getting the properties of the table item and changing it to "X" or "". These are just two examples, there are other ways to do this. This is the actual code that sets the suppression for the repeated texts. Hope this helps.
    SAP_BW_URL item=âu20ACu2122TABLE_1âu20ACu2122 SUPPRESS_REPETITION_TEXTS=âu20ACu2122Xâu20ACu2122
    Thanks,
    RR

  • Permanently set Repeat cell values on table view obiee11g

    Hi,
    By default Analysis presentation Column comes with "Column Value Suppression" but we need to switch "Column Value Suppression" to "Repeat cell values" from source xml reference file
    Note:don't want to do it via analysis table/column properties(its manual work) ..just looking to change permanently by changing xml
    Thanks
    Deva

    Hi,
    What is that datatypeformats.xml ? couldn't find out. once again will explain my requirement
    Creating new analysis(Table/Pivot table view) and applying format as Repeat Cell by changing Table/Pivot Properties to set Enable alternating row "green bar" styling Repeat cell values on table/pivot view (instead of doing manual way)
    Refer the below image --> i just want to avoid manual enabling below Repeat cell option for entire table/pivot view option
    http://i.imgur.com/122wp.jpg?1
    Thanks
    Deva
    Edited by: Devarasu on Nov 26, 2012 5:06 PM

  • Hide Repeated Key Values

    Dear BW experts,
    In the query properties >> on Display Tab within Display options, there is a check box to check or uncheck for "Hide Repeated Key Values".
    However to reflect these changes on portal, it is suggested on the following help.sap link that the query iview properties have to changed as well. (please see the note below the link)
    I just looked at the query's iview properties but couldnt find a particular property that seems to reflect this change.
    Which property on the iview needs to be changed to reflect the "Hide Repeated Key Values" property in BEx.
    Please advise...
    http://help.sap.com/saphelp_nw04s/helpdata/en/5b/30d43b0527a17be10000000a114084/frameset.htm
    Note: that the setting made to hide repeated key values when using the query as a data provider in Web applications is not evaluated. <b>You need to make the settings again in the property dialog box of the query view.</b> When the query is used in the BEx Analyzer, the settings you make here are taken into consideration.
    Thank you...

    Hi A.H.P,
    In the template, as u suggested, i noticed that the 'Suppress Repeated Texts' under 'Specific'tab <u><b>had</b></u> a checkmark already.
    I also tested it by removing the checkmark, still it's not giving the expected results.
    Current result:
    Sales ID_____Comp Code____Division code
    xxx_______________aaa_________111
    ______________________________000
    __________________yyy_________123
    ______________________________345
    Expected result:
    Sales ID_____Comp Code____Division code
    xxx_______________aaa_________111
    xxx_______________aaa_________000
    xxx_______________yyy_________123
    xxx_______________yyy_________345
    I got this in the BEx, but it's not reflecting the change in the portal. Please advise with any suggestions...
    Thank you....
    Message was edited by: Newyorker

  • Repeat Column Value derived from formulae

    I need to repeat a value derived for a particular column &row combination to all rows in the table. however when I put the 'case' function it does not repeat the values as I expect. The value is only shown in the 1at row
    The formulae used is as follows
    CASE WHEN D_MILLS.MILL_NO =1 THEN (F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED ) ELSE (FILTER(F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED USING (D_MILLS.MILL_NO = 1.00)) ) END
    Note : Mill No is the Dimension Field that I user for the report. and I require the value of derived for mill No =1 to be repeated to all other mills (Mill No =2,3 etc)
    Edited by: Shaz01 on Aug 7, 2010 1:45 AM

    Hi,
    Use the formula like this,
    Max(CASE WHEN D_MILLS.MILL_NO =1 THEN (F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED ) ELSE (FILTER(F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED USING (D_MILLS.MILL_NO = 1.00)) ) END)
    Also for all the values you need to show the value of Mill no 1, so no need for case statement.
    MAX(FILTER(F_MILL_PRODUCTION.FN_YTD_CPO_PRODUCED/F_MILL_PRODUCTION.FN_YTD_CROP_PROCESSED USING (D_MILLS.MILL_NO = 1.00)))
    Thanks,
    Vino

  • Hide repeated key values - server wide

    Hello all,
    does anybody know if there's a setting which sets the "hide repeated key values" query properties server wide, so I don't have to make that setting for each query?
    Thanks,
    Tudor

    Hi
    Check in SPRO customization report relevant settings for availability of options like this.
    But i think such option is not available in report settings with server level
    REgards
    M.A

  • Repeat key Values in Webtemplate output

    Hello friends,
    I have a requirement wherein, when I execute the webtemplate, I need to have the key values repeated in the output. I am using a customized template for my reports and I dont want to change this base template. I am using 3.5 webtemplates.
    Please let me know how this can be achieved.
    <removed>
    Thanks
    mvd

    Hi ,
    To not suppress repeated texts, two things are need.
    1) In your web template, add the following line to the Template Properties object tag (the tag at the very top of the web template in HTML mode):
             <param name="SUPPRESS_REPETITION_TEXTS" value=""/>
    2) In your query, in Properties and on the Display tab, uncheck "Hide Repeated Key Values".
    Hope this will help.
    Thanks
    Mukesh

  • Suppress Repeated Key Values in EP

    Hi Experts,
    In BEx, i am able to "Suppress Repeated Key Values" via Query Properties > Display Options.
    However, when i execute the same report in EP, and in the context menu (right click) of the query, choose Enhanced Menu > Query Property, there is no option for "Suppress Repeated Key Values". Why is this so? Is there a way for such?
    My client is requiring it, but their access is limited to EP.
    Kindly, provide assistance.
    Thank you very much.
    julius

    Hi Julius
    In the WAD, if you use the properties pane web item and set data binding to the analysis web item, when you run the report on the portal you should see the settings of the analysis (table), under Data Specific setting you can toggle the "Display Repeated Texts" option, this functionality is also available in the setting link in the 0ANALYSIS_PATTERN default web template.
    Hope this helps
    Josh

  • How to read repeated tag values using sql query

    Database version
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Question
    How to get repeated tag values?
    <TXLife>
    <TXLifeRequest>
    <TransRefGUID>10bc80e7d60e59b0:a134d0:10d7c4674ad:-7ffd</TransRefGUID>
    <TransType tc="1203">OLI_TRANS_TRNHLD</TransType>
    <TransExeDate>2011-02-27</TransExeDate>
    <TransExeTime>15:06:35</TransExeTime>
    <InquiryLevel tc="3">OLI_INQUIRY_OBJRELOBJ</InquiryLevel>
    <InquiryView>
    <InquiryViewCode>PLANUPDATE_CHBM_1203A</InquiryViewCode>
    </InquiryView>
    <OLifE>
    <SourceInfo>
    <SourceInfoName>CHBM Admin Tool</SourceInfoName>
    </SourceInfo>
    <Activity id="Activity1" HoldingID="Holding1">
    <UserCode>User123</UserCode>
    <LastUpdate>2011-02-27</LastUpdate>
    <ActivityCode>CHBM10001</ActivityCode>
    <OLifEExtension VendorCode="0098" ExtensionCode="Activity">
    <ActivityExtension>
    <SubActivityCode>CHBM20002</SubActivityCode>
    <LastUpdateTime>15:06:35</LastUpdateTime>
    </ActivityExtension>
    </OLifEExtension>
    </Activity>
    <Holding id="Holding1">
    <HoldingTypeCode tc="6">Group Master Contract</HoldingTypeCode>
    <Purpose tc="36">Business Protection and Preservation</Purpose>
    <Policy>
    <CarrierAdminSystem>CHBM</CarrierAdminSystem>
    <PolNumber>CHB0001234</PolNumber>
    <OLifEExtension VendorCode="0098" ExtensionCode="Policy">
    <PolicyExtension>
    <BillingDetail>
    <PaymentMode tc="3">Quarterly</PaymentMode>
    <BillingOrder tc="1009800002">Employee ID</BillingOrder>
    </BillingDetail>
    <SalaryAllotment>12354333</SalaryAllotment>
    </PolicyExtension>
    </OLifEExtension>
    </Policy>
    <Attachment id="Attach1">
    <DateCreated>2011-02-27</DateCreated>
    <UserCode>System</UserCode>
    <AttachmentBasicType tc="1">Text</AttachmentBasicType>
    <Description>Event 4</Description>
    <AttachmentData>Event Log</AttachmentData>
    <AttachmentType tc="1009800001">Transaction Log</AttachmentType>
    <AttachmentLocation tc="1">Inline</AttachmentLocation>
    <OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
    <AttachmentExtension>
    <Sequence>2</Sequence>
    <CreationTime>16:05:45</CreationTime>
    </AttachmentExtension>
    </OLifEExtension>
    </Attachment>
    <Attachment id="Attach2">
    <DateCreated>2011-02-27</DateCreated>
    <UserCode>System</UserCode>
    <AttachmentBasicType tc="1">Text</AttachmentBasicType>
    <Description>Event 3</Description>
    <AttachmentData>Event Log</AttachmentData>
    <AttachmentType tc="1009800001">Transaction Log</AttachmentType>
    <AttachmentLocation tc="1">Inline</AttachmentLocation>
    <OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
    <AttachmentExtension>
    <Sequence>1</Sequence>
    <CreationTime>16:01:54</CreationTime>
    </AttachmentExtension>
    </OLifEExtension>
    </Attachment>
    <Attachment id="Attach3">
    <DateCreated>2011-02-27</DateCreated>
    <UserCode>P62350</UserCode>
    <AttachmentBasicType tc="1">Text</AttachmentBasicType>
    <Description>Note 2</Description>
    <AttachmentData>Enter notes on changes or edits to plan</AttachmentData>
    <AttachmentType tc="14">Note</AttachmentType>
    <AttachmentLocation tc="1">Inline</AttachmentLocation>
    <OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
    <AttachmentExtension>
    <Sequence>2</Sequence>
    <CreationTime>16:02:23</CreationTime>
    </AttachmentExtension>
    </OLifEExtension>
    </Attachment>
    </Holding>
    </OLifE>
    </TXLifeRequest>
    </TXLife>
    Expected output shoulb be like this
    Description AttachmentType AttachmentData
    Event 4 Transaction Log Event Log
    Event 3 Transaction Log Event Log
    Note 2 Note Enter notes on changes or edits to plan
    Please help me any one on this
    Edited by: LRAJESH on Apr 20, 2011 8:27 AM

    SELECT
    t2. Description des,
    t2.AttachmentType attty,
    t2.DateCreated DateCreated,
    t2.UserCode UserCode,
    t1.Planid Planid,
    t2.createdtime,
    t1.Ausercode Ausercode
    FROM (
    SELECT xData doc
    FROM dual
    ) temp_table,
    XMLTable ( '/TXLife/TXLifeRequest/OLifE' passing doc
    COLUMNS
    Planid varchar2(20) path 'Holding/Policy/PolNumber',
    AttachmentType xmltype path 'Holding//Attachment' ,
    Ausercode varchar2(20) path 'Activity/UserCode'
    ) t1,
    XMLTable
    '/Attachment'
    passing t1.AttachmentType
    columns
    Description varchar2(1000) path 'Description',
    AttachmentType varchar2(1000) path 'AttachmentType/@tc',
    DateCreated varchar2(20) path 'DateCreated',
    createdtime varchar2(20) path 'OLifEExtension/AttachmentExtension/CreationTime',
    UserCode varchar2(200) path 'UserCode'
    ) t2

  • Query Designer - Hide Repeated Key Values - Doesn't work in the web

    Hello Experts,
    I'm facing a problem with a query. The user requested that he/she wants to see all the values of the key values.
    I already unchecked the option "Hide repeated key values" in query designer, but it still hiding it. I tested in BEx and it's working fine, but when I run it in the web the key values are being hidden.
    Anyone knows what is happening? I'm not using WAD and there is no possibility to use it.
    Thanks,
    Helder

    Hi,
    I have seen this problem - setting that option still does not show the repeated key values in web. You will indeed need to use WAD and uncheck that option in the properties of the analysis item. If you can't do that, the other option would be to do this change in the default web template (which is generally 0Analysis_pattern for BI WAD) but note that this will affect all queries.
    Also, please note that if the query is exported to excel, it will show the repeated values. This is the reason sometimes the users ask for key values to be repeated - maybe you would want to confirm that.

  • Repeating  field values per paage in Master Detail Report

    I know there are lots of threads about repeating fields values across pages but not seem to work that I have tried and I was looking for a simple resolution to my problem.
    I have a master detail report like:
    Deptno: 10 Dname: Accounting
    Empno Surname Job Sal
    1234 Smith Clerk 1000
    1235 Jones Clerk 1200
    Deptno: 20 Dname: Research
    Empno Surname Job Sal
    2234 Smith Clerk 1000
    2235 Jones Clerk 1200
    etc. The employee data is displayed in a Word table.
    Now if I use the standard emp/dept tables (with only 14 employees) the report paginates properly and I see one department per page and the corresponding employees per page. I have used the <?split-by-page-break: ?> tag. A sample of the rtf file is:
    <?for-each:dept?>Dept: <?deptno?> Name: <?dname?>
    TABLE of EMPS (via insert -> table ->advanced etc)
    <?split-by-page-break: ?>
    <?end for-each?>
    Everything works fine but if I then apply a larger xml file to this rtf where the number of employees spill over onto another page the deptno and the dname do not print before the table when I want them to.
    I have tried putting things into Word headers, using the <?start:body?> tag and a couple of other ways (like @section). Could someone be quite explicit about the steps I need to follow (rather than just say put it in a header) to make sure that if the employees spill over the page the deptno and dname will display. I don't know if its made more difficult because I have multiple departments but any help would be appreciated.

    I sent a template to Chris who was able to solve the problem.
    The change that he made was from:
    <?for-each:dept?>Dept: <?deptno?> Name: <?dname?>
    TABLE of EMPS (via insert -> table ->advanced etc)
    <?split-by-page-break: ?>
    <?end for-each?>
    to:
    Dept: <?deptno?> Name: <?dname?>
    <?start:body?><?for-each@section:dept?>
    TABLE of EMPS (via insert -> table ->advanced etc)
    <?end for-each?><?end body?>
    That is, he used the start and end body tags and the section attribute and took out the <?split-by-page-break: ?> tag. I put back in the split page tag on the template he gave me but it gave me an extra page each time the department changed. So maybe you can really only use one of the other.
    Regardless, Chris sorted it out for me, so thanks.

  • Error -Suppress repeated key values

    Hi All,
      After executing query in bex , I am doing filter on Fiscal year .I want to show repeated key values.
    When I go to query properties-display options -Supress Repeated key values is checked.
    I unchecked it and pressed Ok button , It says program error in class SAPMSSY1 method.system error in program CL_RSR_REQUEST and form CHANM_SETTINGS_SET.
    Please suggest .
    Thanks in advance.
    Regards
    Nilesh

    Hi,
    Did you manage to get anywhere with this we have the same issue when trying to suppress zeros on a workbook, interestingly (or not ) The error doesn't occur if I run the query the workbook is based on?
    Thanks in Advance for any help
    Peter

Maybe you are looking for

  • SAP different versions in iSeries server

    Hi SAP experts, We have a current SAP 4.7 installation in an iSeries server in PROD and in DEV machine. Is it possible to implement a new version like ECC6 using the same iSeries machine? Will the 2 installation for 2 different SAP version (4.7 and E

  • Pricing Procedure for harvest type of products - wheat/ corn

    Dear Gurus, I have to define a price procedure for harvest products such as wheat, corn etc... The only piece of information I have is that there is no minimum quantity and that the unit of measure is the Kilo or the Ton. Based on that, could anyone

  • CLOB error?

    When I run the Dbms_Xmlgen below, I get error: "ORA-06502: PL/SQL: numeric or value error ORA-06512: at line 71" where line 71 is "Utl_File.Put_Line(l_Output, RESULT);" which I assume it is something to do with size/CLOB? I have googled it and try to

  • Can you add a Horiziontal Bar to a Chart?

    Basically I have 2 analog inputs being read and displayed on a 2 independant charts.  The user is prompted to input tolerances that are then used to figure out a maximum and minimum value.  If either of the input values do not fall within the min/max

  • Bug in server 2012

    If I am logged in to 2012 with a LUA account but want to go to the administrators Appdata\Roaming folder I have to key in the password.  If I keep drilling down into it to find the file I want and then use the back button to back out, it will let me