Setting oracle apps  appscontext (user/organization/responsibility) in ODI

Hi All - Is there anyway we can setup appscontext (used in oracle applications/ebs suite) (user id/organization id/responsibility) before executing any stored procedures from ODI. This can be achieved in BPEL. We can set these as properties for oracle apps adapter (in BPEL) which will inturn execute our stored procedures. How do we achieve this in ODI?
Thanks!

Hi,
I found this in my notes:
To set the ORG_ID (Business Group) in a SQL*Plus session, use the following anonymous PL/SQL block:
BEGIN
fnd_client_info.set_org_context('<ORG_ID>'); --ORG_ID for Business Group ID
END;
or even simpler:
exec dbms_application_info.set_client_info('<ORG_ID>'); --ORG_ID for Business Group ID
I remember using it in order to be able to query on some Views that don't display any record, as they are based on the Business Group you are logged to. Once I used the EXEC.... command in SQL*Plus, the view displayed the corresponding information.
Try researching if package DBMS_APPLICATION_INFO could be used to set the ORGANIZATION_ID (to identify the Organization or Plant). Note that ORGANIZATION_ID is different than ORG_ID (ORG_ID is used to identify the Business Group).
Hope this helps.
By the way, please reply back with what you find and tell us if it worked and how you used it.
Regards,
Ramon

Similar Messages

  • Oracle Apps adapter: User name issue

    Hi All,
    I am using SOA 11g to call an API in EBS using Oracle Apps Adapter .I am passing User name,Responsibility Name and other parameteres in invoke properties. Now the API is called successfully with most of the user names while for few usenames it's not able able to resolve user id based on user name. Although if the API is called from Oracle Apps/PL SQL ,it is working for all the users.
    Please suggest.
    Thanks in advance

    At what stage are you seeing this error?

  • SQLLDR: Setting oracle apps context before calling sqlldr

    Hi,
    I am on oracle apps 11.5.10. We are calling FND apis like fnd_global.user_id within control file to get current user etc.. SQLLDR is called from host based concuurent program(shell script). Since context is not set in host program when we call plsql packages so FND apis global value returns -1.
    Is there a way we can set the context or make FND APIS return value as if we are calling from PLSQL concurrent program.
    Thanks much.

    not that i'm aware of. Maybe you can use external table(s) instead?

  • User Peference in Oracle Apps 11i

    HI
    One of my user has changed his peference to skip OA framework page which list responsibility.(Now directly logiing to forms)
    Now he wants to revert it back,can someone help me to resolve this issue.
    Due to some security issue I dont wan to assign the user 'Preferences SSWA' responsibility
    Can someone please help me
    ls there anyway to control user peference as sysadmin
    Thanks in advance

    Duplicate thread ..
    User Peference in Oracle Apps 11i
    User Peference in Oracle Apps 11i

  • Disco for Oracle Apps with Scheduling not in Apps ~ Throws Error ORA-06502

    Hi All,
    I have had an SR with Oracle for almost 1/2 year now to set-up scheduling with the scheduling schema not being Apps. They have not been able to fix this yet.
    I have used note 757831.1. When I try to set-up a schedule that is recurring, the following error is thrown: ORA-06502.
    Does any one have a success story associated with setting-up scheduling in a Disco Oracle Apps end user layer where the scheduling schema is not apps?
    Thanks,
    Patrick
    Edited by: Patrick Bacon on Dec 10, 2010 7:18 AM
    Edited by: Patrick Bacon on Dec 10, 2010 8:21 AM

    Pl do not post contents of MOS Docs publicly - this violates terms of your support contract.
    We were successful in doing this with Disco 4i a long time ago. I am assuming the process is the same for 10g. Pl see if these MOS Docs can help. Pl post the complete error message.
    Error When Trying To Schedule Workbooks: The Batch Repository Schema Must Have Been Granted Direct Access To All Of The Tables Referenced In This Sheet (Doc ID 1125208.1)
    How To Store Scheduled Workbooks Results In A Different Schema Other than APPS? (Doc ID 370855.1)
    Error When Trying To Schedule Workbooks: The Batch Repository Schema Must Have Been Granted Direct Access To All Of The Tables Referenced In This Sheet (Doc ID 464968.1)
    Discoverer Quick Start: Setting Up Workbook Scheduling (Doc ID 74116.1)
    Scheduling Workbooks In A Applications Mode EUL Configured With A Batch User Fails With Errors ORA-06502, ORA-06512 (Doc ID 331165.1)
    HTH
    Srini

  • Excel Template Registeration in Oracle Apps as concurrent program

    I would like to ask a question about the Excel Template : My question is how to register a Excel template in oracle apps with XML Publisher Responsibility and how to set the output as Excel, I am unable to create Template from XML publisher Responsibility for this Excel Template which I made. please help me out this, Thanks in advance

    .xsb is not allowed to be uploaded in oracle EBS R12
    I registered the template definition of type 'XSL-FO',It allows me to upload only .xsl file.
    The import command for .xsl file mentioned does not work in Oracle apps R12,Program still completes with warning.
    Please advice on this.
    Thanks in advance
    Shwetha

  • Setting password expiry for all users in oracle apps R12

    hi,
    i have OS RHEL 5,Oracle apps: 12.1.1
    now i want to set the password  expiry for all the users in oracle apps to 60 days..
    can some on please guide on how this could be done.
    It is urgent,your help is appreciated.
    regards,
    Milan Rathod

    Hi Milan;
    Check below thread
    How force users to change passwords every 60 days
    How force users to change passwords every 60 days
    PS:Registered: Sep 24, 2010
    Total Posts: 38
    Total Questions: 30 (28 unresolved)
    Please change your thread status to anwered which you already get answer for your issue
    Regard
    Helios

  • UNEXPECTED_OA_EXCEPTION: user ID = 6: responsibility ID =  oracle.apps.fnd.

    Randomly we get these errors in our jserv.log file and we are not able to figure out which module/OAF page are these coming from. I am just uploading last 1000 lines from jserv.log file as the original one is 14M in size.
    We have the below Profile Option for Logging
    PROFILE_OPTION_NAME USER_PROFILE_OPTION_NAME PROFILE_OPTION_VALUE
    AFLOG_LEVEL FND: Debug Log Level 6
    AFLOG_MODULE FND: Debug Log Module %
    AFLOG_ENABLED FND: Debug Log Enabled Y
    AFLOG_BUFFER_MODE FND: Debug Log Mode 2
    UNEXPECTED_OA_EXCEPTION: user ID = 6: responsibility ID = oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error
    ORA-06512: at "APPS.ICX_CALL", line 1182
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_SESSION_UTILITIES", line 31
    ORA-06512: at line 1
    ;

    Hi,
    Please see if (Note: 267348.1 - iRecruitment Registration gives User Defined Exception Error) is applicable.
    Regards,
    Hussein

  • BI with Oracle Apps, SET OF BOOKS

    I am new to BI with Oracle Apps.
    3 different companies are using same Oracle Apps system.
    In BI workbooks how do I make sure correct SET OF BOOKS is selected for all the workbooks.
    Currently Receipts Analysis workbook allows users to select organizations from all 3 companies.
    Looks like I have missed some big configuration / security setting.
    Thanks in advance help

    Hi,
    I don't think the Receipts Analysis workbook has any set of books security built in as standard. What folder/view is the workbook using?
    If you are using a GL responsibility you can include selection of your set of books by importing the gl_security_pkg.login_sob_id function in the the Discoverer EUL and then adding a condition that selects the sob id using the sob id returned by the function.
    Hope that helps,
    Rod West

  • Oracle Apps Responsibility Significance in Discoverer

    Can anybody explain me the significance of selecting oracle applications responsibility while logging into Discoverer Plus?
    RM

    Yes ... and no.
    You really don't want to share a workbook (IMHO) with an Oracle Apps user as it get's confusing. One of the reasons is - and this took me a while to learn - is that Discoverer will always take the highest (ie: most powerful) method to let a user see information.
    In otherwords, if a user logs in, any privs / security he can do as the responsibility he logged in with OR anything he can do with his Apps username he logged in with will be given him. It's really tough later on to determine if it was the responsiblity or the username that allowed him to see what / and do what. So, in client sites I've worked at, it's 98% secure (there's always one exception where apps doesn't want to set up a special responsibilty for just this one guy with multi-power) that ONLY responsibilties are used to be shared with / and privs (ie: what business areas they can see.
    Now remember - to your second question - you're only sharing reports and business areas with those responsibilities. The actual data may not be allowed to be see by those responsibilities. This is exactly what the BIS views do in some cases (ie: read financials intelligence) where the actual data is being filtered to the responsibility and therefore no info comes back. You can see this - and I've heard many a user says that BIS sucks - when NO DATA RETURNED comes back from someone trying to create a workbook against a folder in a BIS business area. Sure, you gave them privs to use the business area, sure you shared a report with them or not that you wrote - but at the view level in the database, their responsibility is not allowed to see the actual data.
    BIS / xx Intelligence is a whole entire other ballgame. You have to set stuff up in Oracle Apps, you have to 'generate' the BIS views (to pick up your organization's Oracle setups), you have to import the correct .eex file for the Apps version you're running into Disco Admin, and you have to perform a refresh - as the correct user (very important) to get the BIS views correctly into Discoverer with all the good stuff and security, etc.
    Hope this helps.
    Russ

  • Required Oracle FND tables for Discoverer Install (Oracle App user)

    Hi does anyone know of set documentation or, via SQL Trace, which existing tables Discoverer looks for when setting up an EUL? For instance, our install requires you select the Oracle Apps User Schema and put in the password for that schema where your FND tables reside.
    Assuming some are missing in our current setup, what would be required in order for Discoverer to work in conjunction with the Oracle applications roles and responsibilities, etc.
    I found this list in Discoverer documentation and confirmed I know have that setup correctly with proper grants, etc.. The EUL is created but does return an error of "Table or View does not Exist" which can be passed over and you can proceed into the EUL - but there is an error upon logging into EUL.
    grant select on FND_USER to &EULOWNER
    grant select on FND_APPLICATION to &EULOWNER
    grant select on FND_USER_RESPONSIBILITY to &EULOWNER
    grant select on FND_RESPONSIBILITY_VL to &EULOWNER
    grant select on FND_ORACLE_USERID to &EULOWNER
    grant select on FND_DATA_GROUP_UNITS to &EULOWNER
    This is Discoverer 10g and Oracle 10g database.
    Thanks,
    Mike

    Rod,
    I have confirmed that the Discoverer Administrator Responsibility has Administration, Desktop & Plus privelages.
    Furthermore, the account I am trying to login as - DSCADMIN has those permissions and is assigned that responsibility as well.
    It should be noted that when logging into the EUL as the DSCADMIN account, it prompts me to create a new EUL as one does not exist....however under the EUL ADMIN account (where the EUL was created), it recognizes the EUL since it is the owner.
    Am I missing something further - I've been through the documentation several times and can't figure this out - I have continually made progress but then hit a speed bump each time.
    It should also be noted that DSCADMIN is a database user schema account and also an Apps user as well - but this is how it was setup in our old enviornment so I wouldn't think this would make a difference.

  • Apis for attaching profile options to a responsibility in oracle apps 11i

    Hi,
    Appreciate your help.
    We are automating the process of creation responsibilities.
    1. I have created new responsibility using the fnd_responsibility_pkg.load_row and responsibilities created successfully.
    2. There are few profile options which will be used (GL set of books,HR user etc.,) and is there any api's to attach the profiles to the newly created responsibilites or can i go and directly insert a record in (apps.fnd_profile_option_values).
    Thanks
    Nethi.

    Hi,
    I believe you need to use FNDLOAD to attach those profile options.
    Note: 566865.1 - How To Download Profile Options Set On Responsibility Level Using FNDLOAD
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566865.1
    Please note that inserting data into Oracle Apps tables directly is not supported.
    Regards,
    Hussein

  • Oracle financials end user responsibility in implementation project

    Could any body tell me the Oracle financials end user responsibility in implementation project

    SO what is the variance in the responsibilities for Functional consultant and Key user in implementation or support project.
    =========================================================================================
    See in implementation project, the resource who is performing the implementation needs access to all the forms i.e. setup, transaction forms etc.
    Also within an implementation project, there may be resources who are not associated with set, hence they responsibility will have only transactiion forms or inquiry forms.
    =======================================================================================================
    In Support project, the following may be valid users associated with the functions:
    the Invoice entry folk who keys in the invoice needs access to Invoice form only.
    Similarly The invoice inquiry folk who needs to inquire the invoice will need to have access to Invoice Inquiry form only.
    Similarly a person who is incharge of the overall control within a support project will have access to all the forms, functions, menu etc.
    =================================================================================
    Hope this helps.
    Thanks and Regards
    Manish Jain.

  • When accessing the any tasks from Fusion Applications homepage, "An error was received for the task Manage Worker Goal Setting Lookups. This task is identified with the code HRG_MANAGE_WORKER_GOAL_SETTING_LOOKUPS that invokes program /WEB-INF/oracle/apps/

    We have installed HCM and CRM modules on Fusion Application 11.1.7 version.
    This is 2 node architecture ie IDM components installed in one node and Fusion components installed in another node.
    We are able to start the IDM components and Fusion components successfully, but when users are trying to access any task from Fusion application home page, they are getting the below error
    A portlet consumer error was received for the task Manage Worker Goal Setting Lookups. Report the error details to the following owning product Goal Management.
    An error was received for the task Manage Worker Goal Setting Lookups. This task is identified with the code HRG_MANAGE_WORKER_GOAL_SETTING_LOOKUPS that invokes program /WEB-INF/oracle/apps/fnd/applcore/lookups/publicUi/flow/ManageCommonLookupsTF.xml#ManageCommonLookupsTF of module code fndSetup. Review the consumer and producer logs for more details on this error.

    This may be related to the other issue regarding "FUSION_APPS_WSM_APPID-KEY" as the logs contains exceptions like:
    oracle.wsm.policymanager.PolicyManagerException: WSM-02081 : Failed to login to perform requested action.
    Please refer to document Fusion Application Service Account Password Expiration Causes Portlet Producer Errors (1486388.1) for steps on how to verify and set the password. There is also exception:
    javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User FUSION_APPS_PROV_PATCH_APPID denied
    This is also likely caused by an expired password, please see Fusion Apps Servers Are Not Starting Up - Password Policy Error :9000: GSL_PWDEXPIRED_EXCP :Your Password has expired (1629927.1).
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Oracle Apps User Authentication with Active Directory

    Greetings,
    I am running Oracle Apps 12.1.1 using native login authentication. What I would like to do is set it up so that it uses our Active Directory to authenticate users. Does anyone know if there is an easy way to configure this or do I need to use OIM to accomplish it?
    Thanks

    Have a look here
    http://www.oracle.com/products/middleware/identity-management/docs/db-users-roles-management-whitepaper.pdf

Maybe you are looking for

  • Keyboard cover for Late 2008 Unibody MB Pro?

    Hi, was just wondering if anyone has found a good keyboard cover for a Unibody Late 2008 MB Pro.  I recently purchased this Moshi ClearGuard keyboard cover but it didn't fit, despite a few people saying it did in the reviews. Thanks, Evan

  • MIME content conversion failed error while processing "550 5.6.0" NDR using EWS API

    While trying to process journal report having "550 5.6.0" NDR with the following content using EWS API *Delivery has failed to these recipients or groups: [email protected] ([email protected]) The email system had a problem processing this message. It won't

  • Can't start names server

    When I tried to start the names server on my Linux Server, it can't be started, just error messages shown: NAMESCTL> start Starting "/u03/app/oracle/product/8.1.7/bin/names"...server not started, errors follow TNS-12546: TNS:permission denied TNS-125

  • RTMP Live Streaming Works, HTTP HLS/HDS Streaming Doesnt

    I am running Flash Media Server on my Windows 2008 R2 server, and am trying to get HTTP live streaming working. I am using Flash Media Live Encoder to stream to the server. I can get a basic RTMP stream to work without issue, however anytime I setup

  • Installing devices under windows XP on Satellite P200-14H

    Hi, I have recently purchased Satellite P200-14H. It came with Vista home and since CAD software we use in our company doesn't work on it, we installed WXP on it. Everything works fine, we got the system almost fully functional, installed 99% of the