Authorization according to value

Hi,
Is it possible to give authorization according to value of a field? For exp, if expected sales volume is smaller than 1000 then everyone can display. But if it is greater than 1000,  employees can display who has authorization. Is it possible.?
Thanks in advance.

Hi,
Not via standard authorization objects. My suggestion is that you create a new authorization object in SU21 and add it to your PFCG roles with relevant values. And then make an implementation of BAdI CRM_ORDER_AUTH_CHECK-CRM_ORDER_ADD_AUTH_CHECK where you call your own authorization object after reading the values as per your requirements.
Br,
Anders

Similar Messages

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • What to set authorization on characteristic value

    HI team I want to set a authorization on characteristic value, to be displayed in Bex report depending on user accessing that report
    Say : I have one report which show data about company code. I want to set authorization on characteristic value of Company code , for eg for USER 1 - he should see ony C001 and C002, and USER2 should see C003 , C004 etc.
    Please guide me in step by step approch ....
    Which authorization objetc should be used.
    Regards
    Ashutosh D

    Hi,
    First step towards authorization is to make your InfoObject (Company Code) as authorization relevant in the tab Business Explorer.
    Once this is done, create Analysis Authorizations in transaction RSECADMIN with the following variables.
    0TCAACTVT - *( or you can give the activities to be restricted)
    0TCAIPROV - *
    0TCAVALID - *
    0COMP_CODE - C001 & C002
    Now assign the analysis auth in the role under the Auth object S_RS_AUTH.
    Now assign this role for user1.
    Similarly create another Analysis auth for company code C003 & C004 and assign that role to user2
    Regards,
    Gaurav

  • 10.1.3--Disable a field according to values of another field.

    Hi,
    I am trying to set a filed on the JSP to be disalbed according to values of another field.
    eg. When the value in "ID" field is NOT 10 or 20, the "Bill" field should be disabled.
    I have tried using only one condition which is when "ID" != 10 or "ID" != 20. They work fine. But when I try to combine two conditions together using "&&" sign, I got a syntax error. The JSP does not display at all. I asked an expert about it, the answer is:
    #{(bindings.Deptno.inputValue.value !=10) &&(bindings.Comm.inputValue.value > 1000)}. I tried this on my application and got the same syntax error.
    Has anybody had a similar situation? Any idea what could be wrong? Thanks in advance.
    Annie

    Hi bsalvador,
    I've had a simular situation once where I needed to make items disabled or required depending on a workflow step and on depending on other page items. Basically the disabling of items is done by javscript, keep in mind that readonly is not the same as disabled. When you use readonly, the item can still be manipulated with javascript. When you disable an item, the item is not even submitted to the database, so you have to make sure that your submit process can hadle that.
    There are two different situations:
    First you have the page load / page submit, there you can use PL/SQL to check which items should be submitted, hand them a javascript class or make them readonly/disabled straight away.
    Second you have a situation where you want to disable certain items depending on the value of other items. This is done 'on the fly' and should be handled with a javascript function.
    Keep in mind however that javascript runs client side and isn't a secure way to handle data integrity, so you would need a database process to validate which items need to be submitted as well.
    Regards,
    Vincent Deelen

  • How to export table data with coloring of cell according to value.

    Hi all,
    I am using jdeveloper 11.1.1.6
    i want to export table data with lot of formatting. like with coloring of cell according to value and so many.How to do that?

    Hi,
    like with coloring of cell according to value and so many.How to do that?
    Answer is, you can't
    Frank

  • Analysis Authorization Pre Filtered Values

    Hi all Gurus,
    I am currently using Analysis Authorization setup and when I run report with no values input in the variable input screen it seems to display ALL the records in the info provider BUT not by what I am able to see based on my authorization defined.
    Example:
    I am authorized to see Personnel Area = A but when i run the report it hits authorization error and I understand that it is displaying ALL the records.
    So my question is is it possible that this filter is automatically for Analysis Authorization handled by the system like how the OLD Authorization handle this?
    Thanks

    Hello Julie,
    It is not necessary to use Hierarchy or customer exit inorder to restrict the access based on company code.
    1. First of all make, Company code as authorization relevent in IO settings
    2. In RSECADMIN, create one authorization object. It is a good practice to include all SAP Technical objects also. Just click on Inster special characts.
    3. For the company code assign required value.
    4. Assign this authorization to user in USER tab
    5. In the report, If you want to defualt the value of company code, create one authorization relevent variable for company code. You can make this variable as ready for input/Not ready for input.
    6. Execute the report.
    The user will only get data related to authorized company code.
    Regards,
    Ravindra

  • Analysis authorization - Authorizing Characterstic Values

    Hello all,
    We upgraded to BW (BI) 7.0 and thus have to use the new analysis authorization concept. While I have the documentation on how to create them and understand the, I'd like to know if there are any experienced users or experts who can assist.
    I have Marc Bernand's PowerPoint "An Expert Guide to New SAP BI features" and while they say that there is an "all or nothing rule" for viewing the query results, with the exception being for key figures and hierarchies, in the presentation (pg 21), it outlines that specific sales orgs can be assigned to the analysis auth (authorizing characteristic values) - this appears to contradict the 'all or nothing' rule if more than these sales orgs are in the query result.
    However, when I tested something similar in our dev environment for company code, if a specific company code is listed in the analysis auth (for the applicable characteristic), when I execute the report, I get a "you are not authorized", which is consistent with the new concept.
    My main question is that in order to restrict on specific company codes, plants, etc, are the choices to either use a hierarchy or a customer exit? Restricting it by assigning the values for the characteristic won't work. Thanks in advance for any help you can provide.
    Any help would be GREATLY appreciated.

    Hello Julie,
    It is not necessary to use Hierarchy or customer exit inorder to restrict the access based on company code.
    1. First of all make, Company code as authorization relevent in IO settings
    2. In RSECADMIN, create one authorization object. It is a good practice to include all SAP Technical objects also. Just click on Inster special characts.
    3. For the company code assign required value.
    4. Assign this authorization to user in USER tab
    5. In the report, If you want to defualt the value of company code, create one authorization relevent variable for company code. You can make this variable as ready for input/Not ready for input.
    6. Execute the report.
    The user will only get data related to authorized company code.
    Regards,
    Ravindra

  • Table for Analysis authorization along with values for authorization fields

    Hi,
    I am looking for table that contains the Analysis Authorization name along with values for all the authorization fields within this Analysis Authorization. Individually i can go to PFCG or Rsecadmin but since i need all the Analysis auth objects, i need to get this info into excel, so need a table.

    Hi Prashanth
      You can check RSECVAL that is appropriate for your requirement please let us know if any further help is needed.
    Thanks & Regards
    Santosh Varada

  • Credit management Authorization Based on Value.

    Hi All,
    Can help me out to find whether we can implement Credit management based on different level of Values or not.As i know we can do authorization based on % like 100%, 110% etc.
    But i want to activate release authorization based on the Amount like
    level 1              Rs 1 lakh( Can release upto 1 lakh) when it reaches to above of 1 lakh
    level2               Rs  2 lakh ( it will release upto 2 lakh)
    like wise.As what i understand whatever the standard roles are given relevant to % basis only.

    hello, friend.
    yes, you can do this in a few ways...
    1.  try 'Document Class' - a document class is assigned a certain value, which is assigned to a user (the link to credit management is indirect)
    2.  the traditional way is to use 'Risk Category', and you can set specific values (e.g. maximum document values) when doing OVA8. 
    i seem to recall there may also be a way to assign values to risk category, but i will check on this.
    regards.

  • Populating 2nd DropDown Box according to value selected in first DD box ??

    Hi,
    In our PCR Adobe forms we have two dropdown boxes, and our requirement is that if user selects a value in first dropdown box, second dropdown box should be populated according to the selected value.

    Hi,
    I had a similar requirement in my previous client site like based on the Personnel Area selected, I used to get the list of Personnel Sub Area.
    For this, I had triggered an EVENT say PERSG on Exit Event of Personnel Sub Area field in Adobe form.
    This event is handled in QISR1 BADI - SCENARIO_PROCESS_USER_COMMAND as...
    <i>  if user_command = 'PERSG'.
        READ TABLE SPECIAL_DATA INTO LS_SPECIAL_DATA WITH KEY FIELDNAME = 'EG_NEW'.
        IF SY-SUBRC = 0.
          MOVE LS_SPECIAL_DATA-FIELDVALUE TO W_PERSG.
          SELECT * FROM T503 INTO CORRESPONDING FIELDS OF TABLE ESG_TAB
                             WHERE PERSG = W_PERSG.
          CLEAR INDEX.
          LOOP AT ESG_TAB INTO WA_ESG_TAB.
            CLEAR W_PTEXT.
            SELECT SINGLE PTEXT INTO W_PTEXT FROM T503T
                                WHERE PERSK = WA_ESG_TAB-PERSK.
            ADD 1 TO INDEX.
            CLEAR LS_ADDITIONAL_DATA.
            LS_ADDITIONAL_DATA-FIELDINDEX = INDEX.
            LS_ADDITIONAL_DATA-FIELDNAME = 'ESG_NEW_KEY'.
            LS_ADDITIONAL_DATA-FIELDVALUE = WA_ESG_TAB-PERSK.
            APPEND LS_ADDITIONAL_DATA TO ADDITIONAL_DATA.
            CLEAR LS_ADDITIONAL_DATA.
            LS_ADDITIONAL_DATA-FIELDINDEX = INDEX.
            LS_ADDITIONAL_DATA-FIELDNAME = 'ESG_NEW_LABEL'.
            CONCATENATE W_PTEXT '(' WA_ESG_TAB-PERSK ')'
              INTO LS_ADDITIONAL_DATA-FIELDVALUE.
            APPEND LS_ADDITIONAL_DATA TO ADDITIONAL_DATA.
          ENDLOOP.
        ENDIF.
      ENDIF.</i>
    I hope this clears your problem.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Authorization Object=S_RFC values for Integarted Planing

    Hello all,
    Does any one know specific values(Function Group Names) just to authorize and enable users to open IP-Workbooks on BEx.
    Authorization Object:  S_RFC- Authorization Check for RFC access..
    When I give full "*" authorization everyting is working fine, but I dont want to give full RFC access authorization to End users, I just want to give specific values for IP.
    Thanks, Regards,
    Ali
    Edited by: Ali on Oct 20, 2009 12:09 PM

    Hi,
    try the following objectnames. I think they are from a SAP Standard Role but include web-reporting.
    If you want to know exactly which you have to authorize, activate authorization trace in st01 and check which authorization-checks fail when you execute BEX
    RFC1
    RRMX
    RRXWS
    RRY1
    RSAH
    RSBOLAP_BICS
    RSBOLAP_BICS_CONSUMER
    RSBOLAP_BICS_PROVIDER
    RSBOLAP_BICS_PROVIDER_VAR
    RSFEC
    RSMENU
    RSOBJS_RFC_INTERFACE
    RSOD_BIRM
    RSRCI_LOCAL_VIEW
    RSR_XLS_RFC
    RSWAD
    RSWRTEMPLATE
    RS_BEX_REPORT_RFC
    RS_IGS
    RZX0
    RZX2
    SDIFRUNTIME
    SM02
    SMHB
    SRFC
    SUNI
    SUSO
    SYST
    SYSU

  • Authorization Object Field Values

    Hello All,
    I am trying to look for all possible values of  an authorization  object field's in change mode of a role. But when I click the pencil icon beside the specified  field, for  few auth objects field's, the list doesnt pop up.
    Any idea, what is happening?
    Thanks.
    Rajesh

    > I am trying to look for all possible values of  an authorization  object field's in change mode of a role. But when I click the pencil icon beside the specified  field, for  few auth objects field's, the list doesnt pop up.
    > Any idea, what is happening?
    For quite a lot of fields the possibilities are not forseeable because they are completely dependent on your configuration. The ones with pop-up-lists have check tables configured. Some fields also accept wildcards and ranges..... so their possibilities are endless.
    I think it is a good idea to want such a list but I doubt if you'll ever get it.

  • Dynamic columns according to values in the database

    Hi,
    Im having a view which has some fice columns in it. The view is to show the sales details of differeent stores. Im having one column called store name which has list of stores. Now i want to show the details of each store in a separate column in the report. For eg. if 10 stores are there in the database column
    Store     Sales
    Store1     120
    Store2     140
    Store3     130
    Store4     160
    Now i need to show that in the report as,
    Store1     Store2     Store3     Store4
    120     140     130     160
    If the No. of stores in the view column increases means the no. of columns in the report also should get increased. The same value should be appear in the Column header also.
    Please help me in doing this.
    Thanks,
    Karthick

    hi karthick,
    You can use the pivot table for this and display below the measures the stores and sales just below that.
    If you want to change in the query or view itself then you should be knowing the concept of pivoting columns to rows.
    you can go through this link Re: Pivoting ..Multiple rows in to Single Row , Multiple column
    Hope it helps you.
    Best Wishes,
    Kranthi

  • JTable Cells with different Color according to value

    Pls help I want to be able to display all rows (students) that paid more than 20 naira in Green
    else display rows (student) that paid < 20 naira in red
    But at the moment it is displaying everything in green why?
    tmp is the variable
    Code would help pls!
    class TestRenderer extends DefaultTableCellRenderer     
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected,boolean hasFocus,int row,               int column)          
    super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);          
    if (row > 0)               
    for (int i =0; i < table.getRowCount(); i++)
    String tmpString = (String) table.getValueAt(i,3);
    if (tmpString != null)
    double tmp = Double.parseDouble(tmpString);
    if (tmp > 20)
    System.out.println("Variable is "+tmp);
    setBackground( Color.green );
    else
    setBackground( Color.red );     
    return this;

    Get rid of that loop
    String tmpString = (String) table.getValueAt(row,3);

  • Can we combine the authorizations for same value?

    Hi All,
    We are working on CRM-BW reports.
    We have three kind of service providers for one transaction. These are
      1. Created by service provider
      2. Changed by service provider
    3. Responsible service provider.
    For all transactions we do have values for all three service providers.
    Say one service provider value is 1000. That particular service provider manager want to see all of the transactions if <b>any one of these three service providers</b> has the value 1000.
    Please let me know if you need more explanation.
    Thanks in advance.
    Arun Thangaraj

    Thanks Bulut for your reply,
    But by going through View creation involves ABAP help, that I dont want.
    However, is it poosible to use View while creating the reports in Report Painter? I am not sure.
    I want to know whether can we create a table which is used for report painter, so that I can use for creating the Library and then the reports.
    I hope you understand my point.
    Regards
    Kami

Maybe you are looking for

  • Cannot unlock my Admin account, updaters fail, more...

    After installing SL, I can no longer unlock my Admin account. When I click the lock to make changes, it says "Authenticating..." for a second, then stays locked. When trying to update applications (I've tried several), the "Install" button dims for a

  • Recover photos

    after ecrypting my phone to receive work email now my photos and camera will not work.  how can I recover the photos and reverse the encryption on the phone.

  • Integration between ESR and ARIS

    Hi, is there a integration between the standalone versions of ARIS and ESR? Best Regards, Michael

  • ICloud new pricing upgrade from existing plans

    This, I suspect, will be the beginning of a flood of questions related to this, but I don't see so far a way I can change my current pricing to a new one.  My existing iCloud storage plan (50GB + 5GB) is due for renewal later this month for $100.  I

  • Message says to transfer purchased items to iTunes, but I've synched!

    I just clicked the Update button for 3.2.2 and I got the strange message-- "There are purchased items on your iPad that have not been transfered to your iTunes library." I do not understand. I had just synched it. I synched a second time, no change!