How to exclude a schema in imp & imp error

Hi Folks,
Is there a way to exculde a schema when using full=y in imp (import).
Why i prefer this is because im getting the below error while importing the dumpfile
"ALTER SESSION SET CURRENT_SCHEMA= "PERFSTAT""
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
IMP-00000: Import terminated unsuccessfully
since I dont have (dont want) perfstat in my destination database, I want to exculde perfstat schema during import.
Also, I dont perfer to go fromuser touser, since some pubic synonym/objects misses.
Regards
KSG
Edited by: KSG on Aug 30, 2011 7:13 PM

Ok. You can perform schema level import with imp by using FROMUSER parameter.
User (Owner)--allows you to import all objects that belong to you (such as tables, grants, indexes, and procedures). A privileged user importing in user mode can import all objects in the schemas of a specified set of users. Use the FROMUSER parameter to specify this mode.
Source:http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#1005111
But, your question is you wish to exclude one or more schema from a full=y exported dump, then it is not possible with imp, because there is no EXCLUDE parameter with imp, but you can use FROMUSER to get import from export dump.
Regards
Girish Sharma

Similar Messages

  • How to use Fault schema in WSDL for Error Handling in ALSB

    We are not able to view the fault element in our alsb flow under body variable and when we get the error in test console the error comes in bea fault schema,but we want the error in our own defined fault schema.Pls. guide.
    Below are the steps we followed to create a wsdl.
    Steps:
    1. We created a webservice project in workspacestudio and generated a wsdl.
    2. Then we have added a fault element manually in that wsdl.
    3. Now we have generated a webservice from that modified wsdl.
    4. Again we have generated a wsdl from webservice created in step 3.
    5. step 4 wsdl is tested and running well on server.
    When we try to configure that service as Proxy/Business service in ALSB and view the XPATH Expression Editor, we are not able to view Fault element under variable structures under body variable as shown below.But when we see the design view of our running wsdl in workspace studio it shows the fault element.How to get the fault element in variable body so that we can view the error in our logs in our defined Fault schema instead of BEA fault schema.WDSL is enclosed as an attachment.
    Thanks in advance

    Have you tried using the "Log" action in your pipeline proxy and log for $body and $fault. This will defin return the $body and $fault if these were parsed correctly

  • How to exclude create oracle job when during oracle imp

    Hi Expert,
    I would like to know how to exclude create oracle job during oracle import . It is schema export. Tks
    Regard
    Liang

    Oracle attempts to reimport job definitions as well. However, if you have an existing job with the same JOB_ID, the job definition fails (as there is a Unique Constraint on it).
    So, one "workaround" is to precreate dummy jobs before the import (which also means that the database account must be created in advance). To ensure that the JOB_ID is the same, you may have to keep incrementing the JOB_ID sequence.
    Hemant K Chitale

  • How to exclude some tables from schema level replicatio????

    Hi,
    I am working on oracle10g stream replication.
    My replication type is "Schema Based".
    So can anyone assist me to undersatnd, how to exclude some tables from schema based replication.
    Thanks,
    Faziarain

    You can use rules and include them in the rule set, lets say you dont want LCR to be queued for table_1 in schema SALES, write two rules one for DDL and another for DML with NOT logical condition.
    DBMS_RULE_ADM.CREATE_RULE(
    rule_name => 'admin.SALES_not_TALBE_1_dml', condition => ' (:dml.get_object_owner() = ''SALES'' AND NOT ' ||
    ' :dml.get_object_name() = ''REGIONS'') AND ' ||
    ' :dml.is_null_tag() = ''Y'' ');
    DBMS_RULE_ADM.CREATE_RULE(
    rule_name => 'admin.hr_not_regions_dlll',
    condition => ' (:dml.get_object_owner() = ''SALES'' AND NOT ' ||
    ' :ddl.get_object_name() = ''table_!'') AND ' ||
    ' :dsl.is_null_tag() = ''Y'' ');
    just go through this document once, http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#i1017376
    Edited by: user8710159 on Sep 16, 2009 5:21 PM

  • How to exclude schema name from exported files (PL SQL Developer)

    Dear all,
    Just one question: I am using PL SQL Developer. My goal is to export some data (as .sql and .dmp files) from one database and to import them into the another database (both databases have identical structure - test database and production, just different database names and names of schema. In order to make it possible, I need to exclude schema name from generated export file. I believe that it is possible to do it automatically by setting up parameters of PL SQL Developer. How?
    Thank you in advance,
    Kindest regards,
    Dragana

    In the meantime, I have found the answer on my previous question:
    Actually, the initial idea (how to exclude schema name from exported files) was wrong. No need for any intervention.
    Trick is: Schema name can be changed during the import of exported files (PL SQL Developer during import gives possibility: From User (old schema) To User (new schema) .
    Hope that this will be useful info for others.
    Dragana

  • How to exclude salary arrears from pension deduction?

    I have setup a pension retro element and its calculating the retro amount correctly.
    However, its using sum of salary arrears (say,arrears for the month of March and April) and adding that to May salary and deducting pension on the total sum.
    (we do not want this, we want only May salary to be considered for pension retro element)
    Does anyone know how to exclude salary arrears from pension deduction element? Is there any obvious step, which I am missing in while defining the element?

    Hi,
    While doing retro for arrears, it will give at a time in one payroll only, no standard for installment payments.
    2nd option:
    Calculate the Total Arrears amount and divide it by four installments and through IT 0014 with New wage type and give for 4 months as start and end date.
    * you have to create a new wage type which is taxable and assigned to IT 0014.
    * add this new wt in Remuneration form in Earnings side.
    Regards,
    Praneeth kumar

  • How to exclude open items by credit exposure calculation

    Dear all,
    as anybody idea about how to exclude by the credit exposure calculation some old items (in our case all items having document date lower than 01.10.2005).
    These are the basic assumptions:
    i cannot use a special G/L indicator because some of them already have one and i cannot change it;
    i cannot use the reason code field because it doesn't appear on all items (e.g., negative amount open items, and some others)
    some items are positive, some other are negative, some have a special g/l indicator and some others not.
    therefore i am forced to change rules of calculation. Is there any user exit o bte?
    thanks a lot!
    Edited by: Alessandro Casarico on Aug 31, 2010 8:36 PM

    Alessandro
    I think your only option is 'user exits for credit checks':
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    Good luck.

  • How to exclude stock of a particular storage type from collective availabil

    How to exclude stock of a particular storage type from collective availability check in MDVP.

    you can set the storage location as 'Storage location stock excluded from MRP' value '1' in the field
    Sloc MRP indicator , in MRP view $ when you enter a storage location accessing the material master.
    Thsi is the only way to exclude the storage location, you have to do it per each material and also it is excluded from the MRP.
    With this option the stock is not considered in ATP.
    IF you need the storage location in the MRP, then you should consider the use of MRP Areas.
    With the MRP Areas you define which plants/storage locations belong to each MRP area and the ATP is performed for eah area with the stocks that exist in each of them.
    Please if the issue is solved set the thread  as answered and provide the points to the useful replies.
    thanks for your cooperation

  • How to exclude one or more than one member on report?

    Post Author: izhar
    CA Forum: WebIntelligence Reporting
    Hi all group members, I am working on BOXI R2. I have to ask that, How to exclude one or more than one member from the report. I know there is function of filter, through which we can see our desired members and other remaining will be excluded, but that's filter. In some of tools i have seen just do right click on a specific member and click on "Exclude" option to exclude the member. Suppose i have placed a Time dimension on the report and standing on "Month Level" which has data from 1, 2, ... 7,8, ... 11, 12 Now i just have to exclude member 7 from the report. Can any member guide me here. Regards, Izhar

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    Izhar,
    If you run the report in "modify" mode, then you have two options
    1) You can click on the "Show/Hide Filter Pane" button which opens up the "apply filter" pane.  From there you go to your Data panel and grab, drag, and drop an item from the Data panel into the apply filter pane and provide a constant or select a value to filter in or out from your report.
    2) You can highlight the column of data that you want to filter on, then click on the "Add Quick Filter" button.  Using the List of Values menu you either select one or multiple items that you want to include in the report.

  • How to get the schema in a windows machine?

    In Active Directory, we can see the schema using AD schema snap-in.The following link gives the step to be done to view AD schema :
    http://technet.microsoft.com/en-us/library/cc732110.aspx
    Similar to this how can we see the schema of local users and groups of a local windows machine?

    Hi,
    >>
    Similar to this how can we see the schema of a local windows machine?
    As far as I know, the schema is the Active Directory component that defines all the objects and attributes that the directory service uses to store
    data. The physical structure of the schema consists of the object definitions. The schema itself is stored in the directory.
    Regarding Schema, the following articles can be referred to for more information.
    How the Active Directory Schema Works
    http://technet.microsoft.com/en-us/library/cc773309(v=WS.10).aspx
    Schema
    http://technet.microsoft.com/en-us/library/cc756876(v=WS.10).aspx
    Best regards,
    Frank Shen

  • How to exclude sales office for combination sales order type/division?

    Hi experts,
    I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

    Hi
    Standard SAP functionality would not be able to cater to this. Ideally create a Z table with sales order type and sales office combination. Put in entries for combinations that are allowed. In Sales order program MV45AFZZ use the exit USEREXIT_MOVE_FIELD_TO_VBAK. In this exit write down the logic passing the sales office determined and the order type and check if the entry is there or not. If the entry is there then it should go on to the next step. If it does not then pass an error message. You need to use the help of your ABAP er for this.
    Thanks
    Indranil

  • How to set db schema in fact tables

    Hi!
    I have one mapping with one table(table1) pointing to one fact table (fact1).
    This fact table has two dimensions located in two different schemas. I already deployed those dimensions and tables and its ok.
    My problem is: when I open the mapping editor and ask to generate the mapping to create the package to populate the fact table,
    I can see why I can not deploy it (PL/SQL: ORA-00942: table or view does not exist).
    My query is: SELECT (fields) FROM schema.table1, table2 ,table3 WHERE....
    I cant set the schema property from my table (table1), but I cant´t do the same with the table2 and table3 (both tables related to dimensions). i don´t have this option!
    I don´t understand why this happen because both dimensions are ok. They are in two different modules and the locations are ok too.
    I understand that the mapping needs the dimension keys to populated the fact table, but I really don´t know how to set this schema property. If i can´t do that,
    i don´t know how to "fix" this problem. If a can´t set this schema property, how can I deploy this mapping whitout this???!!!!
    I´m using the 10.2 version.
    Thanks o lot!!!!!!!!!!!

    This is what really happens in my example.
    Look the "Generation Results" :
    SELECT
    /*+ ORDERED NO_MERGE("INGRP1") */
    "TEMP_TABLE"."Value1" "Value1",
    "TEMP_TABLE"."Value2" "Value2",
    "DIMENSION1"."ID" "ID",
    "DIMENSION2"."ID" "ID"
    FROM
    "SCHEMA"."TEMP_TABLE" "TEMP_TABLE", -> I CANT SET THIS schema
    "DIMENSION1" "DIMENSION1", -> i can´t do the same here
    "DIMENSION2" "DIMENSION2" -> i can´t do the same here
    WHERE
    ( "DIMENSION1"."DIMENSION_KEY" = "DIMENSION1"."ID" ) AND
    ( "DIMENSION1"."ID" IS NOT NULL ) AND
    ( "DIMENSION2"."DIMENSION_KEY" = "DIMENSION2"."ID" ) AND
    ( "DIMENSION2"."ID" IS NOT NULL ) AND
    ( "DIMENSION1"."key" = "TEMP_TABLE"."key" ) AND
    ( "DIMENSION2"."key" = "TEMP_TABLE"."key" )
    I already tried to use 3 DB-Modules but I have the same problem. :o(
    I don´t know what to do!!!!!!!

  • How to check vendor schema group for info record for third party vendor

    Hi Expert,
    How to check vendor schema group that assigned in info record for third party vendor?
    Thanks

    Hi,
    Vendor schema group is not assigned in info record, It is assigned in purchasing data view of vendor master ( Check in XK03 )
    You can check in Vendor master- XK03- Purchasing data.
    hope it will help u.
    Deepak

  • How to change the Schema (DB2, Oracle) in CommandTable at run time

    Dear all,
    I have a problem as below:
    I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
    Please help me on this.
    Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
    Thanks,
    Nha

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

  • How to parameterize the schema name in APEX

    Hi,
    How to parameterize the schema name in APEX , in order to access different tables from the respective schema.
    For example:-
    select NAME display_value, CODE return_value
    from paramSchema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    in the above code, paramSchema will be replaced with the actual schema name duing runtime. I tried doing so by some hidden fields on page, but it didn't worked out.
    I took the schema name from the respective server as per the IPof the server.
    stored in a hidden field named as schema.
    And replaced the same in place of schema name. But no luck.
    select NAME display_value, CODE return_value
    from :schema.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1
    Please help me in shorting it out.
    Thanks,
    Anuradha

    Hi
    In order to do that, you would need to use dynamic SQL by changing the report type to PL/SQL Function Body Returning SQL Query and have code along the lines of
    DECLARE
    l_sql VARCHAR2(32767);
    BEGIN
    l_sql := 'select NAME display_value, CODE return_value
    from '||:schema||'.DESC_LIST WHERE SELECTION_FLG = 'Y'
    order by 1';
    RETURN l_sql;
    END;However, by doing this, you lose alot of flexibility. The other options would be...
    To have seperate report regions that are conditional on the value of the variable.
    To use a WITH clause at the tope of the query like...
    WITH src_data AS
    (SELECT * FROM schema1.my_table
    WHERE :schema = 'schema1'
    UNION ALL
    SELECT * FROM schema2.my_table
    WHERE :schema = 'schema2')
    SELECT *
    FROM src_dataOther than that you could look at using synonyms and doing something similar.
    Hope this helps.
    Cheers
    Ben

Maybe you are looking for

  • Premiere Elements project imported into Premiere Pro CS5.5 becomes unusable after first save

    I have Premiere Pro CS5.5, and I have been trying for some time to successfuly edit an old project that was originally created in Premiere Elements (not sure which version--probably 7.0). It has the .prel extension. The project imports just fine, and

  • Opening & closing stock

    Hi Expert,     I am developing one zreport . i want to know how to calculate opening and closing stock using mb5b standard report. Thanks Dinesh

  • Old shopping cart template

    Dear experts, We are on classic (SRM7.0/ECC6.0) When I try to create a SC from 'Old SC template' the standard screen with a list of old ordered SCs is displayed with following fields: Name/Number, Created on, Description, Quantity, Unit, Net Valur, C

  • Palm third party software: Volumecare:

    Volumecare: Palm third party software. I have downloaded a product called Volumecare, installed it and running it. As it is a  trial version it will stop in a day or two. Where do you purchase a registration key to allow a full install. www.gotreosof

  • Sync- Can we sync bookmarks between different pc or different os except for between pc and android

    I use win7 on my personal pc and ubuntu on my working pc. I hope that sync function help us to sync bookmarks between the two pc conveniently by clounding service. Of course , saving bookmark as a file is OK.,but It is not good and convenient.Thanks!