How to include user_sequences in a dbms_datapump procedure

how to include user_sequences in a dbms_datapump procedure
hi,
i have a procedure to move all tables from MYSCHEMA_1 to MYSCHEMA_2 over a db_link
using dbms_datapump ;
That works fine
but i need to copy the user_ sequences too.
a detail if my procedure looks like this :
## create Job in TABLE-Mode :
job_handle := dbms_datapump.open (
     operation      => 'IMPORT'
,job_mode => 'TABLE'
,remote_link           => p_database_link
,job_name      => vjob_name
## exclude same Tables:     
dbms_datapump.metadata_filter (
     handle          =>     job_handle,
     name          =>     'NAME_EXPR',
     value          =>     'NOT IN (''TABLE_EXC_1'', ''TABLE_EXC_2'' , ''TABLE_EXC_3'' )'
I found this to work with plain EXPDB :
EXPDB INCLUDE=SEQUENCE: in ('SEQ','SEQ2') INCLUDE=TABLE: in ('TABLE','TABLE2')
How to include user_sequences when working with dbms_datapump - API,
maybe working with dbms_datapump.metadata_filter ?

HI,
you are right,
to include SEQUENCES and other Objects like VIEW or FUNCTION
does only work in SCHEMA-Mode
But the next problem is
when want to refresh the dump
I can refresh the tables only
dbms_datapump.set_parameter(
handle      => job_handle,
name      => 'TABLE_EXISTS_ACTION',
value      => 'REPLACE'
not the other objects like SEQUENCE or FUNCTION
found in OracleSupport Note 1323411.1
would nice to have a parameter OBJECT_EXISTS_ACTION in future

Similar Messages

  • How to include taxes in the standard pricing procedure

    Dear All,
    I have configured the Ecc 6.0 version.i have used standard pricing procedure
    Rvaa001 as my pricing procedure. i am able to invoice and post the same to the accounts document when i use PR00 condition type.Now i want to include taxes
    to sales order.How should i include the taxes.Country is india and the standard
    conditions that are given JTX1,JTX2,JTX3,JTX4 are for taxes for india.how i should
    include these for my pricing procedure.I also need to include Vat, service tax apart from 50%of gross value tax etc.kindly guide me to include these in my pricing procedures.
    Plaese guide me to accopmplish these tasks.
    Award points are assured for timely support.
    Thanking you
    Best Regards,
    R.Srinivasan

    Instead of RVAA01, try the pricing procedures as under, which will have most tax conditions, as per Indian Environmemt.
    JDEPOT     IN:Depot sale with formula
    JEXPOR     IN:Export sales with formula
    JFACT     IN:Factory sale with formula
    JINDEP     IN:Depot sale
    JINEXP     IN:Exports
    JINFAC     IN:Factory sale
    JINSTO     IN:stock transfer
    JSTKTR     IN:Stock transfer with formula
    Hope this helps you.
    Regards,
    Rajesh Banka
    Reward suitable points.

  • How to include 3 sql statements in a single procedure

    I have 3 SQL statements to create 3 tables:
    Table1:To get all the data from an ORIGIN table that have an expiration_dates between 02/01/2006 and 04/30/2006. This has all the customer data (customer_id, company, etc…)
    Table 2:Secondly I am getting all the customer_ids for February into another table called table2
    Table 3: Thirdly I am joining table 1 and table 2 on customer_id to get all the entries for the February customers those expire in February, March and April.
    Now I want to include all these in a procedure. Can I put all these together in 1 procedure so that I can run all these at once and have the results?
    Please throw some light on this.
    Thanks,
    Ac

    I hope this code will help you a little bit
    [email protected]> create table orgin(customer_id int, company varchar2(20), expiration_date date)
    2 /
    Table created.
    Elapsed: 00:00:01.06
    [email protected]> create table table2 (customer_id int, expiration_date date)
    2 /
    Table created.
    Elapsed: 00:00:00.01
    [email protected]> create table customers_table(customer_id int, cust_date date)
    2 /
    Table created.
    Elapsed: 00:00:00.01
    [email protected]> create table table3(customer_id int)
    2 /
    Table created.
    Elapsed: 00:00:00.01
    [email protected]> create table table1(customer_id int, company varchar2(20), expiration_date date)
    2 /
    Table created.
    create or replace procedure customers is
    begin
    -- table1
    insert into table1 select customer_id, company, expiration_date
    from orgin
    where expiration_date between to_date('01-02-2006','dd-mm-yyyy')
    and to_date('30-04-2006','dd-mm-yyyy');
    -- table2
    insert into table2 select customer_id, cust_date from customers_table
    where cust_date between to_date('01-02-2006','dd-mm-yyyy')
    and to_date('28-02-2006','dd-mm-yyyy');
    -- table3
    insert into table3 select a.customer_id from table1 a, table2 b
    where a.customer_id = b.customer_id;
    end;
    Best Regards
    Krystian Zieja / mob

  • How does condition category affect the price procedure

    Hello Gurus,
         there is a case as following:
    if the condition type in the pricing analysis says in a billing document that the ‘‘condition is found and set,” and one is using the condition requirement number 024 (which only determines the price in billing document) yet still has to do new pricing in order to obtain the condition record, Should the condition category be blank, the system would propose the message “condition is found and set” but does not provide an actual condition record.
       the fault would be that the condition category on the condition type should be equal to L.
       so my question is " how does condition category affect the price procedure" ? thanks very much!

    Hi Zhang,
    -->Condition category is a classification of conditions according to predefined criteria.
    -->These categories include packaging costs, delivery costs, output taxes and discounts.
    -->The classification of conditions by condition categories can be used for analysis.
    I hope it will clear for you
    Regards,
    Murali.

  • How to include elementry search help into predefined collective search help

    Hi guys...
         how to include the user defined elementry search help into pre-defined collective search help.. pls reply as soon as possible..its urgent..
    regards
    kirankpasupuleti

    Hi Kiran,
    I have a complete doc on this which gives you step by step procedure to achieve the same.
    If you want I can send you the docs.
    Please give me your email id.
    Regards,
    Amit Mishra

  • How to Including Graph in Forms 6i Please Help Urgent

    How to include graph developed through graphic builder in the form 6i.
    Amir Sajjad

    1. attach the library og.pll.
    3. create a chart item.
    2. create a trigger and call procedure
    og.open to specify which graph display file .ogd is to be included in which
    chart item.
    If you want to see more details then see
    help of form builder
    1. click help menu
    2. click que cards
    3. click using chart item.

  • Including all taxes in pricing procedure

    Hello friends,
    I maintained seperate condition types for turnover tax, VAT,   Octroi tax.next what I have to do?Shall I maintain seperate account keys for each condition type?Shall I maintain seperate G/L account for each account key in VKOA? Then in pricing how to include all condition values(TOTVATOctroi) and put it one Tax condition type?
    At header level client wants to see total saleable goods amount and total tax amount.
    Please clarify my doubt.
    Regards,
    Sekhar_SD consultant.

    Dear Shekhar,
    As i can understand from your question you have three different types of taxes and you want to add all the three as a single tax type in your pricing procedure.
    Then goto your Pricing Procedure and check whether you have all the three Tax Condition types in your Pricing Procedure.
    For Example if you have the three Tax Conditions in the STEP lets say 100, 110, 120 then in the Net price in your Pricing Procedure give From & To as 100 & 120. By this system will understand that this three Condition types have to be added.
    I think this will solve your Problem.
    Revert back if you have any doubts.
    Reward if helpful.
    Regards
    PAVAN.

  • How to include old invoices in the invoice list

    How to Include old billing documents in the invoice list.
    TO be more clear:-
    I created 20 invoices in the monthof JAN
    I maintained the factory calender in the payer master in the month of Feb 1st and created 10 more invoices in this month.
    So the system is considering only the invocies which were generated after I maintained the factory calender (Only feb invoices).
    Is there any process to include the previous invoicies (Jan invoices)  also to get include in the invoice list.
    Help me in this regards.
    Regards,
    Mallesh.

    It is not possible.
    Regards,
    Rajesh Banka

  • How to include a jsp page in another jsp jsp page

    hi,
    i m trying to include a jsp page name "header.jsp" into one jsp page name"selectattribute.jsp" i m using these commands in "selectattribute.jsp"
    <%@include file "header.jsp"%> bcz both these jsp page are C:\program files\tomcat 4.0\webapps\examples\jsp\Poject\
    but the problem is that , i m invoking this jsp page "selectattribute.jsp" from a servlet reportcontroller.java using REQUEST DISPATCHER.
    the servlet is in
    C:\Program files\tomcat 4.0\webapps\examples\WEB-INF\classes\Project\
    i want to know how to include some other jsp page in a jsp page and how to invoke applet from jsp page when that particular jsp page is being invoked by servlet.
    plz help
    manish

    use this for including in your selectattribute.jsp
    <jsp:include page="header.jsp" flush="true"/>
    I never tried calling an applet. I think you can write the code for calling the applet in a javabean method and call the method in the jsp

  • How to include one view into another view

    Hi SDN's,
                   Could any please tell me,How to include one view into another view.
    In my requirment.I want to create a 'Z' view for an interface .In that  view i have to take,
    1) Ship-to-email adrr by
                              LIKP-KUNNR -> KNA1-ADRNR
                              KNA1-ADRNR -> ADR6-ADDRESNUMBER.
    2) E-mail addr of person who created the document.i.e
        LIKP-ERNAM -> USR21-BNAME.
        USR21-ADDRESNUMBER ->  ADR6-ADDRESNUMBER 
        USR21-PERSNUMBER -> ADR6-PERSNUMBER.
       In both the case we have to pass ADDRESSNUMBER to ADR6 table.
    If we pass these condition it fails,B'Coz at a time it passes Two ADDRESSNUMBER and a PERSNUMBER.
    So i created two which fetches only the email addr of  person who created the document.and another view fetches Ship-to-email addr.
    Now i want to include the second view into first view . Is it possible?or please
    tell me someother way to get these email addresses in a single view.

    hi
    as per my knowledge, nested views are not possible. However, while creating a new view, selection method will not giv u option to select the already created view(S) except the tables..i think so.
    regards,
    shamim

  • HOW to include a reference currency fields in a view ?

    Hello Experts,
    <b>I am having Currency fields error in generic extraction</b>
    I have table where I am trying to extract data to BW via generic extraction. When I tried
    to extract with the TABLE its giving me an error
    <b>Invalid extract structure template RPSCO of DataSource ZBW_REP3_TEST
    You tried to generate an extract structure with the template structure RPSCO. This operation failed, because the template structure quantityfields or currency fields, for example, field WLP00 refer to a differenttable</b>.
    Now I created a view with all the fields same as my table.
    But its still giving me the same error and taking all the fields as a primary keys. I have over 12 currency fields in the table. I am confused how to fix this issue and add a currency field to my view?
    hOW to include a reference currency fields in a view ?
    All inputs are much appreciated.
    Thanks and Regards,
    Harish

    Thank you for your responce,
    Can you please check my view and let me know where I am going wrong     
    View    Table   Field  Dataele  Data
    field                    type                                            0                                                                
    WLP01     RPSCO     WLP01     BP_WPL     CURR     15     Period value in ledger currency
    WLP02     RPSCO     WLP02     BP_WPL     CURR     15     Period value in ledger currency
    WLP03     RPSCO     WLP03     BP_WPL     CURR     15     Period value in ledger currency
    WLP04     RPSCO     WLP04     BP_WPL     CURR     15     Period value in ledger currency
    WLP05     RPSCO     WLP05     BP_WPL     CURR     15     Period value in ledger currency
    WLP06     RPSCO     WLP06     BP_WPL     CURR     15     Period value in ledger currency
    WLP07     RPSCO     WLP07     BP_WPL     CURR     15     Period value in ledger currency
    WLP08     RPSCO     WLP08     BP_WPL     CURR     15     Period value in ledger currency
    WLP09     RPSCO     WLP09     BP_WPL     CURR     15     Period value in ledger currency
    If I add a
    Table TCURC against any field what would be the view field and data element
    Do I need to tick MOD?
    Please suggest.
    Kapadia,
    If I do that its still taking all the fields are a primary keys and bringing 6 lakh records to where I originally have 49 records in a table
    Thanks and Regards,
    Harish

  • How to include a license header in fxml file?

    How to include a license header in fxml file?
    I tried xml block comments <!-- mylicense here -->
    but it wasn't accepted by screen builder.
    Also I wondered, even if it had been accepted, would screen builder have saved the header back - or deleted it?

    All XML documents should begin with an XML declaration.
    If you have your fxml file starting with  the following lines :
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- mylicense here -->
    .. it will be loaded in Scene Builder, and saved back as is.

  • I would like to know how to include entries in my TOC that refer to paragraph styles that a before the TOC.

    I would like to know how to include entries in my TOC that refer to paragraph styles listed before the TOC.
    Example:
    page i. Title Page
    page ii. Abstract
    page iii. Table of Contents
    I want the TOC on page iii to include the entries "title page" and "abstract". Is this possible?
    Thank you-

    Thesis formatting rules.
    Can you answer another question?
    How do I change the text for a TOC entry? For example,
    I have selected the title on my first page, for example "Summer Report" and selected a paragraph style for it, and added it in the TOC. Now the TOC will have this entry for "Summer Report" and the associated page. But I want it to say "Title Page" instead. Can I edit this text? In order words, have the TOC point to something with whatever name I want to give it, even though it is not the actual name of the section?

  • How to include WS-Security Header in the WSDL

    hi
    how to include WS-Security Header which have username and password as
    i had seen the below link it deals with just hello world which is not using any Services(DBAdapter) is it possible to use DBAdapter as the steps present in the below link how to include WS-Security Header which have username and password
    http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html

    As Amir suggested, you may provide in the URL but I wouldn't suggest it though. You don't want to hard code the user ID and password within in the WSDL because it is a bad practice especially the user ID and password may be different in different systems and every time you change the password, you have to regenarate your WSDL.
    May be you thought through this but just in case if you didn't
    KK

  • How to include Material Cost in the SD report

    Hi,
    I am working on Cube 0SD_C03 for the Sales and Distribution Report "Sales Contribution - Product Wise u2013 KPI" where I have to show the following information which are given below.
    1. Total Sales Qty.
    2. Total Sales Value
    3. Total Material Cost
    For third one I do not know how to include this in this SD report.
    so please tell me about this if anybody has idea about this?

    Hi Francisco,
    Note:
    your xml should only have
    <URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
    Show me your sample XML , i can help you.
    What is your expected output ? PDF or HTML ?
    here it is.
    option1:
    If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
    a. insert hyperlink from word menu
    b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
    c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
    where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
    option2:
    create a form field, you can add it
    <fo:basic-link external-destination="http://www.google..com">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link external-destination="{ELEMENT_NAME}">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link>
    <xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
    </xsl:attribute>
           <xsl:value-of select="LINK_NAME"/>
    </fo:basic-link>

Maybe you are looking for