Query to identify to which resposibilities the business areas asre shared

Hey,
I have a requiremnt to identify to which responsibilities the Business Area's in the EUL are shared with.
Can anyone help me if with query to get this info?
Thanks,
SK

SK,
This is the query I have been using. As you can see, my eul schema owner is eul_us:
select upper(ba.ba_name) business_area ,
resp.responsibility_name ,
resp.responsibility_id ,
nvl(crtd_by.user_name,'Seeded Business Area') created_by,
--usrs.eu_username                                   ,
regexp_substr(usrs.eu_username,'[[:digit:]]+',1,1) user_id1,
regexp_substr(usrs.eu_username,'[[:digit:]]+',1,2) user_id2,
crtd_by.user_name
from eul_us.eul5_eul_users usrs ,
eul_us.eul5_access_privs privs ,
eul_us.eul5_bas ba ,
applsys.fnd_responsibility_tl resp,
applsys.fnd_user crtd_by
where privs.ap_type ='GBA'
and privs.ap_eu_id =usrs.eu_id
and privs.gba_ba_id =ba.ba_id
and resp.responsibility_id (+)=regexp_substr(usrs.eu_username,'[[:digit:]]+',1,1)
and crtd_by.user_id(+) =regexp_substr(ba.ba_created_by,'[[:digit:]]+',1,1)
and resp.language= 'US'
order by 1;
I hope this helps.
Patrick

Similar Messages

  • Identify to which mid-tier you are be connected on a multi-node R12 env

    How can we identify to which mid-tier we are be connected on a multi-node R12 environment through backend
    Do someone have a handy script to get the details of the connected sessions on each middle-tier node

    hi
    user481019 wrote:
    How can we identify to which mid-tier we are be connected on a multi-node R12 environment through backendFND_NODES table contains information about node_names and services enabled on a node.
    In multinode instance if you want to know which node is running what services, You can query the fnd_nodes and get that information.
    Do someone have a handy script to get the details of the connected sessions on each middle-tier nodefnd_logins
    fnd_user
    v$process
    v$session
    REM
    REM It's configured to work with SQL Directory (SQLDIR).
    REM SQLDIR is a utility that allows easy organization and
    REM execution of SQL*Plus scripts using user-friendly menu.
    REM
    REM
    REM File:
    REM a_user_ses_R11i.10.2.sql
    REM
    REM <SQLDIR_GRP>APPS APPS_ADMIN USER MOST</SQLDIR_GRP>
    REM
    REM SQLDIR Group Descriptions:
    REM     APPS     -     APPS General
    REM     APPS_INST     -     APPS Installation
    REM     APPS_CONC_PROG     -     APPS Concurrent Programs
    REM     APPS_CONC_MAN     -     APPS Concurrent Managers
    REM     APPS_ADMIN     -     APPS Administration
    REM     DBF     - Data Files
    REM     TABSP     - Tablespace
    REM     UTIL     - Utility
    REM     INDX     - Index
    REM     LOG     - Redo Log
    REM     RBS     - Rollback
    REM     MAINT     - Maintenance
    REM     REVERSE     - Reverse Engineering
    REM     SGA     - SGA Maintenance
    REM     TAB     - Table
    REM     USER     - User Management
    REM     STATS     - Statistics
    REM     STORAGE     - Storage Management
    REM     INIT     - Database Init Parameters
    REM     LATCH     - Latches
    REM     LOCK     - Locks
    REM     SEGMENT     - Segment Management
    REM     BACKUP     - Backup Management
    REM     PQ     - Parallel Query
    REM     TRACE     - SQL Tracing Tuning
    REM     PART     - Partitioning
    REM     MOST     - Favorite Scripts
    REM
    REM
    REM
    REM
    REM Purpose:
    REM <SQLDIR_TXT>
    REM     This script reports APPS active middle-tier sessions
    REM     (works with newest 11.5.10.2 framework)
    REM </SQLDIR_TXT>
    REM
    REM Usage:
    REM a_user_ses_R11i.10.2.sql
    REM
    REM Example:
    REM a_user_ses_R11i.10.2.sql
    REM
    accept 1 prompt "Enter the type of sessions you'd like to report on web: "
    set lines 132
    set trims on
    col db_pid format a6 heading "DB-PID"
    col mt_pid format a6 heading "MT-PID"
    col sid_serial     format a16 heading "USR:SID,SERIAL"
    col apps_user format a12 heading "Apps User"
    col apps_logon_time     format a15 heading "-- Apps --|Logon Time"
    col mt_detail     format a15 heading "Middle Tier"
    col mt_start_time     format a15 heading "-- M-Tier --|Logon Time"
    col module     format a10 heading "Module"
    col action     format a35 heading "Module Detail"
    alter session set nls_date_format='MON-DD HH24:MI';
    select /*+ ORDERED */
    p.spid db_pid
    , s.process mt_pid
    , s.username||':'||SUBSTR(s.sid||','||s.serial#,1,15 ) sid_serial
    , fl.start_time apps_logon_time
    , fu.user_name apps_user
    , s.machine||'.'||s.osuser mt_detail
    --, logon_time mt_start_time
    , substr(module,1,10) module, action
    from fnd_logins fl
    , fnd_user fu
    , v$process p
    , v$session s
    where decode('&&1','web',fl.spid,1)=decode('&&1','web',s .process,1)
    and fl.pid=p.pid
    and fl.process_spid=p.spid
    and fl.serial#=p.serial#
    and s.process is not null
    and s.paddr = p.addr
    and fl.user_id=fu.user_id
    and fl.end_time is null
    please see this
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Connected+users&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    ;) AppsMAsti ;)
    Sharing is Caring

  • Removing the business area from the WBS element

    Hi Experts,
    I have created the WBS element with business area. Then created the PR against that WBS element , converted the PR's to PO's.
    Now I want to remove the business area from WBS element.
    Now as Business area field become grayed out hence I canot remove the Business area from WBS element.
    Hence I have cancelled the PO's then Cancelled the PR's. So now there is no actual cost & no commitment exists against the WBS element.
    But still Business area field is grayed out for that WBS element.
    Could you please let me know how to remove the business area in this case ???
    Regards,
    Pradip

    Hi,
    Once BA is grayed out then you can not change the same, this is sap std. behavior. Here you can lock the existing wbse which having wrong BA to avoid further actual postings.
    Create new wbse with correct BA & then create pr & po.
    Regards,
    Sandeep

  • An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229

     Recently i upgraded my SharePoint server 2013 to SP1, after the upgrade i received following message in manage database Status page " Databases running in compatibility range, upgrade recommended" 
    for Business Data Connectivity Database. Then i ran Sharepoint Configuration wizard, which fixed that error on that page but i am getting a error message while accessing BDCApplication page in manage service applications pagein central admin"
    An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229
    Sys Log :
    The BDC Service application failed due to a SQL Exception: SQLServer host WSQLD05\DV. The error returned was: 'The EXECUTE permission was denied on the object 'proc_ar_GetAdministrationMetadataCatalogByPartitionId', database 'sp_BusinessDataConnectivity_DV13',
    schema 'dbo'.'
    I checked the Db role of the service app pool account, it has SPDataAccess permission over the Database. i cant recreate another application without knowing the root cause. I hope i can get better option to troubleshoot the issue.
    Thank you

    As per the error message, you can at least grant the BDC service application pool account the EXECUTE perimssions on the sp_BusinessDataConnectivity_DV13 database
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • I am not able to see the Business area in Discoverer desktop

    Hi,
    r
    I am new to Discoverer
    I have created a business area in EUL with user name and password as dewip/dewip in Discoverer administrator and now when I am logging in to Discoverer Desktop with the same user name and password to create workbook I am able to log in but I am not able to find the Business area in the Discoverer desktop.
    After creating the business area do we need to do anything ( We don't even have save option to save also).
    In Discoverer admin -> tools-> privilages I checked to see the privilages for this user ,but I could not see this user name(dewip) only.
    Please help me ,its urgent.
    Thanks,
    gsr

    Hi gsr
    If you are working on Desktop and you change the default EUL but it doesn't stick this means that you don't have Admin rights over your machine.
    In order to make these setting stick you need to have permission to update the system registry.
    If you really cannot be given these rights then I suggest you ask you system admin to change the registry setting for you on your machine so that it reflects the correct EUL. You will find it here:
    1. From the Start button, use Run | regedit
    2. Open your registry to display HKEY_CURRENT_USER | Software | Oracle | Discoverer 10
    3. Expand the folder called Database
    4. Inside here you will see one set of settings that begin with AEUL and another with UEL. The format is like this:
    AEUL_username_database and UEUL_username_database
    5. You should see the name of the default EUL in the column called Data
    6. Right-click on the setting you want to change and from the pop-up select Modify
    7. Type the name of the EUL that Desktop should default to for that user in the database, making sure you type it in UPPERCASE
    8. Click the OK button
    9. Close the registry
    When you now connect to Discoverer Desktop you should be in the correct EUL.
    Note: this is only required if you don't have admin rights on your PC. If you do have admin rights then Discoverer will set this for itself.
    By the way, if you or anyone reading this is unsure about manually editing your registry you should back it up first. Here are the steps:
    To backup your registry, follow this workflow:
    1. From your PC, click Start | Run
    2. In the Run dialog box, type "regedit" and press the Enter key
    3. The registry will now be displayed
    4. From the registry menu bar, select Registry | Export Registry File
    5. When the Export Registry File dialog box opens, give a name to the file you want the registry to be saved as
    6. In Export Range, check "All" or "Selected Branch" - Selected Branch will export the current folder, so if you happen to have already navigated down tp the appropriate Discoverer Administrator folder you will be able to back it up
    7. Click the Save button
    8. Close the registry editor
    To restore your registry, follow this workflow:
    1. From your PC, click Start | Run
    2. In the Run dialog box, type "regedit" and press the Enter key
    3. The registry will now be displayed
    4. From the registry menu bar, select Registry | Import Registry File
    5. Navigate to the folder in which your registry is saved and locate the file
    6. Click the Open button - the registry will be restored
    7. Close the registry editor
    Best wishes
    Michael

  • Making the Business Area field as editable

    Hi
    We have business area field as compulsory field for document splitting. The same is picking up on the Business Area assignment in SD. However, the field for the same is seen as greyed out field in Sales Order at line item level. we would like to make the same field as editable. How can the same be done?
    Regards
    Rahul Sharma

    Hi
    The fields in a sales order can be made optional / mandatory by following this menu path - IMG - S&D-> Basic > Functions-> Log of incomplete Procedures => select the fields > from the tables and the system will check for them (OVA2/VUA2)
    To make a filed entry enabled or grey (non-entry allowed):
    User exits in the program MV45AFZZ-USEREXIT_FIELD_MODIFICATION
    This user exit can be used to modify the attributes of the screen fields. To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP.
    If a field has no field name, it cannot be allocated to a group. The usage of the field groups (modification group 1-4) is as follows:
    Modification group 1: Automatic modification with transaction MFAW
    Modification group 2: It contains ‘LOO’ for step loop fields
    Modification group 3: For modifications which depend on check tables or on other fixed information
    Modification group 4: is not used
    The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit. This FORM routine is called up by the module FELDAUSWAHL.
    Actually suppressing fielding sales orders userwise is quite easy. We are doing it in our company. For this we use userexit FORM USEREXIT_FIELD_MODIFICATION in MV45AFZZ.
    Below is the sample code
    IF SCREEN-NAME = ‘VBKD-ABSSC’.
    AUTHORITY-CHECK OBJECT ‘ZMV45AFZZ’ ID ‘SCRFNAME’ FIELD SCREEN-NAME.
    IF sy-subrc = 0.
    SCREEN-INPUT = 1.
    else.
    SCREEN-INPUT = 0.
    ENDIF.
    endif.
    You place the authority check object in authorization profile in the role of the users, who should have access to the field (in this case it is VBKD-ABSSC), and there assign the corresponding fields that are to be accessed via this userexit.

  • Problem in changing the Business Area?

    Hi,
    I have a discoverer report where the eul folders are in one business are. Now I need to change the business area. By manage folder option I can do that.
    Now my query is as the business are is changed for the folder what should I do for the workbook. Do I need to recreate it because the business area definitions are changed.
    Could anyone please help....
    Thanks

    Hi,
    You don't need to change the workbook at all. However, make sure the business area security is correct so that the workbook owner can still access the folder. The workbook references the folder and so the folder will be shown in the new business area when you inspect the workbook items.
    Rod West

  • How to fetch the Business area field value from MIRo into report

    Hi,
    I want to create a report for MIRO with payment details.
    How to fetch the business area field value in to report.
    What is the table name. I verified it is storing in structure. Which is the right table for fetching that value with reference to MIRO.
    After that, how to find the accounting document for payment and check details.
    What are the table names and field names. What we can get from PAYR table.
    With regards
    Lakki

    Dear,
    For Bussiness area
    RKPF-GSBER

  • Which of the following are true about abstract methods in EJB 2.0

    Hi guys I'm beginner to EJB and i got some unanswered questions.
    Can any one of you please.. give answers?
    Thanks if you do...
    Which of the following are true about abstract methods in EJB 2.0
    CMP?
    Choose all correct answers:
    1. Abstract accessor methods should not be exposed in the EJB
    component's interface
    2.Abstract accessor/mutator methods are used to access and modify
    persistent state and relationship information for entity objects
    3.Abstract Accessor/Mutator methods do not throw exceptions
    4.The EJB developer must implement the Accessor/Mutator methods
    5.Abstract accessor methods may or may not be exposed in the EJB
    component's interface
    2.Which ONE of the following is true?
    Choose the best answer:
    1.Local interfaces cannot have a relationship with other Entity
    components
    2.Local interfaces cannot be used for Stateless Session EJB
    3.Local interfaces can be a part of Object's persistent state
    4.Local interfaces have the same functionality as that of a
    stateless Session EJB
    3.Which of the following describe the <cmr-field> in a EJB 2.0
    descriptor?
    Choose all correct answers:
    1.A Local interface/Entity can be a value of a <cmr-field>
    2.There is no <cmr-field> in EJB 2.0 descriptor
    3.It is used to represent one meaningful association between any
    pair of Entity EJBs, based on the business logic of the Application
    4.It provides a particular mapping from an object model to a
    relational database schema
    5.It allows the Local Entity interfaces to participate in
    relationships
    4.Which of the following are the advantages of using Local interfaces
    instead of dependent value classes?
    Choose all correct answers:
    1.Local Entity Interfaces can participate in Relationships
    2.The life cycle of Local Entity Interfaces is managed by EJB
    container, intelligently
    3.Local Entity Interfaces can be used in EJB QL Queries
    4.Local Entity Interfaces can be a part of the <cmp-field> but not
    <cmr-field>
    5.Which of the following are true about Local interfaces
    1.A local interface must be located in the same JVM to which the EJB
    component is deployed
    2.Local calls involve pass-by-reference.
    3.The objects that are passed as parameters in local interface
    method calls must be serializable.
    4.In general, the references that are passed across the local
    interface cannot be used outside of the immediate call chain and must
    never be stored as part of the state of another enterprise bean.
    6.Which of the following specifies the correct way for a client
    to access a Message driven Bean?
    Choose the best answer:
    1. via a Remote interface
    2. via Home interface
    3. Message driven bean can be accessed directly by the client
    4. both 1 & 2
    5. none of the above
    ------------------------------------------------------------------------7.Which of the following statements are true about message-driven
    bean Clients?
    ------------------------------------------------------------------------Choose all correct answers:
    They can create Queue and QueueConnectionFactory objects
    They can create Topic and TopicConnectionFactory objects
    They can lookup the JNDI server and obtain the references for
    Queue and Topic and their connection Factories
    Only 1 and 2 above

    Hi guys I'm beginner to EJB and i got some unanswered
    questions.
    Can any one of you please.. give answers?
    Thanks if you do...
    Which of the following are true about abstract methods
    in EJB 2.0
    CMP?
    Choose all correct answers:
    1. Abstract accessor methods should not be exposed
    d in the EJB
    component's interfacefalse
    2.Abstract accessor/mutator methods are used to
    access and modify
    persistent state and relationship information for
    entity objectstrue
    >
    3.Abstract Accessor/Mutator methods do not throw
    exceptionstrue
    >
    4.The EJB developer must implement the
    Accessor/Mutator methodsfalse
    5.Abstract accessor methods may or may not be exposed
    in the EJB
    component's interfacetrue
    2.Which ONE of the following is true?
    Choose the best answer:
    1.Local interfaces cannot have a relationship with
    other Entity
    componentsfalse
    2.Local interfaces cannot be used for Stateless
    Session EJBfalse
    3.Local interfaces can be a part of Object's
    persistent statefalse
    4.Local interfaces have the same functionality as
    that of a
    stateless Session EJBtrue
    3.Which of the following describe the <cmr-field> in a
    EJB 2.0
    descriptor?
    Choose all correct answers:
    1.A Local interface/Entity can be a value of a
    <cmr-field>true
    2.There is no <cmr-field> in EJB 2.0 descriptorfalse
    3.It is used to represent one meaningful association
    between any
    pair of Entity EJBs, based on the business logic of
    the Applicationtrue
    4.It provides a particular mapping from an object
    model to a
    relational database schematrue
    5.It allows the Local Entity interfaces to
    participate in
    relationshipstrue
    4.Which of the following are the advantages of using
    Local interfaces
    instead of dependent value classes?
    Choose all correct answers:
    1.Local Entity Interfaces can participate in
    Relationshipsis
    2.The life cycle of Local Entity Interfaces is
    managed by EJB
    container, intelligentlyis
    3.Local Entity Interfaces can be used in EJB QL
    Queriesnot
    4.Local Entity Interfaces can be a part of the
    <cmp-field> but not
    <cmr-field>not
    >
    >
    5.Which of the following are true about Local
    interfaces
    1.A local interface must be located in the same JVM
    M to which the EJB
    component is deployedtrue
    2.Local calls involve pass-by-reference.true
    3.The objects that are passed as parameters in local
    l interface
    method calls must be serializable.false
    4.In general, the references that are passed across
    s the local
    interface cannot be used outside of the immediate
    e call chain and must
    never be stored as part of the state of another
    r enterprise bean.true
    >
    6.Which of the following specifies the correct way for
    a client
    to access a Message driven Bean?
    Choose the best answer:
    1. via a Remote interfacefalse
    2. via Home interfacefalse
    3. Message driven bean can be accessed directly by
    the clientfalse
    4. both 1 & 2false
    5. none of the abovetrue.
    >
    ----------------7.Which of the following statements
    are true about message-driven
    bean Clients?
    ----------------Choose all correct answers:
    They can create Queue and QueueConnectionFactory
    objectsthe container can, dunno bout clients
    >
    They can create Topic and TopicConnectionFactory
    objectsthe container can, dunno bout clients
    >
    They can lookup the JNDI server and obtain the
    references for
    Queue and Topic and their connection Factories
    true
    Only 1 and 2 abovefalse
    somebody correct me if i'm wrong

  • To which application does business area belong?

    Hi,
    Report owners are defined by category (right now I am not taking into account users) . We can have an owner GL or AP etc. In other words, if the owner of a report is GL it would then make it obvious that the report belongs to the General Ledger group.
    However, the GL owner is defined in the same table as all other users. We would like a LOV of just the general categories and I can't think of a way to separate them from the rest of the users. For now, I defined the LOV using an sql select with " Select ...from dual...UNION .... ". Of course that means that if we should add a new owner then the owner must also be added to the LOV select.
    In the Oracle application, when defining a responsibility, there is an application to which the responsibility belongs, e.g. General Ledger. We are trying to find a similiar definition for the Business Areas.
    In our company there is more than one Business Area for General Ledger. Is there anything that links those BAs to GL? I don't see it in the eul5_bas table.
    The purpose of all this is so that we can have a report which can extract information from all reports of a specific area, for instance all GL reports.
    I would like to know if this is even possible.
    Thank you.
    Leah

    I am able to get the all the owners. It is an issue of weeding out only around 10 specific owners. I did that manually by selecting in the sql the owners that were " in (GL,AP....)". It all works fine. However, it was an issue of what if in the future another owner is added (we just recently added PN), and then having to remember that we have to manually go into the script to add PN.
    My boss brought up the issue that in the Oracle application all responsibilities belong to a group, isn't there something like that with the business areas. I just wanted to confirm that that is not the case with discoverer, and that is really what you confirmed. Furthermore, I felt that even if those specific owners or business areas were attached to an appication GL,AP etc., it would still be a problem because we would then have to limit the applications to those that we are interested in. We then return to manually limiting the select.
    In summary, you confirmed what I thought was the case, and I very much appreciate your responses.
    Tamir, thanks very much once again for your help.
    Leah

  • Can i view customer report as per the business area wise , region-wise how?

    can i view customer report as per the business area wise , region-wise how?

    Hi,
    You can view the report business area wise, extract the report and go to dynamic selection and selection business area. When the report is display just sub total on business area. System is showing report as per your requirement.
    Regards,
    Pankaj

  • How to make the Business Area field from Change Mod to Display Mode in AS02

    Hi Gurus,
    I created a Customized T-code   YAS02   for making the Business Area in Display mode with the help of SHD0.
    But my client wants to do the same in standard T-code of AS02 and they don't like to use the customized T-code.
    Kindly advise to make the Business Area from Change Mode to Display Mode in AS02.
    Thanks in advance...
    regs / Devi Aparna

    Hi Devi,
    check the following customization
    asset accounting -> Integration with the General Ledger> Additional Account Assignment Objects-> Activate Account Assignment Objects---
    Regards,
    Ranjith

  • HT5622 I have two iPhones synced with the same Apple ID and so the contacts are being shared in both of them. Is there any way to revert this?? The reason is that if I delete some contact from one device then it automatically erases from the second one as

    I have two iPhones synced with the same Apple ID and so the contacts are being shared in both of them. Is there any way to revert this?? The reason is that if I delete some contact from one device then it automatically erases from the second one as well

    Yes, you stop using the same Apple ID under Settings > iCloud.

  • How  to split the business areas

    hi experts,
    i am having 500 to 600  business areas.
    my requirement is i want to split the g/l account, company code and amount data correspondingly.
    please help to solve the problem.

    Hi Kalyan,
    Based on company code we will be extracting the data, but it is posible in all the cases. So you refer the following link.
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/business-area-derivation-1867884
    Award points if useful.
    Cheers,
    Swamy Kunche.

  • Enabling of the Business Area field in Asset Master Record

    Hello SAP Gurus,
    Can you explain how I can enable Business Area field in Asset Master Record becz it needs be change.How I can acheive this becz it is coming in disabled mode.

    Once u ticked the check box save it.Now u can change these field in main asset master record and if u have ticked Su no also then in sub asset master record also.Make sure filed status is optional.
    Now u go to AS02 if u want to change the filed for main asset or sub asset
    Please assign points

Maybe you are looking for

  • How can I select multiple photos of files without selecting each individual one

    How can I select multiple files or photos without having to select each individual one? Like you can do on Windows

  • How can I move a calendar from my mac to the i Cloud

    how can I move a calendar from my mac to the i Cloud.  It is an existing calendar that I publish for others to view.  It does not update through the cloud since it is not curently on the cloud.  I cannot figure out how to move it on to the cloud.

  • Valuation Grouping Code same- Valuation Class different for each plant

    Hi All, We have 5 plants assigned to the company code. We have same Chart of Accounts (1000) and all the plants are grouped together to one valuation grouping code(001). Now if i extend the material codes to different plants, i am able to give each v

  • Formatting External Hard Drives

    Just got an additional iOmega 1TB Hard Drive for my computer as a second back-up. I am trying to format the drive for use on Mac's only (MAC OS Extended) at the moment. But it has been going for over 2 hours in disk utility and the progress bar is st

  • Camera Serial Number for Nikon D80?

    I've seen multiple references to sorting by camera serial number, and I've searched for info on how this info is incorporated into Lr 2.0, but so far I'm still in the dark. My system (Win XP SP3) doesn't incorporate serial number from my D80 when I i