Can I use a OID rule for a Query SQL Lov of BIP?

Hi. Can I use OID data (rules) for a query sql lov in BIP? Ex. filters users/store.
Thank you.
R.

Hi,
I didn't look at the example, but if you want to secure your application then you should use container managed security. Read this .
Anyway, you could add this before return "good"; in your login_action()
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("username", user);Then, you can access this from anywhere in the application by using #{sessionScope.username}.
Pedja

Similar Messages

  • How can I use the join condition for this query?

    Hi, i am using a query which has a sun query in it, wen i am running tat query it is giving 9332 records, I changed the sub query logic and given an inner join, but it is giving only 4476 records. So, I changed it to left join but it is giving more records
    than usual now, say 10033 records.
    This is the code which is giving records 9332, which is correct
    select      distinct 
          b.SRC_PROV_ID
          ,COALESCE(a.SYSTEM_NAME, a.CTRCT_GRP_NAME, a.PROV_SMG_NAME) AS SYSTEM_NAME
    INTO  TINtoSystem
    from 
          RARE.dbo.EDW_MASTER a 
          Inner Join RARE.dbo.EDW_PROD_ID_XREF b 
                on a.SMG_ID = b.SMG_ID 
      where SRC_PLATFORM_CD = 'TX' 
          and a.SMG_ID in 
                select distinct 
                SMG_ID 
                from RARE.dbo.EDW_PROD_ID_XREF 
                where SRC_PLATFORM_CD = 'TX' 
                and SRC_PROV_ID in (select q.PROV_TAX_ID from PACT.dbo.SQS_EDW_Source q) 
    I have changed this code by giving inner join as, but its not giving the exact records of 9332, 
    select distinct
    b.SRC_PROV_ID
    ,COALESCE(a.SYSTEM_NAME, a.CTRCT_GRP_NAME, a.PROV_SMG_NAME) AS SYSTEM_NAME
    INTO TINtoSystem
    from
    RARE.dbo.EDW_MASTER a
    Inner Join RARE.dbo.EDW_PROD_ID_XREF b
    on a.SMG_ID = b.SMG_ID
    Inner Join Pact.dbo.SQS_EDW_Source q
    on b.SRC_PROV_ID = q.PROV_TAX_ID
    where b.SRC_PLATFORM_CD = 'TX'
    Can anyone tell, where it is missing, I used left join also but its giving more records then, need help

    Hi, If you insist inner joins then please try
    SELECT DISTINCT
    b.SRC_PROV_ID
    ,COALESCE(a.SYSTEM_NAME, a.CTRCT_GRP_NAME, a.PROV_SMG_NAME) AS SYSTEM_NAME
    INTO TINtoSystem
    FROM
    RARE.dbo.EDW_MASTER a
    Inner Join RARE.dbo.EDW_PROD_ID_XREF b
    on a.SMG_ID = b.SMG_ID
    inner join
    select distinct
    c.SMG_ID
    from RARE.dbo.EDW_PROD_ID_XREF as c
    where SRC_PLATFORM_CD = 'TX'
    and exists (select * from PACT.dbo.SQS_EDW_Source q where c.SRC_PROV_ID=q.PROV_TAX_ID)
    ) as d on a.SMG_ID = d.SMG_ID
    where b.SRC_PLATFORM_CD = 'TX'

  • How can I activate the transfer rules for the ODS updating a data target.

    We are on BW 3.5 and I'm loading data into the 0FIGL_O10 ODS  and then uploading the data into the cube 0FIGL_C10. The data loads just fine to the ODS but when I try to <u><b>'update the data target'</b></u> I get a date & time stamp' error on the info-package transfer rules.
    I then Replicate the datasource 80FIGL_O01.
    I must then <u><b>'activate' the transfer rules</b></u>.
    However I cannot get the transfer rules for 80FIGL_O10 in CHANGE MODE to activate them.
    How can I activate the transfer rules for the ODS updating a data target.
    The error text is as follows:
    DataSource 80FIGL_O10 has to be replicated (time stamp, see long text)
    Message no. R3016
    Diagnosis
    DataSource 80FIGL_O10 does not have the same status as the source system in the Business Information Warehouse.
    The time stamp in the source system is 02/15/2007 10:42:33.
    The time stamp in the BW system is 11/07/2006 13:11:54.
    System response
    The load process has been terminated.
    <b>Procedure
    Copy the DataSource again and then activate the transfer rules that belong to it. You have to activate the transfer rules in every case, even if they are still active after the DataSource has been copied.</b>
    Thanks for your assistance.
    Denny

    Hi Dennis,
           Try, using Business Content to activate your data source
           hope this will help you
    How activate business content?
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm

  • CRVS2010 Beta - Can't use the the Runtime for VS 2010 Beta

    Hi,
    I changed my web.config as described in the PDF but I'm always getting this error message:
    Assembly 'my Assembly' uses 'CrystalDecisions.Web, Version=14.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' which has a higher version than referenced assembly 'CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    What's wrong?
    Thanks,
    Michael
    Edited by: MGuder on Apr 22, 2010 11:53 AM
    Edited by: Jonathan Parminter on Apr 22, 2010 7:47 AM

    Hi Guys,
    Are you using the VS 2010 CR for VS2010 plug in and if so is this a Beta issue?
    Or are you using a previous versions of CR runtime in VS 210 issue?
    If it is a VS 2010 and CR plug issue then the subject line needs to be changed to follow the rule for posting beta questions to:
    CRVS2010 Beta - Can't use the the Runtime for VS 2010 Beta
    If it's a migration of existing CR 2008 or previous version of CR application into VS 2010 then it's not supported. CR 2008 and previous versions of CR have not been tested with 4.0 framework and therefore it will not work and no escalation path to make it work at this time, don't upgrade your old projects.
    Thank you
    Don
    Sorry I see Jonathan has already changed the title.
    Edited by: Don Williams on Apr 22, 2010 7:52 AM

  • Project Oxford. Can I use the Face API for law enforcement app

    Hello,
    I am a .Net developer and have recently learned of Microsoft's Project Oxford.
    I am very much interested in developing an app using the Face API but, had a question regarding the code of conduct.
    Specifically it states:
    People who use your app must have the consent of the people whose images are being processed by your app. We ask that you include a prominent notice in your app UI so your end users know that consent
    is required.
    The  application I am attempting to develop is for law enforcement to detect wanted persons while out on patrol.
    My questions are: 
    1. Is there an exception to the rule above for law enforcement?
    2. Can I use the Face api for my application knowing that
    in most cases law enforcement will not specifically ask for consent while scanning people?
    As always thank you for your assistance.

    https://www.apple.com/legal/intellectual-property/guidelinesfor3rdparties.html

  • Can I use Deskjet k109a printer for photo printing?

    Can I use Deskjet k109a printer for photo printing?

    Hi,
    Yes, your printer can print photos as mentioned in the following link:
       http://www8.hp.com/in/en/products/printers/product-detail.html?oid=3811379
    Actually any printer can be used for photo printing, the results may not be the same.
    Hope this helps.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • [SOLVED] how to use diffrent iptables rules for different ppp account?

    x86 plantform run arch linux system , have two network interface etn1 eth0 .eth1 connect to internet. eth0 connect to other terminals through switch. want use different iptables rules for different pppoe account .also want to know how to forbidden more than one terminals established pppoe link use same account at the same time .
    Last edited by linuxsir (2013-09-26 06:48:01)

    (You establish PPPoE sessions over the local network to the Arch machine? Which then routes the traffic?)
    first question ,yes that is exactly what i am done. second question i also have a small  scripts on windows pc to solve routes traffic problem
    route -p delete 0.0.0.0
    route -p add 192.168.9.0 mask 255.255.255.0 192.168.9.1
    route -p add 0.0.0.0 mask 0.0.0.0 192.168.22.0
    but after a while i found scripts is not necessary because windows always attempt to use PPPoE sessions as default internet connection local connection is also ok
    and use  -i pppX in my iptables rules dose not  solve my problem , because same account start PPPoE session could be marked as ppp0 or ppp1. it is hard to identified which account start session.

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • HT204053 Can I use one Apple ID for two Apple IPhones?

    Can I use one Apple ID for two Apple IPhones? I received an answer of yes.
    Now another question.  I have one ICloud Account, Two IPhones.  Can I use Find my IPhone via the one ICloud Account?  Can I see two IPhones on the map at the same time?  or do I need to view the second phone via some other method.
    Message was edited by: Hunter3D

    Yes.
    Cheers,
    GB

  • HT4436 My family has multiple iPhones.  Can we use one Apple ID for all of our phones?

    My family has multiple iPhones.  Can we use one Apple ID for all of our phones?

    If you use the same AppleID for iMessage and iCloud though, you will all be sharing the same message account and iCloud email account.  You can use a common AppleID for purchased content, but each create your own unique AppleID for iMessage and iCloud so you each have your own private accounts for those services.

  • How do we use if statement in labview?moreover can i use if statement inside for loop?

    how do we use if statement in labview?moreover can i use if statement inside for loop?

    The if statement in LabVIEW is the Case structure. You can find that on the Structures palette right next to the For Loop. If you're still on the same subject about terminating a for loop early, then what you do is enclose your functions inside the loop with a case statment and make one of the case's empty except for one or more constants that you might have to wire. Hopefully, the attached picture will explain what I mean. Also, as I mentioned in one of your other posts, I think this technique is not as good as using a while loop. The array in the attached example is the same size no matter what and you may have to handle stripping extra or invalid elements.
    Attachments:
    For_Loop_with_Case.jpg ‏21 KB

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

  • Can we use same program ID for more than one RFC scenarios

    Hi experts,
                I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
    data: iquote type standard table of ZIQMD initial size 0,
          IPRODUCT type standard table of ZPMS initial size 0,
          wa_quote type ZIQMD,
          wa_PRODUCT type ZPMS.
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER'
      TABLES
        I_QUOTE       = iquote          .
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION
    'ID4'
      TABLES
        I_QUOTE       = iquote          .
      COMMIT WORK.
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER'
      TABLES
        IPRODUCT       = IPRODUCT          .
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION
    'ID4'
      TABLES
        IPRODUCT       = IPRODUCT          .
        COMMIT WORK.
    when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER'  , but iam not getting data  for 'Z_CBT_RFC_PRODUCTMASTER'  interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
                  Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
    Thanks in advance.
    Thanks & Regards,
    Poorna.

    Just tried this and I can confirm that my earlier understanding was correct!
    One of my colleagues confused me out and the conclusion is,
    1. You need a separate TCP IP Connection for every interface with a Unique program ID.
    Regards
    Bhavesh

  • How can I use my itunes library for iphoto slideshow?

    how can I use my itunes library for iphoto slideshow?

    Here's a possible workaround:
    Create the slideshow in Iphoto and add a theme and music.
    Install Picasa  and it will include the slideshow on it's indexed list.
    Upload the slideshow to PicasaWebAlbums and send the link to anyone you wish.
    The music and theme is preserved.
    Caveat: My playback pictures appear darker than usual but that could be just lousy photography...:)
    Example:https://picasaweb.google.com/mb2180/Kona2011?authuser=0&authkey=Gv1sRgCPGWz_qPrM XKZA&feat=directlink

  • Can i use a thunderbolt display for my macbook pro and hp laptop with windows 7 and what adapters will i need

    Can i use a thunderbolt display for my macbook pro and hp laptop with windows 7 and what adapters will i need

    Hi jayhrab,
    Currently, the system requirements listed for an Apple Thunderbolt Display are:
    Thunderbolt-enabled Mac computer, including MacBook Air, MacBook Pro, Mac mini, and iMac
    OS X v10.6.8 or later
    Apple - Thunderbolt Display - Read the tech specs.
    Regards,
    - Brenden

Maybe you are looking for