Variable of type authorization

Do all authorization variables in BI 7.0 required user code be written in order for them to work?

Hi,
there are 2 types of variables that you can use for analysis authorizations:
1.) Customer Variables
These variables are filled with values derived in the customer exit. They can be used instead of values for characteristics in the analysis authorization. Instead of entering the value, you enter the name of the variable as $<variable name> in the maintenance of the authorizations.
2.) Authorization Variables
The value of a characteristic is replace by the values that are stored in the authorization of a user. This is happening during the query execution. The variables can be used for characteristic values and for hierarchy nodes.
  Cheers
      SAP NetWeaver BI Organisation

Similar Messages

  • Using BPS Variable of Type Authorization

    Hi,
      I have tried to use a variable of type 'Authorization' to effectively control the access of a certain set of users for certain version of plan data.
    Example: User A can have access (change) to both plan version 01, 02
                   User B can have change access to version 01 and only display access to version 02 of plan data.
    I am trying to have both the version displayed in the single layout (web as well as excel).
    I couldn’t find detail info on this, any help is appreciated.
    Thanks

    Hello,
    Authorization variables are not the appropriate option to restrict display/write access for the scenario you mention.
    My suggestion would be to create 2 layouts. In one layout the users can write to both the versions and in the second you can have the option to write to version 1 and display version 2.
    You can then have authorizations set on these layouts to restrict access.
    Hope this helps.
    Sunil

  • BEX Variable processing type Authorization

    Hello ,
    Currently we have Company code as Authorization relevant and we have BEX Variable of processing type "Authorization". currently when user executes the BEX query, he is able to see list of company codes which he as authorization to and all of them were selected in the prompts. Now the requirement is, User want to see list of company codes which he as authorization to in F4 but nothing should have been pre-selected in the prompt, he will select manually the company codes what he wants.
    please guide me how to achieve this.
    Thanks,
    Ashok Kumar

    Actually, the default values(in Bex) are bound to appear as per RSECADMIN definition. That's how it behaves. To try in a different way for your Authorizations, you may try with a BADI with all Authorized values in the code. Please search below document in SCN.
    Restricting F4 (Input Help) Values While Running a SAP BW Query

  • Derivation from variable type authorization in exit

    Hi Experts,
    I have got a query with two variables "AUTH" type authorization and "DERI" which should be derivate from "AUTH".
    "DERI" is type Exit.
    my problem, in the exit "AUTH" is not in i_t_var_range. Where do I get the value of "AUTH" from, to use it in the exit logic?
    Thanks for your help
    Pierre

    I Peter
    I needed to make the same thing.
    Did you found a solution?
    Best regards
    Joã

  • Authorization check without using variable of type u0093Authorizationu0094

    In WEB-reporting we want to authorize on a navigational attribute without using the variable of type
    “ Authorization”. Why would we do this?
    1. In a lot of queries we have to replace the existing variable of type “User entry” to a variable of type “Authorization”. We would like to avoid this work.
    2. When the variable is not ready for input the Report will always include all the characteristic values for which the user is authorized. We don’s want this.
    3. When the variable is ready for input on the selection screen all the authorized values are displayed and the user is able to select / deselect the values he/she wants to report. In case of a lot of authorized characteristic values the screen does not appear user-friendly.
    What we want is a behavior like some parts of R/3. For example: Controlling Area X consists of the Costcenters C1000, C2000, C3000, C4000, C5000 and C6000. A particular user has authorization for Cost centers C1000, C3000 and C5000. When running a ABAP-report with Cosctcenters the user is able to select certain Costcenters. Three possibilities:
    1. The user selects Costcenter C1000, C3000 and / or C5000: the ABAP reports the selected Costcenters.
    2. The user selects Costcenter C2000, C4000 and / or C6000: the ABAP gives an error-message: “no authorization”.
    3. The user does not select any Costcenters: the ABAP reads all the Costcenters and reports – on the basis of the users authorization – only Costcenters C1000, C3000 and C5000.
    In term of BW: we would like to introduce authorizations for a specific InfoObject which is used as an navigational of an other InfoObject. In the queries a variable is used of the type “User entry”. The user can select one or more values on the selection screen; an authorization check is fulfilled. He may – however – choose to leave the selection field empty; in this case the OLAP processor should report only the authorized values (in our case the last situation results directly in an error-message “no authorization”).
    Anyone has a suggestion?
    Thx in advance,
    Henk

    If you change the variable to type exit, and user input enabled, you can then build your logic in the user exit.
    If users have entered unauthorised values, it will be checked (by the system??). If this assumption is correct then all you need to do in your exit is to continue with the values entered by the user; and in case user has entered no values, populate the variable with values valid for the user (by reading the user authorization and corresponding charactertistics values and moving these to the variable).
    --> Adding further
    Since the authorization will not be checked by the system (I missed that these are not of authorization type variables), user exit will need to do this check. The logic for doing authorization checks / error messages / restricting based on authorizations - will have to be done in the user-exit.
    cheers,
    Message was edited by: Ajay Das

  • Hierarchy authorization with variables of type exit

    Hi all,
    I am trying to implement hierarchy based authorizations with variables. After collecting information from the SAP documentation and this forum, I think I know more or less how to do it, but it's not working and it has me very confused.
    These are the steps I have followed:
    - From RSSM, I have created a hierarchy authorization object including my characteristic and 0TCTAUTHH
    - From RSSM again, I have created a hierarchy authorization pointing to the node $ZG_V_008
    - From the Query designer, I have created a hierarchy node variable of processing type customer exit ZG_V_008 (are any special settings needed here?)
    - From the Query designer, I have created <b>another</b> hierarchy node variable of processing type authorization, and I have used this variable to restrict the hierarchy for my characteristic
    - I have edited the EXIT_SAPLRRS0_001 to watch for I_STEP = 0 and give values to ZG_V_008 (we'll get to my code later in case we solve this issue first
    It is my understanding that with this setup, the user exit will be called to process the value of ZG_V_008 in I_STEP = 0, however, when debugging, I don't see any calls for the function with I_STEP = 0.
    What have I done wrong?
    Thanks a lot in advance.
    Guillermo

    Thanks, Jimmy, but that does not help much: my problem is that my user exit is not evaluated with I_STEP=0, but there are no error messages or anything like that.
    I have created a test user <b>without</b> a developer role to see if that could have any impact, but it's still not working.
    Any ideas?

  • Variables & Processing Types

    Hi,
    I am looking for variables & Processing types.Could any one guide me on Variables & Processing types in BI 7.0.
    Thanks in advance!
    Regards,
    Vijji

    Hi Vijji,
    We have five types of variables in BI 7.0
    1) Characteristic value variables
    2) Text Variables
    3) Hierarchy variables
    4) Hierarchy node variables
    5) Formula variables
    we can pass the values to this variables using 5 processing types
    1) Manual Entry/ Default value
    2) Replacement path
    3) Authorizations
    4) Customer exits
    5) SAP Exit
    In the below link you can check which process type is varilable for which variable.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/579b3c494d8e15e10000000a114084/frameset.htm
    Regards,
    Venkatesh

  • How to get values from a stored package variable of type record ?

    Sir,
    In my JClient form, I need to get values from a database stored package variable of type record. And the values are retained in the JClient form for the whole session. The values are copied only once when the form is started.
    What is the best way to do that ?
    Thanks
    Stephen

    Stephen,
    not sure what your model is, but if it is Business Components, I think I would expose the properties as a client method on the application module. This way all JClient panels and frames will have access to it. You could use a HashMap to store the data in teh app module.
    If JDBC supports the record type, then you should be able to call it via a prepared SQL statement. If not, you may consider writing a PLSQL accessor to your stored procedure that returns something that can be handled.
    Steve Muench provides the following examples on his blog page
    http://otn.oracle.com/products/jdev/tips/muench/stprocnondbblock/PassUserEnteredValuesToStoredProc.zip
    http://otn.oracle.com/products/jdev/tips/muench/multilevelstproc/MultilevelStoredProcExample.zip
    Frank

  • Store a double into a variable of type int

    if I have a calculated value of type "double", and I would like to store it as an "int" in a variable of type "int".
    when i casted the double to int, seems it doesn't work.
    what should the command be?
    Thanks in advance!

    post your expression. I'd bet you aren't casting the value of assignment but rather a component of some computation.
    Something like this:
    double dub = 2.4;
    int returnvalue = (int)12/dub;as opposed to
    double dub=2.4;
    int returnvalue = (int)(12/dub);In the first entry, you would be casting 12 to an int and then dividing by a double and assigning the result to an int (returnvalue). Java will always try to expand precision to greatest common denominator, so the return value of the division will be a double (and hence the loss of precision assigning it to an int). The second entry properly casts the result of the whole expression as an int before assigning it to the int variable.

  • Mapping proc output to vars gets error extracting result into a variable of type (DBTYPE_UI2)

    Hi, we run std 2012.  I have a proc (sets nocount on) whose params r shown in the first block .   My execute ssis sql task mapping is shown in the block following that (same order as shown, the param sizes are all -1).  The variable
    characteristics and initial values are shown in the 3rd block.  The execute sql task command is
    exec usp_fileArrivalStatus ?,?,?,?,?,? output,? output,? output
    when I run the proc in ssms followed by a select on the output fields, I get stat 0, instance id -1 and file name empty string (aka tick tick aka '')
    The error is:
    [Execute SQL Task] Error: Executing the query "exec usp_fileArrivalStatus ?,?,?,?,?,? output,? ou..." failed with the following error:
    "An error occurred while extracting the result into a variable of type (DBTYPE_UI2)".
    Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Does anybody know what is wrong?
    CREATE PROCEDURE [dbo].[usp_fileArrivalStatus] @NewFilePattern varchar(500),
    @PkgName varchar (257),
    @appid int,
    @MsgHistCreateDate date,
    @messageFriendlyName varchar(500),
    @arrivalStatus int output,
    @instanceId bigint output,
    @fileName varchar(500) output
    VariableName Direction DataType ParamName
    User::TranFilePattern Input VARCHAR 0
    System::PackageName Input VARCHAR 1
    User::AppID Input SHORT 2
    User::todaysDate Input DATE 3
    User::TranFileArriveStatus OUTPUT SHORT 5
    User::TranFileInstanceId OUTPUT LARGE_INTEGER 6
    User::TranFileName OUTPUT VARCHAR 7
    User::TranFileFriendlyName Input VARCHAR 4
    User::TranFilePattern,string,tranfile05-Nov-2014
    User::fileDate,string,05-Nov-2014
    System::PackageName,
    User::AppID,int32,12
    User::todaysDate,DateTime, set by select getdate()
    User::TranFileArriveStatus,int32,0
    User::TranFileInstanceId,Int64,0
    User::TranFileName,string
    User::TranFileFriendlyName,string,Tran File

    I may have gotten past this.  The ui showed the first execution of that proc as the aborting component but when I looked at my error code (-1073548784), and component name in the
    message sent with notification email, I noticed the second component name.  It too executes that proc and still had ushort for appid in sql task mapping and long for instance id.  I changed these characteristics to match what I posted and got green
    on the seq container that runs both.
    I think I go thru this kind of adventure every time I try to map proc output to ssis vars.   

  • Why assigning a subclass instance to a variable of type of superclass ?

    Hi all,
    What is the significance of assigning an instance of a subclass to a variable whose type is a superclass's type.
    For eg. List list=new ArrayList();
    If I do so is it possible to execute the methods of the subclass ?
    regards
    Anto Paul.

    In addition, this is what polymorphism is all about:
    abstract class Animal {
      String name;
      Animal(String name) {
        this.name = name;
      public abstract void voice();
    class Dog extends Animal {
      Dog(String name) { super(name); }
      public void voice() {
        System.out.println(name+" barks");
    class Cat extends Animal {
      Cat(String name) { super(name); }
      public void voice() {
        System.out.println(name+" miaows");
    public class Polymorphism {
      public static void main(String args[]) {
        Animal[] animals = {
          new Dog("Fido"),
          new Cat("Felix")
        for (int i = 0; i < animals.length; i++) {
          animals.voice();
    Here, we are looping through an array of Animals. In fact, these are concrete subclasses of the abstract Animal class. In this simple example, you can see from the code that the animals array contains a dog and a cat. But we could even extend this to read in an arbitrary Animal object that had been serialized into a file. At compile time, the exact class of the serialized animal would not be known. But polymorphism occurs at runtime to ensure the correct voice() method is called.
    For the List, or Map example, conisder this:
    public SomeClass {
      public HashMap map1 = new HashMap();  // this ties you to hashmap
      public Map map2 = new HashMap();      // this allows you to change Map implementation
      public void process(HashMap map) {}   // this ties you to hashmap
      public void process(Map map) {}       // this allows you to change Map implementation
    }Suppose you use a HashMap for map2 to start with. But at some point in the future you would like to ensure your map is sorted. By specifying map2 to be a Map, you can change the implementation without having to modify each method call by simplying changing the initiliastion to be:
    Map map2 = new TreeMap();Hope some of this helps :) Cheers, Neil

  • How can I assign a hard coded value to a variable of type OBJECT.

    Hi,
       I have to call the following method
                                      lc_action_execute->get_ref_object(
                                                            exporting
                                                                  io_appl_object = io_appl_object
                                                            importing
                                                                   ev_guid_ref    = lv_guid_ref.
    Now I have to hard code the io_appl_object variable (of type OBJECT) to test my application for the time being. How can I assign a value to the variable? Is there any way to do that?

    I wouldn't use WDR_CONTEXT_ATTR_VALUE_LISTGEN.  Use wdr_context_attr_value_list instead:
    data l_topics type zpm_main_topic_tbl.
      l_topics = wd_assist->read_all_topics( ).
      data lt_valueset type wdr_context_attr_value_list.
      field-symbols <wa_topic> like line of l_topics.
      field-symbols <wa_vs>  like line of lt_valueset.
      loop at l_topics assigning <wa_topic>.
        append initial line to lt_valueset assigning <wa_vs>.
        <wa_vs>-value = <wa_topic>-main_topic.
        <wa_vs>-text  = <wa_topic>-main_topic_desc.
      endloop.
      data lo_nd_meeting type ref to if_wd_context_node.
    * navigate from <CONTEXT> to <MEETING> via lead selection
      lo_nd_meeting = wd_context->get_child_node( name = wd_this->wdctx_meeting ).
      data lo_node_info type ref to if_wd_context_node_info.
      lo_node_info = lo_nd_meeting->get_node_info( ).
      lo_node_info->set_attribute_value_set(
         name = 'MAIN_TOPIC'
         value_set = lt_valueset ).

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • Newbie how to define variable of type element?

    JDEV 10.1.3.1
    When I perform the following from BPEL designer in JDEV...
    variable new
    create variable
    Select element type
    Select a local file schema xsd
    Select element of choice
    Seems to define OK but fails to compile. Namespaces appear to include the namespace defined in the xsd.
    When I define variables of type message and browse to the appropriate wsdl and pick a message from there this seems to work / compile just fine.
    I am sure that since I am just getting started that this is a common error, please assist and thanks. Must all variables be defined as message types and reside in a WSDL?
    Thanks,
    John

    Hello John,
    I'm not sure whether it is possible to import a schema into a process directly. What I usually do is to import it into the wsdl-file describing the process interface. This is the file you use to define the client-partnerlink. If your schema is imported correctly, you can access the type-definition via the partner-links-node in the type chooser (this works at least in JDEV 10.1.3.3 and 10.1.3.4).
    To import your schema into the wsdl, you need to go to the structure-view in wsdl-editor and after a right-click on the types-node select "insert types". Inside types you insert XML-Schema, inside schema you need to insert an import-tag. The properties for this tag are the file-location and the target namespace used in the schema. The resulting XML-structure should look like this:
    <wsdl:definitions xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:tns="http://xmlns.oracle.com/Order_Booking___Shipment" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="Order_Processing_SystemPLT" targetNamespace="http://xmlns.oracle.com/Order_Booking___Shipment">
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import schemaLocation="Order_Booking___Shipment.xsd"
    namespace="http://xmlns.oracle.com/Order_Booking___Shipment"/>
    </schema>
    </wsdl:types>
    </wsdl:definitions>
    Greetings,
    Christoph

  • Constraints on variables or types?

    Anyone know the preferred method that Oracle uses to place constraints on variables or types?
    For example, say I have a global variable in a package called v_MyValidTypes NUMBER but the only valid values are the numbers 1-9. Can I declare a type and place a constraint on that type or can I just place a constraint on a variable?

    You want the RANGE predicate:
    <pre>
    DECLARE
    SUBTYPE single_digit IS PLS_INTEGER RANGE 1..9;
    x single_digit;
    BEGIN
    x := 7;
    x := 77;
    END;
    </pre>
    Scott

Maybe you are looking for

  • How do i merge multiple iPhoto libraries?

    I am organizing my grandfathers MacBook.  Let's just say he's not very smart with technology. He has many iPhoto libraries and copies of those libraries, so I need to condense it all into one. I really need help, I hope I can get some help. Thank you

  • Can I open a new browser window from a movie clickbox

    Hi, This is a last question from me, I hope. (I'm within a month of delivery, and my boss keeps saying 'a user's asked for this or that', but I'm meeting many of their requests with technical obstacles. Oh dear.) Here's the question: From a caption c

  • Report In Web Analysis Studio

    I am new to web analysis studio. We have essbase application and want to create a report for Top 50 customers. When I am creating report in web analysis then I am able to see the mmember and able to design the layout. But I dont know where to give th

  • OT: Regex Question

    I'm doing a series of search and replace operations with Dreamweaver and wondered if anyone can suggest a regular expression for a particular situation. The following URL is fine as it is: <td><a href="http://www.geoworld.org/Brazil" title="Brazil">B

  • Summary and Capacity????

    Hopefully a simple question. When i sync my Ipod the capacity meter (on the summary screen) says that 10 gb are devoted to OTHER. What in heaven's name is other? How do i find out where that memory has gone to or is devoted to?