Help needed in displaying rows in table

hi gurus,
i have created a table and using select statement i was able to retrieve the data.the problem iam facing is ..when i run the application and give a value for a field and clicked on the button i was able to see only one record in the web dynpro table..actually the database table contains 10 records and i was able to see only one record,i didnt give any where condition in the select statement,i have changed the cardinality property of the node to 0..n and the sys was throwing error and if i put 0..1 or 1..1 it was running fine..
Please give me your valuable inputs for solving this...
Thanks in advance
Regards
ravi

hi David ,
thanks for the reply...
this is the select statement code iam using ..
data: it_csunit type /BI0/PCS_UNIT.
    select * from /BI0/PCS_UNIT into it_csunit.
    ls_n2-Cs_unit = it_csunit-Cs_unit.
    ls_n2-Company = it_csunit-Company.
    ls_n2-Cons_ba = it_csunit-Cons_ba.
    ls_n2-Country = it_csunit-Country.
    ls_n2-Co_area = it_csunit-Co_area.
endselect.
CALL METHOD LO_ND_N2->SET_STATIC_ATTRIBUTES
  EXPORTING
   INDEX             = USE_LEAD_SELECTION
    STATIC_ATTRIBUTES = ls_n2.
Regards
ravi

Similar Messages

  • Help need to display record in same line

    Hi all,
    Correct output is not coming. 
    Movement type u2018261u2019 is material of type raw material.
    Movement type u2018101u2019 is material of type finished prodcut.
    I need to display finished product material details & beside that raw materials in the same line .
    Help me in this regard . I am watching this thread.
    DATA : BEGIN OF  i_final OCCURS 0,
              aufnr LIKE afko-aufnr,
              gstrp LIKE afko-gstrp,
              gltrp LIKE afko-gltrp,
              mblnr LIKE mseg-mblnr,        "mat doc.no
              bwart LIKE mseg-bwart,        "movement type
              matnr LIKE mseg-matnr,
              werks LIKE mseg-werks,
              lgort LIKE mseg-lgort,
              charg LIKE mseg-charg,
              menge LIKE mseg-menge,
              meins LIKE mseg-meins,
           END OF i_final.
    DATA : BEGIN OF i_final2 OCCURS 0,
              aufnr LIKE afko-aufnr,
              gstrp LIKE afko-gstrp,
              gltrp LIKE afko-gltrp,
              mblnr LIKE mseg-mblnr,        "mat doc.no
              bwart LIKE mseg-bwart,        "movement type
              matnr LIKE mseg-matnr,
              werks LIKE mseg-werks,
              lgort LIKE mseg-lgort,
              charg LIKE mseg-charg,
              menge LIKE mseg-menge,
              meins LIKE mseg-meins,
              mqty1 LIKE mseg-menge,        "MILD STEEL SCRAP
              mqty2 LIKE mseg-menge,        "PIG IRON
              mqty3 LIKE mseg-menge,        "FOUNDRY RETURN NORMAL
              mqty4 LIKE mseg-menge,        "CALCINED PETROLEUM COK
              mqty5 LIKE mseg-menge,        "FERRO SILICON
              mqty6 LIKE mseg-menge,        "FERRO MANGANESE
              mqty7 LIKE mseg-menge,        "COPPER SCRAP
              prueflos LIKE qals-prueflos,            "inspection lot number
              merknr LIKE qamr-merknr,                "inspection characteristic no
              kurztext LIKE qamv-kurztext,            "short text of characteristic
              qc_c  LIKE qamr-original_input,
              qc_mn LIKE qamr-original_input,
              qc_ni LIKE qamr-original_input,
           END OF i_final2.
    DATA : BEGIN OF i_final3 OCCURS 0,
               aufnr LIKE afko-aufnr,
               gstrp LIKE afko-gstrp,
               gltrp LIKE afko-gltrp,
               mblnr LIKE mseg-mblnr,        "mat doc.no
               bwart LIKE mseg-bwart,        "movement type
               matnr LIKE mseg-matnr,
               werks LIKE mseg-werks,
               lgort LIKE mseg-lgort,
               charg LIKE mseg-charg,
               menge LIKE mseg-menge,
               meins LIKE mseg-meins,
               mqty1 LIKE mseg-menge,        "MILD STEEL SCRAP
               mqty2 LIKE mseg-menge,        "PIG IRON
               mqty3 LIKE mseg-menge,        "FOUNDRY RETURN NORMAL
               mqty4 LIKE mseg-menge,        "CALCINED PETROLEUM COK
               mqty5 LIKE mseg-menge,        "FERRO SILICON
               mqty6 LIKE mseg-menge,        "FERRO MANGANESE
               mqty7 LIKE mseg-menge,        "COPPER SCRAP
               prueflos LIKE qals-prueflos,            "inspection lot number
               merknr LIKE qamr-merknr,                "inspection characteristic no
               kurztext LIKE qamv-kurztext,            "short text of characteristic
               qc_c  LIKE qamr-original_input,
               qc_mn LIKE qamr-original_input,
               qc_ni LIKE qamr-original_input,
            END OF i_final3.
    DATA : indx TYPE i,
           indx2 TYPE i.
    LOOP AT i_final.
        i_final2-aufnr = i_final-aufnr.
        i_final2-gstrp = i_final-gstrp.
        i_final2-gltrp = i_final-gltrp.
        i_final2-mblnr = i_final-mblnr.
        i_final2-bwart = i_final-bwart.
        i_final2-matnr = i_final-matnr.
        i_final2-werks = i_final-werks.
        i_final2-lgort = i_final-lgort.
        i_final2-charg = i_final-charg.
        i_final2-menge = i_final-menge.
        i_final2-meins = i_final-meins.
        APPEND i_final2.
        CLEAR i_final2.
      ENDLOOP.
      LOOP AT i_final2.
        indx = sy-tabix.
        IF i_final2-bwart = '261'.
          LOOP AT i_final WHERE aufnr = i_final2-aufnr.
         IF sy-subrc EQ 0.
            IF i_final2-matnr = 'MSCRAP'.
              i_final2-mqty1 = i_final-menge.
            ELSEIF i_final2-matnr = '100072'.    "PIG IRON
              i_final2-mqty2 = i_final-menge.
            ELSEIF i_final2-matnr = 'RETFDYNORM'.  "FOUNDRY RETURN NORMAL
              i_final2-mqty3 = i_final-menge.
            ELSEIF i_final2-matnr = '100062'.      "CALCINED PETROLEUM COK
              i_final2-mqty4 = i_final-menge.
            ELSEIF i_final2-matnr = '100063'.      "FERRO SILICON
              i_final2-mqty5 =   i_final-menge.
            ELSEIF i_final2-matnr = '100065'.      "FERRO MANGANESE
              i_final2-mqty6 =  i_final-menge.
            ELSEIF i_final2-matnr = '100070'.
              i_final2-mqty7 =  i_final-menge.
            ENDIF.
          ENDLOOP.
         ENDIF.
        ENDIF.
        READ TABLE i_qals WITH KEY aufnr = i_final2-aufnr.
        IF sy-subrc EQ 0.
          i_final2-prueflos = i_qals-prueflos.
        ENDIF.
        IF i_final2-bwart = '101'.
          LOOP AT i_results WHERE prueflos = i_final2-prueflos.
         IF sy-subrc EQ 0.
            i_final2-merknr = i_results-merknr.
            i_final2-kurztext = i_results-kurztext.
            IF i_final2-kurztext = 'C'.
              i_final2-qc_c = i_results-original_input.
            ELSEIF i_final2-kurztext = 'Mn'.
              i_final2-qc_mn = i_results-original_input.
            ELSEIF  i_final2-kurztext = 'Ni'.
              i_final2-qc_ni = i_results-original_input.
            ENDIF.
          ENDLOOP.
        ENDIF.
        MODIFY i_final2 INDEX indx.
       ENDIF.
    ENDIF.
      ENDLOOP..
      LOOP AT i_final2.
        i_final3-aufnr = i_final2-aufnr.
        i_final3-gstrp = i_final2-gstrp.
        i_final3-gltrp = i_final2-gltrp.
        i_final3-mblnr = i_final2-mblnr.
        i_final3-bwart = i_final2-bwart.
        i_final3-matnr = i_final2-matnr.
        i_final3-werks = i_final2-werks.
        i_final3-lgort = i_final2-lgort.
        i_final3-charg = i_final2-charg.
        i_final3-menge = i_final2-menge.
        i_final3-meins = i_final2-meins.
        i_final3-prueflos = i_final2-prueflos.       "inspection lot number
        i_final3-merknr = i_final2-merknr.                "inspection characteristic no
        i_final3-kurztext = i_final2-kurztext.            "short text of characteristic
        i_final3-qc_c = i_final2-qc_c.
        i_final3-qc_mn = i_final2-qc_mn.
        i_final3-qc_ni = i_final2-qc_ni.
        APPEND i_final3.
        CLEAR i_final3.
      ENDLOOP.
      LOOP AT i_final3 WHERE bwart = '101'..
        indx2 = sy-tabix.
        LOOP AT i_final2 WHERE aufnr = i_final3-aufnr AND
                               bwart = '261'.
          IF i_final3-bwart = '101'.
            i_final3-mqty1 = i_final2-mqty1.
            i_final3-mqty2 = i_final2-mqty2.
            i_final3-mqty3 = i_final2-mqty3.
            i_final3-mqty4 = i_final2-mqty4.
            i_final3-mqty5 = i_final2-mqty5.
            i_final3-mqty6 = i_final2-mqty6.
            i_final3-mqty7 = i_final2-mqty7.
          ENDIF.
        ENDLOOP.
        MODIFY i_final3 INDEX indx2.
      ENDLOOP.
    I am displaying i_final3 with alv
    Edited by: uday madhav chebrolu on May 20, 2008 3:22 PM

    863765 wrote:
    Is there any jsp code to display in same page rather than using ajaxJSPs are on the server, so any "JSP code" will be executed on the server.
    The client has HTML and javascript. The only way to not have the client move to a new page is to use something like Ajax.

  • Need to hide row when table has 1 entry in adobe

    Dear Experts,
    I have made select statement in Initialization and in context i have called Table EKPO and under that EKET based on EBELP where clause. Then I have called Sub form for both Tables and made as EKPO(Role Body Row) EKET(Role Table for subform1, Role Body row for subform2)
    Eg: Table EKPO
                  Table EKET
    Need to hide if EKET has one row for that, I want to know number of rows in table, if row 1 then need to hide otherwise need to show in adobe.
    Sharrad Dixit
    dixitasharad at gmail

    Hi A,
    I hope as per your previous post, you might have already set the presentation variable. You can write the column formula now as:
    case when @{variables.country} = 'All Choices' then sum(revenue) by year else <your previous case to hide the USA column} end.
    Hope this helps.
    Thank you,
    Dhar

  • Not displaying row of table

    Hi everyone,
    Lets say I have a node containing 5 rows that I display in a table element.
    For some reasons, I do not want to display row 4.
    Is it possible to display row 1, 2, 3, 5 without deleting row 4 from that node ?
    Thanks.
    Regards.

    Hi Fryda,
    Create two nodes in the context with same number of attributes.
    (a)TableNode  (Main node)
    (b)BackUpNode (BackupNode)
    Now when you don't want to display row 4, then do the following steps.
    (1) copy the Table Node to the Backup Node.
           WDCopyService.copyElements(wdContext.nodeTableNode(),wdContext.nodeBackUp());
    (2) Now delete the row 4 from Table node.
    IWDNodeElement nodeElement=wdContext.nodeTableNode().getElementAt(3);
    wdContext.nodeTableNode().removeElement(nodeElement);
    (3)And if you need the row 4 in future you can take it form BackUpNode or you can copy the backup node back to table node, as done in the first step
    WDCopyService.copyElements(wdContext.nodeBackUp(),wdContext.nodeTableNode());
    Regards,
    Praveen

  • Need to display in a table format

    Hi,
    From my database i need to get the values for , UserName and Password and display in a table format .
    I could get the values from the database using
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from Login");
    while(rs.next()){
    out.println(" <br> ");
    out.println(rs.getString("username");
    out.println(rs.getString("password");
    }it works fine and displays like below......
    user1  pwd1
    user2 pwd2
    .....    ...May i know how to get it in a tabular format as an output
    pls provide sample code for it.
    I would be thankful to u guys,
    Thanks & Regards,
    Raghu.

    From my database i need to get the values for ,
    UserName and Password and display in a table format
    .Really, really bad idea.
    There is never any need, in any implementation to display or even keep actual passwords.
    >
    May i know how to get it in a tabular format as an
    outputAs in a GUI? Then that is a GUI question not a JDBC one.
    Something else? Then you need to explain exactly what the destination is and what defines it as 'tabular'.

  • Help needed- Reg: Display page number in SQL Reports

    Hi,
    I need to display page number in " page no: X of Y " format where X is current page & Y is total number of pages. Now I am able to display only the current page using ' sql.pno '. but not able to display in ' X of Y ' format.
    Any inputs in this regard will be helpful.
    Thanks & Regards,
    Anilkumar.

    Hello Anil,
    If you have the above requirement for Oracle Reports then follow the steps:
    1.In the Paper Layout view or Paper Design view, choose InsertPage Number.
    2. In the Insert Page Number dialog box, choose from the list the location for the page number.
    3.Click the desired page number format: Page Number Only or Page Number and Total Pages.
    Cheers,
    Suresh

  • Setting leadselection does not change displayed row in table

    I am using a Table element to display a list of search results.
    The first time I perform a query, the results appear and the first row is displayed. The table footer shows the total amount of rows and the buttons to navigate. So far, so good.
    The problem occurs when I perform a new query, after having navigated through the rows and the table was for example showing row number 10.
    I perform the new query (which sets the leadselection back to 0), but the table stays on row 10, or the row closest to that number. It does not jump to the first row. Or in other words, the table view does not "reset".
    Any ideas?

    You right, it will not automatically navigate to the first row.
    Set  firstVisibleRow property of the table UI element to zero everytime you execute the search.
    Abhi

  • Help needed to display character vaiable in currency format

    Hi Friends
    In a SAP Script I am passing a currency field to the subroutine as an i/p parameter and since it gets converted to character format in subroutine because of 'itcsy' , ihave deleted the trailing zeroes and decimal points from the field and performed calculations on the field, now i need to pass this char field back to SAP script but i need to display that field in currency format with commas and decimal points in the script...how do i do that???
    Thanks
    Vishal.

    Hi Vishal,
    When you pass the currency amount into the perform, no need to remove the trailing zeros and the decimal point.
    Only thing you need to remove is the comma seperator as it gives a runtime error during calculation.
    To convert it back to the format with comma, write the below command:
    WRITE v_Item_total currency '2' to v_item_char.
    CONDENSE v_item_char.
    Here v_item_total is a number which is converted to comma seperated number and passed to char variable.
    This char variable is then passed to the SCRIPT.
    regards,
    Gaurav.

  • Need help with disappearing header row in tables

    Hey guys.
    I'm working on a large document with tables (annual report). I have set up table styles with header and body cell styles. When I apply the table style to a table, then convert the first row to header row, the entire header row disappears...!
    If I leave the row as body row and just apply the header cell style to it, it won't disappear. The row will only disappear if I convert it to header row in Indesign.
    I checked the Word doc I imported the text from, the first row of the tables is just normal body row.
    I dunno where to look so I have no idea how to fix this problem. It happens to all the tables. I was supplied this file. I don't particularly want to recreate the file. The original file was created in Creative Clouds and exported to idml for me as I have CS6.
    Has anyone experienced the same problem or know what's the solution? I really need help.
    Thanks in advance.

    It may be on the Table Options dailog box on the section of Headers and Footers> Header: Repeat Header the Skip First is check on.

  • Help needed in pushing data into Table view Popup

    Hi All,
    I am trying to create a custom pop up and populate this with Reason code and descriptions. For this, i have created a popup and placed a table view on the popup. But when i am stuck how to push data into the popup from an internal table.
    Any pointers on this will be really helpful.
    Regards,
    Udaya

    Hi,
    Even I am facing the similar issue.  I have created custom component with four views for my requirement and created one view set and displaying the viewset in the pop up screen.  I also created event handler and added required coding to open the pop up screen.
    I have added event handler in BT116H_SRVO component and now the pop up is opend with the required fields but the field is not having any data the value is empty in the pop up screen.  I also binded context node details in the standard component.
    While debugging I found that the collection wrapper is empty, so the data is not populated in the pop up screen.  So kindly hlep me how to fill the collection wrapper and populate data inside the pop up screen.
    kindly let me know how to overcome this issue. 
    Thanks and Regards,
    Kannan.

  • Help needed to display Values one below the other

    Hi Experts,
    I am having three characteristics among eight others whose values are to be displayed in BEx Analyzer. These three characteristics values are line items whose values are being displayed side by side.
    Now, I want them to be displayed one below the other. I do not know how to do it.
    Can anyone guide me?
    Waiting for the reply,
    Thanks in advance,
    With Kind Regards,
    Shreeem

    Hi Shreem,
    As of my knowledge we have only one options for your requirement that is "Hierarchies'.
    You have to create hierarchy for all your line items but this not good pratice.
    Otherwise in reporting only you have to set the hierarchy :- Go to Rows in Rows tab -> Right click-> Select Hierarchy.
    Hope it helps you.
    Thanks and Regards,
    Venkat.

  • Help needed finding display port (NOT mini) to VGA adapter please!

    I bought a macbook in 2009 and urgently need a VGA adapter (female) but I don't have a mini display port! Help! I can't seem to find an adapters that suit macbooks before the mini dislay port was brought out.
    Thanks
    Kirsten

    Welcome to Apple Support Community.
    If you have an earlier MacBook 2006-early 2009, it has a mini-DVI port.
    http://store.apple.com/us/product/M9320G/A/apple-mini-dvi-to-vga-adapter
    Search for 'mini DVI to VGA adapter' online, and you will find many sources for an adapter compatible with your MacBook.

  • Help needed in knowing the B2B Table strucure

    Hi All,
    I would like to know the tables in the B2B database that stores the ISA,GS,ST,Receiver ID and Ack flag data.
    Or any document which contains the description of all the tables and what data is stored in them .
    Thanks in advance.
    Regards,
    Kaavya

    Hi Kaavya,
    There is a view called b2b_instancemessage where you will get all the details. Please refer the post Getting the ISA Control Number and other details from a b2b generated file
    which has the view creation script. If you analyze the script you will get to know the relationship between tables in the b2b schema.
    Hope that it helps!!
    Thanks,
    Dibya Prakash Mohapatra

  • Help needed ... Default tables in XML Schema

    Hi all,
    I got a xsd definition here that does not do as I say ... g
    Though I specified default tables for Cisco_Card and Cisco_LogicalModule, not only the default tables with the names I specified are created but also additionally tables with the default name that is used if no name is specified.
    Actually I am trying to tell it defaultTable="" so no table at all is created. But there are always two tables: Cisco_Card1529_TAB and Cisco_LogicalModule1501_TAB.
    Can someone explain to me what I am doing wrong here?
    Thanks,
    Steff
    <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xdb:storeVarrayAsTable="true">
         <xs:element name="InvDetails" xdb:defaultTable="XML_CISCOWORKS" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SchemaInfo" minOccurs="0"/>
                        <xs:element ref="RMEPlatform" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="SchemaInfo" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="RMEServer" type="xs:string" minOccurs="0"/>
                        <xs:element name="CreatedAt" type="xs:string" minOccurs="0"/>
                        <xs:element name="SchemaVersion" type="xs:string" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="RMEPlatform" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="Cisco_Chassis" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_NetworkElement" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_ComputerSystemPackage" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_Chassis" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:string"/>
                        <xs:element name="Model" type="xs:string" minOccurs="0"/>
                        <xs:element name="HardwareVersion" type="xs:string" minOccurs="0"/>
                        <xs:element name="SerialNumber" type="xs:string" minOccurs="0"/>
                        <xs:element name="ChassisSystemType" type="xs:string" minOccurs="0"/>
                        <xs:element name="NumberOfSlots" type="xs:integer" minOccurs="0"/>
                        <xs:element name="NoOfCommunicationConnectors" type="xs:integer" minOccurs="0"/>
                        <xs:element ref="Cisco_Backplane" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_Card" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_Backplane" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="BackplaneType" type="xs:string" minOccurs="0"/>
                        <xs:element name="Model" type="xs:string" minOccurs="0"/>
                        <xs:element name="SerialNumber" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_Card" xdb:defaultTable="lala" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="RequiresDaughterBoard" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="Model" type="xs:string" minOccurs="0"/>
                        <xs:element name="SerialNumber" type="xs:string" minOccurs="0"/>
                        <xs:element name="LocationWithinContainer" type="xs:string" minOccurs="0"/>
                        <xs:element name="PartNumber" type="xs:string" minOccurs="0"/>
                        <xs:element name="CardType" type="xs:string" minOccurs="0"/>
                        <xs:element name="HardwareVersion" type="xs:string" minOccurs="0"/>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element name="OperationalStatus" type="xs:string" minOccurs="0"/>
                        <xs:element name="FWManufacturer" type="xs:string" minOccurs="0"/>
                        <xs:element name="Manufacturer" type="xs:string" minOccurs="0"/>
                        <xs:element name="NumberOfSlots" type="xs:integer" minOccurs="0"/>
                        <xs:element name="NoOfCommunicationConnectors" type="xs:integer" minOccurs="0"/>
                        <xs:element ref="SoftwareIdentity" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_CommunicationConnector" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_FlashDevice" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_PhysicalMemory" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_Card" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_CommunicationConnector" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="ConnectorType" type="xs:string" minOccurs="0"/>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_FlashDevice" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="FlashDeviceType" type="xs:string" minOccurs="0"/>
                        <xs:element name="Size" type="xs:string" minOccurs="0"/>
                        <xs:element name="NumberOfPartitions" type="xs:integer" minOccurs="0"/>
                        <xs:element name="ChipCount" type="xs:integer" minOccurs="0"/>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element name="Removable" type="xs:boolean" minOccurs="0"/>
                        <xs:element ref="Cisco_FlashPartition" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_FlashPartition" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="Upgrade" type="xs:string" minOccurs="0"/>
                        <xs:element name="NeedsErasure" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="PartitionStatus" minOccurs="0">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="unknown"/>
                                       <xs:enumeration value="readOnly"/>
                                       <xs:enumeration value="runFromFlash"/>
                                       <xs:enumeration value="readWrite"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="FileSystemSize" type="xs:string" minOccurs="0"/>
                        <xs:element name="AvailableSpace" type="xs:string" minOccurs="0"/>
                        <xs:element name="FileCount" type="xs:integer" minOccurs="0"/>
                        <xs:element ref="Cisco_FlashFile" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_FlashFile" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="FileSize" type="xs:string" minOccurs="0"/>
                        <xs:element name="FileStatus" minOccurs="0">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="unknown"/>
                                       <xs:enumeration value="deleted"/>
                                       <xs:enumeration value="invalidChecksum"/>
                                       <xs:enumeration value="valid"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="Checksum" type="xs:string" minOccurs="0"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_PhysicalMemory" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="MemoryType" minOccurs="0">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="nvRam"/>
                                       <xs:enumeration value="NVRAM"/>
                                       <xs:enumeration value="processorRam"/>
                                       <xs:enumeration value="RAM"/>
                                       <xs:enumeration value="ROM"/>
                                       <xs:enumeration value="FEPROM"/>
                                       <xs:enumeration value="BRAM"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="Capacity" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_NetworkElement" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element name="PrimaryOwnerName" type="xs:string" minOccurs="0"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="PhysicalPosition" type="xs:string" minOccurs="0"/>
                        <xs:element name="SysObjectId" type="xs:string" minOccurs="0"/>
                        <xs:element name="SysUpTime" type="xs:string" minOccurs="0"/>
                        <xs:element name="OfficialHostName" type="xs:string" minOccurs="0"/>
                        <xs:element name="NumberOfPorts" type="xs:integer" minOccurs="0"/>
                        <xs:element ref="Cisco_LogicalModule" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_Port" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_MemoryPool" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_IfEntry" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_IPProtocolEndpoint" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_PEHasIfEntry" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_LogicalModule" xdb:defaultTable="lolo" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="ModuleNumber" type="xs:integer" minOccurs="0"/>
                        <xs:element name="ModuleType" type="xs:string" minOccurs="0"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="EnabledStatus" type="xs:string" minOccurs="0"/>
                        <xs:element name="NumberOfPorts" type="xs:integer" minOccurs="0"/>
                        <xs:element ref="Cisco_Port" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_LogicalModule" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_OSElement" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_Port" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="PortNumber" type="xs:integer" minOccurs="0"/>
                        <xs:element name="PortType" type="xs:string" minOccurs="0"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="IfInstanceID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_MemoryPool" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="PoolType" type="xs:integer" minOccurs="0"/>
                        <xs:element name="DynamicPoolType" type="xs:string" minOccurs="0"/>
                        <xs:element name="AlternatePoolType" type="xs:string" minOccurs="0"/>
                        <xs:element name="IsValid" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="Allocated" type="xs:string" minOccurs="0"/>
                        <xs:element name="Free" type="xs:string" minOccurs="0"/>
                        <xs:element name="LargestFree" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                        <!--PoolType ValueMap {"0", "1", "2", "3", "4", "5", "65536"},
    Values {"Unknown", "Processor", "I/O", "PCI", "Fast", "Multibus", "Dynamic"},
    -->
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_OSElement" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="OSFamily" type="xs:string" minOccurs="0"/>
                        <xs:element name="Version" type="xs:string" minOccurs="0"/>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_IfEntry" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:string"/>
                        <xs:element name="InstanceName" type="xs:string" minOccurs="0"/>
                        <xs:element name="ProtocolType" type="xs:string" minOccurs="0"/>
                        <xs:element name="Speed" type="xs:string" minOccurs="0"/>
                        <xs:element name="RequestedStatus" minOccurs="0">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="up"/>
                                       <xs:enumeration value="down"/>
                                       <xs:enumeration value="testing"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="OperationalStatus" minOccurs="0">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="Up"/>
                                       <xs:enumeration value="Down"/>
                                       <xs:enumeration value="Testing"/>
                                       <xs:enumeration value="Unknown"/>
                                       <xs:enumeration value="Dormant"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element name="PhysicalAddress" type="xs:string" minOccurs="0"/>
                        <xs:element name="NetworkAddress" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_IPProtocolEndpoint" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Address" type="xs:string" minOccurs="0"/>
                        <xs:element name="SubnetMask" type="xs:string" minOccurs="0"/>
                        <xs:element name="DefaultGateway" type="xs:string" minOccurs="0"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_PEHasIfEntry" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Cisco_IPProtocolEndpoint" type="xs:string" minOccurs="0"/>
                        <xs:element name="Cisco_IfEntry" type="xs:string" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Cisco_ComputerSystemPackage" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Antecedent" type="xs:string" minOccurs="0"/>
                        <xs:element name="Dependent" type="xs:string" minOccurs="0"/>
                        <!--
    Antecedent is the InstanceID from Cisco_Chassis Element
    Dependent is the InstanceID from Cisco_NetworkElement
    -->
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="SoftwareIdentity" xdb:defaultTable="" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Classification" minOccurs="0">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="Firmware"/>
                                       <xs:enumeration value="Software"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="VersionString" type="xs:string" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="AdditionalInformation" xdb:defaultTable="" xdb:maintainDOM="true">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="AD" minOccurs="0" maxOccurs="unbounded" xdb:maintainDOM="false">
                             <xs:complexType>
                                  <xs:attribute name="name" type="xs:string"/>
                                  <xs:attribute name="value" type="xs:string"/>
                             </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>

    Here's the Culprit
    <xs:element name="Cisco_Card" xdb:defaultTable="lala" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="InstanceID" type="xs:integer"/>
                        <xs:element name="RequiresDaughterBoard" type="xs:boolean" minOccurs="0"/>
                        <xs:element name="Model" type="xs:string" minOccurs="0"/>
                        <xs:element name="SerialNumber" type="xs:string" minOccurs="0"/>
                        <xs:element name="LocationWithinContainer" type="xs:string" minOccurs="0"/>
                        <xs:element name="PartNumber" type="xs:string" minOccurs="0"/>
                        <xs:element name="CardType" type="xs:string" minOccurs="0"/>
                        <xs:element name="HardwareVersion" type="xs:string" minOccurs="0"/>
                        <xs:element name="Description" type="xs:string" minOccurs="0"/>
                        <xs:element name="OperationalStatus" type="xs:string" minOccurs="0"/>
                        <xs:element name="FWManufacturer" type="xs:string" minOccurs="0"/>
                        <xs:element name="Manufacturer" type="xs:string" minOccurs="0"/>
                        <xs:element name="NumberOfSlots" type="xs:integer" minOccurs="0"/>
                        <xs:element name="NoOfCommunicationConnectors" type="xs:integer" minOccurs="0"/>
                        <xs:element ref="SoftwareIdentity" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_CommunicationConnector" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_FlashDevice" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_PhysicalMemory" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="Cisco_Card" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="AdditionalInformation" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>Note that the element Cisco_Card contains a ref to itself. The same is true of the element Cisco_LogicalModule.
    When we encounter recursive structures we break the recursion by storing the recursive elements out-out-line is a seperate table and using a pointer (REF XMLType) column to track the relationionship..
    You can name these elements by putting an xdb:SQLInline="false" and xdb:defaultTable="YOUR_TABLE_NAME" on the recursive element.
    If you need to query accross these elements I would strongly advise upgrading to 10.2.x. In 10.2.x we implemented a number of optimizations for dealing with storing and querying this kind of structure.

  • Help needed in displaying BI Queries, Views in CRM 2007

    Hi Friends,
    I am working on an upgrade project( CRM 2007 from CRM 5.0). In the earlier system, there are using portal for opportunity management. In portal on clicking Reports workcenter link, they were getting the following options.
    Open Query - This gives the list of BI Queries.
    Open View - This gives the list of views that are already created.
    Save View - This gives the provision to save the view.
    Now i need to replicate this functionality in NEW UI(CRM 2007). I am stuck up in how to approach this requirement.
    Any pointers on this will be really helpful.
    Thanks,
    Udaya

    Hi,
    BI Content is shipped in the delivery version (D version). Before you can work with BI Content objects, you have to copy them from the delivery version (D version) to the active version (A version). This means that you must activate the BI Content.
    You can collect the delivered BI Content in the function area BI Content of the Data Warehousing Workbench and copy it to the active version. This ensures that all additional required objects are automatically included, as is the sequence of activation. You can choose whether you want to copy, match, or not install the BI Content objects.
    If you do not compare the versions, the delivery version is used and the active customer version is overwritten when you activate the BI Content.
    We recommend that you install BI Content objects in the following cases:
    After a BI Content release upgrade
    An upgrade to a new BI Content release usually contains a large number of new and modified BI Content objects. If you want to use the new and modified BI Content, you have to reinstall the BI Content objects. Refer to the comments in the Release Notes for BI Content documentation for the particular release. They are available on help.sap.com  ® SAP NetWeaver  ® BI Content. In some cases, we recommend explicitly that you install the A versions of certain objects.
    After installing a BI Content support package
    Refer to the SAP Notes that are delivered with each Content support package. These SAP Notes contain information on why certain BI Content objects are being redelivered. An overview of the SAP Notes can be found at service.sap.com/bi ® Product Information SAP NetWeaver 7.0 BI ® Support Packages ® BI Business Content.
    For More Information Go through the below link
    http://help.sap.com/saphelp_nw04s/helpdata/en/8c/131e3b9f10b904e10000000a114084/frameset.htm
    Regards,
    Marasa.

Maybe you are looking for