Block Data Filter

Records in a multi-reocrd needs to be filtered to meet some run-time conditions
I mean its not like a where clause, all records are fetched and available in block but only particular set will appear and then all records regardless of condition will consider for commit.
Thanks for any help

Maybe you can use a record group for displaying particular set of records and original block will not be displayed.
I hope this will help you.
Helena

Similar Messages

  • Row Level Security - Data filter - Roles Variable Not working in OBIEE 11.1.1.7.1

    Hi all,
    Previously, we were using OBIEE 11.1.1.5.0 and we were able to assign users to application roles by using the initialization block to assign the ROLES session variables.
    1. My USER_SECURITY table in Oracle database:
    USER_NAME | USER_ID | ROL
    user1       | 1723    | GobalDataRole
    user2       | 1739    | GobalDataRole
    user3      | 1743    | GobalDataRole
    2. The SQL query in my session initialization block:
    select USER_NAME, USER_ID, ROL
    from USER_SECURITY
    where USERNAME = ':USER'
    3. The row-wise initialization option is not checked.
    4. In the Oracle Enterprise Manager Fusion Middleware Control, we created new application role: GobalDataRole and sync with rpd.
    5. The GobalDataRole is used in the RPD to filter the data under permissions --> data filter. GobalDataRole only has access to Country A data.
    6. Result: under my account, also in rpd Manage --> Sessions, user variable details
    User_name , user_id & Rol variable is working fine as expected,
    When we log in as user1, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
    When we log in as user2, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
    When we log in as user3, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
    User1, User2, and User3 are able to see the data correctly according the their data access setup.
    Now, we using OBIEE 11.1.1.7.1 and using the same method, but we not able to assign users to application roles by using the initialization block to assign the ROLES session variables anymore.
    Result:
    User_name & user_id variable is working fine as expected, but the ROl variaible is not capturing the DB value,
    When we log in as user1, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
    When we log in as user2, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
    When we log in as user3, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
    User1, User2, and User3 can see all data (which is wrong) because they are not assigned to the correct application role that sets the data restriction/filter.
    Has anyone encountered the same issue? Any advice on how to solve this?
    Thanks in advance!
    Satheeshkumar P

    Thanks user10615659     ,
    - Yes the variable ROLES available in OBIEE 11.1.1.7.1
    - Tested the init block and variables in offline rpd its working as expected.
    - In online rpd, except ROLES and GROUP variable remaining variables working fine.
    - Verified log file in both online and offline init block testing - the init block execution is successful.
    Thanks

  • Automatic Data Filter??

    Dear Friends
    I have Oracle 10g forms, and i would like to add an automatic filter on the fileds, so each time the user enters charcater the results must be filterd, like when you want to add new trigger in oracle forms for example when you type "W" all words started by "W" kept in the menu and other deleted.
    can i do that in oracle form???
    thank you in advance
    Best Reagrds
    Mohammad

    Dear Friends
    I have found a good way to do automatic data filter, we can achieve this goal by using combo list, and put (when_list_changed) trigger on this list, to do the query on the specified block. and as the user enters characters and the data in blocks will be filtered instantly.
    i found it, and i thought that can help another users.
    best regards
    Mohammad

  • Create prompt with date-filter and initialize it with current date

    Oracle BI 11 g
    Hi!
    I need to create dashboard prompt with date-filter and initialize it with current date. How can I do that?
    I tried to create repository initialization block and add variable. But I don't know what should I write to DataSource? I tried to use functions Now(), Current_Date, sysdate (for example, SELECT Now() FROM tbl_Calendar) but without results - when I pressed "Test..." button I got errors - something like "Now() is unknown function" or "Incorrect syntax near key word Current_Date".
    After that I tied to use Presentation Variable in Prompt, but also without success ((
    Please, help me.

    I've created Repository Variable "CurrentDate", using SQL-query like this "select convert(varchar(10), getdate(), 104)" and now this variable is being initialized by value "07.04.2011". But I don't understand how to use this varible in DashboardPrompt! What item in list "Default selection" I should choose - "Variable Expression", "Server Variable" or something else? When I chose "Variable Expression" and write "CurrentDate" I got just string "CurrentDate" when preview Prompt. @{CurrentDate} gave me the same result.

  • Performance issue on Date filter

    In my where condition I wanted a date filter on sale date.  I want all sales after 9/1/2014.   
    CASE1
    If I explicitly use date filter like 
    SaleDate > '2014-09-01 00:00:00:000' I am getting the result in 2 seconds.
    CASE2
    Since I may need to use this data value again, I created a date table with single column "date" and loaded the value '2014-09-01 00:00:00:000' . 
    So now my where is like 
    SaleDate > (Select date from dateTable)
    When I run this , the result does not show up even after 10 mins. Both date types are datetime. I am baffled.  Why is this query not coming up with the result?

    As mentioned by Erland, for the optimizer, both situation are very different. With a literal, the optimizer can properly estimate the number of qualifying rows and adapt the query plan appropriately. With a scalar subquery, the value is unknown at compile
    time, and the optimizer will use heuristics to accommodate any value. In this case, the selection for all rows more recent than September 1st 2014 is probably a small percentage of the table.
    I can't explain why the optimizer or engine goes awry, because the subquery's result is a scalar, and shouldn't result in such long runtime. If you are unlucky, the optimizer expanded the query and actually joins the two tables. That would make the indexes
    on table dateTable relevant, as well as distribution and cardinality of dateTable's row values. If you want to know, you would have to inspect the (actual) query plan.
    In general, I don't think your approach is a smart thing to do. I don't know why you want to have your selection date in a table (as opposed to a parameter of a stored procedure), but if you want to stick to it, maybe you should break the query up into something
    like this. The optimizer would still have to use heuristics (instead of more reliable estimates), but some unintended consequences could disappear.
    Declare @min_date datetime
    Set @min_date = (SELECT date FROM dateTable)
    SELECT ...
    FROM ...
    WHERE SaleDate > @min_date
    If you use a parameter (or an appropriate query hint), you will probably get performance close to your first case.
    Gert-Jan

  • How do I block data use on my phone?

    I have an LG Cosmos with access to mobile web, mobile email and gps. I don't have a data plan so it would charge me by the mb or whatever. Access to these features is really easy so to prevent accidents or other people playing with my phone from racking up my bill, how can I block data usage? Airplane mode would also turn off my phone signal so how else would I block data?

    tojeza wrote:
    Well when I accidentally hit mine once I was charged $1.99 for it just trying to connect with the block on, was told it would do that when they blocked it for me  but have never done it since so maybe they changed that.  Mary
    Same thing has happened to me now in 2 of the last 3 months.  Had to call and complain as I don't use the mobile web on my phone.
    So you have the data block?  I was told straight out when they put the block on for me you are charged the minimum for it just trying  to connect so I didn't bother to call and have them take it off since it was my fault and I knew that would happen, guess I should have said something.  I am more carefull now with my fingers.    Mary

  • How to create a data filter for BAPI used in a Distribution Model ?

    I am trying to create IDOC's for a QM inspection plan via message type QPMK in ECC 6.0. When creating the new message type in the Distribution Model, it forced me to use a BAPI (MasterInspectionChar) rather that just the message as I have done in the past. In order to ensure that only IDOC's related to a specific plant and material type get sent out, I was trying to create a filter.
    I am able to get into a 'Change Filter' dialog by double clicking 'No data filter set' under the node 'MasterInspectionChar.SaveReplica'. However, an attempt to highlight anything on this dialog and clicking button 'Create filter group' results in msg. 'Select node: Content-dependent parameter filtering'.
    Online help led me in a different direction, one thread led me to believe I needed to create a table entry for the filter in table TBD16 via BD81 for later attachment to the BAPI in the Distribution Model. Before this, I created two Z* ALE Object Type records for plant and material type in table TBD11 via BD95 for what I thought would provide a lookup back in BD81 for creation of a new filter record, but these objects are not found. Per the help, I am also unclear as to whether I would need to set up Receiver determination or Parameter filtering, nor where to make this step in the configuration happen?
    Can anyone point me back in the correct direction to get a data filter set up for this BAPI within the Distribution Model ?
    Thanks - Mike

    Just to clarify, what I am having trouble with is finding where exactly to plug in the name of the plant to be filtered? If using a message type such as MATMAS in a distribution model, it is very straight forward to navigate down from the 'Data filter active', and assign a value to whatever field you wish to filter via the 'List of Values'.  But in this example, message type QPMK required use of the BAPI MasterInspectionChar, and therefore the different method in creating the filter. 
    I cannot find similar functionality when navigating the BAPI related row, for MasterInspectionChar. The 'Change Filter' dialog popup displays a row for 'Container' and then 3 more rows containing 'BAPI structure...'.   Clicking the 'Attribute' checkbox on any of these rows sets 'Data filter active' as a node under the BAPI.  Double clicking the 'Data filter active' brings me back into the same dialog, and selecting any row with an attempt at this point to create a filter results in the 'Select node: content-dependent parameter filtering' warning.  Is this warning occuring because of missing configuration?
    Thanks - Mike

  • Payment to vendor based on blocking date of vendor

    Dear all ,
    We have few regular vendors from which the goods is delivered to our plant .
    Say from vedor "V" We have received 120 ltr of chemical today,
    from tomorrow we have to block this vendor for Purchase order.
    Its possible in Xk05 by assign 01 block function,
    the purchase order creation is blocked .
    But in our case the payment should not be blocked as
    we have to pay him for 120 ltr after 30 days from blocking date .
    pl guide
    regards ,
    FBM
    Note : Typing mistakes corrected,Subject line changed.
    Edited by: Jeyakanthan A on Jun 9, 2011 11:43 AM

    Dear,
    As many of friends are suggested,  MK05 can be used to block PO creation.  At the same time FK05 can also be used to block vendor payments. 
    Once you have blocked the vendor using MK05 system will not allow the users to create PO.
    Once you have blocked the vendor using FK05 sytem restricts you from doing MIRO and subsequent clearing of open items means payment clearing.
    This is the good solution as per your requirement.
    Hari.

  • SP2013 - Date Filter Web Part looses connection when used in a site template

    Hi,
    I created two table reports in SQL Reporting Services 2012 and inserted in a web page using the Reporting Service Report viewer in SharePoint 2013 with CU Dez 2013. The two reports require two dates and I use two date filter web parts (I did not try the
    date range solution I saw in the fórum).
    So the user inputs the two dates in date filters that send the information to thereports in the same page.
    They work in the site and I saved it as template. However when I create e new site using it as a templates, the date filter connections are broken and of course, they did not work.
    For another report where I usea text filter, it worked without any problem in the template.
    Does anybody know any workaround?
    Thank you.
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi ,
    The new site based on the saved site template will generate new ID for date filter web part, in the web part page the SPWebPartConnection "ProviderID" value seems still to reference the original date filter web part ID (see from
    SharePoint Designer), as a workaround we can re-configure the web part connection from the web part page manually or programmatically from that new site web part page.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/8d98206d-b41f-4ee4-b537-a4bf5cec0434/sharepoint-2010-save-site-as-template-webpart-connections-broken?forum=sharepointgeneralprevious
    http://sympmarc.com/2007/09/20/removing-a-web-part-connection-in-sharepoint/
    Thank
    Daniel Yang
    TechNet Community Support

  • Data Filter in Data Selection -DM

    Hi ALL,
    I am facing problem in loading blank value data to BPC. Scenarion is
    Account In BI has Hier as ACT_1
                                              ACT_2
                                             ACT_3
                                             ACT_4
                                             UNassigned - In data base it has balnk and when you report in BI you can see as #-(Un assigned as a text descrption)
    in my data manager i need to select the or filter the accounts by Hier as shown above
    i can select as ACT_1, ACT_4 but i need to select the blank value also i need to set the filters for unasigned but BPC data manager package will not allow the UNASSIGNED Value to be select.
    Any idea on this can i handle some ho in transformation,
    Thanks in advance
    Regards
    Ram

    Hi,
    Based on my test, Data filter does not lost when we re-open the file in Excel 2013. Thus, I think it is not a bug. Thus, please provide us more information to assist you better.
    Did this issue occur with the previous file that created with Office 2010?
    Have you tried to re-create a new file to test?
    If this issue occur only with the previous file that created with Office 2010, this issue might be caused by the file compatibility, pleases use compatibility checker to update the files:
    https://support.office.com/en-ca/article/Check-file-compatibility-with-earlier-versions-d9856881-5875-4c58-915f-06859b2943a7
    If this issue occur with all files even with a new file, please try to repair Office 2013.
    Hope it's helpful.
    Thanks
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Blocking data in sts

    Hi all,
    I have a question related to STS (Status and Tracking System) in SEM-BPS and hopefully there is somebody out there that can help me:
    I’m having problems in blocking data in web layouts: I’ve two planning levels and in each one of them, I’m not being able to block data, even after the submission for the highest level for approval (each one of them is linked to a different user).
    I think I’ve the correct authorization objects for each user, and already filled the header characteristics in STS customizing (version and time-dependent) that should allow data blocking.
    Nevertheless, the data still isn’t blocked, at any point of the planning process.
    Also, I’m not able to see the final status (close/release). By the other way, do you think that the fact of not having the sap bw-sem mail server not working could have impact in any of the above points? If so, which one of them?
    Thank you very much for your help.
    Kind Regards,
    Ricardo

    Hi Gil,
    Thank you for your answer.
    I've already (double)checked those two tables to ensure that everything is working as expected.
    Everything seems ok in st01.
    Nevertheless, the lowest level of hierarchy can still open planning layouts after planning is approved.
    Do you have any other direction you can point to me?
    Thanks in advance,
    Best regards,
    Ricardo

  • Automation failing in OSM clustered env and getting -unread block data

    One of the customer is getting following exceptions while trying to place orders on the clustered environment. The same issue is also reported by other two and is discussed in communities (https://communities.oracle.com/portal/server.pt?open=514&objID=187443&mode=2&threadid=367195)
    <04-Jun-2012 11:20:11,369 ICT AM> <ERROR> <message.ClusterMessageHandlerBean> <ExecuteThread: '37' for queue: 'oms.automation'> <Failed to process cluster request for order ID [100739]>
    java.lang.IllegalStateException: unread block data
         at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2376)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1360)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
         at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
         at weblogic.rmi.internal.ServerRequest.copy(ServerRequest.java:261)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
         at com.mslv.oms.security.base.OMSRequestBalancer_y7pdy3_EOImpl_1033_WLStub.routeRequestToRemoteJMSDestination(Unknown Source)
         at com.mslv.oms.automation.plugin.l.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    <Jun 4, 2012 11:20:11 AM ICT> <Error> <oms> <BEA-000000> <message.ClusterMessageHandlerBean: Failed to process cluster request for order ID [100739]
    java.lang.IllegalStateException: unread block data
         at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2376)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1360)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
         Truncated. see log file for complete stacktrace
    >

    Logs clearly indicates that OSM is running in legacy mode. “OMSRequestBalancer_y7pdy3_EOImpl_1033_WLStub.routeRequestToRemoteJMSDestination” will not come in picture in case of optimized mode.
    Please make sure below settings:
    1)     Studio – optimized mode.
    2)     Cartridge target version 7.0.3

  • BO Report Mobile - date filter

    Hello!
    I have a report in BO Mobile developed with web intelligence tool with two fields of sales values​​, one daily and one monthly. I'm having the following problem: when I select a specific date to the monthly values ​​are equal to the daily values​​.
    Could someone help me.
    It is possible to apply the date filter, make the monthly accumulated values ​​remain?
    Sincerely.
    Gleziane

    Hi
    At Universe level you can create two measure values like daily sales and MTD monthly sales =@
    suppose say yu run the query on date 19-5-2014
    for First measure daily sales where date =@prompt value (i.e date prompt)
    for 2nd measure Monthly sales where date<=@prompt value AND Month=month(@prompt )
    the above is for MTD
    Hope this helps u
    Thanks & Regards
    Sunil

  • Date Filter uses unknown property by default, doesnt work

    Created a filterable and sortable table by dragging and dropping in VO from a AM. While it automatically sets the appropriate properties for filtering, and for non-date fields it works fine, for dates always "no row are found," even if I specifically choose a valid date where rows should return.
    I noticed in the property inspector, the inputdate value in the column's facet filter is set to an invalid value (by default when dragged and dropped!). In the property inspector, the value is outlined in orange (value=#{vs.filterCriteria.trSentOnDate}, populated by default), and the tooltip states "filterCriteria is an unknown property."
    Here's a snippet of the table def
            <af:table value="#{bindings.RequisitionsAllVO11.collectionModel}"
                            var="row"
                            rows="#{bindings.RequisitionsAllVO11.rangeSize}"
                            emptyText="#{bindings.RequisitionsAllVO11.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.RequisitionsAllVO11.rangeSize}"
                            rowBandingInterval="0"
                            filterModel="#{bindings.PoRequisitionHeadersAllVO1Query.queryDescriptor}"
                            queryListener="#{bindings.PoRequisitionHeadersAllVO1Query.processQuery}"
                            filterVisible="true" varStatus="vs"
                            selectedRowKeys="#{bindings.RequisitionsAllVO11.collectionModel.selectedRow}"
                            selectionListener="#{bindings.RequisitionsAllVO11.collectionModel.makeCurrent}"
                            rowSelection="single"
                            binding="#{backingBeanScope.backing_browseReqsPOs.t3}"
                            id="t3">
                    <af:column sortProperty="SentOnDate" filterable="true"
                               sortable="true"
                               headerText="#{bindings.RequisitionsAllVO11.hints.SentOnDate.label}"
                               id="c26">
                      <f:facet name="filter">
                        <af:inputDate value="#{vs.filterCriteria.SentOnDate}"
                                      id="id2"/>
                      </f:facet>
                      <af:outputText value="#{row.SentOnDate}" id="ot20">
                        <af:convertDateTime pattern="#{bindings.RequisitionsAllVO11.hints.SentOnDate.format}"/>
                      </af:outputText>
                    </af:column>BTW, I looked at the ADF RC Demos, and I noticed that for the filterable table demos, the date filter isn't enabled.

    We're getting there.
    New error now. I neglected to set the attribute Format and Format Type. I set those in the VO (Simple Date and MM/dd/yyyy, respectively), and now I get a nullPointerException.
    I hit enter after entering a date, and a popup shows the following:
    java.lang.NullPointerException
    For more information, please see the server's error log for an entry beginning with: Server Exception during PPR, #2with the following in the DefaultServer log
    Aug 13, 2009 11:14:35 AM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #2
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    ...

  • Why is a site i log into on an hourly basis suddenly blocked by filter

    i log onto an art sharing site on a hourly basis, yet all of a suddent i can't log onto the said site, i get a black screen with white letters saying blocked by filter. how do i fix this?

    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that works.
    If that works then some software on your computer is the cause of the blocking message.
    You can also check the connection settings.
    *Tools > Options > Advanced : Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if the default "Use the system proxy settings" setting doesn't work properly.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

Maybe you are looking for

  • Cast error in java sound

    Hey, i got a little run-time error: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: com.sun.media.sound.PortMixer$PortMixerPort the code segment it occurs at is here: case 0:       targetDataLine1 = (TargetDataLine)mixer1.getLine

  • Please Help!! Computer Failing!!Can you slect updates individually?

    I think the last update is messing up my mac. I would like to re-instal and be able to update to 10.4.10. I bought the computer with 10.4.2. When I re-installed after it was crashing for no reason it automatically updated to 10.4.11. I started to hav

  • Intermittent not connected to Oracle error

    Hi , I keep getting not connected to oracle error for one of our client' server. The application is an Windows service and the client OS is Windows 2003 Server with Oracle Client version 9.2.0.7 I haven't see this error for any other client. I have g

  • MetroE Route Setup

    I need some help. I need to configure 2 3560's to route to each other connected via a MetroE PtP setup with a dot1g tunnel. One side uses a firewall for its gateway, the other needs to use the route on the switch for its default gateway. I would like

  • IPhone 4: Speaker and mic grills aligned?

    Hello there, Probably the stupid question of the day but since I have just bought a brand new iPhone 4 (first Apple gadget here ) I am quite worried (and very OCD about it). The question is: Are speaker and mic grills perfectly aligned at the botton