Variables with Authorization as Processing type ...

Hi Gurus, I also wanted to see if we have any good example for this kind of variable?
I also have a question. If we have Authorizations on 0ORGUNIT and 0EMPLOYEE. The users will be able to see only what they are supposed to see. Now what is the use of a variable that is built on this chareacteristics with processing type "Authorization"? Since they already are restricted to see the data?

Consider this example:
Every cost center manager should only be allowed to evaluate data for his/her cost center. Within the SAP authorization standard, a role or a profile with the authorization for the InfoObject 0COSTCENTER equal to ‘XXXX’ (XXXX stands for the particular cost center) would have to be made for every cost center manager X. This has to be entered in the user master data for the cost center manager. In organizations where cost centers change on a regular basis, this involves significant administrative effort.
Using a variable reduces the authorization maintenance workload with the InfoObject 0COSTCENTER equal to ‘$VARCOST’, as well as with the role or the profile, which is maintained for all cost center managers. The value of the variable ‘VARCOST’ is then set for runtime during the authorization check by the CUSTOMER-EXIT ‘RSR00001’.
Maintaining the authorizations restricts the entries for the values to the length of the existing InfoObject. It is possible, however, to use both limits of the interval. In the example 0COSTCENTER with 4 spaces, the variable ‘VARCOST’ is, therefore, entered as ‘$VAR’ – ‘COST’.
refer:
http://help.sap.com/saphelp_nw04s/helpdata/en/91/a62c42fb6fdd2ce10000000a1550b0/frameset.htm for more details

Similar Messages

  • Unexpected problem with authorization scheme of type plsql function

    Hi,
    I have created one authorization scheme of type plsql function returning boolean. Authorization scheme is for pages only. p2_user_priviledge is a textbox on home page which extract privilege (list of pagenos) for login user from database. Home page has no authorization required. AUTHORIZATION SCHEME always returns false. I am not able to trace problem in my code. same code works fine for a textbox's default returning 'c'.
    ----- CODE FOR AUTHORIZATION SCHEME------------------------------------------------------------
    declare
    pageid varchar2(10);
    privilege varchar2(300);
    c number(3);
    begin
    pageid := ':P'||to_char(:app_page_id)||':' ; ---Pageno get stored in format  *:P2:*
    privilege := trim(:p2_user_priviledge); ++------Contain list of privilege like    :P2:P13:P67:P23:  etc+++ select instr(privilege,pageid) into c from dual;
    if c>0 then
    return true;
    else
    return false;
    end if;
    end;
    One more problem is again related to authorization scheme.
    I created one application and one authorization scheme (auth_aug) which worked finely. Then after some days i added 10 more pages to same application, But now autho_aug was always returning false for new pages. So i copied code from 'autho_aug' to new scheme 'autho_sept', & it worked for new pages. I don't understand if code is same for both scheme, why required to use two different schemes.
    Now i have added few more pages to application, and facing problem mentioned earlier.
    any solution for both the problems.....

    Hi,
    Let me clear my problem once again.
    -->Home page i.e. P2 does not use authorization, So it is displayed along with text item :p2_user_privilege.
    -->Then user click on one of the links , Now page :P70: should get displayed.
    P70 is using authorization scheme.
    -->But :p2_user_priviledge value is not accessible at authorization scheme, I dont know why.
    I could not find out where to create Application item , as suggested by you.
    & not able to find Developer menu , session at home page as suggested earlier.
    And one more question, my application at runtime display
    X en us
    at bottom
    How to make it
    USER: X Language: en us
    Like in development environment.
    Hope I have cleared my problem, waiting for reply.
    Edited by: TEJU on Nov 17, 2008 9:25 AM

  • Webi  Bypassing BEx Authorization Variable with SAP Exit

    BEx query has Hierarchy Node Variable with Authorization as processing type. Its set as User Input ready
    When the Webi report is refreshed, the LoVs appear as per the Authorization. However, if user doesn't select any value (pushes from right to left in variable screen) he gets NOT_AUTHORIZED error. Which is not intended, it should check the authorization in the background via SAP exit and populate the result. This is how it runs inBEx query.
    However, in Webi it's giving NOT_AUTHORIZED error? This is how the product is designed to work or is it a bug.
    I see several forum threads and SAP KBAs/notes but they are not answering my question. Could anyone please help.
    I am ready to provide more details on this error.
    Thanks,
    Tilak

    Hi,
    this is how authorization variable would work in any of the clients and not just Web Intelligence.
    You created an authorization variable which is configured as "read for input", so the user is getting prompted.
    So In Web Intelligence the LoV shows up.
    if the user does not select a value, then you are not sending a value, so you basically asking for all data and you are not allowed to see all data and therefore you are getting the message "no authorization".
    if you are making authorization variables as ready for input then the user needs to select the proper values - regardless of the BI tool.
    if you want the authorization to be check in the background then the authorization variable should be configured to not have ready for input.
    regards
    Ingo Hilgefort

  • With examples process types

    please give process types with examples

    hi raj,
    Process types in SAP with typical examples
    MTS----
    Auto parts
    MTO----
    Motor cycles, pumps
    Engineer to order----
    Elevators
    REM----
    switches
    Sales order based REM----
    Personal computers
    Mass production----
    lighting producs, walkmans,i pods
    PP-PI
    1.chemicals----
    Paints, solvents
    2.Pharmacheuticals----
    Tablets, medicines, syrups.
    Retail----
    Food, Cosmetics.
    IS - Auto
    IS - Oil
    IS - Retail
    IS - Mobile etc.,
    E N J O Y SAP
    MM Arunkumar.

  • Use of RSSM and authorisation processing type

    I create a authorisation object for customer using RSSM. At the report level, I want to create a variable on the "customer".
    If I create a User Entry/default value processing type  for the characteristic variable on "Customer", how will the system handle data restriction checks for different roles for "Customer".
    Or to make my question better,
    Are authorisation objects created in RSSM useful for only Variables with "Authorisation" processing type.
    Thanks
    Simmi

    hi Simmi,
    no, it's useful in infocube level, in rssm we mark which infocube(s), all queries to the infocube will have authorization check. processing type authorization will display report with restriction to all values given to the user.
    to restrict user by e.g customer, you need to maintain in role (transaction PFCG), choose created authorization object (RSSM), and assign value, and assign the role to your user.
    e.g role ZCUST, user A given cust1, user B given cust2 and so on.
    hope this helps.

  • How can we Restict the Char single value Variables with , , =

    Hi Experts,
    How can we Restict the Char value Variables with <, >, <=  (without selecting Inverval or only passing single value)
    For Example
    We have a standard Query 0FIAR_C03_Q1005, in this
    New Selection
    "1 - 15 Days, Posting Date<=Key Date, Clearing Date>Key Date"
    This is restricted  with the
    Clearing(0CLEAR_DATE)
    <Clearing key date(0P_KEYD3)  It is a single value SAP Exit Varible
    PostingDate(0PSTNG_DATE)
      <= Posting keydate(0P_KEYD3)  It is a single value SAP Exit Varible
    When seeing these 0P_KEYD3, 0P_KEYD3 variables in the New selection screen they looks like  >0P_KEYD3, <=0PSTNG_DATE
    if you define any custom variables these are looks like =ZV_DATE.
    to enable < , >, <= symbols for variables what we need to do.
    In other way
    Say we created one variable ZV_DATE single value, processing type as customer exit.
    for this we populated current day,
    Now Requirement is we need to display the all the records which are <= current date,
    instead of passing low and high values, i want to restrict the calday <=ZV_DATE
    New selection
    0calday
      <=ZV_DATE
    How can we achive this, this is how the business content report having the restrictions
    Please sugget me.
    Thanks
    Chandra
    Edited by: Chandra Gandla on Jun 18, 2010 11:01 AM
    Edited by: Chandra Gandla on Jun 18, 2010 11:01 AM

    Ok,
    In the InfoObject 0calday in the query designer under the filter area, under characteristic restrictions right-click over that InfoObject (0calday).
    In the next window (select Values for [0CALDAY]  Calendar Day in the dropdown box for "Show" choose Value Ranges. Under the word "Between"  dropdown box select "Less than or equal to"
    Below that word click on the button of the dropdown box Select from list.
    In the new window select instead of History Variables and double-click on your variable ZV_DATE.
    Click on the right blue arrow to move it to the right.
    And there you go.
    Tip: It exists a SAP standard variable named 0DAT which is exactly the current date (don't need to use ZV_DATE variable).
    Diogo.

  • OLAP Variable with user exit for Infopackage Selection 0fiscper

    Hi Frds/ Guru's ,
                    I have a requirement to use a OLAP Variable for Fiscal year period 0fiscper(Characteristic ) in the Infopackage Selection. . I need to extract the data for Previous Year and Current Year , that is to be automatically selected with a OLAP Variable . The standard one's provided by SAP are not satisfying my requirement,as they are getting populated with SAP Exit and I am not getting the ranges .I am planning to create a variable and use the processing type as Customer Exit and Populate it with ABAP code in respective Enhancement RSR00001.
    Even Can I create a ABAP Routine ? Please suggest me which is better to do in respect to performance of dataload  , will be really glad if anyone can provide some code for doing this as u might have faced the situation sometime .
    I have checked with all the threads available , could get some idea but will be really thankful if u gimme some hints in writing the code , at Exit level and routine level .
    Thanks,
    Krish

    thnx

  • 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

  • Charateristic variable with Processing type "replacement path"

    Hi all
    I am using BI 7.0;
    I have a characteristic ZPL_CNT in one dimensions of a Cube;
    now i want to use the value of  the ZPL_CNT as column in Query.
    So i created a formula and a formula variable with replacement path of processing type:
    setting:
    i created a new formula "Calculated MBZ"
    the formula variables is "ZMBZ" and inserted the variables into "Calculated MBZ"
    Reference characteristic: ZPL_CNT
    Processing type : Replacement path
    Replace variable with: Attribute value
    Attribute: characteristic Reference (constant 1)
    But i find the value in Query incorrect
    Can anyone help me solve this problem?
    Thanks!

    Hi Dragon,
    Can you not drag and drop this characteristic directly in the columns...have I misunderstood something?
    I think when you use replacement path in the formula variable , the fromula variable tries to find the reference characteristic value at each record level in the report and then replaces it with attribute value as defined and may be in your case as the characteristice is not defined in the row , it has problems to identify which value of the characteristic it has to replace.
    Regards,
    Sunmit.

  • BW Authorizations - Query variable with processing mode as "customer exit"

    Hi,
    Iam new to BW authorizations and have not yet worked on customer exit before. I was going through the documentation at various sites but I could not get the end to end description on how the query process( when using a variable for an InfoObject) works in case of customer exit.
    Let's assume that I am using  a query variable with processing mode as "customer exit" and at the exit I  write some code to extract user's authorizations from a z table. if this is the case, then when an end user runs a query,how will the the system know what value needs to be filled in the variable for the requesting user. Are the user details  also sent to the code along with the query variable? If so how. If I mis-understood the process then forgive me and let me know the correct process.

    Hi!
    welcome to SDN!
    customer exit variables need programing by user. so if you create a customer exit variable, you got to right a program which extracts values into this variable. we can do what ever we want in program, SAP will not deal anything ´with customer exits.
    with regards
    ashwin
    PS n:  Assigning point to the helpful answers is the way of saying thanks in SDN.  you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.

  • Processing type as SAP Exit with Variable 0F_ADAY

    Hi Experts,
    We are using the formula variable in our report as caluculated key figure.  I have edited the CKF and drill down the formula node to check the processing type of it and found as SAP Exit and the variable name is 0F_ADAY.  How can i navigate to get in to the SAP Exit code.  Any help will be appreciated.
    Thanks and Regards,
    Venkat

    Hi Venkat,
       Go to the function module "RSVAREXIT" (T.Code - SE37) and check for you variable (0F_DAY)there. From there u can check the code corresponding to that variable;
    Regards
    Prasad;

  • Authorization variable not filled with authorization values

    Hello All
    I post a similar message earlier this week, I thought that my issue was solved, but it was not.
    I've got a workbook with 4 differents queries.
    There as an authorizations variable in each query. This variable properties is as follows :
    **General tab**
    Type of variable : characteristic value
    Processing type : authorization
    Characteristic : company code
    **Details**
    Variable represents : selection options
    Variable is : optional
    Variable is ready for input : yes
    I've followed recommandations from OSS notes 976680
    My issue is : if I run each query individually, variable is filled with authorized values
    If I run the workbook, variable is not filled with authorized value, so when end user run the workbook, BW consider that end user wants to see all data and get "No authorization".
    I don't understand why variable within the workbook doesn't show the authorized values and why the queries do.
    Any suggestion about this issue ????
    Thanks
    Catherine

    Hi
    thanks for replying
    I ran the query with UserID from RSECADMIN and I could open the query. But if I want to select 0profit_ctr I get this error No authorization to characteristic values.
    I  checked the log and this is the message.
    Value Authorization
    InfoProvider FIGL_MP1
    Value Authorization for Characteristic 0PROFIT_CTR
    Building the Buffer...
    Building the Buffer...
    No Authorization for Values
    thanks

  • SAP BO WebI Report on top of BI Bex Query with Authorization Variable

    Hi,
         We are trying to restrict row level data using BI 7.0 analysis authorization concept. We have an authorization variable in the Bex query and is working perfect in Bex Analyzer as well as in RSRT.
    Now we are trying to achieve the same thing in BO webI. We created an Universe using Authentication Mode SSO. We are on BOXI 3.1 and implemented SSO. When we try to run the query in WebI we get the error
       "A database error occured. The database error text is: Error in MDDataSetBW.GetCellData..(WS 10901)"
    Just for testing purpose, when we use query filter in WebI and use Values from List, it is showing only the authorized value it supposed to show and runs well with that value selected. But we have to achieve this without the query filter in WebI.
    So are we missing some thing here or any patch issue? Please share if you have done this type of reports in BO.
    Thanks in advance for your help.
    Moorthy.

    Yes I did run MDXTEST and it gives error as 'you do not have sufficient authorization'. The reason it is giving, I guess and we are debugging that to confirm, is first it looks for 0BI_ALL and throws error which is not the case in Bex. See the following trace in RSRT trace.
    InfoObject Properties Defined
    Reading of Directly Assigned Authorizations
    Direct Assignment Does Not Include Universal Authorization 0BI_ALL
    Reading the Indirect Assignments with Authorization Object S_RS_AUTH
    Does user have OBI_ALL?
    No, the User Does Not Have Universal Authorizion 0BI_ALL
    Negative Entry in SU53 Result of Failed Check for 0BI_ALL
    Indirect assignments found; no universal authorization
    Reduction of Authorization Dimensions on Characteristics in InfoProvider
    Reduction Successful
    Thanks!
    Moorthy

  • Node variable in query - Processing type customer exit?

    We are on NW 2004S. I created a hierarchy for an info-object along with several nodes and child nodes.
    I also created a node variable in a query for this info-object. I have the following questions with regards to using node variables in a query.
    1) Can I use a node variable with processing type 'Customer Exit". My objective is to set the value of the node variable in the user exit.
    2) If answer to first question is "Yes", how would I code the node value in the user-exit - Example code or some pointers to that effect.
    I really appreciate your thoughts on this issue.
    Thanks,
    Sanjay

    Hi Sanjay,
    As far as I'm aware this hasn't changed in NW2004s, (in any case it still works), so:
    1)Yes you can, no difference with other type variables.
    2)In userexit EXIT_SAPLRRS0_001 (include ZXRSRU01).
    There's different options depending on at which stage you want to change it:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm
    If you do a forum search on above technical names I think you'll find plenty of coding samples, but if you want something more specific, I'd be happy to help you out.
    Regards,
    Pieter

  • 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

Maybe you are looking for

  • Trying to download photoshop cc trial on hp windows 7...

    I am trying to download the photoshop cc trial on my hp. I keep getting an error message saying I am not connected to the internet although I am. This happens when I try to run the installer. maybe my pc is too antiquated? Help?! Thanks. SJJ

  • Xi JDBC Adapter - Query SQL Statement & Update SQL Statement

    Hi! I configure the JDBC adapter sender (XI) to take data from Oracle database. I set the Query and Update SQL Statement in the Processing parameters of the communication channel in this way: Query SQL Statement : SELECT * FROM XI_TABLE WHERE STATUS

  • What is the best format & settings to edit video in FCP?

    My organization uses a HD Panasonic Camera to record video, which is recorded in .MTS. Our editing software (FCP 7) is installed on a Mac and I am unable to view or edit the original video until I convert it into a different format using iSkysoft iMe

  • Minimum & maximum price paid for material

    hi gurus Can u tell me how to see max.& minimum purchase price paid for material with respect to vendor. Reg ROC

  • 6280 has 44 messages(sms&mms) stuck in outbox,

    when attempting to get into the outbox folder it says operation failed try again later!!! unable to access the folder to clear them out. helpful staff in vodafone shop said mite need some new software!!!! cheers