Implicit list when using TABLE OF instances within an object.

I have been searching for a solution for this problem, but to no avail.
I have an XML schema which specifies within the root element:
<xsd:element name="onestring" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="manystrings" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
So I have created a few types in my database:
CREATE OR REPLACE TYPE VARCHAR_TABLE AS TABLE OF VARCHAR(5);
CREATE OR REPLACE TYPE rootelement AS OBJECT(
onestring VARCHAR(5),
manystrings VARCHAR_TABLE
Now I preform the following:
DECLARE
xml XMLTYPE;
obj rootelement;
BEGIN
     obj := rootelement('valA', VARCHAR_TABLE('val1','val2','val3'));
     xml := XMLTYPE(obj);
     print_out( xml.getstringval );
END;
And from this, the result I get is:
<ROOTELEMENT>
<ONESTRING>valA</ONESTRING>
<MANYSTRINGS>
<VARCHAR2>val1</VARCHAR2>
<VARCHAR2>val2</VARCHAR2>
<VARCHAR2>val3</VARCHAR2>
</MANYSTRINGS>
</ROOTELEMENT>
When what I would like to see is:
<ROOTELEMENT>
<ONESTRING>valA</ONESTRING>
<MANYSTRINGS>val1</MANYSTRINGS>
<MANYSTRINGS>val2</MANYSTRINGS>
<MANYSTRINGS>val3</MANYSTRINGS>
</ROOTELEMENT>
Can this be accomplished? I also need the outputted XML to be able to be read back in. (Currently I am calling XMLTYPE(xml).toObject(obj); ).
Thanks in advance.
Dave

Well, since XSL Transformations worked in 10.1 too, the following will do what you want
SELECT XMLTYPE(ROOTELEMENT('valA', VARCHAR_TABLE('val1', 'val2', 'val3'))).TRANSFORM(XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" indent="yes"/>
    <xsl:template match="*">
        <xsl:choose>
            <xsl:when test="*">
                <xsl:apply-templates/>
            </xsl:when>
            <xsl:otherwise>
                <xsl:copy-of select="."/>
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    <xsl:template match="/ROOTELEMENT/MANYSTRINGS/node()">
        <xsl:element name="{name(..)}">
            <xsl:value-of select="text()">
       </xsl:value-of>
        </xsl:element>
    </xsl:template>
    <xsl:template match="ROOTELEMENT">
        <ROOTELEMENT>
            <xsl:apply-templates/>
        </ROOTELEMENT>
    </xsl:template>
</xsl:stylesheet>
')) AS TRANSFORMED
  FROM DUALSorry for providing an earlier solution that would not apply to your version, but I find it hard to remember the features of each distinct one. I vaguely remembered (I work with 11g for quite a bit now) that APPENDCHILDXML was 10g functionality, but did not remember that it was actually 10.2.
Regards
Philip

Similar Messages

  • Help: Jbo Exception non blocking when using table cell renderer?

    Hi,
    JClient 9.5.2.
    When using Table Cell Renderer on an table cell attribute that is defined mandatory and activating the insert button, the (oracle.jbo.AttrValException) JBO-27014 exception is caught but it is not blocking and a new row is still inserted.
    The JClient component demo, table attribute list, has the same behaviour.
    You can add multiple rows even if not all required attributes have been documented.
    Can a Swing specialist help me on this one?
    Example of Table Cell Renderer:
    public class TableBasicStatusRenderer extends DefaultTableCellRenderer
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
    int row, int column)
    JLabel lb = new JLabel((String) StaticData.getStatusName(value)); // retrieves label from Map
    return lb;
    Regards
    Frederic

    Hi,
    I found something interesting, it could be a WORKAROUND!
    I noticed that in another detail panel with table layout the JBO exception was blocking and adding another row before completing the row was NOT possible.
    In the create method of the entity object of the displayed View Object I iterate over the detail row iterator to retrieve a maximum value.
    By the end of the method the pointer is positionned after the last row.
    So I added to the detail panel that doesn't block following code:
    In create method of detail Entity Object Impl (only one entity object involved for this View)
    // Retrieve master EntityObjectImpl from association:
    PostalTariffImpl postalTariffImpl = getPostalTariffAssoc();
    // Retrieve detail default row iterator
    RowIterator ri = postalTariffImpl.getPostalDetailGroupAssoc();
    // Position pointer after last row
    ri.last();
    ri.next();
    Question: Why does this solve the problem?
    Regards
    Frederic
    PS Les mysteres de l'informatique!

  • I am unable to get a bullited list when using the synchronized text feature.

    I am unable to get a bullited list when using the synchronized text feature. The option is greyed out and not active. Any tips? Am I doing something wrong?

    This is by default , synchronized text does not alter any style and other visual attributes associated with instance.
    Thanks,
    Sanjit

  • [svn:fx-trunk] 9225: Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization

    Revision: 9225
    Author:   [email protected]
    Date:     2009-08-11 11:36:09 -0700 (Tue, 11 Aug 2009)
    Log Message:
    Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization
    Fix: Change H/V layouts first-visible-element lookup logic to accommodate negative gaps.
    QE notes: None
    Doc notes: None
    Bugs: SDK-22497
    Reviewer: Hans
    Tests run: checkintests,
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22497
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as

    sorka;
    You can check the LabVIEW Support page.
    There is a troubleshooting section called LabVIEW Installation/Getting Started Resources. It also includes a LabVIEW 7.x Frequently Asked Questions that has a link that reads Issues Fixed in LabVIEW 7.1. However, not much information is provided there.
    Other places where you can post your findings is at the LAVA Forum (check the Bug list forum) and the Info-LabVIEW mailing list. These are not official places, but usually they li
    sten
    Enrique
    www.vartortech.com

  • Error when using Table view

    Hi Folks,
    I m getting this problem frequently when i m using table view in reports. Im using SQl server2008 and working on BIApps.
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 28000 code: 18456 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'DWH'.. (HY000)
    SQL Issued: SELECT 0 s_0, "Financials - AP Overview"."Time"."Fiscal Quarter" s_1, "Financials - AP Overview"."Time"."Fiscal Year" s_2, "Financials - AP Overview"."Facts - AP Turnover"."Days Payables Outstanding" s_3 FROM "Financials - AP Overview" FETCH FIRST 65001 ROWS ONLY
    Thanks in advance.
    Raghava.

    Hi,
    As per you query shown above, I am assuming that the query limit exceeds the maximum number of rows to show in your result. because it showing only 65001 rows fetched but your data may be more than that.
    So try to extend the maximum rows for table view in instanceconfig.xml file.
    Regards,
    Pandian

  • HBR Error thrown when using @NEXTSIBLING or @SHIFTSIBLING within the FIX

    Hi,
    I'm working on a HBR that works fine, when using the following code:
    SET CREATENONMISSINGBLK ON;
    +FIX("BegBalance",[KHSA_PLAN2_ACCOUNT],[KHSA_PLAN2_CUSTOM3],[KHSA_PLAN2_CUSTOM4],"E-00000","FY10","Budget","Robocza",[KHSA_PLAN2_CURRENCY],HSP_InputValue)+
    FIX(T4)
    +"C2-00000"= 2;+
    ENDFIX
    ENDFIX
    Now, I'd like to use the @NEXTSIBLING or @SHIFTSIBLING within the second FIX statement, so the BR code looks like this:
    SET CREATENONMISSINGBLK ON;
    +FIX("BegBalance",[KHSA_PLAN2_ACCOUNT],[KHSA_PLAN2_CUSTOM3],[KHSA_PLAN2_CUSTOM4],"E-00000","FY10","Budget","Robocza",[KHSA_PLAN2_CURRENCY],HSP_InputValue)+
    FIX(@NEXTSIBLING(T4))
    +"C2-00000"= 2;+
    ENDFIX
    ENDFIX
    When launched, the HBR throws an error: Detail:Cannot calculate. Essbase Error(1200315): Error parsing formula for [FIX STATEMENT] (line 3): invalid object type
    I'm missing sth, am I not?
    Thanks for help, regards
    Marcin Stawny

    It truly helped, however I went further and wanted to use @SHIFTSIBLING where the shift integer comes from a sum of data values. The code looks like this:
    SET CREATENONMISSINGBLK ON;
    +FIX("BegBalance",[KHSA_PLAN2_ACCOUNT],[KHSA_PLAN2_CUSTOM3],[KHSA_PLAN2_CUSTOM4],"E-00000","FY10","Budget","Robocza",[KHSA_PLAN2_CURRENCY],HSP_InputValue)+
    FIX(@MEMBER(@SHIFTSIBLING("T1", (@SUM(@DESCENDANTS("Transactions"))))))_
    +"C2-00000"= 1;+
    ENDFIX
    ENDFIX
    The @SUM(@DESCENDANTS("Transactions")) calculates the sum properly (verified this part of the code in another place), however it seems that it has to be passed as an integer to the @SHIFTSIBLING, hasn't it?
    How can I do that?
    Regards
    Marcin Stawny

  • How do I accurately detect overset contents when using tables?

    Hello, all. I am familiar with how to detect overset contents of a text frame, namely:
    if ( myTextFrame.parentStory.contents.length > myTextFrame.contents.length) {
      alert('There is overset text');
    } else {
      alert('There is no overset text');
    However, the contents of my story are three tables, rather than text. Each table contains dozens of cells filled with text. Yet the "length" property of the frame is only 3! How do I accurately read the length of the content given that most of it is in tables so that I can test for overset text?
    In case it helps anyone, a more detailed description is:
    If there are three tables in the story, and only 2 fit on a page-sized text frame, the length property of that frame will be 2. Kind of weird, but not a problem yet.
    In the same scenario, however, if the third table BEGINS on the page but spills over (creating an overset situation), the length property of that frame will be 3 -- causing the test think there is NO overset text! InDesign simply sees 3 characters in the story, and only 3 characters on that page.
    When I look at the "contents" property of the story, it just reads 3 squarish characters. They're obviously some kind of special character. InDesign apparently takes the concept of "table" and just writes a placeholder character for it in the "contents" property.
    Am I going to have to create some routine to loop through every cell of every table and somehow add it all up to get a proper length? How do I just test for overset-ness?
    Thank you!

    Actually, Harbs, I'd already just burst my own bubble by running additional tests! So I have to revise my whole set of instructions.
    IGNORE EVERYTHING I WROTE ABOVE.
    Here is the revised solution, based on the initial solution proposed by Dirk and then revised to work around Harbs bug discoveries. It is essentially a corrected version of Dirks line. Instead of saying:
    app.activeDocument.stories.item(0).tables.lastItem().cells.lastItem().insertionPoints.last Item().parentTextFrames.length
    you would say:
    app.activeDocument.stories.item(0).tables.lastItem().cells.lastItem().parent.parent.insert ionPoints.lastItem().parentTextFrames.length
    That's just the short version. Here's the full code and explanation:
    Summary of problem:
    InDesign treats a table as a single special character, so it does not accurately report the "overflows" property of a text frame containing a table which spills beyond its margins. A text frame will show as not overflowing (i.e. myTextFrame.overflows will return false) if its final table simply begins within its margins--even if most of the table spills well beyond the text frame. So a ten-page table that starts on page one will only considered by InDesign scripting as being one character long (and therefore shown as fitting completely in first frame even when it doesn't). The solution for this, as discovered by Dirk, is to test whether the final cell of the table is in an overflow area.
    The solution:
    You cannot just test whether the cell is overflowing, or whether the parent text frame is overflowing, because InDesign will misreport them and their contents when they are in an overflow area, making it impossible to distinguish a cell overflow from a containing-text-frame overflow. So we just check the parent text frame of the final insertion point, which is after the last table, and see if its length is zero (meaning has no visible contents). If so, the insertion point is in an overflow area!
    So the test to run is this:
    var finalCell = myTextFrame.parentStory.tables.lastItem().cells.lastItem();
    if(finalCell.parent.parent.insertionPoints.lastItem().parentTextFrames.length==0) {  ...your code here...  }
    Of course you'll replace myTextFrame with the one you're dealing with in your own script.
    Example usage:
    This is how I implemented this in my own script. I have an array of text frames which I pass to this function, and by the time I call the function this array contains only one element, just the first large text frame (with my long table already placed inside it). It also relies on a helper function drawTableFrame which is simple and I'll leave out; it just adds a text frame to the new page and sizes it. And of course myDocument I've long ago set to be the document I'm working in.
    // Takes array of text frames, checks for overflow, and adds pages as needed
    function addOverflowPages(whichFrameArray) {
        var i = 0;
        var finalCell = whichFrameArray[0].parentStory.tables.lastItem().cells.lastItem();
        while (finalCell.parent.parent.insertionPoints.lastItem().parentTextFrames.length==0) {
            i++;
            var newpage = myDocument.pages.add(); // add new page
            whichFrameArray.push(drawTableFrame(newpage)); // draw new frame
            whichFrameArray[i].previousTextFrame = whichFrameArray[i-1]; // link new frame to previous one
    I hope this one is solid at last. I have tested it with empty final cell, full final cell, partially-overflowing final cell, and totally-overflowing final cell, and they all work for me. Thanks again to everyone for pointing me in the right direction!

  • Empty univers list when using tier 3 connection

    Hello,
    I am having a problem on webi / deski with tier 3 connection mode.
    If i whant to create a new report, the list of univers ll be empty. When modifying a report, the only available univers will be those that are already used in one of the queries.
    When using direct connection to the databases, the whole list of univers is shown.
    I didn t make the original installation but wasn t able to reproduce the problem when installing a new server.
    This problem occured in SP2.7 and applying 6.3 didn t solve it.
    Does anyone have any leads ?
    Best regards,

    I checked the error logs of webi rich client and i found this one :
    accessRepoProxy.cpp:176:void __thiscall repoProxyAccessImp::ShowError(const class bo_utf8string &,const class bo_utf8string &,int): TraceLog message 1
    2014/06/03 20:47:34.107|>>|E| | 4352|7712| |||||||||||||||Error! repoProxyAccessImp::getAllAvailUniverseList() : [repo_proxy 36] UniverseFacade::getAllLightUniverseList - (com.crystaldecisions.sdk.exception.SDKException$PropertyNotFound: La propriété portant l'ID SI_FILES n'existe pas dans l'objet) [repo_bridge - BridgeUniverseFacade::getAllLightUniverseList]
    <The property with id SI_FILES doesn t exist in the object>

  • Button "Position" can't work in sm30 when use Table maintenance generator

    Hello guys,
      i have created a table and use 'Table Maintenance Generator' to generate the code. When i run sm30 and click the button 'Position', it can not work.
       i enter '/h' to debug it and find the value'POSI' is not assigned to ok_code.
        Some tables created before are OK. What's the matter with it?
    Many Thanks

    hello daniel,
    there is very possibility that some inconsistency might be occured while generating table maintenance generator. So i would advice u to create ur table maintenance generator once more after deleting the current one.
    Reward properly.

  • E71 stopped displaying number list when using cont...

    Hi All,
    I hope someone out there can help me.  I have an E71 that just stopped displaying the number list when I contact search from the home screen.  Here's what happens.
    I'm at the home screen.  I type in a Contact name, say "John."
    A list of names appears for "John."  I select the "John" I want and press the green call button.
    The list of names disappears and I see the home screen again.
    If I press a number on the keypad, then the list of numbers appears.
    This just started happening.  I reset the factory settings for the phone and the problem went away for about 4 phone calls.  Then it reappeared. So I reset to factory settings again.  The same thing happened.
    It's really strange.  Can anyone help me get rid of the bug?  I've been using this phone for 18 months now with no problems like this.
    Firmware Version is: 410.21.010

    Bump

  • Oracle Text: How to add/get stopwords list when using Oracle Text world lexer?

    I have a use case that we currently use Oracle Text World Lexer to index and search multilingual documents. As we know that World Lexer does the language auto detection. I would like to know the following questions:
    Is there anyway I can get the current document's language that Oracle Text detected?
    Is there anyway to get the language's stopwords list?
    Any thoughts and points will be appreciated.
    - Charles

    1. If you're using 12c, you can use ctx_doc.policy_languages. (https://docs.oracle.com/database/121/CCREF/cdocpkg011.htm#CCREF24102)
    2. If you want multiple stoplists based on each document's language, you have to use the multi-lexer. For world_lexer, there is one stoplist; since the stoplists are somewhat dynamic (you can add but not remove them), the most accurate way to fetch the list is using ctx_report.describe_index or ctx_report.create_index_script and parse the report.

  • No tables listed when using a proxy connection in SQL Developer

    Hello, I'm trying to use a connection in SQL developer that uses the proxy connection to connect to another users tables. In the SQL worksheet area I can access the other users tables with no problems. And using SELECT COUNT(*) FROM USER_TABLES i get the count of the number to tables. But on the tables view on the left hand side of SQL developer no tables are listed. So the question is why do I not see any tables under the tables view? Is this a bug or is it working by design? Thanks

    To access other user's objects, use the Other Users node...
    K.

  • Using two editor instances within JTable

    Hello,
    I'm struggling around using component editors within JTable. E.g. selectAll text on entering a JTextField cell or immediately raising the popup while entering a JComboBox cell.
    In my analysis most of these problems arises due the re-use of the cell editor.
    The event sequence is doing things in the context of the old cell while preparing the editor for the new cell has already been started.
    Because it is the same component and some things are bound deep inside the L&F it seems not easy to handle them properly.
    Just an idea from me is to avoid such problems by working with two instances for the editors in general. This should avoid all problems coming out of overlapping event processing. (To provide each cell with an own component is of course no solution)
    Any comment on such an approach?
    Thanks in advance
    Wolfgang R.

    No, it wasn't the custom JTable extension.
    By entering a cell a popup will be shown for a short moment. This is only by using Windows L&F (not Metal). Within the L&F a togglePopup() is called which may cause this problem.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.util.EventObject;
    import javax.swing.DefaultCellEditor;
    import javax.swing.JComboBox;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.WindowConstants;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    public class JTableExt extends JTable {
         public static class ComboBoxEnumRenderer extends JComboBox implements
                   TableCellRenderer {
              public ComboBoxEnumRenderer() {
                   setEditable(false);
                   setBackground(Color.WHITE);
              public Component getTableCellRendererComponent(JTable table, Object value,
                        boolean isSelected, boolean hasFocus, int row, int column) {
                   this.removeAllItems();
                   this.addItem(value);
                   return this;
         public static class ComboBoxEnumEditor extends DefaultCellEditor {
              private static String[] values = null;
              public ComboBoxEnumEditor() {
                   super(new JComboBox());
                   values = new String[50000];
                   for (int i = 0; i < values.length; i++) {
                        values[i] = "row_" + i;
              public Component getTableCellEditorComponent(JTable table, Object value,
                        boolean isSelected, int row, int column) {
                   JComboBox combo = (JComboBox) getComponent();
                   combo.removeAllItems();
                   for (int i = 0; i < values.length; i++) {
                        combo.addItem(values);
                   combo.setSelectedIndex(0);
                   return super.getTableCellEditorComponent(table, value, isSelected, row,
                             column);
         public JTableExt() {
              super();
              init();
         // invoke editor on cell entry
         public void changeSelection(final int row, final int column, boolean toggle,
                   boolean extend) {
              super.changeSelection(row, column, toggle, extend);
              if (editCellAt(row, column))
                   getEditorComponent().requestFocusInWindow();
         private void init() {
              setDefaultEditor(Object.class, new ComboBoxEnumEditor());
              setDefaultRenderer(Object.class, new ComboBoxEnumRenderer());
         private static void setUI() {
              String lnfName = "";
              //lnfName = "com.jgoodies.plaf.plastic.Plastic3DLookAndFeel";
              lnfName = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
              try {
                   UIManager.setLookAndFeel(lnfName);
              } catch (Exception exc) {
         public static void main(String args[]) {
              try {
                   setUI();
                   javax.swing.JFrame frame = new javax.swing.JFrame();
                   frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
                   frame.getContentPane().setLayout(new BorderLayout());
                   final JTableExt demo = new JTableExt();
                   Object[][] data = new Object[30][1];
                   demo.setModel(new DefaultTableModel(data, new String[] { "first column" }));
                   frame.getContentPane().add("Center", new JScrollPane(demo));
                   frame.setSize(600, 600);
                   frame.setVisible(true);
              } catch (Throwable t) {
                   System.exit(0);
    //end

  • Popup instead of list when using WD4A ALV Grid Drop Down By Key

    I am develop a WD4A application and I am using an ALV grid.  I have set the cell editor for one column wiht the following code:
    CREATE OBJECT lr_ddbk
        EXPORTING
          SELECTED_KEY_FIELDNAME = 'ZCURRENCY'.
      Data: lv_key_visable TYPE abap_bool,
            lv_key_visible_fieldname TYPE string.
       lr_ddbk->set_type( if_salv_wd_c_uie_drdn_by_index=>type_key_value ).
    *  lv_key_visable = lr_ddbk->GET_KEY_VISIBLE( ).
    *  lv_key_visible_fieldname = lr_ddbk->GET_KEY_VISIBLE_FIELDNAME( ).
    *  lr_ddbk->SET_KEY_VISIBLE( abap_false ).
      lr_alv_column->SET_CELL_EDITOR( lr_ddbk ).
    This code works fine.  I then fill the drop down with the following code:
    *...Build the currency drop down list
      DATA lv_default_currency TYPE wdr_context_attr_value.
      DATA lv_currency_count TYPE STRING.
      DATA ls_tcurt TYPE tcurt.
      CLEAR ls_contextvalue_set.
      CLEAR lt_contextvalue_set. REFRESH lt_contextvalue_set.
      CLEAR lv_default_currency.
      loop at it_ac_attr into ls_ac_attr.
        if ls_ac_attr-attr_id eq 'CUR'.
          select single * from tcurt into ls_tcurt
               Where spras = 'EN' AND
                     waers = ls_ac_attr-value.
          If sy-subrc = 0.
            ls_contextvalue_set-value = ls_ac_attr-value.
         ls_contextvalue_set-value = ls_ac_attr-value.
            ls_contextvalue_set-text = ls_tcurt-ktext.
            IF ls_ac_attr-DFT_FLAG = 'X'.
              lv_default_currency = ls_contextvalue_set.
            ENDIF.
            append ls_contextvalue_set to lt_contextvalue_set.
          endif.
        Endif.
      endloop.
      lo_nd_zebuy_describe_item_info = lo_nd_zebuy_describe_item->get_node_info( ).
      lo_nd_zebuy_describe_item_info->set_attribute_value_set(
                                    exporting
                                       name = 'ZCURRENCY'
                                      value_set = lt_contextvalue_set ).
    *...End build currency drop down list
    This code works fine.  The issue I am having is that the drop down is behaving like a search help field rather than a drop down list.  Meaning a popup comes when I drop down the list.  The popup has the values I have set.  I don't want a popup I want a drop down list.  Additionallly the field is editable (meaning I can type a value into the field as well as select a value).  I want the user to only be able to select values from the list.  Any help with this issue would be appreciated.

    I fugured out what I was doing wrong.  I was setting the cell editor to cl_salv_wd_uie_input_field later in the code by mistake.

  • Page break handeling when using table type field

    Hello everyone
    I've created an adobe form using tcode SFP.
    A table, "T1", is containing fields where one of it is a TABLE TYPE (Let give the following name "T1-FT1").
    So the structure can look like:
    T1-F1
    T1-F2
    T1-FT1-FTF1
    T1-FT1-FTF2
    basically the structure is like to have documents containing several items where those items have several serial number.
    I need to have page break per documents, per items and serial number where those one have specific header page different than the document itself.
    I need to have a page break per T1 records with specifc header.
    So for each new records of T1, I have to create a new page with it's specific header.
    The table T1-FT1 is starting on the current page, but if I have to many records to stay on the page I need to create another page with it's specific header that is different than the page 1.
    My problem is the page break handling.
    I can have the pagination tab at the Table1 and row1 level but I don't have the pagination tab at the T1-FT1 level.
    Here is what my hierarchy:
    _MasterPage
    __Page1
    __Page2
    _MainSubForm
    __Subform1
    ___Table1
    ____Row1
    _____Subform
    ______Table2
    ________Row2
    Example of Data:
    T1-F1 ___ T1-F2 __ T1-FT1-FTF1 __ T1-FT1_FTF2
    A _______ B _____  1 ___________  1
    A _______ B _____  1 ___________  2
    B _______ C _____  1 ___________  1
    B _______ D _____  1 ___________  2
    B _______ D _____  1 ___________  3
    The final page break layout should look like:
    Page1
    Header1
    A B
    ___ 1 1
    ___ 1 2
    Page2
    Header1
    B C
    ___ 1 1
    ___ 1 2
    Page 3
    Header2
    B C
    ___ 1 3
    Because there is not enough room on page 2 for the last record of the table T1-FT1, a new header is used on page 3.
    Actually several problems occurs. I cannot have the proper page break set to avoid empty pages as first or last page.
    The pagination tab stop to be available after the Row1. So we cannot set page break at the table2 and row2.
    The page break contidion doesn't work. "Well I didn't succeed to make it work".
    Any idea on how to handle those page break at table2 level?
    Is anyone had to create a PDF form where we have the date into several level of structure?
    Regards
    dstj
    Edited by: dstj on Feb 18, 2010 10:59 PM
    Edited by: dstj on Feb 18, 2010 11:00 PM

    I have the exact same issue. Could not find a solution. In my case, there are multiple subforms printed one below the other. If an expandable subform overflows into a new page, the last line overlaps with the text of next subform. I have added blank spaces between the subforms but, that does not solve the issue.
    Finally, I have managed to minimize the occurrence of the issue by doing the following. Only turn on the flag "Allow Page breaks within content" for subforms that can really spread over many pages. All other subforms, turn the flag off. This minimizes the possibility of overlapping.

Maybe you are looking for

  • Hi, I have a Mac iBook PowerPC G4 1.33 GHz with Mac OSX 10.4.11.

    Hi, I have a Mac iBook PowerPC G4 1.33 GHz with Mac OSX 10.4.11. I would like to connect an 20" Apple Cinema Display with ADC connection to it, but it seems impossible because the cord on the Cinema Display doesn't fit the Display port on the iBook G

  • How to go back if you make a mistake?

    I have a new N8.  I've googled and searched help but can't find the answer.  How do you go back or cancel out of something if you've opened it by mistake or have changed your mind (like in messages)? Solved! Go to Solution.

  • I lost my Ipod need some info on 5th gen

    I had a 3rd gen 15GB and I can't seem to find it. I used it on my harley so I haven't needed it for a while. I'm going to replace it but I need to make sure th 5th gen is the same size because I use a Ram handlebar mount that only fits the 15gb unit

  • Jumpstart Installation Problem T1000 Solaris 10

    I m installing solaris 10 using Jumpstart on T1000, every thing worked fine initially but after adding one new raw SATA HDD. im getting this error when I boot client T1000 machine using ok boot net - install command. cannot open neither boot_archive

  • Oracle Application Server 10g R2 + quad core

    sorry, but i don't speak english so much, my question is the next Oracle Application Server 10g R2 works in quad core processors?? do you know some testimonials about this? some links? thanks I hope you can understend me. and can help me,