BI7 query needs to restrict on variable

Hi Team,
We have created a query in BI7 with variable & we are able to execute same query with value of variable. We have variable on grade field and grade field having values like A, B, C. We have created custom object like z_grade and provided corresponding info object values in that object. In technical character we are proving values only 'C' in from and to field still query is executing with all variables. We are providing access of S_RS_AUTH with values OBI_ALL
1. Let me know how we can restrict this query with variable 'C' only.
2. Let me know what the actual function of S_RS_AUTH object is in this regard.
Thanks & Regards,
Digambar

Hi Digamber,
Maintaining S_RS_AUTH as 0BIL_ALL is just like SAP_ALL, i guess you should go through the SAP BI Authorization concept.
Try searching in SDN Library for SAP BI Authorization concept.
https://www.sdn.sap.com/irj/scn/advancedsearch?query=sapBISecurity#sdn_content_category_value_library
Cheers !!
Zaheer

Similar Messages

  • How to restrict the variables in BPS

    Hi experts,
    I have a problem with restricting the variables in the BPS function.
    In the planning area, I have created a characteristics variable with user define value (input allowed by user) replacement type.
    Yet, in the planning folder, it seems that I can only select either a single value (for example material 1000) or a range of values (for example material 1000 to 5000).
    I can't choose several single values (for example 1005, 1020, 1030).
    Since I need this functionality, do you maybe know how to solve this problem?
    Thank you very much.

    BPS variables does not allow the choice of multiple single values, you can choose a single value OR a range of values. This issues has been brought up with SAP Development.
    If you need single values or a complete range of values, you can add each single value as a fixed value and the range as another fixed value that can be selected. You can select each single value individually or the whole range (or any subranges you specified) but not multiple selections of single values.
    In user definted variable if you check input allowed by users, you can add some values and the users can add more but then they could potentially go into material numbers they should not get access too.
    Hope it helps.
    Regards

  • Defining more parameters than a query needs

    Hi.
    When I run the following code, I get the error "ORA-01036: illegal variable name/number" .
    The problem is that I currently define more parameters than the query needs. Thats because I don't know how many bind variables the query uses, and I would not like to parse the query ...
    I don't understand why I have to define exactly the same number of parameters, and in the exact order ... It doesn't make sense. As bind variables have names, there should be no problem passing more parameters or parameters in a different order: the binding should be done by name...
    I'm currently using Oracle10g, ODP.NET and .NET Framework 2.0.
    I would appreciate any help ...
    Thank you.
    Ricardo Coimbras
    ===== BEGIN VB.NET CODE =====
    Sub Execute_Query(ByVal SqlString as String)
    Dim ObjCmd As OracleCommand
    Dim DataAdap As OracleDataAdapter
    Dim outDsCorpo As DataSet
    Dim Constroi_Conn_String_Oracle As String
    Dim mObjConnOracle As OracleConnection
    Constroi_Conn_String_Oracle = "User ID=uuu" & _
    ";Password=ppp" & _
    ";Data Source=bd" & _
    ";Pooling=false"
    mObjConnOracle = New OracleConnection(Constroi_Conn_String_Oracle)
    mObjConnOracle.Open()
    ObjCmd = mObjConnOracle.CreateCommand()
    ObjCmd.CommandType = CommandType.Text
    ObjCmd.CommandText = SqlString
    ObjCmd.Parameters.Add("p1", OracleDbType.Char, 3, "001", ParameterDirection.Input)
    ObjCmd.Parameters.Add("p2", OracleDbType.Char, 3, "001", ParameterDirection.Input)
    DataAdap = New OracleDataAdapter(ObjCmd)
    outDsCorpo = New DataSet()
    DataAdap.Fill(outDsCorpo)
    GridView1.DataSource = outDsCorpo
    GridView1.DataBind()
    DataAdap = Nothing
    ObjCmd = Nothing
    mObjConnOracle.Close()
    mObjConnOracle.Dispose()
    mObjConnOracle = Nothing
    End Sub
    Execute_Query "select * from map.t_mapa_def where mapa_def_cod = :p1 order by mapa_def_cod"
    ===== END VB.NET CODE =====

    Hi,
    BindByPosition is the default behavior as per the docs, and you can change that by setting cmd.BindByName=true which adds a little bit of extra overhead.
    That wont fix the error seen when binding a random number of parameters to the statement though. You need to bind the correct number and types of parameters.
    Greg

  • Need to restrict users from adding or modifying folders or reports

    Requirement: Need to restrict users from adding or modifying folders or reports through Info view and to reflect the modifications only thriough LCM.
    Issue: Customer wants to restrict users from adding or modifying existing reports from Infoview and need to force users to do make the changes through Life cycle manager tool.
    As per my understanding LCM can only be used to to promote folders and objects from one environment to another and to schedule the promotion of these jobs on a daily basis.My query is:
    Can we add or modify existing reports or folders using the LCM tool?
    Could you please help me out in this issue and provide me your suggestions.
    Thanks in advance.
    Prashanthi Rayaprolu.

    You can not restrict that using LCM. Need to modify the rights at the folder level.
    Explicitly remove the following rights for the user group,
    Add objects to the folder
    Edit objects
    Delete objects
    Copy objects to another folder (check this if required)
    Once the above four are denied then users wont be able to Edit/Add/Delete reports in that folder.

  • Need to restrict selection screen entries in logical database in HR report

    After creating custom HR Report Category using Logical database, I need to restrict the options available in the in the selection Screen
    for example- for company code i m getting 182 entries, but after running the program, selection-options for company code, i need only first 3 entries, don't want remailing entries
    how can i do this?

    Hi
    You can retrieve the required entries into an internal table and use FM F4IF_INT_TABLE_VALUE_REQUEST to provide them under F4 help.
    Regards
    Raj

  • Need to restrict values in F4 help for Batch Characteristic

    Hi,
    I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
    Regards,
    Nikhil

    Hi nikhil simha,
    first of all, find out which search help is called.
    [Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
    may help you.
    If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
    If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
    Regards
    Clemens

  • I lost my restrictions password and want to reset my ipod so i can put a new one on, when i try reset it it makes me put in my device password and restrictions password! How can i reset my ipod if i need the restrictions password why i am resetimg my

    I lost my restrictions password and want to reset my ipod so i can put a new one on, when i try reset it it makes me put in my device password and restrictions password! How can i reset my ipod if i need the restrictions password which is why i am resetimg my. Ipod

    Forgotten RESTRICTIONS Passcode
    - Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored. Place the iOS device in Recovery Mode if necessary to allow the restore.
    - Restore to factory settings/new iPod. . Place the iOS device in Recovery Mode if necessary to allow the restore.   
    - If you are up to file manipulation see the following but it may not work for iOS 6.1.3 or iOS 7
    How to reset forgotten Restrictions...: Apple Support Communities
    - How to Recover Restrictions Forgotten iPhone Restrictions Passcode | The iPhone and iPad Blog

  • I have bought an ipad, and when i go to reset it, it needs the restrictions password which i dont know. When i plug it into itunes, it asks to turn find my iphone off, which needs the password of the old owners itunes.What should i do?

    I have bought an ipad, and when i go to reset it, it needs the restrictions password which i dont know. When i plug it into itunes, it asks to turn find my iphone off, which needs the password of the old owners itunes.What should i do?

    If you're able to contact the person who set the lock, send them this link and tell them to follow its instructions.
    If not, you can't use the device but may be able to get it refunded. Apple won't remove the lock for anyone other than the original owner(assuming they're alive.)
    (119278)

  • How much UNDO does a query need?

    It seems that due to a gigantic delete, I am running out of UNDO. How can I see exactly how much undo a query needs?
    Searching on the web, I found this:
    select sq.sql_text sql_text, t.USED_UREC Records, t.USED_UBLK Blocks, (t.USED_UBLK*8192/1024) KBytes from v$transaction t,
    v$session s,
    v$sql sq
    where t.addr = s.taddr
    and s.sql_id = sq.sql_id
    and s.username = 'blah'
    , which is fine, but it seems to be returning results for only running queries. In other words, when the delete query I am investigating is executed, the above select returns no rows. Is there a way to modify it to return also queries that have been executed?
    Any help is welcome.
    Message was edited by:
    user622271

    Hi,
    It seems that you need to make an outer join between v$sql and v$session views [s.sql_id = sq.sql_id(+)] ... For more information is if this [url http://forums.oracle.com/forums/thread.jspa?messageID=1756927&#1756927]thread can help you.
    Cheers
    Legatti

  • SQL query needed to identify cancelled invoice where distribution lines

    SQL query needed to identify cancelled invoice where distribution lines Debit is not equal Credit line item in particular
    Is there a way from back end FROM ap_invoice_distributions_all where we can find for the cancelled invoice where distribution lines Debit is not equal Credit line item
    Regards,
    Prakash Ranjan

    Hello Prakash
    Can you please see if this query helps you?
    SELECT i.invoice_id, i.invoice_amount, nvl(sum(d.amount),0)
    FROM ap_invoice_distributions_all d, ap_invoices_all i
    WHERE i.org_id = <you org_id>
    AND i.invoice_id = d.invoice_id
    AND d.line_type_lookup_code not in ('PREPAY')
    AND i.cancelled_date IS NOT NULL
    GROUP BY i.invoice_id, i.invoice_amount
    HAVING (i.invoice_amount <> nvl(sum(d.amount),0))
    ORDER BY i.invoice_id asc
    Octavio

  • Need to restrict access to XD02/XD03

    Hi All,
    I  need to restrict access to some acct group in the search screens for individuals who do not have access to this account group in transaction XD02/XD03.  Other than this group we should not allow to search the screens.
    Please guid me if any exit / badi....etc. where i can put this validation.
    Thanks.
    Raj.

    Hi,
    Try this link...
    Customer Master Maintenace - restriction general data tabs
    Regards,
    Guru

  • Need help restricting internet usage for a minecraft server.

    I have a WRT54G routher hardlined to a Ubuntu 12.04 server that is dedicated to minecraft.
    I have two ports opened for Minecraft to run off of.
    I'de like to give remote access to the computer to other people to help me maintain the server.
    BUT I need to restrict ANY and ALL ability for them to access the internet by either blocking all other ports or something else. Id rather not have to restrict it through Ubuntu if I don't have to.
    I'm a noob when it comes to figuring this out. Any help would be appreciated.
    Thanks in advance,
    Pat

    Let me verify a couple of things. You want to have your computer remotely accessed by others to help you maintain your server, right? You also want to restrict internet access to these, correct? They won't be necessarily running off of your connection. Remote access requires for them to have internet access to begin with. If your remote desktop setup is configured and working, I don't think there is anything to worry about.

  • Query View in Replacement Path variable

    When selecting the query for a replacement path variable there is an option 'Use View for Query Start'.
    Does anyone know what this is (supposed) to do?
    Whatever setting I use during testing, the result is always the same.
    Thanks,
    József.

    I, too, have this same question.  I have looked for an explanation of the "Use View for Query Start" checkbox and its usage, and while I would expect that to be explained in one of the following links, it is not...
    http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/bd/589b3c494d8e15e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/ee/1e9b3c334d8c15e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/2c/78a03c1178ad2ce10000000a114084/content.htm

  • RSCRM: Query date with customer exit variable

    Hi All,
    Is there any way to run the RSCRM transaction with a query with a customer exit variable for a date characteristic?
    The issue is that the query ran ok but the variable is not being updated when the RSCRM query is running with a background job or a process chain.
    Thanks in advance
    EV

    I do not think you can select Customer Exit variable, if you see the type is selected to Char Value Variables and it is not editable.
    It would be suggested to go for Customer Exit procesing type for your text variable.
    Cheers,
    Neel.

  • Query needed

    Query to get list of employees having photo attached with their profile and query needed to extract the January to April timesheets approved in oracle on 6th May 2008

    sorry could not understand your question completely.
    I think following query should work, but I am not sure
    select *
    from hxc_time_building_blocks
    where start_time >= sysdate - 60
    and scope = 'APPLICATION_PERIOD'
    and trunc(date_from) = trunc(sysdate)
    and date_to = to_date('31-12-4712', 'DD-MM-YYYY')
    and approval_status = 'APPROVED';
    Change your date from sysdate to some other date. This query is not optimized so you need to tweak it a bit if it works at all.
    Any other OTL Expert on this

Maybe you are looking for

  • Firefox 22 crashes when clicking a link in a thunderbird 3.011 email

    I updated to FF 22 a couple of days ago and found that when I clik on a link in a Thunderbird email FF doesn't start but immediately crashes. Safe-mode does nothing to help. If I start the browser first it seems to be ok. It is set as the default bro

  • Outlook Contact Card - Organization Tab disabled users

    In Outlook there is a Contact Card showing detailed information about that person. the Organization tab shows the contact's "Manager", "Shares Same Manager" (other contacts with the same manager), and "Direct Reports" (people that report to that cont

  • NIC card on solaris 10

    I have an ultra 10 running solaris 10 06/06. when i boot my system and run the ifconfig -a the hme0 interface does not show up, but i can type "ifconfig hme0 plumb up" and the interface will go up. is there a file that i need to edit to bring the int

  • Screen unresponsive since upgrade to ios 7

    I have an iphone 4 that I upgraded to ios 7. Since then at times the screen is unresponsive. I can't answer calls, unlock screen, send messages or open apps. This occura all over the screen not just one spot. Other times it is fine. this is very anno

  • Keynotes and PPT Attachments

    When I return to a PPTX that I have opened from a Mail attachment and then opened in Keynotes I cannot get the attachment in Mail to close as I can with other attachments. I tap the opened PPTX attachment in Mail and I do not get a bar at the top of