How to find the organization assigned to a responsibility from sqlplus

Hi,
I want to find the organization name which is assigned to a responsibility 'X' using SQL plus.
Any suggestions?
Thank you
KK

sql> exec fnd_global.apps_initialize(user_id,resp_id,resp_app_id);
sql> select fnd_profile.value('ORG_ID') from dual;

Similar Messages

  • HR-ABAP.How to Find the Employees assigned to the Appraisal Template

    Hi ,
    Please help me out.how to find the employees assigned to the Appraisal template.
    Ex. 7825232 is a appraisal template id and i want to know in the system how many employees assigned to it..
    Please let me know if the post is missing something.
    Suggestion also appreciated ...
    Thanks Inadvance!
    Law.

    check this fm HRHAP_DOCUMENT_GET_LIST_XXL
    Thanks
    Bala Duvvuri

  • How to find the plant assigned to a user profile

    Hi All,
    i am new to SRM but supporting it. so pls help.
    how to find the plant assigned to a user profile?
    i need to assign a address code to a company code-plant-building code so that the shipping address should come as a default in the shopping cart.
    i found many plants in the PPOMA_BBP  transaction but could not understand which plant i should take for the abhove assignment.
    Thanks in advance.
    Regards,
    Anubhab

    Hi,
    There is one check box in transaction for default value for every attribute. And a particular attribute there has to be a default value.
    Use FM BBP_GET_ATTRIBUTES_AT03 to fetch all attributes for a particular shopper. Then check for the particular attribute witha default value.
    In this way you will get default plant for that shopper can further requirement can be completed.
    Regards,
    Brajvir

  • How to find the arguments of a static method from the class file

    Hi,all !
    How to find the arguments of a static method from the class file? for example, when we meet a bytecode "invokestatic", how can I know the arguments of this static method?

    Hi,all !
    How to find the arguments of a static method from the
    class file? for example, when we meet a bytecode
    "invokestatic", how can I know the arguments of this
    static method?You mean
    1. The values?
    2. Argument names?
    3. Argument signatures.
    I would suppose for the last that the easiest way would be to parse the signature string.
    The first is not possible - not from the class file.
    The second is only in the debug information stored in the optional part of the class file. And figuring out the format for that is going to be a problem.

  • How to find the characteristics assigned to a dimention

    Hi all,
    Can anyone please tell me how I can find the characteristics assigned to a dimention.  Can I see that information in Infocube-Change or is there a transaction code to find?
    thanks,
    Sabrina.

    Hi Sabrina,
    You can surely look at it in InfoCube > Change...have you tried out the Graphical assignment, it looks better. Also youcan try out transaction LISTSCHEMA.
    Another way though roundabout is through SE11 > CUBENAME > F4. Then pick a table and Display.
    Hope this helps...

  • How to find the right primary key for DSO from Business Content

    According to best practice design, it is reccomended to make a  DSO where all fields from Business COntent Datasources are transferred.
    But, how to find the right primary indeks ?
    Any good suggestions ?
    For many of the Business Content dataflows there are not DSOs present, so ther e is no tip to get from the dokumentations as gfar as I have found.
    best Regards
    Ingrid

    Hi Ingrid,
    Your question will be perfect in case if you are going for a Custom cube.
    You will not have any problem when you create a Datasource in R/3 level even if it is been built on a single table or on view.
    Only point that you want to know how to design my Key fields in ODS.
    This will be purely depends at what level that you want to bring the data.
    Egg:-
    If you run the data source in RSA3 and check for Each GL if you have 10 liine items and you want all the 10 line items to be transfered to BW.
    In this case you need to check what is the unique combination of fields that is making this lineitems to exists as 10.then include all those fields into Your ODS Key Fields.
    This way you can have 10 records for that perticular GL in both sides, by which u will make sure that the data is been completely transfered.
    If in case if you clude your own Key fields then you will get the correct Total in report for each GL but you can't see all those 10 line items.
    For any case you need to figureout how many records that you want to take into BW based on that check the fields that makes it unique and then add them to ODS Keyfields that will solve your requirement.
    I think this will clear your doubt.
    Best Regards,
    VNK.

  • How to find the list of users  used  transcation from last 2 days plz urgen

    hi friendd
                   i am in need of  knowing the list of users used transcation in last 2 days
    can any one help me . how to find out the list of  users and used trancation in detail or step by step
    thanks in advance .i know that i can see in st03 but i dont find any user list or trancations .
    apart from that so we have any other transcation to see the user in sap abap box
    regards
    raja

    This info has been posted before but here you go (this is an alternative way to Bernhards):
    ST03N, make sure you are in Expert Mode (not Service Engineer)
    Expand Workload
    Expand Total
    Double Click on the day you want to analyse
    You can see transaction details under Transaction Profile -> Standard
    You can see what tx a user has started under User & Settlement Statistics -> User Profile
    If you are not seeing any data then speak to your Basis administrator about what they are doing with the log files.

  • How to find the Internal Document Structure Number STLNR from the DIR Key

    Hello:
    Our requirement: When a user moves the Header DIR of a Document BOM to Released Status, we need to check if all the BOM Items in this Document BOM have also been released (in Status Released). If not, we need to give the user an error message informing them which component DIRs need to be released before the system will allow them to release the Header DIR. We can do this by entering the DIR Key of the Header DIR and find out the Internal Document Structure Number (Document BOM Number = STLNR for BOM Category Document Structure STLTY = D) from the available input of the DIR Key DOKARDOKNRDOKTL+DOKVR. Then we need to use the value of STLNR in Table STPO to find the Document BOM Items and check the status of each BOM Item DIR.
    If Table STKO had DIR Key as an input we would have our solution, but alas it does not. Can anyone point us in the right direction by suggesting how to get to STLNR from the DIR Key? Your help would be much appreciated!
    Niraj Pant

    Hi Niraj,
    the STLNR should be contained in structure rc29k. You can also use the DMS BAPI DOCUMENT_GETDETAIL2 with parameter GetStructure or DOCUMENT_GETSTRUCTURE. With these BAPIs you should be able to determine the document structure to an existing document info record. For further information on the mentioned BAPIs please see SAP note <a href="https://service.sap.com/sap/support/notes/766277">766277</a>  which contains a complete documentation on all existing DMS BAPIs.
    Best regards,
    Christoph
    P.S.: Please reward points if this information was usefull.

  • How to find the mails triggered by which user from SOST or other transac.

    Hi Experts,
    How to find out mails triggered from SAP system by which user from SOST or some other means of mail triggering from SAP.
    Regards,
    IFF

    Hi Buddy,
    Make the question clear. You can check in SCOT transaction.
    Cheers,
    Sanil

  • How to find the active version of a program from table

    Hi to all experts.
                          without using version management of a program how can we find out the active version of the program through tables . I have checked table E071 couldn't find anything there .
    Thanks in advance

    Chk out htis link.
    Table Name for Transport Requests & Program name

  • How to find the DB server IP or Name from session?

    I login into an Oracle DB (10g). I want to find out the sever IP the DB is in? Or server name? How to get it?

    Channa wrote:
    I login into an Oracle DB (10g). I want to find out the sever IP the DB is in? Or server name? How to get it?==> For ip address
    connect to your database and fire this sql and filter accordingly your need
    SQL> select sid, machine,UTL_INADDR.get_host_address (substr(machine,instr(machine,'\')+1)) ip
    from v$session;
    ==> For database name
    SQL>select name from v$database;
    Hope you find that you need :)
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to find the date when object is moved from quality to production server

    Hi Experts,
    I am working with BADI ZMM_PUR_REQ_PROC_001-Method Check and BADI ZME_PROCESS_PO_CUST-Method Check.
    I need to add a check that a particular logic should be implemented only after this object is moved to the production server.
    How can i check the date when an object (in my case this BADI) is moved to the production server?
    <Removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Aug 1, 2011 10:55 AM

    Hi Sakshi,
    So your reqt is that the documents created after your Transport implementation date should pass the check and others (old ones) should ignore.
    I will recommend, if at all possible, to make all the old documents compatible to your check by doing a separate initial loading /one time activity to avoid this kind of hardcoding.
    IF not at all possible to do so, then I think you should better hardcode your Transport req number and fetch date (AS4DATE) from E070 table and only if any entry exists, use that date as your required date. I believe this will be the date of transport imported in the target system.
    You can avoid hardcoding Transport number by picking latest transport with respect to your object (BADI) using E071 table, but that will go wrong once you send any future changes in this BADI to Prod, so better to hardcode the transport.
    BR,
    Diwakar

  • How to find the tablespace name and schema name from a dump file

    Good day to all,
    I recived a dump file from a client with oracle 11g, and I need do get the tablespace and schema name from the dump file. How can I do that?
    Thanks.
    Flávio Melo
    Edited by: 933141 on 09/05/2012 07:41

    user12038066 wrote:
    Use imp utility, it generates DDL for both tables and indexes. So you will get tablespace info for both.
    Use impdp utility, it generates DDL for indexes only. So you will miss tablesapce info for tables.
    Haven't found a workaround for impdp utility. Anyone knows?Are you sure you are using the impdp utility correctly? Because if you do, then sqlfile should have all gory details.

  • How to find the version of weblogic and ADR from the zip file

    Can someone please tell me what version of weblogic is this => wls1034_generic.jar? And what version of ADR libaries are these ? => ofm_appdev_generic_11.1.1.2.0_disk1_1of1.zip ???
    and ofm_appdev_generic_11.1.1.3.0_disk1_1ofzip ???

    So is WLS 10.3.4. is compatible with ADR libs 11.1.1.2 and 11.1.1.3?
    Edited by: user9021545 on Jun 17, 2011 1:33 PM

  • How to find the users who r assigned to profile sap_all through su01

    how to find the users who r assigned to profile sap_all through su01

    you can get into SUIM-->where used lists, check for users with profile SAP_ALL you can get a list of users who have
    it. and you can get into SUIM through SU01 from user information system link.
    you can execute RSUSR002 from SA38/SE38.
    RSUSR002  is the report which gets you the whereused list for profiles within roles, users.
    you can get it from transaction SECR ofcourse you are executing the same report.
    you can get from UST04 table and obviously USR04 also because sometimes you  miss some details from UST04 because of sync problems.

Maybe you are looking for