How to find Authority Object before it is checked.

Hi All,
Is there a table or FM that I can use to read authority object for user?
Thanks
Edited by: Julius Bussche on Jan 1, 2009 1:33 PM

For some object (particularly those checked automatically by the kernel) there are function modules available to check the authority of the user in your program, before the system does it anyway (and usually dumps if the authority is missing at runtime anyway).
Take a look at the FM's starting with AUTHORITY_CHECK* --> F4 in SE37.
Eg. AUTHORITY_CHECK_TCODE, AUTHORITY_CHECK_DATASET, etc. There might also be an AUTHORITY_CHECK_USERSTAT... not sure though...
Cheers,
Julius

Similar Messages

  • How to find the objects created in last one year

    Hi Experts,
    How to find the objects created in last one year.
    Thanks in Advance,
    Iff

    hi
    just go through this table.
    <b>TADIR</b>  object as 'PROG'
    in this you can also provide the authors name in AUTHOR field
    and
    <b>TRDIRT</b>
    reward points if it helps,
    regards,

  • How to find Info objects for particular filed??

    Hi
    I hav doubt Can anyone tel me???
    My Query s <b>How to find Info objects for particular filed??</b>
    For example i hav some table fileds, how to find Info objects for that fields??
    Pls explain me detaily
    Points wil be given for all answers.
    Thanks
    Senthil

    Hi Senthil ,
    You have your field description along with your Field right.
    For example:MATNR - Material Number
    Now take this description and go to your BW side Tcode:RSA1
    1)Search in Modelling >> Infoobjects >> Material Number
    Then you get few hits (matches)  which have description matched.
    For Example: 0material  - Material Number
    Check for the Length and type match.
    You will understand once you get those hits as to which is related to yours.
    2)Go to BI content and search in the infoobjects this has all active and inactive objects but this takes a little time (not much  though).
    3) You have meta data search / simple search also where you can search for the objects with field description as matching criteria.
    Hope your doubt is cleared atleast to some extent.
    Assign Points if helpful.
    Thanks,
    Priyanka

  • How to Find Business Objects for any Tranaction .

    Hi Abapers,
                        How to find Business objects for any transcation.....  and how to connect the Work flow to  any  Trancation  so that for example any body changes the date of Birth ...... so that the work flow should trigger .
    Thanks & Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    For finding business object,you can try transaction SWO4 and by checking the documentation in it you can find your required business object.
    Another method is:
    1) Go to Trx SWE4 and switch on the event trace.
    2) Run your transaction which you want to use for triggering your workflow.
    3) Run transaction SWEL and find your Business Object and related event in it.
    For connnecting your WF to your transaction you have to create a start event in your WF in SWDD,where in you specify the Business Object and start event which you find using above method.
    Eg.You want your WF to be triggered whenever you have an error in your idoc.For this your BO will be IDOCAPPL and your event will be (inputErrorOccurred).This you will give in header data in SWDD.
    Neerja

  • How to find the TECHINICAL INFORMATION of a CHECK MARK

    Hi Guys,
    How to find a technical information of a check mark on screen. I tried F1 AND click techinal field it showing wrong information.
    Thanks

    hey guys,
    This is a very common problem, you need to hold the mouse-click on the CHECK-BOX when you tick it, and while holding the click you hav to press F1.
    Do reward points, if useful and close the topic.
    Regards-
    Naimesh Kundanani

  • How to find business object for particular tcode at particular event

    Hi,
    I want to know how i can find particular business object for particular tcode for certain event?
    For example suppose for tcode PA40, if i create infotype for employee and when i save it after creating it then it must be stored in certain object. How i can find business object where all data realted to emp. get saved?
    Thanks & Regards,
    Parag

    Hi Parag,
    To get the business object for given transaction,
    1) Go to transaction SWELS
    2) Switch on the event trace.
    3) Go to the given transaction (For which you want to know the business object)
    4) Execute the transaction
    5) Go back to SWELS and Switch off the event trace
    6) Go to transaction SWEL.. Here you will get the Business Object name (one which starts with BUS)
    Hope this will help you.
    Best Regards,
    Deepa Kulkarni

  • How to find Authorized User

    Can anybody say how to find the user with a specific  authorization given the athorisation object and values.
    Regds
    Thiru

    Hi
        check tables tables: usr07, tobjt, dfies. 
    tables: tobj, tobct.         
    als check FM 
       CALL FUNCTION 'AUTH_FIELD_GET_INFO'
             EXPORTING
                  FIELDNAME = INTTAB-FIELD
             IMPORTING
                  DATEL     = DFIES-ROLLNAME
                  LNG       = DFIES-OUTPUTLEN
                  RC        = RC
                  TEXT      = DFIES-FIELDTEXT
                  INTTYPE   = DFIES-INTTYPE.
    Regards
    amole

  • How to find active object ?

    Hi,
      Can anybody please guide me , how to  find  an active BW objects like Info cube,ODS,info source and info objects?
    Please answer in details.
    Thanks and regards
    DEP

    Hi,
       basically , i am working on BW 7.
       In administrative workbench, if we click on Meta Data
       repository, we will get all the activated objects in
       BW.can anybody please confirm, is this the way to
       search active info objects ? is there another better
       way?
    Regards
    Dep

  • How to test Authority Object

    Hello freinds,
    I have inserted authority object in z program, how can I test the program whether the user is authorized to carry out the transaction or not???

    Hi Amar,
    Please place a brreak-point at the statement "AUTHORITY-CHECK" and execute the program.
    If you have authrization then sy-subrc will be set to zero else some different value.
    Regards,
    Babul.

  • How to find locked object query?

    There is random error ORA-00054 coming during execution of one process which is using SELECT FOR UPDATE NO WAIT statement.
    Logs of process is showing row is accessed only once but still it gets error of "resource busy".
    So there must be any other session which is locking object and it is not identifid. I want to identify which other session/user is locking object.
    I am trying with below query which shows session id, terminal name and object name which is locked.
    SELECT a.sid,a.serial#, a.username,c.os_user_name,a.terminal,
    b.object_id,substr(b.object_name,1,40) object_name,sysdate
    from v$session a, dba_objects b, v$locked_object c
    where a.sid = c.session_id
    and b.object_id = c.object_id But i want information of SQL query from v$sqltext so i can find out throughout the applicaiton where it is executed?
    Thanks

    Finding session that it locking is not a problem.
    Finding SQL responsible is not necessarily straightforward.
    You might be lucky. You might not.
    If the SQl responsible for locking the row ran for a long time or was blocked by something else, AND you're on version >= 10g AND you're licensed for Diagnostic Pack, then you should find some evidence in ASH - DBA_HIST_ACTIVE_SESS_HISTORY.
    Doug Burns has a 10-part series on the subject.
    http://oracledoug.com/serendipity/index.php?/archives/1477-Diagnosing-Locking-Problems-using-ASH-Part-1.html
    There is another current thread on the same issue:
    How to find sql statement which generates LOCK

  • How to find sql objects in folder having Ansi_Nulls OFF?

    I have a folder having thousands of stored procedures and functions. Some of those procs and functions havent been deployed to database.
    Is there any way i can find all objects in that folder having ansi nulls off? 

    Check http://helpdeskgeek.com/how-to/search-inside-multiple-text-files-at-once/
    If you have Visual Studio installed, check
    http://msdn.microsoft.com/en-us/library/aa264360(v=vs.60).aspx
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • How to find unused objects in SAP BI system?

    Hello All,
    I have got a requirement- you can say optimization programme in BW system.
    For that i have to first find the list of unused obects-DSO's, IC, etc.
    We have RSDODSO, RSDCUBE tables, but not sure how to use them- by looking at latest data loads/ time stamp.
    If you have any suggestions on this .Please revert me back.
    Regards,
    Siva

    HI Kumar,
    For cubes: Goto se11 and use table RSMDATASTATE and check the value of the field LAST_CHANGE this is the date on which last time data is loaded in cube.
    Check RSMO & find which all data loads are happening daily...weekly...montly
    Refer to the link below for more info on unused objects:
    How to find UNUSED InfoObjects list in BEx Query by comparing with Infoprovider.
    How To Find Unused InfoObjects Part - 1.
    Regards,
    Ashvin

  • How to find which objects were causing library cache latches?

    Hi All,
    An hour back we saw a lot of sessions waiting on "latch: library cache".
    Below is the output of the ASH Report:
    Top Event P1/P2/P3 Values
    Event     % Event     P1 Value, P2 Value, P3 Value     % Activity     Parameter 1     Parameter 2     Parameter 3
    latch: library cache     80.23     "13835058076921816712", "214", "0"     29.16     address     number     tries
              "13835058076921817352", "214", "0"     16.66               
              "13835058076921817992", "214", "0"     8.69               
    latch: shared pool     7.00     "13835058055432026888", "213", "0"     5.93     address     number     tries
    How do we find out the Address from this P1 Value?
    Thanks in advance

    If you want to find the object you are waiting on:
    SELECT kglnaown "Owner", kglnaobj "Object"
    FROM x$kglob
    WHERE kglhdadr=<P1RAW from v$session_wait>

  • How to find an object from its ID in Integration Repository

    When trying to import a package, I get an error
    "Internal error when importing object 553afdf1-c83d-11d9-871d-0007e9102256....
    I have tried to find the object using the Object->Find... menu item, but selecting Object ID in the attributes field and entering this string does not return any hits.
    Am I doing this right, or is there another way to find the object?
    Kind Regards,
    Tony.

    I am using PI7.0, If i get your question very well: I think there is no option to get an object with Id, all options are:
    Name,Changed on, Changed by,... etc.
    Pls check again.
    BR,
    Alok

  • How to find BW object (Charecteristic) is used in which queries.

    Hi Gurus,
    I need to look one BW Object(Charecteristic) is used in which queries?
    I tried with where used list for that object , but iam getting only object used in which Info Cubes,InfoSources, Transfer rules , update rules etc..
    Can you help me out to find that object used in which queries , orther than going each query and look inside that.
    Thanks in Advance

    Hi lakshmi,
    Use the metadata repository availbel in RSA1 ..there find ur infobject in the infoobject list and u will find out what queries use that infoobject.
    Arun

Maybe you are looking for

  • Error on HP-UX

    Hi. I have this class. * RtsPrintReport.java * Created on 6 ottobre 2004, 1.57 package reports.print; import net.sf.jasperreports.engine.*; import net.sf.jasperreports.engine.design.*; import net.sf.jasperreports.engine.export.*; import java.io.*; im

  • What should I do if I download a song and it has an error message.....

    I just downloaded a song and it kept giving me an error message and when I went to play the song it will not even start.

  • How to test Https enabled in SR?

    HI Gems,    I have soap sender scenario and published my service in SR as well. When i test my service from SR, i see both(Http and Https) bindings have Http it self but in the bottom at target url i can see Http for Http and Https for Https. Can you

  • Can't open the codec settings

    Hey there, I can't seem to be able to open the codec settings panel. It's grayed out: I choose QT movie and then ProRes 4444 (trying to export with alpha channel) but I can't even open the codec settings. Same thing with the Animation codec. Is it su

  • Premiere to AE to Encore

    Hi, I have created a 1 hour film, using HDV footage which I want to send to AE to perform colour correction on the entire film and then send to encore to produce as a DVD.  I am confused whether I should use Dynamic Link or export as files to transfe