Searching for values of authorization fields

Is there a way to see the transaction codes or programs that makes use of a specific value of an authorization field?
Example: K_PRICE001 has the following authorization fields.
               BUKRS - Company Code 
               WERKS - Plant        
               CWPRICLABL - Price Type   
               ACTVT - Activity     
The permitted activities are "02" (Change) and "03" (Display).
Can I find programs/transaction codes that use "02" only? or "03" only? or "*" for all?

> What it does not do is show you what values are linked to it, that you have to do manually but atleast you would have a list to start with.
Someone already did that and left all the information behind in the system for you - both check indicators (the capability of the transaction to control something) and proposals (the intended use of the transaction).
They also update it with each support package, but it is nor 100% correct not a perfect match for all your intentions. You can use authorizations to tune it if you have set it up correctly in the first place...
--> SU24.
Cheers,
Julius

Similar Messages

  • Search for values in class

    Hi all,
    I am fetching data in the following manner,
    1.     Find the deliveries items based on the search criteria
    2.     Pull in the material numbers for each item in the delivery
    3.     Pull in Planned goods movement date LIKP-WADAT
    4.     Exclude materials in the list where MARA-MAGRV = TB01
    5.     Find the External material group value for the remaining list MARA-EXTWG
    6.     Search for values in class ZEHS_DATA
    7.     Pull in value for characteristics
    i.     ZEHS_PLANT
    ii.     ZEHS_RELEVANT
    8.     Eliminate delivery items where ZEHS_RELEVANT = N for next steps, however display what was found
    9.     With EMG for delivery items and ZEHS_RELEVANT = Y pull all fields.
    In which the class ZEHS-DATA is having fields like:
    ZEHS_FORM
    ZEHS_RELEVANT
    ZEHS_PLANT
    COLOR_SUNNBR etc,
    My question is how do I pull values from class ZEHS_DATA??
    Thanks,
    Debrup.

    Hi
    if you have values in a variable declared in CLASS, just call another method of this CLASS with an export paramtere ( export means exporting to the program)
    depending the requirement the method can be PUBLIC or PRIVATE etc
    Regards
    Ramchander Rao.K

  • LOV - Require User to always Search for Values option

    Hi All,
    I have build a Supervisor LOV,But when I click the LOV(Flash light Icon), the new LOV window opens and it fetches the entire list of Supervisors which takes lots of time and LOV times out in many of the cases.
    I want the LOV window should open without bringing the entire list of suprevisor and let User enter some Name to be searched.
    To achieve the same,I enabled the option
    Require User to always Search for Values option
    (Immediately Displays the Search Dialogue when LOV is exapnded)
    But it is not working.
    Is there a way to do it ??
    Regards
    Jujaar

    Hi Tamir,
    Thanks for you updates.
    I dont think so,that I need to create a table or Materialised view.Cause I am taking the data from per_all_people_f directly.All the employees who are managers.
    But I want that when users clicks on the LOV ,it should open and should force user to search for some employee .
    As of now it fetches the entire list while opening up,when the user clicks on LOV button.
    Thanks and Regards
    Jujaar Singh

  • Is there a way to Search (List search) for more then one field text from a column for Bulk uploading?

    I've been trying to find more information on this and I apologies if this has already been answered. I just don't know the correct way to ask this. We have a SharePoint List at the company that we have people input information into different columns. The
    problem is most of those information are very repetitive. Is there a way for me to search more then one field text in the column and just input that same information in?
    ex:
    Column 1
    Column 2
    Date:
    883851
    MidWest
    User input 
    8831518
    MidWest
    User input
    On the search field in the SharePoint List, I would need to search for 883851, 8831518 etc,  would view those requested numbers, then I would click edit and change dates to those rows. Does that make sense? I'm sorry I'm fairly new at sharepoint.

    I think what you're asking is about having repetitive options in a list, show up easily for new items being created.
    This can be done by setting the columns that contain repetitive information to Choice fields.  In the configuration of the Choice field, check the box for "Allow custom values".  Now as users are entering data into the list, the dropdown of options
    for a given field grows and users can quickly see and select previously entered and thus repetitive values for the given fields.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Search a value in one field contained in different tables

    In my database, a field name is used in more than one table. For example, the field 'ITEMCODE' is available in TABLE1, TABLE2, TABLE3, etc... Can anyone please suggest a query to search a particular value in this field in all tables ? Thanks for your answers.

    The query you need depends on the datatype of the column you need.
    you could try this for a number:
    select 'select '||column_name||' , '''||table_name||''' table_name from '||table_name||' where '||column_name||' = '||Yournumbervalue||' union '
    from user_tab_cols
    where column_name = 'Your_column_name'or a varchar2:
    select 'select '||column_name||' , '''||table_name||''' table_name from '||table_name||' where '||column_name||' = '''||YourVarchar2value||''' union '
    from user_tab_cols
    where column_name = 'Your_column_name'user uppercase for Your_column_name, strip off the last union and you might have what you're looking for...

  • How to search for value records for a specific period of time?

    Hi,
    I am building an application where I need to use BDB to store tons of call records.
    In the call records, I have the following fields:
    1. from-caller
    2. to-caller
    3. begin-time
    4. end-time
    5. account-code
    6. user-code
    I want to use end-time's microsecond representation to serve as the Key.
    So, how can I do the following data lookup?
    1. Search for all Value records between 2009-10-11 to now()
    2. Search for all Value records between 2009-10-11 to now() with account-code = 100
    3. Search for all Value records between 2009-10-11 to now() with account-code = 100 and user-code=10
    Is there any similar examples out there that I can refer to?
    Thanks,
    JB

    Hi,
    Btw, my operation is mostly:
    1. Append call records
    2. Search call records
    3. Remove ending records that are older than XX days
    Please kindly advise on how I should best structure the data to meet this purpose.
    Thanks,
    JB

  • Automatic population of search help value to another field in module pool

    Hello there,
    I am developing a module pool screen, in which i have a table control field with fields PERNR and ARBPL along with other fields.
    I have to give a search help for Pernr first field for which i have given a search help with the use of PM02 search help, given in the screen field level, in the same search help there is another field ARBPL, when the pernr is selected i have to get the corresponding Arbpl field value in the search help hit list and pass it to my field arbpl in my table control.
    I tried with POV event as well with FM f4if_field_value_request but the return structure always filling one value only PERNR.
    Is there any chance to get the both field values from the search help.
    Thank you in advance.
    Regards,
    Kumar.

    Try the following logic in your table control, in table control you have get the selected index using function DYNP_GET_STEPL.
    TYPE-POOLS: shlp.
    PARAMETERS:p_matnr TYPE marc-matnr,
               p_werks TYPE marc-werks,
               p_ekgrp type marc-ekgrp.
    TYPES:BEGIN OF ty_marc,
          matnr TYPE marc-matnr,
          werks TYPE marc-werks,
          ekgrp TYPE marc-ekgrp,
          END OF ty_marc.
    DATA:i_marc TYPE TABLE OF ty_marc,
         i_val TYPE TABLE OF ddshretval,
         wa_val TYPE ddshretval.
    DATA:wa_dynpfields TYPE dynpread,
        i_dynpfields LIKE STANDARD TABLE OF dynpread.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      SELECT matnr werks ekgrp FROM marc INTO TABLE i_marc UP TO 100 ROWS.
      CHECK i_marc[] IS NOT INITIAL.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield         = 'MATNR'
          value_org        = 'S'
          callback_program = sy-repid
          callback_form    = 'CALLBACK_ROUTINE'
          dynpnr           = sy-dynnr
        TABLES
          value_tab        = i_marc
          return_tab       = i_val
        EXCEPTIONS
          parameter_error  = 1
          no_values_found  = 2
          OTHERS           = 3.
      IF sy-subrc  <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT i_val INTO wa_val.
        IF sy-tabix = 1.
          wa_dynpfields-fieldname    = 'P_MATNR'.
          wa_dynpfields-fieldvalue   = wa_val-fieldval.
        ELSEIF sy-tabix = 2.
          wa_dynpfields-fieldname    = 'P_WERKS'.
          wa_dynpfields-fieldvalue   = wa_val-fieldval.
        ELSEIF sy-tabix = 3.
          wa_dynpfields-fieldname    = 'P_EKGRP'.
          wa_dynpfields-fieldvalue   = wa_val-fieldval.
        ENDIF.
        APPEND wa_dynpfields TO i_dynpfields.
      ENDLOOP.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = sy-repid
          dynumb     = sy-dynnr
        TABLES
          dynpfields = i_dynpfields.
    FORM callback_routine TABLES i_val TYPE ddshreslts
                CHANGING wa_shlp TYPE shlp_descr
                         wa_callcontrol LIKE ddshf4ctrl.
      DATA:
        wa_intf     LIKE LINE OF wa_shlp-interface.
      wa_intf-shlpfield = 'F0002'.
      wa_intf-valfield  = 'X'.
      wa_intf-f4field = 'X'.
      wa_intf-value = '~'.
      APPEND wa_intf TO wa_shlp-interface.
      wa_intf-shlpfield = 'F0003'.
      wa_intf-valfield  = 'X'.
      wa_intf-f4field = 'X'.
      wa_intf-value = '~'.
      APPEND wa_intf TO wa_shlp-interface.
    ENDFORM.                    " CALLBACK_F4

  • Searching for addresses in Bcc field

    When I do a search for recipients of my emails (i.e., when I search, then click on the "To" field), recipients of "To" and "Cc" emails show up but not recipients of Bcc emails. Is there anything I can do to have Bcc emails show up when I do a search?

    HI,
    I cant figure out how to go about doing the IMT search with a BLOB in a step-by-step manner or refer me to some notes (a URL) on the net. i cant get examples anywhere about this. I have done this with CLOBs though.
    Thanks!
    Sanjay Hi Sanjay,
    use Inso_filter to index the BLOB, this should work.
    With Inso filtering it is possible to index special Formats like PDF, DOC, HTML, XLS ...
    HTH
    Det

  • Search for  a big varchar2 field that contains specific string

    Hi to all,
    I've created a table with VARCHAR2 column and size of 4000 and a CONTEXT index for it. I use this SQL statement to search for a field that contains a specific word:
    SELECT text_body
    FROM my_table
    WHERE CONTAINS(text_body,'my_word')>0;
    this goes so well in SQL plus, so how can I implement this in my form?
    Thanks.

    Dear Craig,
    I installed forms 10g R2 ,besides I corrected a fault in the LOOP syntax.Thanks, The code now is correct with the function CONTAINS. but when I run my form and push the button, my form takes lots of time and return two errors:
    frm-41839 "Disc I/O error on temporary record buffer file%s".
    and frm-40900 "Unable to locate record buffer. Clear form to continue".
    the second error occurs due to memory low space I think.
    Dear Morgan,
    You are totally right with the function INSTR, but I use the function CONTAINS as it has large capabilities in my search. I even use CTXCAT index instead of CONTEXT index ,with function CATSEARCH but the problem still exists. All of the previous ways run better in SQL but not in forms(without cursor). Suppose I'm wrong with this technique. Is there another way to make such a search?!
    This is the new code:
    DECLARE
         CURSOR cc IS
    SELECT *
    FROM my_table
    WHERE CONTAINS(MY_TEXT_FIELD,'first_word AND second_word')>0;
    copy_cc my_table%rowtype;
    BEGIN
         OPEN cc;
         FETCH cc INTO copy_cc;
              LOOP
              :FORM_TEXT_FIELD:=copy_cc.my_text_field;
         EXIT WHEN cc%notfound;
              NEXT_RECORD;
              END LOOP;
              CLOSE cc;
    END;
    Regards.
    Waleed.

  • Searching for values in a specific field using REST Search

    To conduct a Search using REST...you only have the querytext parameter which searches all fields. How can I search within a specific field using REST?
    Brian

    You can use the following code as an example to post a query. The example shows how to search against the title managed property. It also shows you how to bring back certain properties for viewing and refiners. You can also do the same with a GET.
    function executeRESTSearch() {
    var appweburl = _spPageContextInfo.webAbsoluteUrl;
    $.ajax(
    'url': appweburl + "/_api/search/postquery",
    'method': 'POST',
    'data': JSON.stringify({
    'request': {
    '__metadata': {
    'type': 'Microsoft.Office.Server.Search.REST.SearchRequest'
    'Querytext': 'title:whatever',
    'Refiners': 'title,created',
    'SelectProperties': { 'results': ['created','path'] },
    'SortList': {
    'results': [{
    '__metadata': {
    'type': 'Microsoft.SharePoint.Client.Search.Query.Sort'
    'Direction': 1,
    'Property': 'created'
    'headers': {
    'accept': 'application/json;odata=verbose',
    'content-type': 'application/json;odata=verbose',
    'X-RequestDigest': $('#__REQUESTDIGEST').val()
    'success': function (data) {
    var d = data.d.postquery.PrimaryQueryResult.RefinementResults.Refiners.results[0].Entries.results[0].RefinementValue;
    'error': function (err) {
    alert(JSON.stringify(err));
    http://msdn.microsoft.com/en-us/library/office/jj163876(v=office.15).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • SAP Query: Caseless search for case-senstive dictionary field

    Hi
    I have a question regarding the select options in a sap query. here is the scenario:
    I have a SAP query + infoset. in the selection sreen I have a field from the type MAKTX. this field is a character field that allows upper and lower case. I have the problem that my users provide an input only in lower case e.g. "bottle" and only find the results where bottle is only in lower case. Results with the word "Bottle" they cannot find.
    I am pretty familiar with abap and programing the code to achiev this is not the problem. I just don't know how I can bring my coding and the sap query together. I had 2 ideas:
    a) I make a z-search help and attach it to my select-option in the selection screen. but I don't know if this is possible and where I do that
    b) I put my code into the code-enhancement section in the infoset. but again I am not sure where I have to put it and if there are any restrictions that I have to know....
    c) any other solution will be good as well... maybe somebody has an idea.
    I hope I could make my problem clear. please let me know if you have any idea how I can do that. I don't want to modify the data dictionary object!!.
    thanks in advance - <offer removed by moderator>.
    thanks a lot
    Alex
    Edited by: Thomas Zloch on Oct 6, 2011 8:57 PM

    Use MAKTG instead, in the selection screen. It's has the same value as MAKTX but it's not case sensitive.

  • Search for value otherwise select all...decode?

    Hi all,
    I'm wanting a reasonably straight forward (sounding) result from a query: I want to select data where a certain column equals a value, otherwise I want to return all results.
    Let me know if you need more details.
    Thanks!

    Hi,
    djston wrote:
    Hi all,
    I'm wanting a reasonably straight forward (sounding) result from a query: I want to select data where a certain column equals a value, otherwise I want to return all results.
    Let me know if you need more details.Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only). You can skip this if the problem is based on commonly available tables, like those in the scott schema.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    If the problem involves parameters, give a couple of examples of different parameters, and the results you want from each.
    Always say which version of Oracle you're using.
    For example:
    "I'm using Oracle 10.2.0.3.0.
    I want to find all the people in the scott.emp table who have a given job; but if nobody has that job, then I want to select everybody.
    For example, if I give 'MANAGER' as the parameter, then I want these results:
    {code}
    ENAME JOB
    BLAKE MANAGER
    CLARK MANAGER
    JONES MANAGER
    {code}
    because those are the only people in the table with job='MANAGER'.
    However, if I give 'DBA' as the parameter, then I want to see all 14 rows from the table, because there is no row where job='DBA'."
    If that happens to be what you want, here's one way to do it:
    VARIABLE     target_job     VARCHAR2 (10)
    -- EXEC     :target_job := 'DBA';
    -- EXEC     :target_job := 'PRESIDENT';
    EXEC     :target_job := 'MANAGER';
    SELECT       ename, job
    FROM       scott.emp
    WHERE       job          = :target_job
    OR       NOT EXISTS     (
                           SELECT  1
                       FROM    scott.emp
                       WHERE   job     = :target_job
    ORDER BY  ename
    ;Noticed that this query involves an extremely rare un-correlated EXISTS sub-query. (At least intentionally un-correlated EXISTS sub-queries are rare.)
    You could get the same results using DENSE_RANK and a CASE expression.

  • 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

  • Authorization field value

    Hi Experts,
    Basis team has created one authorization object and created one authorization field for warehouse number. They will assign value to that field.
    My question is:
    Is there any table to get the authorization field value for that object? or How could I get the value for this authorization field value?
    Because I should use that value in my select statement.
    Any possible solution will be gratefully accepted.
    Thanks & Regards,
    Arindam Samanta.

    Hi Arindam,
    You shall get the warehouse number using SELECT query from it's master or transaction table and pass it to the AUTHORITY-CHECK statement.
    Example:
    SELECT SINGLE pernr
            INTO   l_pernr
            FROM   pa0105
            WHERE  uname EQ sy-uname AND
                   usrty EQ '0001'   AND
                   begda LE sy-datum AND
                   endda GE sy-datum.
    AUTHORITY-CHECK OBJECT 'ZAUTH_HRT' ID 'PERNR' FIELD l_pernr.
    IF sy-subrc <> 0.
       MESSAGE 'No authorization' TYPE 'E'.
    ELSE.
       MESSAGE 'Congrats! You are authorized' TYPE 'I'.
    ENDIF.
    Hence, it will automatically check the values in l_pernr with the values in Authorization field.
    You can check the values passed to authorization field using the T.code - PFCG
    With Regards,
    Gurulakshmi

  • Search for certain Characters within set of Characters - in a field

    Hello -
    I know a search can be made within a field for a word, but I am not to sure, or I don't know how to accomplish this...To do a search in a field for certain characters within a larger set of charcters.
    For example: I would search, in the Call Description field, for DXXXX within CA0001DXXXXYYY or search for LXXXX within CA0001LXXXXYYY, the X is numeric characters and the Y's are Alpha characters. Can crystal accomplish this....
    Thanks for your gracious help....
    G.

    Like I said earlier, this code:
    If instr({database_field}, 'DXXXX') > 0 then "String Found" else "Not Found"
    cannot be used in a Record Selection formula.
    The following code can be used in the Record Selection formula:
    Instr({database field}, "string") > 0
    If you wish to search for 'D4444' in the field and return records where a match is found, you would use:
    Instr({database field}, "D4444") > 0
    -Abhilash

Maybe you are looking for