HR_CHECK_AUTHORITY_INFTY and queries

Hi,
Wanna know if this can check for PD infotype authorisation as well other than PA infotypes?
such as hrp1000 etc.
Currently did not work for me..
Does anyone got any FM to check this? For HRP infotype...
thanks a million,
lihui

Hi,
By the way may i know when using RH_PM_AUTH_CHECK,
i need to check for the user that runs the report such as sy-uname is user1234, how do i pass this value to this fm to check if this user has authorisation to read hrp1000 values?
which parameters shld i use?
Thanks and Regards,
lihui

Similar Messages

  • Control multiple updates and queries within one transaction in JPA

    Hi,
    I have a question regarding control multiple updates and queries within one transaction. We are using EclipseLink 2.3.1. With below code, will I be able to:
    - have all insert, update, select queries committed in one transaction;
    - queryGetBalance will return the latest OrgBalance after update;
    - if one fails, everything rolls back.
    Thanks!
    Jeffrey
    PS: I realized that I cannot use em.getTransaction().begin() and em.getTransaction().commit(), since I am using JTA.
    =============
    @PersistenceContext(unitName="Test")
    EntityManager em;
    em.setFlushMode(FlushModeType.COMMIT);
    newTransaction.setAmount(1000);
    newTransaction.setType("check");
    em.persist(newTransaction);
    orgAudit.setUpdateUser("Joe")
    orgAudit.setupUpdateTime(time);
    em.merge(orgAudit);
    Query queryUpdateBalance = em.createQuery("update OrgBalance o set o.balance = o.balance + :amount where orgId = :myOrgId");
    queryUpdateBalance.setParameter("amount", 1000);
    queryUpdateBalance.setParameter("myOrgId", 1234);
    Query queryGetBalance = em.createQuery("select OrgBalance o where o.orgId = :myOrgId");
    queryGetBalance.setHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);
    queryGetBalance.setHint("javax.persistence.cache.retrieveMode", CacheRetrieveMode.BYPASS);
    queryGetBalance.getResultList();
    em.flush();
    Edited by: JeffreyW on Dec 12, 2011 10:34 AM

    Yes, the operation will be in a single transaction, assuming you are using a JTA managed SessionBean and the code is part of a SessionBean method.

  • Errors and Queries regarding manually create database in oracle 9i

    Create database manually with following steps:
    1) Create SID
    C:\> set ORACLE_SID=mynewdb
    2)Create suitable database directories within oracle directory.
    Create folders udump,cdump,bdump within C:\oracle\admin\mynewdb\
    3)Create PFILE
    4)Create a password file using:
    C:\> orapwd file=C:\oracle\ora90\database\PWDmynewdb.ora password=oracle
    5)Create an instance of database
    C:\> oradim -new -sid mynewdb
    6)Start sqlplus:
    C:\> sqlplus\nolog
    7)connect / as sysdba
    8)startup nomount
    9)Run CREATE DATABASE script
    'Database Created' prompt display on screen.
    11) Run two scripts i.e. catalog.sql and catproc.sql
    Following are errors and queries related to database creation. :
    Errors+_
    Following error occur when start database:
    Total System Global Area 336359616 bytes
    Fixed Size 282816 bytes
    Variable Size 234881024 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 532480 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    For start database I give following command, but it gives me same error:
    STARTUP OPEN PFILE='c:\ORACLE\ORA90\DATABASE\initmynewdb.ora'
    or
    STARTUP FORCE OPEN PFILE='c:\ORACLE\ORA90\DATABASE\initmynewdb.ora'
    or
    STARTUP OPEN
    or
    STARTUP FORCE OPEN
    Queries_
    *1)There are one databases in my machine name "orcl"*
    when I give commands
    C:\> connect / as sysdba
    C:\> startup nomount
    When I run "connect / as sysdba", in this which database instance connect?
    how the oracle will know to start mynewdb database instance in nomount? although I am not create database.
    *2) Step "startup nomount". In this, which database started in nomount?*
    *3) There is no reference for PFILE in CREATE DATABASE script. How the oracle will know which is the PFILE for database mynewdb?*
    *4) I create password file, how the oracle will know password file for which database (in this case mynewdb database)? How to map password file with particular database?*
    Thanks and Regards,
    Sachin

    Hi,
    not any thing new from the already given answer. But, i hope this examples gives more clarity.
    Answers below:
    1) ORACLE_SID is the answer
    2) see the output below.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 61785680 bytes
    Fixed Size 730704 bytes
    Variable Size 58720256 bytes
    Database Buffers 2048000 bytes
    Redo Buffers 286720 bytes
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    mytestdB
    SQL>
    SQL> show parameter db_name
    NAME TYPE
    VALUE
    db_name string
    mytestdB
    3) Check environment variables for ORACLE_HOME variable will let you know the location of the PFILE. By default it will be ORACLE_HOME/database (windows), ORACLE_HOME/dbs (LINUX/UNIX).
    SET command will help you or use widows options.
    In some other cases, the PFILE contains the link to it with IFILE value left in PFILE which should show the location.
    4) Check environment variables for ORACLE_HOME variable will let you know the location of the password file. By default it will be expected in ORACLE_HOME/database (windows), ORACLE_HOME/dbs (LINUX/UNIX).
    Regrds,
    Vasu.

  • Changing the technical names of an ODS and queries

    Can I change the technical name of an ODS and the queries that are built on it? If so how? Thanks

    Hi Niten,
    As said by others it is not possible to change the technical name of any BW Object as there are too many complexities involved. However a possible option is create another ODS/cube and queries as the copy of the existing one and then transfer all the data.
    Refer this post:
    Re: Change infocube name
    Bye
    Dinesh

  • Where are the web templetes, web items and queries stored?

    Hi,
    I have created many reports using Web Application Designer and Query Designer, Now I want to get these reports and querys in my webDypro program, so i think first i must find out where can i find them, anybody know which table store the web templetes ,web items and queries?

    hi Jacky,
    query
    RSRREPDIR, RSZCOMPDIR
    (other tables : RSRREPDIR, RSZRANGE, RSZELTXREF, RSZELTTXT, RSZSELECT, RSZCOMPDIR, RSZELTDIR
    RSZCOMPIC, RSZELTPRIO, RSZELTPROP, RSZELTATTR, RSZELTTXT, RSZCALC, RSZCEL, RSZGLOBV)
    webtemplates
    RSZWTEMPLATE
    web items
    RSZWITEM                       Header Table for BW Web Items
    RSZWMDITEM                     BW Web Metadata: Template Item
    hope this helps.

  • Decommission work books and queries

    Hello Experts - we have couple of workbooks and queries in Production, which we are no longer using. Instead of removing them from production, we would like to hide them. We may need them in the future.
    Is there any way, I could hide them?
    Thanks in advance !!!
    Kumar

    Hi Kumar,
    You can move them to a role which is not assigned to the users you want to hide them from.
    Hope this helps...

  • Is any one answer about SD datasources, cubes and queries on SD?

    is any one answer about SD datasources, cubes and queries on SD?

    hi,
    refer to this links.
    http://help.sap.com/saphelp_nw04s/helpdata/en/3c/63073c52619459e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/2e/c09a5ee9e94e86a73109c5c3184efa/frameset.htm
    hope it helps,
    regards,
    Parth.

  • How to use different iViews for variables and queries?

    Hi all!
    I need to use separtate iViews for storing variables and extracting queries.
    For example, I have one variable "Currency" for two different queries,  and I need that all of these queries (in separate iViews) would use the value of currency was put by user in the first iView with only one input.
    How can I do this task? Is it possible at all?
    Thanks for replies.

    Hello Alex,
    You have to use EP client framework (EPCF) in your development.
    I hope this idea will help you.
    Kind regards, Pino.

  • A question about objects and queries

    I just started using COM objects in ColdFusion. I am mostly
    using CreateObject, but occasionaly use <CFOBJECT>
    My question is; Do I have to destroy these object variables
    when I am done? I know in a lot of other languages I work in, you
    have to "clean up'" after yourself and destroy some variables when
    you are done to avoid memory leaks. How does CF handle this?
    While I am asking, what about queries? Do hey have to be
    destroyed as well? What about queries made with QueryNew?
    Thank you for the help.

    Cold fusion cleans up for you.
    You do not need to explicitly destroy anything unless threads
    are spawned in a non standard way by Java or C code that you are
    using.

  • Link between Menu and Queries

    Hi Guru's,
    Where can I find a link (in which table(s)) between the queries and the menu (pfcg) ?
    Is there something better than AGR_BUFFI ? I need only the technical name of the quey and not the entire URL ...
    Thanks in advance
    Alex
    Message was edited by: Aleksi

    Hi Guru's,
    Where can I find a link (in which table(s)) between the queries and the menu (pfcg) ?
    Is there something better than AGR_BUFFI ? I need only the technical name of the quey and not the entire URL ...
    Thanks in advance
    Alex
    Message was edited by: Aleksi

  • Vertical mappings and queries

    Hi all,
    I am currently a bit frightened by what I see in my logs. Most of our
    classes (around 70 for the moment) are belonging to a complex hierarchy.
    BASE <---------> RELATION
    ||||
    subclasses
    The top superclass 'base' is a class which is containing a collection
    of relations. The class relation is used to link 2 subclasses of 'Base'
    together.
    Because each subclass needs to get access to its relations, 'Base' is
    mapped as a concrete class (can't be horizontal or flat). Hierarchy's
    leaves are mapped 'vertical' and the other classes are mapped as 'flat'
    or 'vertical' to limit the number of tables and joins.
    So, when I execute a JDOQL query which uses the relations to crawl in
    the database, it seems that the query is launched nearly 70 times, one
    time per leaf, with all the joins included. Useless to say that
    execution time is quite huge even for a little query.
    My expectations were that JDO could only make the query on the 'Base'
    class, and when results are known, only making the joins to retrieve
    resulted classes' fields. Reading the documentation, I've met the
    concept of 'fetch groups' which could handle all the lazy-loading as I
    wish to. I've tried to include only the 'Base' fields in the default
    fetch group to see if it resolves my problem, but it seems to have no
    diffferences.
    As I have not a great knownledge of fetching, I may have missed
    something, so If someone could point me the right way, it would be
    greatly appreciated :)
    Thomas

    So it the relation defined at base? Then it should not be in the
    default fetch group as may be issuing spurious queries.
    Thomas Cornet wrote:
    >
    Hi all,
    I am currently a bit frightened by what I see in my logs. Most of our
    classes (around 70 for the moment) are belonging to a complex hierarchy.
    BASE <---------> RELATION
    ||||
    subclasses
    The top superclass 'base' is a class which is containing a collection
    of relations. The class relation is used to link 2 subclasses of 'Base'
    together.
    Because each subclass needs to get access to its relations, 'Base' is
    mapped as a concrete class (can't be horizontal or flat). Hierarchy's
    leaves are mapped 'vertical' and the other classes are mapped as 'flat'
    or 'vertical' to limit the number of tables and joins.
    So, when I execute a JDOQL query which uses the relations to crawl in
    the database, it seems that the query is launched nearly 70 times, one
    time per leaf, with all the joins included. Useless to say that
    execution time is quite huge even for a little query.
    My expectations were that JDO could only make the query on the 'Base'
    class, and when results are known, only making the joins to retrieve
    resulted classes' fields. Reading the documentation, I've met the
    concept of 'fetch groups' which could handle all the lazy-loading as I
    wish to. I've tried to include only the 'Base' fields in the default
    fetch group to see if it resolves my problem, but it seems to have no
    diffferences.
    As I have not a great knownledge of fetching, I may have missed
    something, so If someone could point me the right way, it would be
    greatly appreciated :)
    Thomas--
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Standard and Non-standard exports and queries issue

    Hi,
    We have created a few STANDARD books with standard exports in them. The standard exports use standard queries.
    The ISSUE is that in the Verifications/Filters tab, where we have put in a lot of queries - ONLY the STANDARD queries show up. We would like to have all the queries show up. I am the adminsitrator and still only the standard ones show up.
    I am worried that if I "Save As" the export as a non-standard export, it does not allow me to uncheck the standard tick column and save it but I have to manually change the name of the export. Can we change this in anyway?
    Is there a system preference where I can allow all the queries to show up in the verifications/filter tab at least for the admnistrators if not for all? Thanks
    - Ad

    Thanks for your input but DRM does seem to be behaving what you said or may be I am still missing something here.
    I created a standard query.
    I have a standard export.
    Now, in the verification/filter tab of my Standard export, I am able to see my standard queries.
    But,
    I am unable to see the Non-Standard Queries.
    HOWEVER,
    If I have a Non-Standard export --> I am able to ALL the queries. This makes it a lot more flexible in doing things.
    My question is the WHY are my standard exports not able to reach the non-standard queries. What I wanted to do a twist in my export for analysis purposes for a particular use. If non-standard exports have access to Standard and Non-Standard queries --> it just makes more sense to always use a non-standard export and create non-standard queries.

  • About EntityManager and queries

    Hi. I'm just getting started with EJB 3 and JSF. I have noticed that, in our session beans when we want to make a query, we use an EntityManager, which invokes a method which I think is createQuery. This method returns a Collection of Entity objects, but I have noticed that our queries are set like "from EntityBean where...", which means that I can't find any "SELECT"!!!. Is this normal? Is there any way that I can use a normal query, such as "SELECT Name from Table WHERE..."? I hope that I can get some help, thanks in advance!

    Cold fusion cleans up for you.
    You do not need to explicitly destroy anything unless threads
    are spawned in a non standard way by Java or C code that you are
    using.

  • Deleting variables and queries

    Apart from RSZDELETE what is the best alternative to delete variables and/or queries? Thanks

    Hi Niten,
    I am not sure about Tcode to delete variables....But you can delete all unnecessary variables from Query designer itself...But before deleting variables make sure you don't need them anymore and these varaibles are not being used in any other Queries...
    If you try to delete a variable which is being used in other Query,it will display a message 'Variable being still used...etc....if you click on details...it will show you where it is being used....
    To delete variables:
    Open any Query-->expand Characteristic->expand charactristi value variables->right click->delete.
    hope this helps

  • Eigrp Updates and Queries

    Hi,
    i was wondering if any one has some average statistices for the EIGRP Updates, Queries, and replies in a avarage network with a 260 routes in the routing tables.
    Below are are my statistices. I feel they are pretty much high....can any one confirm?
    10:00
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 430374/127566
    Updates sent/received: 815/1350
    Queries sent/received: 700/821
    Replies sent/received: 821/973
    Acks sent/received: 2927/2678
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    10:15
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 433395/128460
    Updates sent/received: 820/1357
    Queries sent/received: 700/821
    Replies sent/received: 821/973
    Acks sent/received: 2934/2685
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    10:30
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 438691/130032
    Updates sent/received: 825/1364
    Queries sent/received: 705/825
    Replies sent/received: 825/980
    Acks sent/received: 2950/2701
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    11:00
    TOR-CORP-RS1#sh ip eigrp traffic
    IP-EIGRP Traffic Statistics for AS 1
    Hellos sent/received: 451119/133714
    Updates sent/received: 860/1413
    Queries sent/received: 730/845
    Replies sent/received: 845/1015
    Acks sent/received: 3048/2797
    Input queue high water mark 13, 0 drops
    SIA-Queries sent/received: 0/0
    SIA-Replies sent/received: 0/0
    Thanks
    SAM

    There's no "normal" for these types of numbers.
    That said, it does look odd that you have almost as many queries as you have updates--it does seem like you have a lot of active states on this specific router. What I would do is take an occassional look at the EIGRP event log, and see what's there. If you see a single route going active quite a bit, then you might want to chase down why that route is active so often, and see what can be done to fix it. If you see a lot of routes going active, then passive, on a regular basis, I would chase down one route, and if nothing shows up there, try and find some common element for all the routes--a single link through which they all pass, or a single router, etc. Then see if you can figure out why that link or router might be bouncing a lot, or look for problems in that area.
    The EIGRP event log is probably the most important piece of information you have for monitoring the health of your network on a regular basis....
    HTH.
    Russ.W

Maybe you are looking for

  • The sound on my laptop has stopped working entirely, with and without headphones.  What should I do?

    The sound on my computer has stopped working.  I have searched through countles google entries to try and figure out the problem but I can't find anything remotely useful.  I never spilled any liquid or anything on my computer.  I was just searching

  • Possible to upgrade Solaris 9 branded zone to 10?

    We have an application running in a Solaris 9 branded zone. The application version is not compatible with Solaris 10, however, the next version of the application is compatible with Solaris 10. So the plan is to upgrade the application in the brande

  • How do i delete a reply?

    I can't even see an option to edit? Surely you can add to existing replies/edit posts?

  • Msi gt680 corel windvd doesn't play certain bluray

    hi all   just purchased my 1st gaming laptop gt680, games wise it's awesome......but for some reason corel windvd doesn't play certain bluray's, could someone point me in the right direction,    tried 'updating' windvd with no success (get a msg sayi

  • OSStatus error -19160

    I keep getting an "OSStatus error -19160" when I try to play videos from websites through my Quicktime player.  How do I fix it?