Invalid XML, Expected item name child table but got 'row' UDO name

Hi expects
my client is using SAP 2007B, PL15
I have problem in uploading data via DTW in UDO master type table.
I don't have importing data
Only i have problem in updating data in UDO master type table
Detail log is Invalid XML, Expected item name 'TB_SALES_AGTDISC_CH' but got 'row' UDO_obj_sales_agt_disc
TB_SALES_AGTDISC - master type
fields are Code,Name
'TB_SALES_AGTDISC_CH -master row type
fields Code,vaidfrm,validto,disc_ltr
Please give some suggestions
Prasad

Hi
I checked my previous thread.
But still I am getting problem in importing one additional row in child table.
Message i was getting when i importing via DTW Re: Invalid XML, Expected item name<child table> but got 'row' UDO name
Please give me some links or procedure how to import row in child tabe
Prasad

Similar Messages

  • Invalid XML, Expected item name child table but 'row' provided65171

    Hello Experts
    I am using SAP 8.81, PL05
    DTW is at 88.1.4 API Version 8.81.313
    I have problem in uploading data via DTW in UDO master type table.
    I only have problem in updating data in UDO master type table
    Detail log is Invalid XML, Expected item name 'ACC_VS_VIG' but got 'row' provided65171
    ACC_VS_VEH  - UDO
    ACC_VS_VEH - master type - UDT
    ACC_VS_VIG -master row type -UDT
    DTW ERROR FILE
    Code     Name     U_SrcNme     U_SrcRef     U_ManfNo     U_Manf     U_KModNo     U_ModelSpc     U_KTypNo     U_ModelTyp     U_BodyType     U_EngCapac     U_Cylinders     U_4WD     U_BrakeTyp     U_BrakeSys     U_Valves     U_StartDt     U_EndDt     U_CurrVolt     U_EngKGW     U_EngPS     U_DriveTyp     U_EngType     U_FuelType     U_Required     U_Publish     U_Flagged     U_FuelMix     U_CatlType     U_TranType     U_EngCC     U_ModGen     U_TypeDesc     U_Doors     U_FuelCap     U_ABS     U_ASR     U_Notes
    <---Do not fill this row----->                                                                                
    00010477     00010477
    ParentKey     LineNum     Code     U_PrdItG     U_BasePrc     U_Currency     U_Required     U_Publish     U_Notes
    <---Do not fill this row----->                                        
    00010477     1     00010477          10.78
    Please, please give me some suggestions
    Keith Lilley

    Hi Gordon
    Thanks for quick response,
    In DTW - Select Business Object I see the following:
    + Human Resources
    - User Defined Data
                  + Meta Data
                  + Tables (UDT)
                  - Objects (UDO)
                             UDO_ACC_VS_VEH
    After highlighting UDO_ACC_VS_VEH and Next then I see the following under Select Data Source:
    ACC_VS_VEH                                                                        CLICK BOX
                 ACC_VS_VIG                                                            CLICK BOX
    I then select the appropriate CSV's.  Everything Maps OK, Source Data OK but just noticed the following on Target Data:
    + ...  AdminInfo
    -  ...  ACC_VS_VEH
                   - ....Row
                        - .... Code                                 
                                      .    00010457
                        - ... Name
                                      .    00010457
    -  ...  ACC_VS_VIG
                  .....Row
                - .... Row
                        - .... Code                                 
                                      .    00010457
                        - ... U_BasePrc
                                      .    10.78
    Can you see the extra row with no by it. This is noted in the error message. Any ideas.  Also, from the above I assume this implies that ACC_VS_VIG IS the line object of ACC_VS_VEH.
    Regards
    Keith

  • XML Query filtering by child table column

    Hello,
    If anyone can help with this one... it would be nice. I need to make the output of an query to be in the format of XML, but the problem is that the initial filtering needs to be done in the child table.
    Example:
    CREATE TABLE PRIMARY(
    ID NUMBER(19,0),
    CODE_PRIMARY VARCHAR2(32));
    CREATE TABLE SECONDARY(
    ID NUMBER(19,0),
    IDPRIMARY(19,0),
    CODE_SECONDARY VARCHAR2(32));
    INSERT INTO PRIMARY(ID,CODE_PRIMARY)
    VALUES (1,'A');
    INSERT INTO PRIMARY(ID,CODE_PRIMARY)
    VALUES (2,'B');
    INSERT INTO SECONDARY(ID,IDPRIMARY,CODE_SECONDARY)
    VALUES (1,1,'C');
    INSERT INTO SECONDARY(ID,IDPRIMARY,CODE_SECONDARY)
    VALUES (2,1,'D');
    INSERT INTO SECONDARY(ID,IDPRIMARY,CODE_SECONDARY)
    VALUES (3,2,'E');
    Now what we need is to build an XML tree like the following, INNER JOINING PRIMARY and SECONDARY tables with this condition in the where clause -> WHERE SECONDARY.CODE IN ('C','D')
    <result>
    <record>
    <id>1</id>
    <code>A</code>
    <childs>
    <child>
    <id>1</id>
    <idprimary>1</idprimary>
    <codesecondary>C</codesecondary>
    </child>
    <child>
    <id>2</id>
    <idprimary>1</idprimary>
    <codesecondary>D</codesecondary>
    </child>
    </childs>
    </record>
    </result>
    In this example only one record is returned since we only have one record in PRIMARY table that has a child having codesecondary=C or D. The ideia is to get many records... but I think that this is enough for the sake of the example. And the solution is the same.
    Thanks in advance!
    GM

    Found the answer. Used distinct keyword instead of grouping the output table columns. This way XMLAgg didn't broke up the result:
    SELECT
    XMLElement("Processos",
    XmlAgg(XMLElement("Processo",
    XMLForest(T.ID as "Id",T.CODIGO as "Codigo",T.DESCRICAO as "Descricao"),
    XMLElement("Funcionalidades",
    SELECT
    XMLAgg(
    XMLElement("Funcionalidade",F2.ID)
    FROM TWBASEDB.LISTA_UNICA_FUNCIONALIDADE F2
    WHERE F2.ID_processo=T.ID
    and f2.ACTIVIDADE IN ('1_ACTC1','1_ACTC2','1_ACTC3','2_ACTC1')
    from
    select distinct P.ID,P.CODIGO,p.DESCRICAO
    FROM TWBASEDB.LISTA_UNICA_PROCESSOS P
    INNER JOIN TWBASEDB.LISTA_UNICA_FUNCIONALIDADE F ON P.ID=F.ID_PROCESSO
    WHERE ACTIVIDADE IN ('1_ACTC1','1_ACTC2','1_ACTC3','2_ACTC1')
    order by p.id
    ) T

  • FF 3.6 not displaying all items in a table but IE and Chrome work fine.

    One of the pages on a web site I created uses a large table to display a list of manufacturers. When you view the page in Firefox some of the table items do not appear. However, in Internet Explorer and Chrome the table displays all of the items as it should.
    This is a link to the page: http://simcona.com/commodities.html

    I have this same problem. I can't remember if it started with when I upgraded to Snow Leopard, or when I chose to upgrade to a different version other than 3.6 (although I think it happened with 3.6 as well). I doubt it's any addons, because most of them were disabled when I upgraded to 6, 7, 8. One of them crashed multiple times a day, so I went back to a earlier release. I'm currently using 8.0.1, and Firefox was consistently using 1.3 GB of real memory even after quitting (I usually had to force quit because it would literally minutes for it to quit, maybe never quitting- I left it for 15 minutes once... still hadn't quit). The Flash plug-in alone would sometimes use 500 MB of real memory. After almost 2 years of this I can't deal with it anymore. I love FF and have used it from the beginning...
    But when I turned off every addon I have (except for Tree Style Tabs, which is possibly the only thing keeping me from fully switching), and restart FF, FF is using 730 MB of RAM (well it's still climbing 740, now) and 10-20% of CPU, while the Flash plugin is using 15% of CPU. I also noticed that once I closed Gmail, my RAM usage dropped from 1.3 GB to 850 MB. It could've been something else, but that's the main thing I can think of that I did different.
    When Chrome is using only 120 GB, 0.5-2% CPU usage, has been open for days, with 3 windows and multiple tabs in each... (Chrome's Flash plugin is only using 4% CPU by the way)... something is wrong with FF. I love FF, but I've grown to hate it. And this is coming from a guy who really, really, REALLY doesn't want to switch. In fact I still use FF, but am slowly weening myself off it it. It's just not worth the slow down from RAM usage and heat from my CPU (FF often spikes to near 100% usage) anymore...

  • Import only table but got PLSQL CALL STACK.

    Hi,
    I am using ORACLE DATABASE 11g and Linux Enterprise 5. I am executing a command to import only one table from other schema to our schema. This import is done on netwrok_link parameter. In this case the log shows me many errors but the table gets imported.
    What does these error means ? can anyone please suggest how to correct them...
    $impdp tables=IUT01.FLX_DD_FIN_STMT_LOGS network_link=DBLINK_IUT01 remap_schema=iut01:ngpiut01 remap_tablespace=iut01:ngpiut01 table_exists_action=replace
    Import: Release 11.2.0.3.0 - Production on Wed Mar 28 10:06:54 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYS"."SYS_IMPORT_TABLE_01":  sys/******** AS SYSDBA tables=IUT01.FLX_DD_FIN_STMT_LOGS network_link=DBLINK_IUT01 remap_schema=iut01:ngpiut01 remap_tablespace=iut01:ngpiut01 table_exists_action=replace
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 2 MB
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.CONFIGURE_METADATA_UNLOAD [WORK_PHASE]
    ORA-03113: end-of-file on communication channel
    ORA-02063: preceding line from DBLINK_IUT01
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x8aabd0e0     20462  package body SYS.KUPW$WORKER
    0x8aabd0e0      9028  package body SYS.KUPW$WORKER
    0x8aabd0e0      6814  package body SYS.KUPW$WORKER
    0x8aabd0e0      2691  package body SYS.KUPW$WORKER
    0x8aabd0e0      9697  package body SYS.KUPW$WORKER
    0x8aabd0e0      1775  package body SYS.KUPW$WORKER
    0x9f3376a0         2  anonymous block
    Processing object type TABLE_EXPORT/TABLE/TABLE
    . . imported "NGPIUT01"."FLX_DD_FIN_STMT_LOGS"             2921 rows
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-02298: cannot validate (NGPIUT01.FLX_DD_FIN_ACCOUNT_CODE_FK) - parent keys not found
    Failing sql is:
    ALTER TABLE "NGPIUT01"."FLX_DD_FIN_STMT_LOGS" ADD CONSTRAINT "FLX_DD_FIN_ACCOUNT_CODE_FK" FOREIGN KEY ("ACCOUNT_CODE") REFERENCES "NGPIUT01"."FLX_DD_ACCOUNTS_B" ("ACCOUNT_CODE") ENABLE
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.DISPATCH_WORK_ITEMS [TABLE_STATISTICS]
    ORA-31600: invalid input value 100001 for parameter HANDLE in function CLOSE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 709
    ORA-06512: at "SYS.DBMS_METADATA", line 5734
    ORA-06512: at "SYS.DBMS_METADATA", line 1475
    ORA-06512: at "SYS.DBMS_METADATA", line 7481
    ORA-06512: at "SYS.KUPW$WORKER", line 2792
    ORA-02067: transaction or savepoint rollback required
    ORA-06512: at "SYS.DBMS_METADATA", line 1475
    ORA-06512: at "SYS.DBMS_METADATA", line 7481
    ORA-06512: at "SYS.KUPW$WORKER", line 10928
    ORA-03113: end-of-file on communication channel
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from DBLINK_IUT01
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x8aabd0e0     20462  package body SYS.KUPW$WORKER
    0x8aabd0e0      9028  package body SYS.KUPW$WORKER
    0x8aabd0e0      9831  package body SYS.KUPW$WORKER
    0x8aabd0e0      1775  package body SYS.KUPW$WORKER
    0x9f3376a0         2  anonymous block
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.CONFIGURE_METADATA_UNLOAD [POST_WORK_PHASE]
    ORA-03113: end-of-file on communication channel
    ORA-02063: preceding line from DBLINK_IUT01
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x8aabd0e0     20462  package body SYS.KUPW$WORKER
    0x8aabd0e0      9028  package body SYS.KUPW$WORKER
    0x8aabd0e0      6814  package body SYS.KUPW$WORKER
    0x8aabd0e0      2691  package body SYS.KUPW$WORKER
    0x8aabd0e0      9697  package body SYS.KUPW$WORKER
    0x8aabd0e0      1775  package body SYS.KUPW$WORKER
    0x9f3376a0         2  anonymous block
    Job "SYS"."SYS_IMPORT_TABLE_01" completed with 10 error(s) at 10:07:27

    ORA-03113: end-of-file on communication channelThis error means that you have a communication error. The Data Pump code has automatic restart, so when this happens, the worker process KUPW$WORKER fails with a fatal error, but the MCP process restarts the worker and restarts the job where it left off.
    Is the import command getting terminated in middle of transaction and putting the call stack on the screen. Previously i dint >used to get these errors in import. What could be the reason ?Part of the Data Pump job is terminated, but the complete job is not terminated. There is an MCP process that runs and controls the job, there are also worker process(es) that run that are assigned work items to perform. In your case the work item fails because it can't communicate with some other process. This causes the worker process to die. The MCP detects this and starts another worker process and assigns the same work item that failed. When the worker process fails, it dumps its stack.
    All this means is that the communication works, but looks like it is flaky. The worker process can communicate sometimes, but fails others. I have no idea which layer is flaky.
    Dean

  • Want name of table which stores all program names

    Hi all,
    I want to find all the custom programs (all Z programs)in the system.
    Can any one tell me which table stores all the programs, t.code and stuff like that so that i can search for all the Z programs in it.
    i tried TSTC and TSTCT, however I dont get as many entries I get when i do an F4 help search in SE11.
    Thanks
    CMV

    Hi,
    Just wrote this code. This will get all the Y/Z programs .
    [code]
    REPORT  zztest_prd                              .
    TABLES : trdir.
    DATA : BEGIN OF it_prg OCCURS 0,
           progname LIKE trdir-name,
           subc     LIKE trdir-subc,
           END OF it_prg.
    DATA: genflag TYPE genflag.
    SELECTION-SCREEN BEGIN OF BLOCK abc WITH FRAME TITLE test.
    SELECT-OPTIONS : scnam FOR trdir-cnam.  "Author name
    PARAMETERS     : notemp AS CHECKBOX.    "No temporary objects
    SELECTION-SCREEN END OF BLOCK abc.
    INITIALIZATION.
      test = 'Download Z/Y Programs'.
    START-OF-SELECTION.
      SELECT progname subc FROM reposrc INTO TABLE it_prg
                      WHERE   (  progname LIKE 'Z%' OR progname LIKE 'Y%' )          "User name space
                        AND   ( subc = '1'          OR subc = 'M' OR subc = 'I' )    "Executable(1),Module(M),Include(I)
                        AND  cnam IN  scnam.                                         "Author
      IF notemp IS NOT INITIAL.
        LOOP AT it_prg.
          SELECT SINGLE genflag FROM tadiv
                        INTO genflag
                        WHERE pgmid = 'R3TR'
                          AND object = 'PROG'
                          AND obj_name = it_prg-progname
                          AND devclass = '$TMP'.
          IF sy-subrc = 0.
            DELETE it_prg.
          ENDIF.
        ENDLOOP.
      ENDIF.
      LOOP AT it_prg.
        IF sy-tabix EQ 1.
          FORMAT COLOR COL_HEADING ON INTENSIFIED ON.
          WRITE : /2(40) 'ABAP program name',
                  45(10) 'Program type'.
          FORMAT COLOR COL_HEADING OFF INTENSIFIED OFF.
          SKIP 1.
        ENDIF.
        FORMAT COLOR COL_NORMAL ON INTENSIFIED OFF.
        WRITE : /2(40)  it_prg-progname,
                 45(10) it_prg-subc.
      ENDLOOP.
    [/code]
    Hope this helps you.
    Regards,
    Arun Sambargi.

  • How do find child table

    Hi,
    DB = Ora 11g
    I am truncating a table but it won't allow me because it is referenced by a child table.
    I am running this query to find the child table but no row selected.
    SELECT a.table_name, c.column_name, b.table_name AS CHILD_TABLE, d.column_name, b.R_CONSTRAINT_NAME FROM user_constraints a,
    user_constraints b, user_ind_columns c, user_cons_columns d WHERE a.constraint_type = 'P' AND a.CONSTRAINT_NAME = b.R_CONSTRAINT_NAME AND
    b.CONSTRAINT_TYPE = 'R' AND a.table_name = c.table_name AND a.constraint_name = c.index_name AND b.CONSTRAINT_NAME = d.constraint_name
    AND a.table_name = '<TABLE_NAME>'Can you give me some other queries please...
    Thanks

    Try simplifying:
    SELECT a.owner, a.table_name, b.owner as child_owner,b.table_name AS CHILD_TABLE,  b.CONSTRAINT_NAME
    FROM all_constraints a,  all_constraints b
    WHERE a.CONSTRAINT_NAME = b.R_CONSTRAINT_NAME
    AND  a.OWNER = b.R_OWNER
    AND b.CONSTRAINT_TYPE = 'R'
    AND a.table_name = '<TABLE_NAME>';Also note:
    - I used all_constraints because it is possible that the child table is in a different schema (and consequently added predicates on owner, r_owner)
    - I removed the constraint_type='P' predicate - an FK constraint can refer to a unique constraint that is not a primary key.

  • Multiple Child Tables in UDO

    Hi Experts,
    I Have to design and create a B1 Form which will be having behavior like a Transaction Form .I have already developed some Addons with single matrix. But here I need 2 matrices but the Second Matrix will carry data specific to a single line of first matrix. Just like in SAP Transaction Forms say A/P Invoice. The matrix for Item Details is there on the screen . But line wise we can enter TAX Amount Bifurcation in separate matrix.
    I need the same feature in my UI. I need to pop up the Second matrix on selection of single line of First Matrix. But at the final save of the form I want this matrix's data to be saved by UDO itself. I know that we can have multiple child tables in a single UDO Object, but I don't know how to tackle this on UI level .
    I hope I am able to explain my problem.
    Thanks in advance.
    Regards,
    Pooja Singh.

    Hi,
              You link more than one Child table to a header table with document type, through code. It is highly possible.

  • OSB 10.31 - Invalid xml error

    Hello,
    after updating a jar file containing a few java callouts I get the following error on a proxy service (shown in OSB console in Conflicts):
    Invalid xml: Expected element 'stage@http://www.bea.com/wli/sb/pipeline/config' instead of 'stage@http://www.bea.com/wli/sb/stages/config' here in element pipeline@http://www.bea.com/wli/sb/pipeline/config
    I tried exporting the proxy service and reading it's XML config. It seems ok - all stages in the pipeline have the same namespace prefixes and definitions. Also, when I compare the XML before and after JAR file update, it's identical.
    This proxy service does not do any java callouts, just calls another proxy service that does. It has XOP/MTOM Support enabled (by value).

    I have this error too.
    There was no indication as to which part of the message flow was causing the error.
    So I deleted bits until the error went away.
    I tracked it down to a Log stage in the Service Error Handler. No idea what was wrong. I deleted it, Saved/Activated, then re-created it, Saved/Activated.
    There was nothing wrong with the stage (validated and tested ok), and I re-created it to be identical to the stage I deleted.
    But the problem went away....

  • Master Child tables how to get the latest rows from both

    Hi,
    Need some help with the sql. I have two tables Master & Child. In my Master table I have multiple rows for the same record and in the child table also multiple rows for the same master row how can I get the latest one's from both.
    For example Data in my Master table looks like
    CONT_ID                  SEQ_NUM        DESCRIPTION
    1                         189             Update 2
    1                         188             Update 1
    1                         187              NewNow in the child table for the same CONT_ID I may have the following rows
    CONT_ID                   UPDATED_DATE                                     STATUS
    1                        3/16/2010 2:19:01.552700 PM                          P
    1                        3/16/2010 12:29:01.552700 PM                         A
    1                        3/16/2010 12:29:01.552700 PM                         P
    1                        3/16/2010 12:19:01.552700 PM                         NIn my final query how can I get the row with seq_num 189 as it's the latest in Master table and from child table the row with status of P as it's the latest one based on the time. Here is the query i have but it returns the latest row from the child table only and basically repeats the master table rows as opposed to one row that is latest from both:
    Thanks

    Hi,
    You can use the analytic ROW_NUMKBER function to find the latest row for each cont_id in each table:
    WITH     got_m_rnum     AS
         SELECT     cont_id,     seq_num,     description
         ,     ROW_NUMBER () OVER ( PARTITION BY  cont_id
                                   ORDER BY          seq_num     DESC
                           ) AS m_rnum
         FROM    master_table
    --     WHERE     ...     -- any filtering goes here
    ,     got_c_rnum     AS
         SELECT     cont_id, updated_date,     status
         ,     ROW_NUMBER () OVER ( PARTITION BY  cont_id
                                   ORDER BY          updated_date     DESC
                           ) AS c_rnum
         FROM    child_table
    --     WHERE     ...     -- any filtering goes here
    SELECT     m.cont_id,     m.seq_num,     m.description
    ,     c.updated_date,     c.status
    FROM     got_m_rnum     m
    JOIN     got_c_rnum     c     ON     m.cont_id     = c.cont_id
                        AND     m.m_rnum     = c.c_rnum
                        AND     m.m_rnum     = 1
    ;If you'd like to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
    If there happens to be a tie for the latest row (say, there are only two rows in the child_table with a certain cont_id, and both have exactly the same updated_date), then this query will arbitrarily choose one of them as the latest.

  • Sql server partition parent table and reference not partition child table

     
    Hi,
    I have two tables in SQL Server 2008 R2, Parent and Child Table.  
    Parent has date time, and it is partitioned monthly,  there is a Child table which just refer the Parent table using Foreign key relation.   
    is there any problem the non-partitioned child table referring to a partitioned parent table?
    Thanks,
    Areef

    The tables will need to be offline for the operation. "Offline" here, means that you wrap the entire operation in a transaction. Ideally, this transaction would:
    1) Drop the foreign key.
    2) Use ALTER TABLE SWITCH to drop the old data.
    3) Use ALTER PARTITION FUNCTION to drop the old empty partition.
    4) Use ALTER PARTITION FUNCTION to add a new empty partition.
    5) Reapply the foreign keys WITH CHECK.
    All but the last operation are metadata-only operation (provided that you do them right). To perform the last operation, SQL Server must scan the child tbale and verify that all keys are present in the parent table. This can take some time for larger tables.
    During the transaction, SQL Server holds Sch-M locks on the table, which means that are entirely inaccessible, even for queries running with NOLOCK.
    You avoid this the scan by applying the fkey constraint WITH NOCHECK, but this can have impact on query plans, as SQL Server will not consider the constraint as trusted.
    An alternative which should not be entirely dismissed is to use partitioned
    views instead. With partitioned views, the foreign keys are not an issue, because each partition is a pair of tables, with its own local fkey.
    As for the second question: it appears to be completely pointless to partition the parent, but not the child table. Or does the child table only have rows for a smaller set of the rows in the parent?
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Generate xml output file from relational table

    Hi All,
    I'd like to generate an XML file from a relational table but would like to persist the XSD in Oracle does anyone have a working example?
    Edited by: houchen on Jun 2, 2009 5:34 AM

    From the FAQ on the {forum:id=34} forum, {thread:id=416001}.
    If you are wanting to register the schemas in Oracle, you will find info on that as well in the FAQ.

  • Child tables in UDUOusing DI-API

    Hi,
    I am able to create an UDO through DI with just one table,
    I can add a child table, but no columns appear in that child table.
    Where do i set the columns of a child table when creating an UDO.
    Regards
    Ad

    Normally the way I do it is:
    Create the Header Table with all needed fields
    Create the Lines table with all needed fields
    Create the UDO, settings these two tables as the Header and Lines
    Maybe I've misunderstood the question?

  • How about get item count of table in formGroup.vm

    JHeadstart Team:
    I want change maxColumns=" 1" or" 2" by item count of table .but I do not know how about get item count of table .
    #if (${JHS.current.group.columns} > 10)
    #set ($majin = 2)
    #else
    #set ($majin = 1)
    #end
    <af:panelForm rows="1" maxColumns="$majin" width="${JHS.current.group.formWidth}" id="${JHS.current.group.shortName}FormItems">
    majin
    #FORM_ITEMS()
    </af:panelForm>

    You can do this using the following syntax:
    #if (${JHS.current.itemContainer.items.size()}>10)
    maxColumns="2"
    #else
    maxColumns="1"
    #end
    Steven Davelaar,
    Jheadstart Team

  • How to refresh a child table each time I select a row in the master table

    I've 2 tables, a master table and a child table.
    When i click on each row of the master table, the child table needs to be refreshed.
    I've given the id of table1(master) as the CreatePartialTrigger value in table2(child).
    The refresh does happen but it happens in an inconsistent manner.
    For eg. in my scenario,
    1.I add a row to the master table
    2.Click on the create button of the child table, this opens a popup and i enter a few values and the child row gets added.
    3.Now when i toggle between the rows in my master table, the refresh does not happen and I see duplicate rows in the child table but in the datebase only one record gets stamped..
    Is there any clean way to refresh the child table based on the row selection in the master table.
    Kindly let me know.
    Table1
    <fnd:applicationsTable tableId="table">
    <af:table value="#{bindings.Actions1.collectionModel}" var="row"
    rows="#{bindings.Actions1.rangeSize}"
    fetchSize="#{bindings.Actions1.rangeSize}"
    selectedRowKeys="#{bindings.Actions1.collectionModel.selectedRow}"
    selectionListener="#{bindings.Actions1.collectionModel.makeCurrent}"
    rowSelection="single" id="table1"
    contentDelivery="immediate" editingMode="clickToEdit"
    columnSelection="multiple" autoHeightRows="10"
    summary="#{HcmActionsTopGenBundle['Header.Action.ActionCode']}" rowBandingInterval="0"
    styleClass="AFStretchWidth"
    partialTriggers="::create ::createMenuItem">
    <af:column id="column1" headerText=" " width="5"
    rowHeader="true"/>
    <af:column sortProperty="ActionCode" sortable="true"
    headerText="#{bindings.Actions1.hints.ActionCode.label}" width="150"
    showRequired="true" rendered="true" id="c1">
    <af:inputText value="#{row.bindings.ActionCode.inputValue}"
    label="#{bindings.Actions1.hints.ActionCode.label}"
    required="#{bindings.Actions1.hints.ActionCode.mandatory}"
    columns="#{bindings.Actions1.hints.ActionCode.displayWidth}"
    maximumLength="#{bindings.Actions1.hints.ActionCode.precision}"
    shortDesc="#{bindings.Actions1.hints.ActionCode.tooltip}" id="it1"
    autoSubmit="true"
    />
    </af:column>
    </fnd:applicationsTable>
    Table 2
    <fnd:applicationsTable tableId="table2"
    styleClass="AFStretchWidth"
    id="AT2"
    actionsMenuRendered="false"
    secondaryToolbarRendered="false"
    createPatternType="secondaryWindow"
    createText="#{hcmActionsBundle['Action.Add']}"
    createAction="#{backingBeanScope.SetupUiBean.invokeCreatePopUp}"
    createPopupId="create1"
    editEnabled="false"
    createPartialTriggers="table1"

    Hi Frank,
    As you mentioned I already have the id of my master table which is 'table1' as the createPartialTrigger in my child table.
    In my case there are 2 scenarios.
    I add a row to the Master table and when I click on the create button on the chile table, I get a pop with 'Yes' , 'No' and 'Cancel'
    Scenario1
    If I click 'Yes' , then I get another popup where I enter the values for the ActionReasonsActionReasonUsagesVO which is a combination of the ActionReasonsEO and the ActionReasonUsagesEO, now when I click on OK, a new row gets created in the ActionReasonsActionReasonUsagesVO.
    In the above scenario things work fine, as I toggle between the rows in the Master table the child table gets refreshed.
    Scenario2
    If I click 'No' I get a search popup where I can query up the ActionReasonsVO and select existing data,on clicking OK, the values get mapped from the ActionReasonsVO to the ActionReasonsActionReasonUsagesVO.
    Now when I toggle between the rows in my master table, I observe 2 types of behaviors
    1.Due to incorrect refresh, the child table rows vanishes from the UI.
    2.There are duplicate rows in the child table.
    The issue is specific to this scenario where the refresh of the child table rows does not happen correctly.
    Edited by: 944295 on Apr 18, 2013 5:16 PM

Maybe you are looking for

  • Can't "See" or delete messages in the Sent Mailbox in Safari Mail

    This message for a handicapped friend of mine. Can't see any messages and so can't delete any in the Sent mailbox. All other mailboxes have messages you can see. Suspect that mailbox is overloaded with Sent pictures. Message above the viewer window (

  • RMAN Retention Policies

    We are looking for two retention policies for our backups. 30 days retention for all backups on TAPE and 7 days retention on all backups on DISK. If we set retention policy to 30, disk couldn't accommodate all backups on disk at the same time, we nee

  • Using .3gp Files In Captivate

    Hello, I'm attempting to use Adobe Media Encoder to convert a .3gp file into a .F4V or .FLV file to insert into a Captivate project.  The conversion seems to go fine in AME but when I insert the resulting the file into my project the video portion pl

  • How do i create a movie with six different movie panes within as in example

    i'd like to be able to create a movie that looks like this: http://www.youtube.com/watch?v=TtpQXH5R7v8&feature=player_embedded the multitracking of vocals i can do easily with garage band, but i can't figure out how to incorporate all movies as the o

  • Communication user is not requested change password

    Hi We have set a general rule, that users must change password every 90 days (login/password_expiration_time). We have now had a communication user in the system for more than 5 months, and the password is still not expired. How can this be? Shouldn'