Table positioning

Good morning,
Since Pages 5.5, Apple changed the way tables are positioned in the page. It's behavior is now very strange: it doesn't break lines between two pages anymore as it used to do, only in specific situations. It tends to move the hole table for the next page and leve a blank space in the previous one. This behavior is damaging the structure of my documents.
What I discovered so far:
Table positioning works fine in iCloud Pages
If you set object positioning to move with text, the table goes to the next page. If you try to drag it to the previous page, it makes the last line of the previous paragraph to be aligned justified
Do you know any way to solve this problem. In other words, is there a workaround to make break table lines between two pages instead of trying to position the hole table in only one page?
Thank you very much.

"K0rrupt" <[email protected]> wrote in
message
news:fa9jlh$ln0$[email protected]..
> Click on the table and you'll see the settings in the
properties panel at
> the bottom.
>
> "Align" is what's you'll looking for. Also you can use
css sheets.
Actually, that space is caused by the default margins and
padding on the
<body> tag, not by the table properties. They can be
removed by adding this
to your style sheet:
body {
margin: 0;
padding: 0:
Patty Ayers | Adobe Community Expert
www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate
Worksheet

Similar Messages

  • Fixing table position on the template and printing on the last page

    Hi,
    I have a requirement where i need to print a table at a fixed position and at the last page.
    if there is a single page, then the said table should print at the bottom of the page ... if there are multiple line records, the records should print on the first page and second page till it completes ... and the table at the bottom ..
    even if there is a single line record, the table should be at a fixed position.
    how can this functionality be acheived ...

    clarify one question pls....
    For eg if there is only one record then the table should be in the bottom of the first page or in the fixed position in the second page.... b'cos as you told about multiple lines of records then it obviously comes in the bottom of the end page and will not be inthe fixed position...... right!!!
    Thanks
    PBV

  • Restrict table position in the template

    I have a table located in the middle of 2 sections of data (1 on the top and another at bottom)
    Is there a way to restrict table in a particular position in the template? I mean, no matter what the data is above it, the table should always be in the same position in the template.
    Any help would be highly appreciated...
    Thanks..

    his question has been answered already multiple times - please search the forum before posting a question - in case you did and you didn't find it - we added a feature
    in 5.6.2 to solve this problem - It is described in the user guide in the RTF template section search for start@last-page:
    Last Page Support
    XML Publisher now has the ability to show content only on the last page. This is useful for documents such as checks, invoices or purchase orders where you want want content such as the check or a summary in a specific place only on the last page.
    The basic command is:
    <?start@last-page:body?>
    <?end body?>
    http://forums.oracle.com/forums/search.jspa?threadID=&q=%40last-page&objID=f245&dateRange=last90days&userID=&numResults=15&rankBy=9
    Any content above or below these two tags will only appear on the last page of the document.
    Hope that helps,
    Klaus

  • Table: Position - Business Partner of Org structure (PPOMA_CRM)

    Hi Experts,
    is there a table (or funtion module) to find the asignment of business partner to position?
    I have seen the conection of org unit - postion in HRP1001, but could not find the conection Postion - Business Partner.
    Best regards,
    Cristina

    Hi Cristina,
    Try with FM RH_STRUC_GET.
    There, fill the following importing paramers:
    ACT_OTYPE: S (for position)
    ACT_OBJID: <your position id like 50000814>
    ACT_WEGID: O-S-CP (search path: Organization, then position, then central person/business partner)
    Kind regards,
    Garcia

  • Layer position fix to Table position

    Hi there,
    I have read quite a bit about positioning layers, however i
    still find it imposible to use flexible tables with layers.
    I have a simple info buton that onRollOver is shows a layer,
    Example:
    sample website
    I manage to keep it quite close to the info buton, by setting
    the left: 45% top: 65%; instead of pixels.
    But when you resize the browser window (F11) it still moves .
    And on full Screen it actually overlaps the buton making the
    layer jumpy.
    Thanks for some creative advice.
    Anybody with a better solution?

    > Ok, could you telll me what is wrong?
    You didn't do what I told you to do.
    <td colspan="2" align="center" valign="bottom"><div
    style="position:relative"><div
    id="Layer1"></div></div></td>
    here is the css code
    #Layer1 {
    position:absolute;
    width:334px;
    height: 82px;
    z-index:1;
    left: 108px;
    top:1px;
    visibility: hidden;
    background-image: url(olo_images/bubble.gif);
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Txar?n" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    Newsgroup User
    > > otherwise it would strech the whole table to give
    space for the image
    > > inside the layer, even after having set the table
    at an absolute size of
    > 522px width.
    >
    > No, it wouldn't. Since the layer (and its contents) are
    removed from the
    > flow of the page (by virtue of being absolutely
    positioned) neither the
    > layer, nor its contents can interact with any other page
    element.
    >
    >
    > Ok, could you telll me what is wrong?
    > I have a table that is width:522
    > Set to be in the middle and centre to screen
    > 3columns and 3 rows
    > in the middle i have the logo and in 2 corners
    invisible.gif
    > I tried to put the layer (<Div>THE.gif loaded from
    css</Div>)at the botom
    > righ
    > corner (in the cell)
    > It wouldn't work! It streched the whole table to ad the
    image size.
    > When i merges the two cells botom right so that the cell
    was biger than
    > the
    > image loaded it worked!
    > Where is the mistake?
    >
    > the htm code:
    > <td colspan="2" align="center"
    valign="bottom"><div
    > id="Layer1"></div></td>
    >
    > here is the css code
    > #Layer1 {
    > position:relative;
    > width:334px;
    > height: 82px;
    > z-index:1;
    > overflow: visible;
    > left: 108px;
    > top:1px;
    > visibility: hidden;
    > background-image: url(olo_images/bubble.gif);
    > }
    >
    >
    > PS the problem is solved but i'd like to know for the
    future. :-)
    >
    > Thanks
    >
    >

  • af:table positioning

    Does anyone know why my faces table is positioning itself absolutely in the lower left of my page? How can I position in within another larger table cell?

    Here is my jspx source:
    <code>
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA11"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/EA11/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="Mortars - Main Page">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <link type="text/css" rel="stylesheet" href="css/MOR_STYLES.css"/>
    </afh:head>
    <afh:body>
    <af:form>
    <table id="Table1" style="WIDTH: 970px" cellspacing="0"
    cellpadding="0" width="970" align="center" border="0">
    <tr>
    <td align="center" colspan="2">
    Header Includes
    </td>
    </tr>
    <tr>
    <td style="BORDER-RIGHT: #cccccc inset" valign="top" align="left"
    width="350" height="380">
    <af:tree binding="#{backing_Main.tree1}" value="#{backing_Main.tmProducts}" var="node">
    <f:facet name="nodeStamp">
    <af:outputText value="#{node.strSysNom}" />
    </f:facet>
    </af:tree>
    </td>
    <td align="center" valign="top"
    style="PADDING-TOP:75px; BACKGROUND-COLOR:white">
    <h:panelGrid id="panelGrid1" rules="all" columnClasses="MainPageTblRow" binding="#{backing_Main.panelGrid1}" columns="2" cellspacing="0" cellpadding="5" style="width:460px;border-collapse:collapse; border-width: 2px;">
    </h:panelGrid>
    </td>
    </tr>
    <tr>
         <td valign="bottom" align="center" colspan="2">
    </td>
    </tr>
    </table>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    </code>
    A few comments:
    - Not included in this sample is the <jsp:include> tags for the head/foot that would be there if this were an actual page. I removed them trying to solve this problem.
    - When the pages renders, the jsf controls markup is added to the page following all of the static markup.
    Any help thanks.

  • Hold Table Position in a Sheet

    I have created a form for a small business that contains multiple tables and saved it as a template.  Is there some way to hold the tables in their position so they cannot be inadvertantly moved? That way the form can have information entered into it and keep the form layout from being changed by mistake. I thought Lock would work but it doesn't allow data to be inserted into the cells.
    The form is a Purchase Order that has cells that require names, products, prices, dates, etc. to be entered. 
    I haven't seen any information anywhere that even addresses this question.
    Thanks

    Numbers Tables may be Locked. This prevents accidental deletion of data or formulas in the Table, as well as maintaining the Table's position on the Sheet. It also prevents data entry on that Table.
    "I haven't seen any information anywhere that even addresses this question."
    Numbers '90 User Guide, p216:
    Locking and Unlocking Objects
    You can lock objects to avoid inadvertently moving them as you work.
    After you lock individual or grouped objects, you can’t move, delete, or modify them
    in any way until you unlock them. However, a locked object can be selected, copied, or
    duplicated; when you copy or duplicate a locked object, the new object is also locked.
    "Tables", like anything else that can be placed on a Sheet, are "objects."
    Individual cells are not "objects," so they don't fall under this description, and can't be 'locked'.
    If you can redesign your document to separate the data entry cells onto non-lockable tables and the result cells onto tables that may be locked, that may solve your problem.
    Regards,
    Barry

  • Table positioning in Pages 5.5

    Hello,
    In the new pages 5.5, Apple apparently changed the way tables are distributed in multiples pages. You can't distribute a table between two pages as before. Someone knows how to solve the problem? I need a table that continues from the end of one page to the beginning of another.
    Thanks.

    Hello,
    I'm having the same problem. The only way to break a table is removing the paragraph between it and the text, but it has some collateral effects when you're working with justified text.
    I hope they can fix this problem soon!
    Thanks!

  • Table Position

    i have Pictures of 3 Properties that my company manages...  i would like to add that Image, and to the right of that image, i would like to add a table with 1 row, 3 columns, to show different functions for each property (a picture w/discription would be in each table box)
    every time i try to add a table after a picture, the table always goes below the main image.
    Please help!!
    thanks

    Use CSS floats.
    DEMOS:
    http://alt-web.com/DEMOS/CSS2-Captions-on-floated-images.shtml
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/

  • Fix Cheque position in RTF Templates for AP Payments R12

    Hi,
    I created rtf template for check printing. I have to print invoices details first and after that check at the bottom of the page. I need to print invoices on the cheque page only when total invoice count < = 3 which I am able to control. I am facing issue when for 3 invoices the table height is variable, depends on invoice description this table size is changing. How I can give the fixed-height for invoice table or how I can specify exact place for check (at the bottom of each page )
    Thanks
    Mital

    Hi Prakhar,
    Please note the cheque is not an image its in a table.
    Even if I fix a table using table positioning in the output it doesnot print at the fixed position which I have provided in my RTF.
    Please let me know if you would want to see the sample XML Data and RTF that I have created which can be easier to debug.
    Thanks for your help,
    Mital

  • Defining a Center Aligned Table in a WebI Report ?

    I sure hope I'm missing something, but one of our developers has been struggling with this for days and it seems like such an obvious report building exercise.  I looked myself and couldn't see how to do it either... not even using something crafty.
    The basic problem is that we have some content that will change every time the report is run, so we put this data in a one row table with the "show when empty" feature disabled for the cells and "auto-fit width" turned on.  If we could just center align the resulting table we would be fine, but the only way to center align it is to select another item and then use the center align feature.  However, that is a one-time operation that simply calculates the offset given the current data.  If the report is run again with different prompts (for example) the table size may be different, but the center offset is not recalculated because there is no way to mark the table for center alignment.
    So we need the table to be center aligned (either to the page, report header, or another element would work for us) because it will have multiple (optional cells).  Also, FYI, we can't just put it all in one forumla and let the cell content be centered... because we're actually embedding multiple hyperlinks in those other cells... in a borderless table... to get a centered block effect on the results.
    Any suggestions?  Only thing we've come up with is to insert padding cells that we set to Fixedsys fond and then calculate a space Fill() on based on the other results... but that's really messy and seems like overkill for something that's normally a "bread and butter" report building feature.

    Hi Ray,
    As I understand you want to Centre align the table , but when you select the  table centre align feature is disabled and you can only align the text in the table.
    You can use Relative Positioning Feature to align the Table in relation to the Bottom, top, Left and right edge of the report and other block. This feature allows user to fix the position of the table even if data in the table changes and auto-adjust the table position when block data or another block data changes.
    You can manually drag the table to the centre of the report; set the alignment of the text to the centre, when your data changes the, WEBI wonu2019t change the position of the table nor it changes the text alignment.
    Please paste the report data here so that I can understand how you want to display the table data and your statement u201Cwe put this data in a one row table with the "show when empty" feature disabled for the cells and "auto-fit width" turned on.
    Do you have any other blocks of data in your reporting along with the table data that you want to centre align?
    I Hope this Helpsu2026
    Thanksu2026.
    Pratik

  • Positioning of monitor and (dis)ability to move certain windows

    I just got a LCD TV with DVI which I connected to my MBP.
    at first I had it on the table positioned to the right. All windows could move back and forth just fine. but, to save table space I mounted the TV to the wall just above my MBP and reset the position in the displays pref accordingly.
    with the position on top I can move most windows up there (iTunes, address book, etc...)
    but not certain essential windows like safari or mail.
    the weird thing is it's not just the apps that are restricted as certain windows like the downloads window in safari will move up normally.
    I've done all I can think of, restarting reseting the display prefs....
    Is this just a glitch? or some code snippet in safari and mail that got left out?
    any help would be great.

    Maybe try shortening the height of the window prior to moving it up to the TV. It could be that the window is too long to fit on the screen and Mac OS won't let it move if it would go behind the menu bar (which I presume to be in the lower display). Or the other thing to try would be to drag the menu bar to the top display (in Display Preferences) and then see if windows will move from below to above.

  • How to keep a table on one page

    Hi,
    Is there any way to prevent a pagebreak in a table?
    If a table is selected, then the Inspector-Text-More-Pagination&Pagebreak is grayed out.
    I tried Inspector-Wrap-Object Placement-Floating, which indeed keeps the table on one page, but has all kinds of nasty side-effects. I really need to keep the table inline.
    Thank you!

    Archon,
    In the Wrap Inspector, change the Table's property from Inline to Floating. Now you can position it on the following Page and avoid the split. Be careful though, because now you are fully responsible for the table position on the page and it will not split even if it grows larger than a page in length.
    Jerry

  • Structure of a table

    hi all,
    I want to save the structure of a table in a file
    can i save it?

    Here's a Utility Program that I wrote and use for simplicty.
    Modify it for your needs, but you can simply change the ALV Layout then export it to Excel.
    REPORT yptc_table_sturcture .
    TABLES: dd03l.
    *   ALV Related Fields & Tables
    TYPE-POOLS: slis.
    CONSTANTS:
      gc_formname_top_of_page   TYPE slis_formname VALUE 'TOP_OF_PAGE',
      gc_formname_user_command   TYPE slis_formname VALUE 'USER_COMMAND'.
    DATA: g_fieldcat                   TYPE slis_t_fieldcat_alv,
            g_extab                    TYPE slis_t_extab,
            g_layout                   TYPE slis_layout_alv,
            g_keyinfo                  TYPE slis_keyinfo_alv,
            g_print                    TYPE slis_print_alv,
            g_sort                     TYPE slis_t_sortinfo_alv,
            g_sp_group                 TYPE slis_t_sp_group_alv,
            g_events                   TYPE slis_t_event,
            g_events_ex                TYPE slis_t_event_exit,
            g_repid                    LIKE sy-repid,
            g_list_top_of_page         TYPE slis_t_listheader,
            g_save                     TYPE c.
    *        g_exit                     TYPE c.
    *        g_variant                  LIKE disvariant,
    DATA: ls_line                      TYPE slis_listheader.
    DATA:
      tab_rec LIKE dd03l,
      it_table LIKE STANDARD TABLE OF tab_rec.
    PARAMETERS:
      tabname    LIKE dd03l-tabname.
    *______________________________________  Initialization
    INITIALIZATION.
    * Check authority for ALV Standard layout save option
      AUTHORITY-CHECK OBJECT 'ZALV_STD'
              ID 'ACTVT' FIELD '02'.
      IF sy-subrc = 0.
        g_save = 'A'.
      ELSE.
        g_save = 'U'.
      ENDIF.
    START-OF-SELECTION.
      REFRESH it_table.
      SELECT * INTO TABLE it_table FROM dd03l
        WHERE tabname = tabname
        ORDER BY position.
      PERFORM display_alv_report.
    *       FORM display_alv_report                                       *
    FORM display_alv_report.
      PERFORM fieldcat_init      USING g_fieldcat[].
      PERFORM build_sort_fields  USING g_sort[].
      PERFORM eventtab_build     USING g_events[]
                                       g_events_ex[].
      PERFORM layout_build       USING g_layout.
      PERFORM list_view.
    ENDFORM.                    " display_alv_report.
    *====> End of section that produces the report
    *====> This section builds the event table
    FORM eventtab_build
        USING e03_lt_events TYPE slis_t_event
              e03_lt_events_ex TYPE slis_t_event_exit.
      DATA: ls_event      TYPE slis_alv_event,
            ls_event_exit LIKE LINE OF e03_lt_events_ex.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                i_list_type = 1
           IMPORTING
                et_events   = e03_lt_events.
      READ TABLE e03_lt_events
           WITH KEY name = slis_ev_top_of_page
           INTO ls_event.
      IF sy-subrc = 0.
        MOVE gc_formname_top_of_page TO ls_event-form.
        APPEND ls_event TO e03_lt_events.
      ENDIF.
      READ TABLE e03_lt_events
           WITH KEY name = 'USER_COMMAND'
           INTO ls_event.
      IF sy-subrc = 0.
        MOVE gc_formname_user_command TO ls_event-form.
        APPEND ls_event TO e03_lt_events.
      ENDIF.
      ls_event_exit-ucomm  = 'DISP'.
      APPEND ls_event_exit TO  e03_lt_events_ex.
    ENDFORM.                    " build_events_table
    *====> End of the Build Events section
    *====> This section builds the Layout Record
    FORM layout_build
        USING e05_ls_layout TYPE slis_layout_alv.
      CLEAR e05_ls_layout.
      e05_ls_layout-f2code = 'DISP'.
      e05_ls_layout-colwidth_optimize = 'X'.
      e05_ls_layout-zebra = 'X'.
      e05_ls_layout-detail_popup = 'X'.
      e05_ls_layout-detail_initial_lines = 'X'.
      e05_ls_layout-detail_titlebar = 'Table Structure'.
      e05_ls_layout-info_fieldname = 'X'.
    *  e05_ls_layout-min_linesize = 125.
    *  gs_print-no_print_listinfos = 'X'.
    ENDFORM.                    " layout_build
    *====> End of the Build for Layout Record
    *====> This section builds the Actual Display Routine
    FORM list_view.
      g_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program = g_repid
                is_layout          = g_layout
                it_sort            = g_sort[]
                it_events          = g_events[]
                it_fieldcat        = g_fieldcat[]
                i_save             = g_save
           TABLES
                t_outtab           = it_table
           EXCEPTIONS
                program_error      = 1
                OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE e208(00) WITH 'Error: ALV Grid'.
      ENDIF.
    ENDFORM.                    " layout_build
    *====> End of Actual Display Routine
    *====> This section builds the Top of Page Routine
    FORM top_of_page.
      DATA: ls_line TYPE slis_listheader.
      CLEAR g_list_top_of_page[].
      CLEAR ls_line.
      ls_line-typ  = 'H'.
      CONCATENATE 'Table Structure -' tabname
        INTO ls_line-info SEPARATED BY space.
      APPEND ls_line TO g_list_top_of_page.
      PERFORM build_sub_headings
          USING g_list_top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = g_list_top_of_page[].
    ENDFORM.                    " top_of_page
    FORM build_sub_headings
            USING e07_top_of_page TYPE slis_t_listheader.
      DATA: ls_line TYPE slis_listheader.
      CLEAR ls_line.
      ls_line-typ  = 'S'.
      ls_line-key = 'Run Info'.
      CONCATENATE  sy-sysid sy-uname sy-mandt
            INTO ls_line-info
            SEPARATED BY space.
      APPEND ls_line TO e07_top_of_page.
    ENDFORM.                    "build_sub_headings
    *====> End of top_of_page
    *====> This section builds the User Command Routine
    FORM user_command
            USING p_ucomm LIKE sy-ucomm
                  p_selfield TYPE slis_selfield.
      IF p_selfield-value NE space.
        CASE p_selfield-tabname.
          WHEN 'IT_TABLE'.
            READ TABLE it_table INDEX p_selfield-tabindex
                      INTO tab_rec.
          WHEN OTHERS.
            EXIT.
        ENDCASE.
      ELSE.
        EXIT.
      ENDIF.
      CHECK sy-subrc = 0.
      CASE p_selfield-fieldname.
    *    WHEN 'QUOTE'.
    *      SET PARAMETER ID 'AGN' FIELD p_selfield-value.
    *      CALL TRANSACTION 'VA23' AND SKIP FIRST SCREEN.
        WHEN OTHERS.
          EXIT.
      ENDCASE.
    ENDFORM.                    "user_command
    *&      Form  build_sort_fields
    FORM build_sort_fields
      USING p_sort TYPE slis_t_sortinfo_alv..
    *----------------------> ALV Build Sort Table
      DATA:  ls_sort  LIKE LINE OF p_sort.
      REFRESH p_sort.
    * Table name
      CLEAR ls_sort.
      ls_sort-tabname       = 'IT_TABLE'.
      ls_sort-fieldname     = 'TABNAME'.
      ls_sort-up            = 'X'.
      APPEND ls_sort TO p_sort.
    * Position of the field in the table
      CLEAR ls_sort.
      ls_sort-tabname       = 'IT_TABLE'.
      ls_sort-fieldname     = 'POSITION'.
      ls_sort-up            = 'X'.
      APPEND ls_sort TO p_sort.
    ENDFORM.          " build_sort_fields
    *&      Form  fieldcat_init
    FORM fieldcat_init
      USING e01_lt_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR: e01_lt_fieldcat[], e01_lt_fieldcat.
    * Table name
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'TABNAME'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'TABNAME'.
      ls_fieldcat-key           = 'X'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Table'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Table'.
      ls_fieldcat-SELTEXT_M     = 'Table name'.
      ls_fieldcat-SELTEXT_L     =
        'Table name'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Field name
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'FIELDNAME'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'FIELDNAME'.
      ls_fieldcat-key           = 'X'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Field name'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Field name'.
      ls_fieldcat-SELTEXT_M     = 'Field name'.
      ls_fieldcat-SELTEXT_L     =
        'Field name'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Activation status of a Repository object
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'AS4LOCAL'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'AS4LOCAL'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Activation status'.
      ls_fieldcat-SELTEXT_L     =
        'Activation status'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Version of the entry (not used)
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'AS4VERS'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'AS4VERS'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Version'.
      ls_fieldcat-SELTEXT_L     =
        'Version'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Position of the field in the table
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'POSITION'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'POSITION'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Table pos.'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Table pos.'.
      ls_fieldcat-SELTEXT_M     = 'Table position'.
      ls_fieldcat-SELTEXT_L     =
        'Table position'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Identifies a key field of a table
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'KEYFLAG'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'KEYFLAG'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Key field'.
      ls_fieldcat-SELTEXT_L     =
        'Key field'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Flag: Field is required (not blank)
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'MANDATORY'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'MANDATORY'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Required field'.
      ls_fieldcat-SELTEXT_L     =
        'Required field'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Data element (semantic domain)
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'ROLLNAME'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'ROLLNAME'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Data elem.'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Data elem.'.
      ls_fieldcat-SELTEXT_M     = 'Data element'.
      ls_fieldcat-SELTEXT_L     =
        'Data element'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Check table name of the foreign key
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'CHECKTABLE'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'CHECKTABLE'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Check table'.
      ls_fieldcat-SELTEXT_L     =
        'Check table'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Nesting depth for includes
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'ADMINFIELD'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'ADMINFIELD'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Admin. field'.
      ls_fieldcat-SELTEXT_L     =
        'Admin. field'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * ABAP data type (C,D,N,...)
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'INTTYPE'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'INTTYPE'.
      ls_fieldcat-REPTEXT_DDIC   =
        'ABAP type'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'ABAP type'.
      ls_fieldcat-SELTEXT_M     = 'ABAP type'.
      ls_fieldcat-SELTEXT_L     =
        'ABAP type'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Internal length in bytes
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'INTLEN'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'INTLEN'.
      ls_fieldcat-REPTEXT_DDIC   =
        'IntLen'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'IntLen'.
      ls_fieldcat-SELTEXT_M     = 'Internal length'.
      ls_fieldcat-SELTEXT_L     =
        'Internal length'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Table for reference field
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'REFTABLE'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'REFTABLE'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Ref. table'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Ref. table'.
      ls_fieldcat-SELTEXT_M     = 'Reference table'.
      ls_fieldcat-SELTEXT_L     =
        'Reference table'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Name of included table
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'PRECFIELD'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'PRECFIELD'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Name of include'.
      ls_fieldcat-SELTEXT_L     =
        'Name of include'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Reference field for currency and qty fields
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'REFFIELD'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'REFFIELD'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Ref. field'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Ref. field'.
      ls_fieldcat-SELTEXT_M     = 'Ref. field'.
      ls_fieldcat-SELTEXT_L     =
        'Ref. field'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Check or generating module for fields
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'CONROUT'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'CONROUT'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = ''.
      ls_fieldcat-SELTEXT_M     = 'Check module'.
      ls_fieldcat-SELTEXT_L     =
        'Check module'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Indicator that NOT NULL is forced for this field
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'NOTNULL'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'NOTNULL'.
      ls_fieldcat-REPTEXT_DDIC   =
        'NOT NULL'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'NOT NULL'.
      ls_fieldcat-SELTEXT_M     = 'NOT NULL forced'.
      ls_fieldcat-SELTEXT_L     =
        'NOT NULL forced'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Data type in ABAP Dictionary
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'DATATYPE'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'DATATYPE'.
      ls_fieldcat-REPTEXT_DDIC   =
        'DataType'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'DataType'.
      ls_fieldcat-SELTEXT_M     = 'Data type'.
      ls_fieldcat-SELTEXT_L     =
        'Data type'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Length (no. of characters)
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'LENG'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'LENG'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Lngth'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Lngth'.
      ls_fieldcat-SELTEXT_M     = 'No. of characters'.
      ls_fieldcat-SELTEXT_L     =
        'No. of characters'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Number of decimal places
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'DECIMALS'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'DECIMALS'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Dec.places'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Dec.places'.
      ls_fieldcat-SELTEXT_M     = 'Decimal places'.
      ls_fieldcat-SELTEXT_L     =
        'Decimal places'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Domain name
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'DOMNAME'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'DOMNAME'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Domain'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Domain'.
      ls_fieldcat-SELTEXT_M     = 'Domain'.
      ls_fieldcat-SELTEXT_L     =
        'Domain name'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * Origin of an input help
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'SHLPORIGIN'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'SHLPORIGIN'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Origin of an input help'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'SH Origin'.
      ls_fieldcat-SELTEXT_M     = 'Origin of input help'.
      ls_fieldcat-SELTEXT_L     =
        'Origin of an input help'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * DD: Flag if it is a table
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'TABLETYPE'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'TABLETYPE'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Table'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Table'.
      ls_fieldcat-SELTEXT_M     = 'Table'.
      ls_fieldcat-SELTEXT_L     =
        'Table'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * DD: Depth for structured types
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'DEPTH'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'DEPTH'.
      ls_fieldcat-REPTEXT_DDIC   =
        'Depth'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'Depth'.
      ls_fieldcat-SELTEXT_M     = 'Depth'.
      ls_fieldcat-SELTEXT_L     =
        'Depth'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    * DD: Component type
      CLEAR ls_fieldcat.
      ls_fieldcat-tabname       = 'IT_TABLE'.
      ls_fieldcat-fieldname     = 'COMPTYPE'.
      ls_fieldcat-ref_tabname   = 'DD03L'.
      ls_fieldcat-ref_fieldname = 'COMPTYPE'.
      ls_fieldcat-REPTEXT_DDIC   =
        'CompTyp'.
      ls_fieldcat-ddictxt       = 'S'.
      ls_fieldcat-SELTEXT_S     = 'CompTyp'.
      ls_fieldcat-SELTEXT_M     = 'CompTyp'.
      ls_fieldcat-SELTEXT_L     =
        'Component type'.
      APPEND ls_fieldcat TO e01_lt_fieldcat.
    ENDFORM.          " fieldcat_init
    Edited by: Paul Chapman on Mar 10, 2008 3:09 PM

  • Working in a doc with inline tables uses 80% of my CPU

    Hi everyone,
    I'm using Pages 4.0.4, and typing (in table, around table, any where) slows to a crawl when I my document contains inline tables. Using Activity Monitor, I can see my CPU usage jump to 80% when I type in a Pages document with inline tables. It stays at 8% as I type with the very same tables positioned as floating.
    I'm working on a six-page document with four or five tables (one of which is a yearly calender with lots of small columns and rows). There are no other fonts besides Helvetica 12pt, and nothing but alphanumeric characters. I've experienced this slowdown before, but I've always put up with it. Now, it's just driving me crazy!
    I've tried...
    * Validating all my fonts - I found 40-ish minor errors (mostly duplicate font errors), but I didn't know how to fix them.
    * Thinning the tables - I read that thinning inline tables so they don't run margin-to-margin can help. It didn't.
    If I had to guess, I'd say Pages runs layout calculations with each keystroke so objects can flow with the text. Is there a setting or preference I'm missing to do this less often?
    I could float the tables, but every time I change the text above them I have to reposition all of them. I love Pages, and I hate to return to MS Office. However, this slowdown is a deal breaker for me. Any ideas?
    Thanks!
    Jack
    PS - If it helps, I experience the same type of slowdown with Numbers. If the table exceeds several rows by several columns, typing, copying & pasting, etc take forever! I've read that that's because Numbers recalculates the entire sheet with every event, but that seems pretty drastic.

    jstewmc wrote:
    Hi everyone,
    I'm using Pages 4.0.4, and typing (in table, around table, any where) slows to a crawl when I my document contains inline tables. Using Activity Monitor, I can see my CPU usage jump to 80% when I type in a Pages document with inline tables. It stays at 8% as I type with the very same tables positioned as floating.
    I'm working on a six-page document with four or five tables (one of which is a yearly calender with lots of small columns and rows). There are no other fonts besides Helvetica 12pt, and nothing but alphanumeric characters. I've experienced this slowdown before, but I've always put up with it. Now, it's just driving me crazy!
    I've tried...
    * Validating all my fonts - I found 40-ish minor errors (mostly duplicate font errors), but I didn't know how to fix them.
    * Thinning the tables - I read that thinning inline tables so they don't run margin-to-margin can help. It didn't.
    If I had to guess, I'd say Pages runs layout calculations with each keystroke so objects can flow with the text. Is there a setting or preference I'm missing to do this less often?
    I could float the tables, but every time I change the text above them I have to reposition all of them. I love Pages, and I hate to return to MS Office. However, this slowdown is a deal breaker for me. Any ideas?
    Thanks!
    Jack
    PS - If it helps, I experience the same type of slowdown with Numbers. If the table exceeds several rows by several columns, typing, copying & pasting, etc take forever! I've read that that's because Numbers recalculates the entire sheet with every event, but that seems pretty drastic.
    What you describe is perfectly consistent with what you read (I recognized what I wrote).
    If tables are floating, they don't move when the text layer is edited. So they have no impact upon recalculations.
    When they are inline, the app is so dumb that it behave as if it was recalculating from the very beginning which of course, with these embedded items, requires a lot of time.
    AppleWorks designers made a better work on this point but they were old-fashioned ones.
    They offered two interesting features :
    (a) recalculate only what was really needed
    (b) in the Spreadsheet, they gave a menu item allowing us to stop/activate recalculations
    Alas, I'm not sure that iWork designers ever open AppleWorks.
    Yvan KOENIG (VALLAURIS, France) mercredi 23 février 2011 11:04:38

Maybe you are looking for