Authorization on Value Help?

Hello,
I've set up 0EMPLOYEE as an InfoProvider. I have an authorisation object on 0COMP_CODE which restricts who can see which employees. This works fine in the queries. However, if I create a query with a restriction based on an employee variable and then go to the value help then I get a list of all the employees with their annual salaries.
How do I get the authorisation to apply to the value help list??
Regards
Sheena

Solved my problem

Similar Messages

  • At selection-screen value- help

    Hi All,
    I have a requirement that based on a radio button one at selection-screen value-help is triggered and on based on a different radio button another at selection-screen value-help should be triggered.
    can it be achieved.
    Regards,
    Jeetu

    AT SELECTION-SCREEN - selscreen_event
    Syntax
      | { ON {para|selcrit} }
      | { ON END OF selcrit }
      | { ON BLOCK block }
      | { ON RADIOBUTTON GROUP radi }
      | { }
      | { ON {HELP-REQUEST|VALUE-REQUEST}
      |   FOR {para|selcrit-low|selcrit-high} }
      | { ON EXIT-COMMAND }.
    Alternatives:
    1. ... OUTPUT
    2. ... ON {para|selcrit}
    3. ... ON END OF selcrit
    4. ... ON BLOCK block
    5. ... ON RADIOBUTTON GROUP radi
    6. ... { }
    7. ... ON {HELP-REQUEST|VALUE-REQUEST} FOR
          {para|selcrit-low|selcrit-high} }
    8. ... ON EXIT-COMMAND
    Effect
    These additions allow individual evaluation of specific elements of the selection screens of the program. The information as to which selection has triggered the event is contained in the system field sy-dynnr.
    Alternative 1
    ... OUTPUT
    Effect
    This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications.
    Note
    The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start.
    Alternative 2
    ... ON {para|selcrit}
    Effect
    This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
    No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
    Note
    If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the selection table are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is triggered.
    Alternative 3
    ... ON END OF selcrit
    Effect
    This event is triggered after the selection table selcrit has been fully passed to the program after a user action in the dialog box for the multiple selection has taken place. In the event block, the entire selection table can be checked.
    Alternative 4
    ... ON BLOCK block
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the input fields of a block block of the selection screen were passed to the ABAP program. In the event block, the user inputs can be checked. Sending a warning or an error message in the event block makes all the fields of the block block ready for input again.
    Alternative 5
    ... ON RADIOBUTTON GROUP radi
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the fields of a radio button group radi of the selection screen were passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or error message in the event block makes all the radion buttons of the block radi ready for input again.
    Note
    The individual fields of a radio button group are not passed individually and do not trigger the event AT SELECTION-SCREEN ON par.
    Alternative 6
    Effect
    The event AT SELECTION-SCREEN itself is triggered as the last event of selection screen processing if all the input values were passed to the program. In this event block, all the user inputs can be checked. Sending a warning or an error message in the event block makes all the screen fields ready for input once again.
    Alternative 7
    ... ON { HELP-REQUEST | VALUE-REQUEST } FOR
        {para|selcrit-low|selcrit-high} }
    Effect
    The two events ON HELP-REQUEST and ON VALUE-REQUEST are triggered at the screen events POH and POV of a selection screen if - for the input field of a parameter para or one of the input fields of a selection criterion selcrit - the field help F1 or the input help F4 was called. Other selection events are not triggered.
    In the event blocks, a self-defined field or input field can be programmed, which overrides any helps possibly defined in the ABAP Dictionary.
    Notes
    These event blocks can only be implemented for fields of the selection screen that are defined in the same ABAP program and not in a possibly linked logical database.
    With the events for the field and input help, no data is transported between the selection screen and the ABAP program. As with general screens, suitable function modules must be used for these. The parameters and selection criteria changed for the input help are transported to the selection screen.
    Alternative 8
    ... ON EXIT-COMMAND
    Effect
    This event is triggered if the user has called one of the functions Back, Exit or Cancel. In the event block, possible clean-up actions can be executed.
    Example
    In these executable programs, a standard selection screen and a further selection screen are defined. In the event blocks AT SELECTION-SCREEN, the inputs in the selection screens can be specially handled using the name p_carrid and the screen number in sy-dynnr.
    REPORT demo_at_selection_screen.
    Global data
    DATA: sflight_tab TYPE TABLE OF sflight,
          sflight_wa  LIKE LINE  OF sflight_tab.
    Selection screens
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN BEGIN OF SCREEN 500.
      SELECT-OPTIONS s_conn FOR sflight_wa-connid.
      DATA s_conn_wa LIKE LINE OF s_conn.
    SELECTION-SCREEN END OF SCREEN 500.
    Handling selection screen events
    AT SELECTION-SCREEN ON p_carrid.
      IF p_carrid IS INITIAL.
        MESSAGE 'Please enter a value' TYPE 'E'.
      ENDIF.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                          ID 'CARRID' FIELD p_carrid
                          ID 'ACTVT'  FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE 'No authorization for carrier' TYPE 'E'.
      ELSEIF sy-subrc <> 0.
        MESSAGE 'Error in authority check' TYPE 'A'.
      ELSE.
        IF sy-ucomm = 'ONLI'.
          CALL SELECTION-SCREEN '0500'.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
      IF sy-dynnr = '0500'.
        IF s_conn IS INITIAL.
          MESSAGE 'Please enter values' TYPE 'W'.
        ELSE.
          SELECT *
                 FROM sflight
                 INTO TABLE sflight_tab
                 WHERE carrid = p_carrid AND
                       connid IN s_conn.
          IF sy-subrc <> 0.
            MESSAGE 'No flights found' TYPE 'E'.
          ENDIF.
        ENDIF.
      ENDIF.
    Main program
    START-OF-SELECTION.

  • Value help does not work for ONE person only !

    Hi,
    we have a strange problem. In the Web IC, we are using a standard value help for the country field for a Business Partner. This works fine for everyone (ie, it picks up the country and slots it into the field) except one person. For her, it never returns any value into the country field. We are guessing that it's not Web IC related but is something in her browser settings etc...but haven't been able to pin it down. Can anyone offer any advice on this ?
    thanks for looking.
    Malcolm.

    Hello Malcolm,
    If this error occurs for one user only it's definitely related to the clients PC.
    Did you already delete all temporary files and the cookies on that PC? Usually this does the trick!
    If this does not solve the problem, try to let that particular user login on another PC where the problem does not occur. (If the error does occur on another PC too it's probably profile/authorization related)
    Hope this helps!
    Regards,
    Joost

  • Authorization default values of transaction F-53 for object F_FAGL_LDR

    All,
    I am getting this error when I go to adjust an existing role
    "Authorization default values of transaction F-53 for object F_FAGL_LDR inconsistant"
    Can any one help me resolve this issue?  I tried to set the check indicator to "NO" but it is still giving me the error at the bottom.
    Please assist.

    > ... they had me add Profit center to F_FAGL_LDR through SU21 and then I ran into the inconsistant issue.
    This part was missing before hand... I can understand that SAP said this is not support, because you have modified as standard object by adding a field to it... that makes it yours now.
    Whoever "they" is, they gave you bad advice.
    To repair the authorization object preferably do so by transporting it from a system on the same release which still has the standard fields.
    Cheers,
    Julius
    Edited by: Julius Bussche on Aug 15, 2009 3:30 PM

  • Filling a field with different values depends on the country by value help

    dear experts,
                          Could any body help me out ?
    i do have a requirement that in the Screen, iam having a field say Tshirt size, which have to be populated differntly according to the country in the value help. how can i do that.
    iam mentioning what i have done:
    1. defined field and selected From Dictionary Attribute in the screen.
    2.maintained
    Field ztab-fieldname  in the chain endchain.
    please do the needful as hoe come the filedname is populated with value help for different countries?
    Edited by: Murthy Ganti on Dec 17, 2008 12:00 PM

    Hi Murty,
    You need to create a View on the different field set which might be composed across different Tables. Once the view is created you need to create a Search Help using that View by selecting the fields that will come in the Help. Below is the step by step Documentation for the Search Help Creation.
    Link 1
    http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
    Link 2
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    But after going through your statement, I have one concern. As you mentioned that you don't have any access for the calling FM in a Report Program, then I doubt whether you will have authorization for the Data Dictionary Object creation also. Just check the Roles and Authorization assigned to your user. You need the S_DEVELOP Authorization Object for any new create.
    Hope this helps.
    Thanks,
    Samantak

  • F4 Value Help for Bex Variable (BRAIN646)

    Hi ,
       I set a authorization variable which allow user to select in a Bex query . When I run query and click value help on that variable, the system keep send a warning msg like :
    Value if variable ZVAPLAMS is automatically converted
    Message no. BRAIN646
    Is there any way to suppress this warnning msg?
    Thx,
    Jeff

    Hi Sims,
    I had also the same Problem (BRAIN 646). I've debugged the Query with transaction rsudo -> Execute User as "User with warning" -> Possible Transaction "RSRT" -> Start Transaction.
    The Transaction RSRT is opened and you can now debug your Query by klicking on "Execute + Debug" -> Expand "Variables" and activate "Customer Exit Variable (Before)".
    Don't forget to enter your Queryname.
    You are in Debuging-Mode and set Break-Points (see screenshots)
    1. Set break-point on FORM VALUE_FROM_AUTHORITY_FILL then F8 and get in with F5
    2. Set break-point on  IF l_i1 <> l_i2. then F8 and you get your cursor on IF l_i1 <> l_i2.
    You may see, if internal tables "l_i1" and "l_i2" have the same count of rows. If not take a look at   "l_i1", if there Interval value exist, if internal value do exist. If interval values do exist and in "l_i2" doesn't than you have replace your variable " ZVAPLAMS" with another Variable (selection option). It has to be "Selection Option", than only selection option variable accept single values and interval values.
    Regards
    Wanda Soetomo

  • Value help on a published CR do not show the value help as an hierarchy.

    Hello experts,
    we published a CR based on a Bex Query to the BW role and to BOE. The parameters on CR are based on Bex Hierchy variables. If we logon with an SAP User (with SAP_ALL) on Info View/ BI Launch Pad to execute the CR the value help shows the hierarchy correctly.
    + world
      + North Amerika
      + Western Europe
      + Asia
    If we logon on to  Info View / BI launch Pad with a normal SAP Enduser (without SAP_ALL) but with all needed End User Roles the value help shows a flat List....
    World
    North Amerika
    Western Europe
    Asia
    We try to trace this authorization issue but we do not got any clearly results.
    Maybe someone knows the needed authorization Object on BW....?
    Regards Michael

    Hi,
    the authorizations are documented in the installation guide for the SAP Integration Kit and the authorization trace should show it as well
    ingo

  • Custom Error Message in Value Help

    Hi,
    In my application i have a Inputfield called "CLASS", for which i have added a value help..it has these values
    B    Business
    E    Economy
    F    First Class
    When the user enters a value(say "X") other than B, E, and F, it displays a message
    <b>String "X" does not match the enumeration</b>
    I want to put my own message like " Please enter a valid value" instead of the above message.
    Please let me know how to do this ?
    Thanks
    Senthil

    Senthil,
    First, "looping through the list and checking the user entered value with values in the list" is possible only with non-validating actions. Using non-validating actions is a tricky task in real life.
    Second, workarounds are possible, but they involves calculated attributes (like here: /people/valery.silaev/blog/2005/11/29/800format-your-way). Solving this problem generically (45 attributes is a good number to start with a generic solution) will result in solution with complexity comparable to this: https://weblogs.sdn.sap.com/pub/wlg/3309. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] Do you need such thing just to alter error message?
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How do you use user defined error messages in Value Help?

    Hi,
    I'm currently working on a Modifiable Value Help Selector in Web Dynpro Java, and I want to use a user defined error message when I validate the values entered by a user. Currently, it's returning its default error message ("Character <string> does not match...").
    Since the project requires a different error message, is there a way to override the default error message and use my defined error message instead?
    Thanks!

    Hi Angelo,
    I am not sure why message area is showing both Custom and inbuilt messages but you can try the following:
    i guess you must be using reportContextAttribute exception for showing Error messages on the input fields as well.in that case you can disable the message area so messages will appear only on the Context level ie; on input fields.
    For other messages apart from validation messages you can enable the message area before reporting the exception.
    make sure the boolean context variable which will be used for enabling and disabling the message area should have Readonly property set as true.
    I am not sure whether this is the only solution for this but you can try and see if it works.
    Siddharth

  • Hide Toolbar and Value help drop downlist

    Hi,
    I created a IF with a Value help drop down list. I also make use of the Hide Toolbar options. The drop down list has an input like:
    key - text (eg. 0001 - Holiday)
    The pdfMode is "UpdateDataInPdf".
    When i run my wd everything works fine. What i want to do is this: when the user push the button "next" i want to show the IF in a read-only mode. What i did, is that when the user push to button i change the PdfMode from "UpdateDateInPdf" to "GeneratePdf" (also tried "UsePdf") and change the "enabled" property to false.
    What happens is, the Adobe toolbar is back and the value help dorp downlist shows the key instead of the text.
    If i don't change the "enabled" property it works well, but than it's still possible to change data in the form.
    I am using NW04 SP16.
    Hope somebody can helps me.
    Kind regards,
    Maarten Duits

    Hi Maarten
    in general, right now there is no standard (i.e. non-hack) way to make a physical interactive PDF form read-only.
    The only sure way this would work in your process is to send the data back to the backend and have a second (practically identical) template ready in the background to generate a read-only version of what the user saw previously.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • How to link Value Helps in Visual Composer?

    I would like to know, how to link value helps in VC...??? It's like.....after selecting a value from Value Help 1, how do i restrict my Value Help 2 values so that it contains the values that are relevant to the value selected from Value Help 1 only....???? Request you to please provide the solution.......

    Hi Christophe
    Thanks so much for your help. I have been trying to do the way that you have suggested but am unsuccessfull...... Can you please tell me as to where should I create a field in the second popup view...??? After I double click on the link between "Start" and the "BAPI" in the second popup view...... , I find no "+" symbol in the "Configure Element Panel"  using which I can add the value taken from the first popup view.....
    Is there any pdf file or documentation that shows as to how to do this process...????
    Waiting for your response..... Thanks for your suggestion.....
    Regards
    Deepak Jaju

  • Just got a new mac mini and I can't figure out how to authorize it. Help!

    Just got a new mac mini and cannot figure out how to authorize it.  Help!
    m

    Link your phone number and Apple ID for use with FaceTime and iMessage

  • Selection Screen - Text instead of Key in the value help

    Hi ,
    I have implemented selection options for Web dynpro.
    The value help for the selection fields displays the key of the selected value (standard).
    I would like to know if there is an option to display the text (instead of the key) in the field.
    Key Text
    01    AAAA
    02    BBBB
    03   CCCC
    So if I select say - 01 and 03 in the value help, Can I display AAA, CCCC in the field (or next to the field)
    Thanks,
    Sri
    Edited by: Sri on Sep 29, 2010 8:19 AM

    HI,
    You can dispaly it as dropdown and it shown the text:Use the beloe code refernce;
    DATA lt_valueset TYPE wdy_key_value_table.
      DATA ls_valueset LIKE LINE OF lt_valueset.
      ls_valueset-key = '1234'.
      ls_valueset-value = '1234test'.
      APPEND ls_valueset TO lt_valueset.
      ls_valueset-key = '1235'.
      ls_valueset-value = '1235test'.
      APPEND ls_valueset TO lt_valueset.
      ls_valueset-key = '1264'.
      ls_valueset-value = '1236test'.
      APPEND ls_valueset TO lt_valueset.
      CALL METHOD wd_this->lo_select->add_selection_field
        EXPORTING
          i_id = 'CAND_ID'
      it_result                    = lt_range_table
          i_as_dropdown                = abap_true
          it_value_set                 = lt_valueset
    *      i_read_only                  = ABAP_FALSE
    *      i_dont_care_value            =
    *      i_explanation                =
    *      i_tooltip                    =
    Regards,
    madhu

  • Date format is not working properly for Calender value help

    Hi Experts,
    We have two problems.
    1. We want to change the format of date displayed. We want format of dd-MMM-yy. For that we have created one Simple
    Type Dictionary Object with Displaying format dd-MMM-yy. It is working
    fine for the non editable UI. But once I apply the dictionary type
    object as data type for an input field, probem happens. Once the user
    choose a date from calender value help the value in the input field is
    coming like 01-011-12 not like 01-Jan-12.
    The date format is not changing from the calender. But if we set the
    display format of the dictionary object to MM-dd-yy or MM/dd/yy or
    dd/MM/yy or dd-MM-yy the format conversion from calender to input field
    is happening properly.
    The only problem once we put MMM in place of MM for the input field
    where user is selecting from a calender value help.
    2. We want to restrict users from entering the value manually for date input field. The user
    should be able only to enter value by selecting from calender value
    help.
    Please give suitable solution for these problems
    Thanks
    Shankha

    Hi Sankha,
    Please refer the links below:
    http://scn.sap.com/thread/1659463
    http://scn.sap.com/thread/1533443
    Regards,
    Manoj

  • Some fields from R/3 have automatic value help for input field on WD

    Hello,
    we have imported a Model from RFC/JCo (ABAP) with several fields. One of them is "IWAER" of SimpleType Iwaer and "Built-In-Type" string in J2EE. Though the enumeration of this type is empty, WebDynpro mystically generates a value help if the type is assignet to an ImputField. On the ABAP-side component type is IWAER with data type CUKY and in domain WAERS which has a value table TCURC (instead of fixed values in a value range).
    Where/why does WD find out that this is a currency-field and where do the values in the value selector come from?
    Best regards,
    Manuel

    Hi,
    at least for the ModelData-Connection (BAPI-Call) there is no data being transferred besides one value for each field.
    I don't know if the MetaData-Connection of JCo is able to get more information (e.g. key-value-pairs for the domain or type the field belongs to,..) than just the structure of the interface.
    -> Where and how do these EVS-values come from without doing something?
    Best regards,
    Manuel

Maybe you are looking for

  • Importing old iTunes folder to new computer

    I would appreciate any help with this you can give. I have a MacBook Pro that I had four multi-user accounts on. One of them got corrupted, so that one was deleted and another account was opened. I want to get all the old iTunes songs out of the corr

  • Updating data in APO demand planning key figure

    Hi We have a key figure in Demand planning which is not present in Info cube, This key figure is just avaialable in SAPAPO  SDP94for manullay key in some data, Now I want to update data in this key figure via extrnal file i.e text file. Could u sugge

  • Moving playlists from iPhone or iPad into iTunes

    Is there a good solution to move my playlists from either my iPhone or iPad into iTunes? I backed up to computer but I see that it only backed up purchased music.

  • Is there a way to burn cd's using software other than itunes

    since itunes 8 made it so i can no longer burn cds, is there a way to burn cds in from the itunes library using some other cd burning software?

  • Ecc6-app

    In ECC 6, for APP the following parameters are used a)payment medium program--RFFOUS_C b)Name of print dataset--LIST1S c)Form for the payment medium: F110_PRENUM_CHCK d)form for the payment advice--F110_D_AVIS we are not able to get check format as w