How to create/import a target schema from a source schema using data pump?

I have seen some examples where schema remapping will be done through remote link which I cannot as both the target schema and source schema are in same machine ...but I am not sure how to do it with out using remote link? I would be great if some one could provide a example
Thanks in Advance

I'm not sure what you are asking here, but I'll try to give some examples on remapping a schema:
expdp prived_user/password schemas=orig_schema_1 directory=dpump_dir dumpfile=orig_schema_1.dmp
impdp prived_user/password schemas=orig_schema_1 directory=dpump_dir dumpfile=orig_schema_1.dmp remap_schema=orig_schema_1:new_schema_1
If you want to try without a dumpfile then you need a loop back dblink.  (A dblink on your database that points to the same database.  This would be your command:
impdp prived_user/password schemas=orig_schema_1 directory=dpump_dir network_link=loop_back_link remap_schema=orig_schema_1:new_schema_1
Hope this helps.  If not, can you explain your question a little more?
Dean

Similar Messages

  • How to create automatic creation of BP from customer and vendor master data

    Hi gurus,
    can any one tell how to create automatic creation of BP from customer and vendor master data.
    Please give me the steps.
    Thanks
    Sasikanth.

    HI,
    Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
    Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
    rgds,
    Srini

  • Migration from 10g to 12c using data pump

    hi there, while I've used data pump at the schema level before, I'm rather new at full database imports.
    we are attempting a full database migration from 10.2.0.4 to 12c using the full database data pump method over db link.
    the DBA has advised that we avoid moving SYSTEM and SYSAUX objects. but initially when reviewing the documentation it appeared that these objects would not be exported from the target system given TRANSPORTABLE=NEVER. can someone confirm this? the export/import log refers to objects that I believed would not be targeted:
    23-FEB-15 19:41:11.684:
    Estimated 3718 TABLE_DATA objects in 77 seconds
    23-FEB-15 19:41:12.450: Total estimation using BLOCKS method: 52.93 GB
    23-FEB-15 19:41:14.058: Processing object type DATABASE_EXPORT/TABLESPACE
    23-FEB-15 20:10:33.185: ORA-31684: Object type TABLESPACE:"UNDOTBS1" already exists
    23-FEB-15 20:10:33.185: ORA-31684: Object type TABLESPACE:"SYSAUX" already exists
    23-FEB-15 20:10:33.185: ORA-31684: Object type TABLESPACE:"TEMP" already exists
    23-FEB-15 20:10:33.185: ORA-31684: Object type TABLESPACE:"USERS" already exists
    23-FEB-15 20:10:33.200:
    Completed 96 TABLESPACE objects in 1759 seconds
    23-FEB-15 20:10:33.208: Processing object type DATABASE_EXPORT/PROFILE
    23-FEB-15 20:10:33.445:
    Completed 7 PROFILE objects in 1 seconds
    23-FEB-15 20:10:33.453: Processing object type DATABASE_EXPORT/SYS_USER/USER
    23-FEB-15 20:10:33.842:
    Completed 1 USER objects in 0 seconds
    23-FEB-15 20:10:33.852: Processing object type DATABASE_EXPORT/SCHEMA/USER
    23-FEB-15 20:10:52.368: ORA-31684: Object type USER:"OUTLN" already exists
    23-FEB-15 20:10:52.368: ORA-31684: Object type USER:"ANONYMOUS" already exists
    23-FEB-15 20:10:52.368: ORA-31684: Object type USER:"OLAPSYS" already exists
    23-FEB-15 20:10:52.368: ORA-31684: Object type USER:"MDDATA" already exists
    23-FEB-15 20:10:52.368: ORA-31684: Object type USER:"SCOTT" already exists
    23-FEB-15 20:10:52.368: ORA-31684: Object type USER:"LLTEST" already exists
    23-FEB-15 20:10:52.372:
    Completed 1140 USER objects in 19 seconds
    23-FEB-15 20:10:52.375: Processing object type DATABASE_EXPORT/ROLE
    23-FEB-15 20:10:55.255: ORA-31684: Object type ROLE:"SELECT_CATALOG_ROLE" already exists
    23-FEB-15 20:10:55.255: ORA-31684: Object type ROLE:"EXECUTE_CATALOG_ROLE" already exists
    23-FEB-15 20:10:55.255: ORA-31684: Object type ROLE:"DELETE_CATALOG_ROLE" already exists
    23-FEB-15 20:10:55.256: ORA-31684: Object type ROLE:"RECOVERY_CATALOG_OWNER" already exists
    any insight most appreciated.

    Schema's SYS,CTXSYS, MDSYS and ORDSYS are Not Exported using exp/expdp
    Doc ID: Note:228482.1
    I suppose he already installed a software 12c and created a database itseems - So when you imported you might have this "already exists"
    Whenever the database is created and software installed by default system,sys,sysaux will be created.

  • Generating multiple target xmls from one source xml using xslt mappings

    Hi,
    I need to create more than one xml file from one source xml file using xslt mappings in file to file scenario.
    Can you please let me know how this can be achieved.
    Thanks,
    Rajesh

    Rajesh,
    If you must use the XSL Transformation then you can find a nice simple example here.  It's based on the Xalan XSLT Processor which to my knowledge is incorporated in PI7.1.  I've not actually tried this but it makes for an interesting mapping case so please let us know the results: 
    [XSLT Split for multiple XML file output|http://abbeyworkshop.com/howto/xslt/xslt_split/index.html]
    The XSL file will require a namespace addition:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:redirect="http://xml.apache.org/xalan/redirect" extension-element-prefixes="redirect" version="1.0">
    The redirect prefix is used for the write tags in the XSL file.
    The details cover the transformation of the source file:
    1:<student_list>
       2:    <student id="1">
       3:        <name>George Washington</name>
       4:        <major>Politics</major>
       5:        <phone>312-123-4567</phone>
       6:        <email>gw_at_example.edu</email>
       7:    </student>
       8:    <student id="2">
       9:        <name>Janet Jones</name>
      10:        <major>Undeclared</major>
      11:        <phone>311-122-2233</phone>
      12:        <email>janetj_at_example.edu</email>
      13:    </student>
      14:    <student id="3">
      15:        <name>Joe Taylor</name>
      16:        <major>Engineering</major>
      17:        <phone>211-111-2333</phone>
      18:        <email>joe_at_example.edu</email>
      19:    </student>
      20:</student_list>
    Using this transformation:
    2:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3:    xmlns:redirect="http://xml.apache.org/xalan/redirect"
    4:    extension-element-prefixes="redirect"
    5:    version="1.0"
    6:>
    7:<xsl:output method="xml"/>
    8:
    9:<xsl:template match="/">
    10:    <xsl:apply-templates />
    11:</xsl:template>
    12:
    13:<xsl:template match="student_list">
    14:    <xsl:apply-templates />
    15:</xsl:template>
    16:
    17:<xsl:template match="student">
    18:    <xsl:variable name="filename" select="concat(@id,'.xml')" />
    19:    <redirect:write select="$filename">
    20:        <student id="{@id}">
    21:            <xsl:apply-templates />
    22:        </student>
    23:    </redirect:write>
    24:</xsl:template>
    25:
    26:<xsl:template match="name | major | phone | email">
    27:    <xsl:copy-of select="." />
    28:</xsl:template>
    29:
    30:</xsl:stylesheet>

  • How do I import photos to iPhoto from a slideshow created in .wmv format

    How do I import photos to iPhoto from a slideshow created in .wmv format?

    Find software (which may not exist) to export them in a photo format (jpeg, tiff). IPhoto will not do it
    LN

  • How can I import an m4v movie from my desktop to my event Library in iMovie?

    How can I import an m4v movie from my desktop to my event Library in iMovie?  I want to include the m4v movie into another project in iMovie.

    When you import DV Stream from tape, iMovie 11 will assume that you are importing raw footage from a camera, rather than a finished movie. It will create a new clip everytime it detects a scene break (the record start/stop button was pressed). These clips will be placed in chronolgical order - not the order they were on the tape.
    One way around this is to import the tape into the application that you used to create it. For example, if you used iMovie 6, import the tape back into imovie 6. In iMovie 6, you can export the tape back out using FILE/EXPORT USING QUICKTIME. Choose the DV codec in an MOV container.  You can then import this MOV file into iMovie 11 and have everything in the proper order for your finished movie.
    Another option is to use FInal Cut Pro X.

  • How to populate target directory from the source XML in Receiver File Adap?

    Hi All,
    Our scenario is IDoc - XI -(Receiver File adapter) File. Is it possible to populate complete "Target Directory" from the source XML message??
    Lets say we added field to maintain target directory in Idoc structure and some how populated value to it, then grab this target directory from the IDoc-XML and pass in Comunication Channel. I think its possible through Variable Substitation ...just want to make sure and if sombody has done the similar scenario their inputs would be great.
    Thanx
    Navin

    Hi,
    Please see the belowlinks
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    /people/sriram.vasudevan3/blog/2005/11/21/effective-xsl-for-multimapping-getting-source-filenames-in-legacy-legacy-scenarios
    Re: Dynamic  File Name for Receiver File Adapter
    Variable Substitution
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    try with adapter specific
    Example code...
    String newfilename="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    // Get Sourcefilename
    String oldfilename=conf.get(key);
    //extract first 3 chars of source filename
    newfilename=oldfilename.substring(0,2);
    //get the date
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    //append sourcedateL
    newfilename=newfilenamedateformat"L";
    // determine if prod/ dev / qa
    map = container.getTransformationParameters();
    senderService = (String) map.get("SenderService");
    if(senderServcie.equald("Prod"){
    newfilename=newfilename+"P";
    // change to new file name
    conf.put(key, newfilename+".tmp");
    Change it according to your requirement
    Regards
    Chilla..

  • TS3989 Only some of the photos I have taken on my iPhone appear in the photo stream on my iPad even thou they were taken at the same time. Why is this and how can I import the other photos from my iPhone to my iPad?

    Only some of the photos I have taken on my iPhone appear in the photo stream on my iPad even thou they were taken at the same time. Why is this and how can I import the other photos from my iPhone to my iPad?

    If older photos are missing it may be because photo stream photos are only held in iCloud for 30 days.  After that they are removed from iCloud but will remain (up to 1000 photos) on your device until deleted.  Also, only photos taken after enabling photo stream are added to your photo stream, and only when the camera is closed, your device is connected to wifi and you have at least 20% battery life remaining.
    To transfer the missing photos you can either create a shared photo stream containing them and invite yourself to it (see http://help.apple.com/icloud/#mmc0cd7e99), import the photos to your computer and sync them to your iPad, or use an app like PhotoSync to transfer them to your iPad over wifi.

  • How can I Import 2 channel audio from a Sony PMW300 camera?

    How can I Import 2 channel audio from a Sony PMW300 camera?

    Terry Woolf
    Thanks for the reply.
    The link to your prior thread is
    Audio
    I suspect that the issue of no audio for your .mp4 file goes to your conversion method MXF to .mp4.
    Please excuse if I am saying what you already know. When you import your video into Premiere Elements (in your case 12 Mac), a project
    preset is established, either by you manually or the project automatically. That project preset contains a description of the project settings
    for audio as well as video. Unless you select one of the project presets which are described for use with 5.1 channel, your audio in video audio
    imports into a stereo project. It is in the export area that you will find your opportunity to customize (if necessary) the settings for audio.
    In the project, if applicable to your situation, you can duplicate an audio channel (See Fill Left or Fill Right under fx Effects/Audio Effects).
    Please let me ask this to make sure of the details.
    If you import your .mp4 with 2 channel audio (derived from your .mxf convert and dragged to Video Track 1/Audio Track 1) and cannot hear the sound....
    a. do you see any evidence for an audio file in the Timeline Audio track 1?
    b. if you do, how many wave forms do you see, one or two?
    c. if you have the audio meters opened while you are playing back the Timeline content in Edit area, do you see 1 or 2 channels and is
    there activity in both.
    d. when you import the file into Project Assets, do you observe any conforming activity going on in progress bar in the lower right cover of the workspace...if
    so, do you wait for it to go to completion before continuing on?
    We could also try deleting the conformed audio in the Media Cache Files Folder to force the program to re-conform the audio. See Edit Menu/Preferences/Scratch Disks should show you the location of the Media Cache Files Folder whose contents you will be deleting.
    Please review and consider, and then let me know if I targeted your question. If not, please do not hesitate to let me know, and I will rethink my reply based
    on your response.
    Thank you.
    ATR

  • How we can import an IDOC structure from one SAP system to another

    Hi Gurus,
    How we can import an IDOC structure from one SAP system to another? If we're using ALE, how can we do that? Please can someone give me the process and necessary t codes.
    Any response will be awarded!
    Thanks a lot.
    Samson

    hi!
    Define the logical system names in both the systems.
    Logical system names :SAP001
    SAP002
    SAP001 FOR 001 CLIENT
    SAP002 FOR 002 CLIENT
    These two logical system definitions should be present in both the systems.
    Assign the logical systems to the client. (in both the systems)
    Assign SAP001 to 001 CLIENT
    Assign SAP002 to 002 CLIENT
    you can See these in transaction SALE.
    After this define the rfc DESTINATION IN sm59. (in both the systems)
    In 001 client create the RFC destination name SAP002
    In the tab log on security, give the user name and password and client of the 002 client and save it.
    Similarly do the reverse in the 002 Client.
    In 001 client create the port.(Transaction WE21)
    Specify the RFC destination name as SAP002.
    Now you can define the ports, (both the systems)
    Create the partner profile for partner(ie gve logical system name of partner) , so give as SAP002.
    partner profile in both the systems.
    Now create the distribution model in BD64 and goto edit>model view>distribute.
    The same model view will be visible n distributed to the partner system also..which in this case is sap002.
    U may trigger the idoc from we19 and chk its status in we05.
    Please let me know if you need further info on this.

  • How to create Import Declaration (Inward Processing) in SAP GTS

    How to create Import declaration in SAP GTS system for transaction based on Sales Order and Return Delivery documents in ECC6 feeder system. The scenario is described as below:
    In backend (feeder) system ECC6:
    1. Sales Order SD Document Category = u2018C u2013 Orderu2019 will be used.
    2. A Return Delivery Document similar to LR will be used (Document category u2018T u2013 Returns Delivery) to take back the material.
    Import Declaration functionality system requirement is as below:
    1. It should be possible to send out Pre-notification to Customs when the goods are picked up from the customer site (based on the order cerated).
    2. When the return material is received (on Goods Receipt against the Return Delivery) final Import Declaration to be submitted to the customs authorities.
    3. It should be possible to track (tag) if any replacement material is sent back to the customer. Meaning the Import of a return material should be tagged with corresponding export (replacement material sent to the customer) transaction.
    My understanding is that the Import Declaration functionality in SAP GTS is based on Purchase Order and Shipping Notification. I would like to know how the above scenario (Sales document based) can be best supported for Import Declaration via SAP GTS system.
    Thansk in advance for suggestions/ideas.
    BR/Arup

    Hello Arup,
    In GTS 8.0, the Returns Delivery can act just like an Inbound Delivery in GTS.  Of course you need to populate the "Preliminary Document" type and number in the FT header.
    The Delivery creates a Customs Shipment in GTS.  You could configure message processing to send data from the Customs Shipment to the Customs system for pre-alert, providing that only header data is required at that stage.
    The subsequent Goods Receipt appears in the normal work-list for Declaration after GR, provided you close the "safekeeping" using Transit processing or the BAdI provided for that purpose.
    The GTS Inward Processing solution does not currently support a single Product being both a component and a compensating product, so your wish to tie up re-exports with the customer returns may be quite difficult.
    I hope that helps.
    Best regards,
    Dave

  • How to create ArrayColletion in mx:Script from mx:Model id="results" source="/data/data.xml" /

    How to create ArrayColletion in mx:Script from <mx:Model
    id="results" source="/data/data.xml" />
    Please see my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Model id="results" source="/data/data.xml" />
    <mx:Script>
    import mx.collections.ArrayCollection;
    import mx.utils.ArrayUtil;
    import mx.controls.Alert;
    </mx:Script>
    <mx:ArrayCollection id ="dt1"
    source="{ArrayUtil.toArray(results.result)}"/>
    <mx:Script><![CDATA[
    [Bindable]
    public var expenses:ArrayCollection = dt1;
    [Bindable]
    public var expenses2:ArrayCollection = dt1;
    [Bindable]
    public var dp:ArrayCollection=expenses;
    public function changeDataProvider():void{
    Alert.show(expenses.toString());
    if (dp==expenses){
    dp=expenses2;
    }else{
    dp=expenses;
    ]]></mx:Script>
    <mx:Panel x="10" y="10" width="100%" height="378"
    layout="absolute">
    <mx:ColumnChart dataProvider="{dt1}" x="10" y="10"
    id="myChart" height="318" width="100%">
    <mx:horizontalAxis>
    <mx:CategoryAxis categoryField="month"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries displayName="apple" yField="apple"/>
    <mx:ColumnSeries displayName="orange"
    yField="orange"/>
    <mx:ColumnSeries displayName="banana"
    yField="banana"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{myChart}" x="481" y="10"/>
    </mx:Panel>
    <mx:Button x="284" y="416" label="Change Data" id="bt"
    click="changeDataProvider()" />
    </mx:Application>

    Tracy,
    Thanks. That worked. However I have another related question:
    I convert the xml feed to a XMLListCollection by doing:
    <mx:XMLListCollection id="mission"
    source="{xmlFeed.lastResult.day}"/>
    and
    <mx:XMLListCollection id="mission1"
    source="{xmlFeed.lastResult.day.tBlock}"/>
    On the chart I have
    <mx:ColumnChart id="missionReadiness" height="150%"
    width="100%"
    paddingLeft="2" paddingRight="2"
    showDataTips="true" dataProvider="{mission1}">
    <mx:series>
    <mx:ColumnSeries xField="" yField="@today"
    displayName="Today"/>
    <mx:ColumnSeries xField="" yField="@tomorrow"
    displayName="Tomorrow"/>
    <mx:ColumnSeries xField="" yField="@afterT"
    displayName="After Tomorrow"/>
    </mx:series>
    </mx:ColumnChart>
    the yField works, but for the xField I want to have the @date
    but refers to the parent node, so I am clueless on how to refer to
    it.
    Also, I would like to display on the chart only the values to
    a specific date (like @date="05/17/2007").
    Any suggestions on how to do that?
    Gilbert

  • How to create Import format for building  version Hirerarchy and Node

    Hi
    i Want to know  how to create  Import format for building version  Hirerarchy and Nodes.Can anyone  show me with example  or format  for version  Hierarchy  with few nodes for the hierarchy
    i Want to Build   this   1. Version1 (Version)
                                     2.Account (Hirerarchy)
                                     3. Balancesheet (Limb)
                                     4. Assets (Limb)
                                     5. Cash (Leaf)
    Thanks,

    Please follow the DRM User Guide,
    http://docs.oracle.com/cd/E17236_01/epm.1112/drm_user.pdf
    Below is my preferred approach, by selecting only relation and Hierarchy sections,
    The relation section contains the Node Name and Parent Name ( you can include any other properties, but as a best practice keep the Parent Node as the last column).
    The Hierarchy ( Hier ) section contains the Hierarchy Name, Top Node and Hierarchy description
    Follow the Import steps and provide a Name for the version.
    ++++++++++++++++++++++++++++++++
    [relation]
    AC_BalanceSheet AC_Account
    AC_Asset AC_Account
    AC_Cash AC_Account
    [hier]
    Account AC_Account AccountHier
    ++++++++++++++++++++++
    Note: Please delete all the special characters (TAB) created at the end of  [relation] and [hier] sections while you copy the content from an Excel sheet to a Notepad.

  • How do i import an iPhoto library from a time machine backup?

    how do i import an iPhoto library from a time machine backup? I did a back up and i formatted my machine. How do i get iphoto to be the same?

    This screenshot shows how to restore a library from Time Machine.
    There is NO importing necessary.  One should never import one library into another.  Just restore it to your Pictures folder and launch iPhoto.
    OT

  • How do I import my video files from old iPhoto - in time machine - to new iPhoto?  Photoes came across, video said incompatible.

    how do I import my video files from old iPhoto - in time machine - to new iPhoto?  Photoes came across, video said incompatible.
    i have moved from a mac pro to a mac mini,
    Mini now has mavericks and latest iLife stuff, I clicked import, was all good, then at end, no videos came across.
    Is Mavericks,/iPhoto having a compatibiltiy issue with some video formats....???
    Your help is appreciated gang.: )

    Please describe exactly what you did. In moving to a new machine no importing is involved. The best way is to simply connect the two computers together and drag the iPhoto library from the old one to the pictures folder go the new one and launch iPhoto
    LN

Maybe you are looking for