Need to Add a Table in Existing Query(SQVI)

Hello All,
I have a query zqry (in T-Code SQVI) using 2 tables mkpf & mseg, with some List Fields(Result) & some selection Fields(Select options).
I need to add a new table makt into this existing query.
Help is highly appriciated.
Regards
Arun.

Hi Arun,
look here:<a href="http://help.sap.com/saphelp_47x200/helpdata/en/b7/26dde8b1f311d295f40000e82de14a/frameset.htm">QuickViewer</a>
and note: ...
"Whenever you define a QuickView, you can specify its data source explicitly. Tables, database views, table joins, logical databases, and even InfoSets, can all serve as data sources for a QuickView. <b>You can only use additional tables and additional fields if you use an InfoSet</b> as a data source."...
regards Andreas

Similar Messages

  • HOW TO ADD NEW COLUMN IN EXISTING QUERY

    hi,
    i m working on oracle reorts 10g. i have a multiple query based report. now i want to add a new column in query 1 and order by on that new column .
    i added column in query but when i see that group i dont find that column in that group.wt do i need to do to visible that column in query1 group thats y the order by on that column is not working i think.
    tell how to solve it ?
    thanks

    Hi,
    The new column you have added might be in the least level group of that query.
    Drag it to the desired group level, first postion and set the break order for that item in the property pallette..
    (If still the item not coming, check whether you have put 'comma' in the select query after writing the column name)
    Simply giving the column in the order-by clause will not work in report.
    In Report, record display order is completely based on the break-order of the items given in query-groups
    If you change accordingly it will work
    Regards
    Dora

  • In Top 10 with two dimension i need to add others in my MDX query

    Hi this is code working fine and return top 2  product in a  state. i need to add other sales also how can we do
    with set FIPS as [Geography].[State-Province].[State-Province]
    set TCat as
    Generate( {FIPS}, CrossJoin( {[Geography].[State-Province].CurrentMember},
    TOPCount(
             ([Product].[Subcategory].[Subcategory]),
             2,
             [Measures].[Sales Amount]
    SELECT { [Measures].[Sales Amount] } ON COLUMNS,
    TCat  ON ROWS
    FROM [Adventure Works]
    hi fond one code it is work for one dimension only, i need for two dimension
    WITH
    SET [TCat] AS
    TopCount([Product].[Subcategory].[Subcategory],10,[Measures].[Sales Amount])
    MEMBER [Product].[Subcategory].[Other] AS
    Aggregate([Product].[Subcategory].[Subcategory] - TCat)
    SELECT { [Measures].[Sales Amount] } ON COLUMNS,
    TCat + [Other] ON ROWS
    FROM [Adventure Works]

    Hi,
    We will have to generate a set of tuples that includes both dimensions:
    WITH
    SET [Top2] AS
    Generate
    {[Customer].[State-Province].[State-Province].MEMBERS}
    [Customer].[State-Province].CurrentMember
    ,TopCount
    (EXISTING
    [Product].[Subcategory].[Subcategory].MEMBERS)
    ,2
    ,[Measures].[Internet Sales Amount]
    MEMBER [Product].[Subcategory].[All].[top2Aggr] AS
    Aggregate((EXISTING [Top2]))
    MEMBER [Product].[Subcategory].[All].[all Subcat] AS
    [Product].[Subcategory].[All]
    MEMBER [Product].[Subcategory].[All].[others] AS
    Aggregate
    (EXISTING
    [Customer].[State-Province].CurrentMember
    ,[Product].[Subcategory].[Subcategory].MEMBERS
    [Top2])
    SELECT
    {[Measures].[Internet Sales Amount]} ON COLUMNS
    [Customer].[State-Province].[State-Province].MEMBERS
    [Product].[Subcategory].[top2Aggr]
    ,[Product].[Subcategory].[others]
    ,[Product].[Subcategory].[all Subcat]
    } ON ROWS
    FROM [Adventure Works];
    If you plan to tweek this solution, you may want to align the dimensionality of the [all Subcat] member with the others members by changing its definition:
    MEMBER [Product].[Subcategory].[All].[all Subcat] AS
    aggregate(EXISTING
    [Customer].[State-Province].CurrentMember
    ,[Product].[Subcategory].[All]
    The former defintion also works in our case because it's a singleton set and it is put in a tuple when crossjoined with the axis 1 giving it the right dimensionality.
    Philip,

  • I need to add tab in the existing B1 scree

    Hai,
      I need to add two more additional tab in the production order screen. Please let me know how can i do this.
    regards
    Suresh S

    Hai,
    Thanks for you reply. I have gone through the example what you have suggested. Please let me know how i can add the item for production order.
    eg,
       For Sales Order it has been mentioned as  126. How can i identiy these 126
            '// use an existing item to place youe item on the form
            oItem = oOrderForm.Items.Item("126")
    For Sales Order it has been mentioned as 44. How can i identiy these 44
    '// use an existing item to place youe item on the form
            oItem = oOrderForm.Items.Item("44")
    And Form type :
    FormType = 139
    how following numbers can be identified for Production Order Form

  • Need to add new InfoObject to existing target

    Hi,
    I need to add one extra InfoObject to my existing cube. Data is coming from r/3 can please detailed me the procedure..
    r/3 side enhancements and BW side enhancement in details.
    regards,
    Silpa

    Hi Silpa,
    Before adding the field into existing info cube fiirst u need to check in R/3 the field is properly enhanced  or and data is populated or not
    In R/3 side if u enhance any field that will avialble on field only known exit or inversion check in data source make that field seletion properly.
    After that u need to check in RSA3 check the data.
    After Replicate u r data source.
    Once it is completed in R/3 come to BW
    U need add the compateble field in transferstructure structure and CS also.
    To load the new field data u need to delete the existing data in cube level.
    And go for Re-init.
    Hope this will help.
    Regards,
    HARI GUPTA

  • Help, I need to add a table to a form in Adobe designer

    Anyone know how to add a table (that the end user will be able to fill in) to a Adobe designer form that I'm creating? I figured it would be in the tools but is not?????

    Have you already taking a look at this post?
    http://www.adobeforums.com/cgi-bin/webx?128@@.3bba9c53

  • Can I add more tables into existing Data Modeler

    My Data Modeler has been generated by SQL Developer, it contains 68 tables. Later I would like to add more tables into my current model. Is there any way I can add more tables into my current model without creating a new one from the scratch? Thanks for your help.
    Kevin

    Hi Kevin,
    you can add new tables using File>Import functionality - you can import from database or DDL scripts.
    Working in SQL Developer you can drag tables from SQL Dev browser and drop them on relational diagram. If Ctrl key is pressed while dropping then subordinate tables also will be added to the model.
    Here you can find tutorials http://apex.oracle.com/pls/apex/f?p=44785:2:0:FORCE_QUERY::2,RIR,CIR:P2_TAGS:Data%20Modeler
    Philip

  • Need to add new column in SAP Query - Please guide me in this regard

    Dear All,
    In SAP Query, I need to put a new coulmn of each record for the difference of Billing date and PGI date as a work days.
    eg: Billing Date = 02.05.2008
         PGI Date = 08.05.2008
    Take a Variable i.e. Days = Billing Date - PGI Date that will display as 5 days by excluding Saturday and Sunday.
    After doing calculation of these work days for each record, we need a to add a new coulmn in that record as field lable as "Work Days" and display.
    Please Guide me in this regard
    Regards,
    Sateesh.

    Hi Rama,
    In SQ01 when you are in the fields (first would be attributes, when you click next it takes you to field groups, and again when you click next if takes you to fields tab) check the following menu path
    EDIT -> LOCAL FIELD -> CREATE
    You can define the formula as per your requirement and populate the field.
    Hope this is helpful.
    Thanks,
    Pavan

  • Need to add OR condition in cmis query

    I am trying to retrieve some documents using the cmis query based on a condition where I need to specify the collection Id.To be more clear I have a folder outer within with which I have three subfolders first , second and third , I have a search condition where I need to query all the three subfolders here and bring me the results , but as soon as I start giving the collection ID of the outer most folder It searches only for that folder and does not recursively search the subfolders , So in my query I am trying to add the collection ids of the subfolder in OR condition but i get the error that OR is not a valid operand , AND , ORDER is expected .
    Can any one help me to find if we can write queries with OR condition in UCM?

    Hi ,
    Thanks for the reply. I am pasting the query below along with the error mesg.
    SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xCollectionID = '888438448042000024' OR ora:p:xCollectionID = '888438448042000025' OR ora:p:xCollectionID = '888438448042000026' OR ora:p:xCollectionID = '888438448042000027' OR ora:p:xCollectionID = '888438448042000028' OR ora:p:xCollectionID = '888438448042000029' OR ora:p:xCollectionID = '888438448042000217'
    Caused by: oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException: oracle.webcenter.content.integration.cmis.query.ParseException: Encountered " "OR" "OR "" at line 1, column 134.
    Was expecting one of:
    <EOF>
    "AND" ...
    "ORDER" ...
         at oracle.webcenter.doclib.internal.model.presenter.conf.QueryStringDatasource.toSearch(QueryStringDatasource.java:124)
         at oracle.webcenter.doclib.internal.model.presenter.conf.PresenterDatasource.validate(PresenterDatasource.java:321)
         ... 90 more
    Caused by: oracle.webcenter.content.integration.cmis.query.ParseException: Encountered " "OR" "OR "" at line 1, column 134.
    Was expecting one of:
    <EOF>
    "AND" ...
    "ORDER" ...
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.generateParseException(CmisQueryParser.java:1288)
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.jj_consume_token(CmisQueryParser.java:1170)
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.cmisQuery(CmisQueryParser.java:80)
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.parseQuery(CmisQueryParser.java:34)
         at oracle.webcenter.content.integration.cmis.query.CmisSearch.getInstance(CmisSearch.java:61)
         at oracle.webcenter.doclib.internal.model.presenter.conf.QueryStringDatasource.toSearch(QueryStringDatasource.java:116)
         ... 91 more
    <AbstractPresenterBean> <getConfiguration()> Jan 14, 2013 7:53:18 PM oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException asError
    ALL: Query expression must be a valid, non-empty expression.
    oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException: Jan 14, 2013 7:53:18 PM oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException asError
    ALL: Query expression must be a valid, non-empty expression.
    I also tried using the 'in clause' like xcollectionId in (<collectionId>,<collectionId>) but still had issues.

  • Add actions to an existing query or function in Power Query

    Hello
    I have just started using Power Query and can see this will be an amazing tool to add to my tool set. However I am rather slow on the uptake and am having trouble with some of the basics of using Power Query
    I have successful created some queries and by following along on some articles at excelguru.ca/blog i have created a usable function or two
    The issue i have and can see this being something i will do a lot in the near future (especially while still learning), is that I need to go back to the query and function and edit it. In particular i need to either rename some columns to make them compatible
    with other data sources, or delete them.
    I can see that i can manually edit the query / function in the advanced editor, but i was wondering if it is possible to open the report up again and edit the columns in the same manner as when creating them in the first place?
    Thanks in advance for any help given.
    I am using Excel 2010, although do have access to Excel 2013 if needed, but as i am using PowerPivot in 2010 i would prefer to use PQ in 2010 also.
    Proportal

    OK - What had completely stumped me, and i had to set it aside to do other things, has just been solved!
    To explain - obviously editing Queries is simple - right click the query and edit... and then make the changes you want.
    For functions - the thing i was really struggling with is also fairly simple, but takes a few more steps.
    1 - copy the query from the advanced editor
    2 - create a new blank query from Get External Data on the Home Tab / From Other Sources / Blank Query
    3 - Past your function in and remove the function statement(s) and reinstate and file path information
    4 - Edit the columns etc as you want.
    5 - when completed paste the relevent sections back into the original function.
    Done.
    Hope this helps any others out there that were struggling with something so simple... 
    Moral of this - copy and save all your queries and functions in a text editor such as notepad++ so you can cut out a lot of the steps above...

  • Add a table in this query?

    This summarizes the daily values into weekly values from a table.
    create table tblBill (
    mtrl   varchar2(10),
    sales_quantity number,
    posting_date date
    insert into tblBill values('Label1',3100,'2012-05-01');
    insert into tblBill values('Label1',1984,'2012-05-02');
    insert into tblBill values('Label1',5670,'2012-05-03');
    insert into tblBill values('Label1',30,'2012-05-04');
    insert into tblBill values('Label1',3888,'2012-05-05');
    insert into tblBill values('Label1',1651,'2012-05-06');
    insert into tblBill values('Label1',1881,'2012-05-07');
    insert into tblBill values('Label1',1985,'2012-05-08');
    insert into tblBill values('Label1',3240,'2012-05-09');
    insert into tblBill values('Label1',980,'2012-05-10');
    insert into tblBill values('Label1',13165,'2012-05-17');
    insert into tblBill values('Label1',1265,'2012-05-19');
    insert into tblBill values('Label1',1165,'2012-05-23');
    insert into tblBill values('Label1',3125,'2012-05-24');
    insert into tblBill values('Label1',2311,'2012-05-29');
    create table tblCon (
    mtrl   varchar2(10),
    con_quantity number,
    posting_date date
    insert into tblCon values('Label1',100,'2012-05-07');
    insert into tblCon values('Label1',184,'2012-05-09');
    insert into tblCon values('Label1',570,'2012-05-10');
    insert into tblCon values('Label1',770,'2012-05-11');
    insert into tblCon values('Label1',888,'2012-05-16');
    insert into tblCon values('Label1',651,'2012-05-17');
    insert into tblCon values('Label1',1081,'2012-05-18');
    insert into tblCon values('Label1',1085,'2012-05-19');
    insert into tblCon values('Label1',3240,'2012-05-20');
    insert into tblCon values('Label1',990,'2012-05-24');
    insert into tblCon values('Label1',1165,'2012-05-26');
    insert into tblCon values('Label1',105,'2012-05-27');
    insert into tblCon values('Label1',1165,'2012-05-28');
    insert into tblCon values('Label1',2125,'2012-05-29');
    insert into tblCon values('Label1',5311,'2012-05-30');
    commit;
               SELECT  Material, qty as Quantity_Sales, fill_year_week as YearWeek
                from (
                WITH      weeks_vw AS
                (SELECT  DISTINCT TO_CHAR(fill_year_day,'IYYYIW') AS fill_year_week
                        FROM
                             (SELECT  to_date('2012-05-01','yyyy-mm-dd')  + (ROWNUM-1) AS fill_year_day FROM  DUAL
                                CONNECT BY      LEVEL <= TRUNC(to_date('2012-05-30','yyyy-mm-dd') - to_date('2012-05-01','yyyy-mm-dd') ) + 1))
                    SELECT  a.material ,fill_year_week ,SUM(NVL(sales_quantity,0)) AS QTY
                    FROM
                     (   SELECT  t.material ,t.sales_quantity, TO_CHAR(t.posting_date,'IYYYIW') AS posting_week
                             FROM    tblBill t
                             WHERE   t.material = 'Label1'
                            AND     t.Posting_date >= to_date('2012-05-01', 'yyyy-mm-dd')
                            AND     t.Posting_date <= to_date('2012-05-30','yyyy-mm-dd') ) A
                   PARTITION BY (a.material) RIGHT OUTER JOIN weeks_vw  ON weeks_vw.fill_year_week = A.posting_week
                   GROUP BY     a.material ,fill_year_week
                   Order by fill_year_week desc)Now I want to add a second table that looks similar. Today, the answer looks like this:
    MATERIALS QUANTITY YEAR_WEEK
    Label1       8 086         1219I want to add one to the column from Table 2 (tblCon) that the answer looks like this:
    MATERIAL     SALES_QUANTITY     CON_QUANTITY     YEAR_WEEK
    Label1             8 086             1 624             1219How do I proceed?

    Hi,
    user570142 wrote:
    This summarizes the daily values into weekly values from a table.
    create table tblBill (
    mtrl   varchar2(10),
    sales_quantity number,
    posting_date date
    insert into tblBill values('Label1',3100,'2012-05-01'); ...
    Thanks for posting the CREATE TABLE and INSERT statements. Remember why you go to all that trouble: it's to let the poeple who wnat to help you re-create the problem and test their ideas. If you post statements that don't work, its not very helpful.
    None of your INSERT statements work on my system, because you're trying to insert VARCHAR2S (such as '2012-05-01') into a DATE column. You should insert DATEs into DATE columns. use TO_DATE or DATE literals.
    SELECT  Material, qty as Quantity_Sales, fill_year_week as YearWeek
    from (
    WITH      weeks_vw AS
    (SELECT  DISTINCT TO_CHAR(fill_year_day,'IYYYIW') AS fill_year_week
    FROM
    (SELECT  to_date('2012-05-01','yyyy-mm-dd')  + (ROWNUM-1) AS fill_year_day FROM  DUAL
    CONNECT BY      LEVEL <= TRUNC(to_date('2012-05-30','yyyy-mm-dd') - to_date('2012-05-01','yyyy-mm-dd') ) + 1))
    SELECT  a.material ,fill_year_week ,SUM(NVL(sales_quantity,0)) AS QTY
    FROM
    (   SELECT  t.material ,t.sales_quantity, TO_CHAR(t.posting_date,'IYYYIW') AS posting_week
    FROM    tblBill t
    WHERE   t.material = 'Label1'
    AND     t.Posting_date >= to_date('2012-05-01', 'yyyy-mm-dd')
    AND     t.Posting_date <= to_date('2012-05-30','yyyy-mm-dd') ) A
    PARTITION BY (a.material) RIGHT OUTER JOIN weeks_vw  ON weeks_vw.fill_year_week = A.posting_week
    GROUP BY     a.material ,fill_year_week
    Order by fill_year_week desc)I don't believe this is the code you're actually running. It references a column called material, but there is no such column in the tbill table.
    Now I want to add a second table that looks similar. Today, the answer looks like this:
    MATERIALS QUANTITY YEAR_WEEK
    Label1       8 086         1219
    Again, this indicates you haven't posted your real query. The query above, if it could run, would produce 4 or 5 rows of output, one for each week. Post your actual code, and your actual, complete results.
    I want to add one to the column from Table 2 (tblCon) that the answer looks like this:
    MATERIAL     SALES_QUANTITY     CON_QUANTITY     YEAR_WEEK
    Label1             8 086             1 624             1219How do I proceed?It looks like a job for JOIN. Compute the weekly sum for one table in a separate sub-query, before joining the other table, something like this:
    WITH     params          AS
         SELECT     TO_DATE ('2012-05-01', 'yyyy-mm-dd') AS first_posting_date
         ,     TO_DATE ('2012-05-30', 'yyyy-mm-dd') AS last_posting_date
         FROM     dual
    ,     weeks_vw     AS
         SELECT     TRUNC (first_posting_date, 'IW')
                  + (7 * (LEVEL - 1))              AS a_monday
         ,     TRUNC (first_posting_date, 'IW')
                  + (7 *  LEVEL)              AS next_monday
         FROM    params
         CONNECT BY     LEVEL <= 1 + ( ( TRUNC (last_posting_date,  'IW')
                                     - TRUNC (first_posting_date, 'IW')
                             / 7
    ,     tblbill_agg     AS
         SELECT       w.a_monday
         ,       b.material
         ,       SUM (sales_quantity)     AS total_sales_quantity
         FROM          weeks_vw  w
         JOIN       tblbill   b  ON  b.posting_date >= w.a_monday
                            AND b.posting_date <  w.next_monday
         WHERE     b.material   IN ('Label1')
         GROUP BY  w.a_monday
         ,            b.material
    SELECT       tc.mtrl
    ,       NVL ( MIN (ba.total_sales_quantity)
               , 0
               )                         AS total_sales_quantity
    ,       NVL ( SUM (tc.con_quantity)
               , 0
               )                         AS total_con_quantity
    ,       TO_CHAR (wv.a_monday, 'IYYY-IW')     AS year_week
    FROM                 weeks_vw     wv
    LEFT OUTER JOIN  tblbill_agg    ba  ON  ba.a_monday     =  wv.a_monday
    LEFT OUTER JOIN  tblcon          tc  PARTITION BY  (tc.mtrl)
                                     ON  tc.posting_date >= wv.a_monday
                            AND     tc.posting_date <  wv.next_monday
    GROUP BY  tc.mtrl     
    ,            wv.a_monday
    ORDER BY  tc.mtrl     
    ,            wv.a_monday
    ;

  • Common Table Expersion - inside existing query - How to add it in?

    I need to add somethint like the below query to an existing query. How do I do that?
    with emp_att_t
    as
    select empid,
           count(*) over(partition by empid order by 1) total_cnt,
           sum(decode(present_yn, 'N',1,0)) over(partition by empid order by 1) abs_cnt
      from emp_att
    select eh.empid, eh.name
      from emp eh
      join emp_att_t ed
        on eh.empid = ed.empid
    where ed.total_cnt > 100
       and ed.abs_cnt > 5thanks for looking.
    Edited by: GMoney on Mar 7, 2013 2:00 PM

    Please disregard the query it's self - it has nothing to do with my question really.
    The below is from a question you answered for me in this thread: Re: MAX Value for multiple fields in same Query
    WITH     got_rn          AS
         SELECT     ck.circuit_design_id
         ,     sr.document_number
         ,     ck.product_id
         ,     sr.activity_ind
         ,     sr.order_compl_dt
         ,     ROW_NUMBER () OVER ( PARTITION BY  ck.circuit_design_id
                                   ORDER BY          sr.document_number     -- or sr.order_compl_dt
                                       DESC
                           ) AS rn
         FROM    ck
         JOIN     src     ON     ck.circuit_design_id     = src.circuit_design_id
         JOIN     sr     ON     src.document_number     = sr.document_number
    --     WHERE     ...     -- If you need other filtering, put it here
    SELECT       circuit_design_id
    ,       document_number
    ,       product_id
    ,       activity_ind
    ,       order_compl_dt
    FROM       got_rn
    WHERE       rn     = 1
    ORDER BY  circuit_design_id     -- if wantedAll I am really asking is how to do an INNER JOIN on one or more other queries.
    Example
    select *
    from (
    Select abc, def
    from t1, t2
    where t1.abc = t2.abc) result1
    inner join
    WITH     got_rn          AS
         SELECT     ck.circuit_design_id
         ,     sr.document_number
         ,     ck.product_id
         ,     sr.activity_ind
         ,     sr.order_compl_dt
         ,     ROW_NUMBER () OVER ( PARTITION BY  ck.circuit_design_id
                                   ORDER BY          sr.document_number     -- or sr.order_compl_dt
                                       DESC
                           ) AS rn
         FROM    ck
         JOIN     src     ON     ck.circuit_design_id     = src.circuit_design_id
         JOIN     sr     ON     src.document_number     = sr.document_number
    --     WHERE     ...     -- If you need other filtering, put it here
    SELECT       circuit_design_id
    ,       document_number
    ,       product_id
    ,       activity_ind
    ,       order_compl_dt
    FROM       got_rn
    WHERE       rn     = 1
    result2
    ON result1.abc = result2.activity_indEdited by: GMoney on Mar 7, 2013 2:23 PM

  • SAP Query - Need to join 3 Tables via outer join

    Hi,
    I need to join 3 Tables using SAP Query. I wish an OUTER JOIN to be performed for the table join.
    For Example:
    Table 1 has 1000 Entries           Field A             Field B          
    Table 2 has 300 Entries             Field A            Field C
    Table 3 has 100 Entries             Field A           Field D
    The normal Join (INNER JOIN) gives me only the records that exists in all the 3 Tables.
    But what i need is:
    In the above example, If one entry in Table 1 has no matching records in Table 2 / Table 3, there should be an output entry in the SAP Query like
    Field A            Field B              Field C            Field  D
    xxxx              yyyy                  Blank             Blank
    If there is a common record that exists in the tables, that record should appear in the same entry in the Query output.
    Field A            Field B              Field C            Field  D
    xxxx              yyyy                  zzzz              aaaa
    In this way, there should be a minimum of 1000 entries (Largest no of records in the Tables joined). More than 1000 records in the Query output depends on the number of common records.
    Kindly help if you have come across such a scenario.
    thanks & regds
    sriram

    Hi
    Please join the outer join as below
    Table1 with Field A  to Table 2 Field A-----outer join
    Table1 with Field A  to Table 3 Field A------outer join
    then you get the out put as per your requirement
    Regards
    Damu

  • Is it possible to add a single table to existing CDC setup ?

    We have Asynchronous Change Data Capture setup.
    Database A : Source Database
    Database B : Staging Database
    Redo Log shipping is b/w A --> B and Capture/Apply is running on B.
    Total 32 tables outof 300 are part of these CDC setup. I'm wondering if we can add a table to existing setup, As per the documentation, We can't user streams API to add a table in capture/apply, and CDC doesn't have its owe API. So is there really no way except to rebuild entire setup?
    Thank you,
    Mahesh

    You need to follow steps below:
    1. @destination database : stop capture process
    2. @source database add supplemental logging for new tables
    3. @source database :prepares table instantiation (exec DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION(table_name => 'owner.table_name');)
    4. @destination database :create change table for additional tables
    5. @destination database: drop subscriber
    6. @destination database: start capture process ,create subscriber,recreate subscriber views and then activate subscriber then extend window
    All steps are action plan that I have done in my CDC system.
    Good luck!
    Chaiya Rakdee

  • Urgent:how to add two table regions to one query region

    hello
    In my page a serach region is there and for that region i need to add two tables and two are based on two different view objects.how can i implemnet this thing please let me know.
    advance thanks

    Hi Wei Fang,
    You can try by creating a 2 line template (1 Template, 2 linetype) under a loop note.
    So your smartform tree structure will be shown like this:
    LOOP
        TEMPLATE1.
    On the LOOP part, pass the internal table of your data to the working areas.
    On the template put all the data of the summary on your first linetype, and put
    the detail data on your second linetype.
    Good luck and hopefully this will solve the problem
    Edited by: Prawira Fadjar on Oct 22, 2008 10:04 AM

Maybe you are looking for

  • GRC 10 Upgrade:unable to install the add-on

    Hi all, Here I am facing another problem. I am basically working on SAP NW 7.3 ABAP. I have downloaded the *51039481 SAP Access Control/SAP Process Control/SAP Risk Mgmt 10.0 * zip file from SMP.  My backend system is SAP NW 7.0. For that, I have suc

  • Can't send a mail

    Hi, I'm a user from méxico and this morrning I tried to send my location via mail to a friend and i couldn' do it. i thought the trouble was in the app called send my lovation, so I didn't pay much attention to that, but this evening I tried to send

  • Itunes UNinstall = bad idea??

    Just a quick & possibly dumb question: If I uninstall then reinstall itunes on my pc, will it affect any content on the ipod itself?? I got almost 25gb on there & wont unintall itunes if it messes it up. Reason being is I accidentally deleted the itu

  • Transaction code KO88 need to be check at company code leval

    Dear Experts, I need maintain authorization check at company code level for the transaction code KO88 Can you suggest what are the better approaches/solutions to meet this requirement Thanks in Advance Guru Prasad

  • Doubt In Quotation and Inquiry

    Hi all, I have a little doubt with regard to quotation and inquiry. Can anybody please explain whether we have pricing in inquiry? in other words does an inquiry document include pricing? As far as my understanding goes an inquiry is generated by a c