How I can set ORG_ID context (for Oracle Apps Views) in ODI designer tool?

Hi All,
I want to get data from apps views (like OE_ORDER_HEADER_V) into our data warehouse detination table using ‘Oracle Data Integrator’ tool.
The issue is that when I reverse Oracle Table or Synonym directly, everything works fine i.e. after 'Interface' execution, I can see how many rows imported into destination table from this source Oracle table/synonym.
But when I use Apps view as a source then 'Interface' executes fine with ‘no error’ but NO rows imports to the destination table.
I believe, the only difference is that I am not able to set Org_Id before executing ODI interface so it is not picking the data.
Please let me know the steps/instructions to set org_id context on apps view then reverse in ODI Designer tool.
Please note that I can set org_id using SQLPlus successfully as given below (and see data using the same Apps view). What to do in ODI designer tool to achieve similar data:
begin
fnd_global.apps_initialize(0, 21623, 660);
mo_global.init('ONT');
end;
-- connect using apps/apps at Vision SQLPlus
-- User_Id -> 0 (<-- SYSADMIN )
-- Responsibility_Id-> 21623 (<-- Order Management Super User )
-- Application_id -> 660 (<-- ONT )
-- select count(*) from oe_order_headers_v where rownum < = 100
I would appreciate your quick help in this.
Thanks in advance.

Set org context in 11i:
===============
The SQL command to set the ORG_ID prior to running a script is:
SQL> execute dbms_application_info.set_client_info(&org_id);
Enter the org_id when prompted.
If using Toad
Begin
fnd_client_info.set_org_context(&org_id);
End;
Set org context in R12
================
The SQL command to set the ORG_ID prior to running a script is:
SQL> exec mo_global.init('AR');
exec mo_global.set_policy_context('S','&org_id');
Enter the org_id when prompted.
The procedure - mo_global.set_policy_context has two parameters
p_access_mode & p_org_id
p_access_mode Description
S In case you want your current session to work against Single ORG_ID
M In case you want your current session to work against multiple ORG_IDs
p_org_id: Only applicable if p_access_mode is passed value of "S"
If using Toad
Begin
mo_global.set_policy_context(‘S’, &org_id);
End;

Similar Messages

  • How I can make an account for the app store Spain without credit card?

    How I can make an account for the app store Spain without credit card?

    Follow these instructions and open an iTunes account. Then use that same account to get free apps from the Mac App Store.
    Create an iTunes App Store account without a credit card
    http://support.apple.com/kb/ht2534

  • TS1702 How i can get the refund for the apps that not working.

    I bought apps name "Mobile Admin".  It's not working and I try to check on their web site it not avalible anymore.  www.appmobile.biz

    Send an email to iTunes support asking if they will refund your purchase.

  • How to set the environment for Oracle XE-database.

    Hi,
    I have a:- lsnrctl command not found,
    And when I echo oracle host & path I got:-
    [oracle@ddcdevws02 etc]$ echo $ORACLE_HOST
    [oracle@ddcdevws02 etc]$ echo $PATH
    /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/u02/oracle/bin
    Now I know that my environment is not set, but could anyone please assist me how I can set the environmernt ??? I mean commands or detailed instruction step as to what needs to be set where & how, I mean the SID, port, Path ???, I am new to Linux as well as database .
    When I see the listener process using this:- ps -ef | grep tnslsnr, this is the output:-
    [oracle@ddcdevws02 ~]$ ps -ef | grep tnslsnr
    oracle 14727 1 0 14:25 ? 00:00:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER -inherit
    oracle 22618 21569 0 15:59 pts/2 00:00:00 grep tnslsnr
    So does this mean that my Oracle home is "/usr/lib/oracle/xe/app/oracle/product/10.2.0/" ???
    Also In the host file under /etc/ directory I have these settings
    127.0.0.1 localhost.localdomain localhost
    10.201.60.21 ddcdevws02.hddev.healthdialog.com ddcdevws02
    I don't know if this is correct or not ? But I doubt I could make any change in the host file, please suggest me.
    Thanks
    Sam

    user8692703 wrote:
    I am sorry Ed I reliazed that that was Phirir's suggestion to me, & Yes this is XE-Oracle database .... so the sid name would be "XE" ...?? I am sorry for my stupid questions as I am very new to ths .
    I've never worked with XE, but from everything I've seen, that would also be your SID. check the contents of /etc/oratab
    And then what other details required after I run this command ". oraenv", can I run this from any directory or some specific location ?
    Just like any command, you can run it from anywhere as long as the directory is in your PATH.
    But actually, you should be setting this in your profile, so that you just inherit it when you log on to the server. Depending on your OS, that would be either $HOME/.profile or $HOME/.bash_profile. Here are the commands you should have in that file:
    export ORACLE_HOME=pathtoyouroraclehomedirectory
    export ORACLE_SID=nameofyouroraclesid
    export PATH=$ORACLE_HOME/bin:$PATH>
    well I have this infor. with me
    HTTP port ---> 8080
    Port fopr Database ----> 1521
    Anythin else required ?

  • How I can set the spelling language in Pages for iPad?

    how I can set the spelling language in Pages for iPad? may for german...

    how I can set the spelling check to other language in Papers/iPad?
    The only choices you have in the iPad itself are to change the keyboard or change the user interface language. If that doesn't do what you want, probably best ask the people who make Papers.

  • How I can set up the DynDns inside the Time capsule, or only with the Time capsule I have external access from a PC for ex.?

    How I can set up the DynDns inside the Time capsule, or only with the Time capsule I have external access from a PC for ex.?

    MobileMe service is finished.. to get remote access to the Mac or TC you use iCloud account.. but that is for files.. not to access web cams.
    Without dyndns client in the TC, you can perhaps run dyndns on the computer or video recorder..many of these will have clients built into them.
    Even better get a static Public IP from your ISP.. that is the correct professional way to do it.
    Or you can use whatever broadband modem you have and remove the TC as the main router.. simply bridge it. Use your adsl router for connection. Almost all adsl have built in dyndns.
    Sorry your language is very hard to follow.. and I am sure you are finding my answers similarly difficult.
    Basically the TC is about the hardest device to setup because it is lacking important networking functions.
    Get a vpn router and use vpn connection is far superior to any other method. But you cannot do it with TC.

  • How can I build skins for Oracle ebusiness Suite

    Hi,
    I would like to know the way I can build skins for Oracle Apps eBusiness Suite.
    Thanks,
    Anirban

    HI,
    I am looking for more changes rather than the color.
    Currently I am trying ADF Skins but not sure if it can be incorporated with eBusiness Suite.
    Anirban
    Edited by: Anirban Mitra on Nov 20, 2009 6:34 AM

  • How i can set the selected item of a dropDown component from java code

    Hi
    Thank you for reading my post
    How i can set the slected item of a DropDown component from backing beans java code ?
    it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
    In back code i have both value and display values to use them .
    can some one give me some help ?
    Thanks ,

    See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    It says
    One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back.

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • How do I set numbered lists for headings in Pages 5.2, and keep that system of numbered lists saved?

    I have tried to set numbered lists for headings in Pages 5.2 but have not succeeded. I have read similar questions concerning this but this has not helped me...
    When I say numbered lists I mean something extremely important and simple, for instance:
    1. Introduction
    1.1. Background
    1.2. Purpose and Questions
    2. The Legality of Clause X
    2.1. Legality under Article 101.1
    2.2. Legality under Article 101.3
    And so on...
    Heading 1. is selected as "Heading", 1.1 is selected as "Heading 2", and if I had 1.1.1 it would be selected as "Heading 3" and so on...
    I have navigated my way to the Format window, and under the tab "Style" and down to "Bullets & Lists". I have here selected the following: Numbered, Numbers, 1. 2. 3. 4., Tiered Numbers, Continue from previous.
    There are several problems with this currently.
    First, based on the example it becomes "2. Background" when it should be "1.1 Background" instead.
    Second, after writing some body text between the headings and then select a new heading, all the previously selected settings I mentioned above in "Bullets & Lists" have to be reselected.
    So, how do I set numbered lists for headings, or so called sub-headings, in Pages 5.2? And how do I keep that selected system of numbered lists saved so I don't have to retype it for every new heading I type? (e.g. so that Pages knows that every time I choose Heading 2, I want it to number the heading in the way selected)
    Obviously, manually writing the numbers for every heading is not a viable option, as it makes table of contents problematic and is simply tedious. You need an automatic way of doing it, especially if you write long documents where keeping headings in order is absolutely essential.
    Also, reverting back to previous Pages versions (like v. 9 I think?) is not an option as that does not exist on my recently purchased Macbook Pro.
    I need to be able to do this on Pages 5.2 and do it automatically.
    I appreciate any help with this.

    iWork '09 is not "outdated" it still works and works extremely well and whilst not perfect with MsWord it is far far better than Pages 5.2 which has a stream of major issues with exporting. It is also way better and faster to use than Microsoft Office.
    So what is your time and work actually worth? If it is less than $19.99 for 6 months, you may as well just chuck it in and take that job on minimum wages.
    You are assuming things for Office 2014 with absolutely no inside knowledge. Much as we assumed Pages 5 was going to be the long awaited improvement, but ended up being a downgrade to match the iOS version, Microsoft is headed the same way with their mobile versions.
    This is not like getting the "latest" pair of pants where you go with the crowd and throw out your cigarette legs which replaced the flares, which replaced your low cuts which replaced your cigarette legs, which replaced…
    This is work.
    If it does the job and does it well, use it. There is nothing out there to really match what Pages '09 does. Yet.
    LibreOffice can do most but not all, but has a UI that only a mother could love. It's great redemption is that it uses both open formats and the standard Microsoft formats and is under active development. It also opens and saves to just about everything. When they finally work out the Pages formats, I'm sure they will open those as well.
    I use a lot of professional software. Just because the publisher's marketing department says change the product so we can sell more, doesn't mean you have to pay any attention whatsoever. Adobe being a classical example. Most designers are just ignoring their latest subscription based bloatware and getting on with their work.
    Peter

  • How to setup JNDI Name for Oracle Apps adapter?

    Hello,
    I am learning Oracle SOA 11g and trying to do some tutorial on Oracle Application Adapter.  I know how to configure JNDI for DBadapter and I did that successfully. I followed same steps to create New JNDI for Oracle Apps Adapter.
    1. I Created new data source using Path Services->Data Sources -> New Genric Data Source. Connection to database was successful and created new JNDI Name: jdbc/PKDTAPPS.
    2. Then Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> New and created JNDI Name eis/Apps/PKDTAPPS.
    However I did not find newly created JNDI Name in step 2 under Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> javax.resource.cci.ConnectionFactory.
    Please let me know if am I following correct steps to create new Oracle Apps Adapter JNDI Name or not.
    Since above approch did not work I created new JNDI for DBAdapter with same database connection details. And then latter on use that JNDI Name while creating Oracle Application Adapter in JDeveloper composite. And it allowed me to access Oracel Apps open interface. However while deploying the application it gave me following error.
    <Feb 16, 2015 10:50:59 AM CST> <Error> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21537> <Sending back error message: There was an error deploying the composite on AdminServer: [JCABinding]
    [adapter-Apps-101-JournalImport.InsertJournal/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.apps.AppsTableWriteInteractionSpec: Cannot locate Java class
    oracle.tip.adapter.apps.AppsTableWriteInteractionSpec..>
    Since I have no past experience kindly suggest me what is right way to do this.
    Thanks,
    Shri

    Hi shri,
    Can you check the targets of oracle apps adapter that is it deployed on both cluster and admin server both.
    Deployment-> OracleApps Adapter-> Targets
    Regards,
    Anshul

  • How  we can mention varible substitution for diffrent message payloads

    Hi,
    How  we can mention varible substitution for diffrent message payloads,
    My sceanrio like following,
    According the Outbound idoc message,based on the condition the messages to be split into 9 diffrent files.The sender message may or may not satisfied the condition to one or two messages or  all messages.
    I done the mapping 1:N multimapping in messagemapping & Interface mapping too.
    In reciever file adapter i put the variable substiution like as fallows.
    Variable            Refrence
    Name--            -
    Filename -- payload:message_type_1,1,Segment1,1,Segment2,1,Field_1,1
    <b>How we can mention variable substitution for remaining messages in the same communication channel.my message type names are diffrent for all 9 messagetypes.</b> Any ideas pl forward..,
    When i am testing this scenario,able to processing a one file but the file is not placed in the specified target & gives the follwing error:
    'Conversion configuration error: Unknown structure 'ns1:message_type_2' found in document', probably configuration error in file adapter (XML parser error)'.The file is
    In this case Idoc data satisfied the one message condition only.
    If any ideas & suggestions ..?

    Hi Anjan
    You could always put the "FileName" and "Directory" names into the Dynamic Configuration using a UDF in the map - possibly using a value mapping table to determine the correct values. Then simply reference "%Directory%" and "%FileName%" in the file adapter.  This way you do not have to reference payload variables and you set the names in the map. You will need to tick the box for "use adapter specific message attributes" in the file adapter. you UDF code will look something like
    String dir = "/path";
    String fil = "filename.txt";
    DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,dir);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,fil);
    - Stephen

  • How do you set the duration for multiple stills in iMovie 2013?

    How do you set the duration for multiple stills in iMovie 2013?
    Before upgrading to the latest version of iMovie last month, I was able to set the duation of all of the stills included in an iMovie project at one time by clicking the apply to all still box in the adjustment pop up. That option is no longer apparent. If it is available I cannot find it, and I have tried several different ways to accomplish it. I have tried the iMovie help section and can find nothing to help.
    Apple, do I really have to adjust close to 500 pictures to a 5 second duration individually???
    REALLY??!!

    ...why wouldnt people want that level of accuracy when animating, especially when working to music at a specific duration?
    Because often people are animating to words or beats in the music.  Music is rarely performed with a computer-precise beat and tempo.  Musicians aren't robots: they swing the beat sometimes.  They use rubato.  They change tempo.  They change time signatures.  As a result, you have to FIND those words and beats.  It's not a situation where you can say, "There!  I've found the duration of one beat!  Now it's easy to find the rest of them!" 
    If you try it, you will be very disappointed.
    Try finding the precise end of a piece of music that fades or ends on a big chord with a ring-out.  You'll see that it's trial-and-error: what's the point where it becomes inaudible?  It depends on how high your speakers are turned up.  You might have them way up, you set an end point for the layer, and then you do a RAM Preview at a more reasonable volume.  You might say, "Hey!  The music ends before the layer ends!"...  but you KNOW you set the layer's out point when the audio file goes silent.
    AE has layer markers that can be used on an audio layer to mark beats, words, etc. They come in very handy.
    I guess it comes down to this: because AE can do so much different stuff, there are very few automated procedures.  Oh, Adobe tries with effects that convert audio levels to keyframes, but they're not 100% reliable... especially on something like a capella choral works.  For true accuracy, you need  find the timings yourself. 
    If you want something simpler, try a different application. But be prepared for lower level of accuracy.

  • Where to download and how to install X Window System for Oracle Linux 5 ?

    Folks,
    Hello. I am using Oracle Linux 5 and Oracle Database 11g for PIA.
    Before install Oracle DB 11g into Oracle Linux 5, we need to install X Window System according to the document page 2 http://download.oracle.com/docs/cd/B28359_01/install.111/b32285.pdf
    But I don't know where to download and how to install X Window System for Oracle Linux 5.
    Can any folk provide a link to download X Window System and tutorial to install it for Oracle Linux 5 ?

    You can address the problem in a number of different ways.
    You can install X-windows from the installation DVD or setup access to the Oracle public software repository as described in http://public-yum.oracle.com. In which case, the command to install X-windows is: yum groupinstall "X Window System"
    Or, you login remotely and and use SSH with X-forwarding, in which case the software on the server will use the X-Windows server on your client system. This is probably the preferred way since you do not have X-windows installed on the server. For more details about SSH forwarding and howto, please see Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto part 2 Oracle Universal Installer.

  • HT3529 How do I set a signature for text messages?

    How do I set a signature for text messages?

    You can set a signature in Mail but not in Messages.

Maybe you are looking for

  • Pricing Redetermination while releasing credit block of a 3rd party order

    Hello, The issue as is follows:- I have a sales order, that is a third party order (PR created, the PO ..etc). The pricing is automatic, but can be edited in the condition screen of the sales order. Some times we maintian the price directly in the or

  • Home video: sound but no image....?

    So I took a little 1 min. home video with my handheld digital video recorder, then I imported the video into iPhoto. Dragged the vid from iPhoto to iTunes "movies" in the Library. It's in there, no problem, able to view and listen in iTunes. I set th

  • I maintain a website on which the main (index) page is frequently updated.

    I maintain a website on which the main (index) page is frequently updated. In order to make sure that the latest version is displayed, I use the following in the Head of the page: <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> This works on all web

  • How install air for dreamweaver

    Where is the file who Installs air casting dreamweaver? I downolad file on : http://get.adobe.com/fr/air/ I intall, I restart the computer, BUT "Setting air" not appears. Tests  with mac, Dreamweaver CS5 and CS6. Thank you for your help.

  • Is it safe to download the Yosemite on the Macbook pro

    I am wondering if it is safe to download Yosemite to the laptop because it says that it is not comparable with all apps.  Plus it did not suggest it as an upgrade.  What to do?  What to do?