No table line started. Output to cell not possible

Hi Everybody:
I have developed a smartform where in if i give single record as input, it comes fine, but if more than one record is given thru selection scr, the error comes  No table line started. Output to cell not possible when page break is issued.
Pls help as to why is it coming,
I also tried SF TRACE, but when i display the error, it says Cannot read from the database.
Best Regards, Neetu

To print the internal table's data in the smartform you should use the TABLE.
LIke define a TABLE, inside the table define required table types.
Put your data inside your main ... under the Table by using one of the line type.
Regards,
Naimesh Patel

Similar Messages

  • SSFCOMPOSER 189 "No table line started. Output to cell not possible" ...

    Hi Guru,
    when i run smartform in VF03 & press on Print preview button it doesnt show the output.Can anybody tell me the cause of this error?
    Thanks in advance

    If possible execute the smartform separately. and try to give the input values.
    i feel that  there may be  some mistake in  the measurments that u give for either template or a table if u r using them.
    you can debug  the smartform by having a break point in it
    Edited by: Vedavathy Kotakonda on Jan 21, 2008 9:04 AM

  • No table line started-smartforms

    hi guys,
    yesterday it was ok but when i came today and executed  suprisingly its givin an error sayin <no table line started>
    plz advise
    rgds

    THATS MY MISTAKE ACTUALLI..I DINT DECLARED LINE TYPE IN CELL

  • HTML table containing SQL output in cells

    Hello,
    This might be a built-in function, but I haven't figured out how to do this: I want to display an HTML table (2x3 table) and in each cell, I want to display the output from different SQL statements. Some of the SQL statements return multiple rows, some just one. The cell data comes from unjoined tables, that is there is no join condition between each one of the cell SQL statements, it's a bit random.

    After much head-banging, I have worked this out and it came down to just changing 2 style definitions in the page template. I'm not really a Web developer so that wasn't obvious to me (or easy, I've read quite a bit on Google about stylesheets while working this).
    Basically I wanted to display a 3x3 "grid", similar to a table, but the data coming out from the 3x3 regions (all SQL query regions) returned different numbers of rows, which meant my page "rows" didn't align horizontally, they were just rendered wherever the last region stopped (vertically they were rendered properly because I put the regions in Colums 1, 2 and 3, standard page functionality).
    Eventually I started looking at the HTML page source and noticed the regions were using style defintions coming from my theme (standard APEX theme #12). I made a copy of the page template this page was using, and modified the header block of the new page template to "rewrite" the driving styles
    <title>#TITLE#</title>
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_12/theme_V3.css" type="text/css" />
    <style type="text/css">
    a.plain { font-family:arial; text-decoration:none}
    td.t12Header {height=12px;font: italic small-caps 900 12px arial}
    td.t12Body {background-image: url(#APP_IMAGES#lock.png);background-repeat: no-repeat;background-position: left top;vertical-align= middle;height= 250px}
    </style>
    ...So I re-wrote the td (or table TD style) for t12Header and t12Body, by adding my own style definitions into the header after the call to the main css sheet. I also played around with putting a background image into each cell, I'll probably remove that but it was fun to explore.
    This rendered my individual table cells (via td.t12Body) @ 250px (which as I've found out is otherwise not supported, there's no built-in TABLE spec for "height") -- exactly what I wanted, now all the regions render vertically and horizontally.
    I did not test this with any browser other than IE7.
    If you know an easier way to do this, please do post a follow-up.

  • Vertical alignment in table cells not working in generated output

    Using RH9 WebHelp. I have created a simple table style. Because I could not find out how to make cell vertical alignment (top, center, bottom)  part of the style definition, I have been applying it manually to individual whole tables using the cell alignment properties.
    This worked fine for a while, but at some point I noticed that even though the tables look right in Design view, with top-aligned cells contents, it gets hosed in generating output and all tables now come with vertically centred cell contents even through the in-line formatting for top alignment is still there in the code.
    Any ideas?

    Hi Mike,
    I'm confused to where you applied the vertical alignment. Normally, I would set this for the table cells and not the table.
    CSS has indeed an order in rendering: There is a point system for determining the CSS to apply. See http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specific ity/ for a short introduction.
    And as an extra to the point system, the place where the styling is present, also determines the styling. Browsers use the following hierarchy (in descending order)
    User style sheet defined in the browser.
    Inline styling.
    Style block in page.
    External style sheet
    You can overwrite styling from a lower order using the !important declaration. You can use this to make sure that inline styling will not be able to overwrite styles from your style sheet. (Unless the inline styles use !important themselves.) Example:
    table.mytable td {
         vertical-align: middle !important;
    This will make all the content of table cells in the table with the class mytable to be vertically centered.
    Greet,
    Willam

  • List UIBB - Access to cell editor for a certain table line possible

    Hi,
    I am looking for a way to access the cell editor of the last table line as I want to mark it as a special - summary - line.
    I intend a similar approach like in WebDynrpo ABAP when accessing the node info and modifying the "CELL DESIGN" attribute like in the following code (copied from WD Comp WDR_TEST_TABLE, View CELL DESIGN, method FILL_CELL_DESIGNS) :
      data tab type IF_CELL_DESIGN=>Elements_Cell_Designs.
      data line type IF_CELL_DESIGN=>Element_Cell_Designs.
      data node_info type ref to if_wd_context_node_info.
      data attribute_info type wdr_context_attribute_info.
      data attr_value type WDR_CONTEXT_ATTR_VALUE.
      node_info = node->get_node_info( ).
      attribute_info = node_info->get_attribute( 'CELL_DESIGN' ).
      line-is_expanded = abap_true.
      line-is_leaf     = abap_false.
      line-key         = 'FIRST'.
      loop at attribute_info-value_set into attr_value.
        line-text = sy-tabix.
        concatenate 'Text #' line-text into line-text. "#EC NOTEXT
        line-cell_design = attr_value-value.
        insert line into table tab.
        line-is_leaf = abap_true.
        line-key = attr_value-value.
        line-parent_key = 'FIRST'.
      endloop.
      node->bind_table( tab ).
    I suspect the method IF_FPM_GUIBB_LISTGET_DATA (or IF_FPM_GUIBB_LISTGET_DEFINITION) of my feeder class to be the right access point.
    But unfortunately, I have not yet found out how to change the cell design for specific lines, only for whole columns.
    Can anyone give me a hint here?
    BTW: The "summary" line is not a sum of the lines above, but determined by backend logic, so not ALV-summary line for me.
    Kind Regards

    Hi,
    A short update for all interested:
    My current work around is to always set the lead selection to the summary line. It does in a kind "mark" that line as special as long as I cannot mark it using a different cell design.
    How do I assure this?
    I have implemented the following code in a redefinition of the method ADJUST_SELECTION:
    *- alter selection
      DATA:
       ls_size TYPE rstabix.
      "get index of summary line
      ls_size-tabix = mo_collection->size( ).
      "change only if there are any cash conc. proposals
      IF ls_size-tabix > 0.
        "do FPM selection
        CLEAR: ev_lead_index, et_selection.
        ev_lead_index = ls_size-tabix.
        APPEND ls_size TO et_selection.
        "do BOL selection
        mo_collection->if_bol_bo_col_multi_sel~unmark_all( ).
        mo_collection->if_bol_bo_col_multi_sel~mark( iv_index = ls_size-tabix ).
      ENDIF.
    The general downside is, that no other selection is possible!
    The selection is always reset to the summary line with each roundtrip.
    Waiting for a better solution...
    Kind Regards,
    Robert

  • Tables with more than one cell with a high number of rowspan (ej. 619). This cell can not be print in a page and it must be cut. But I don't know how  indesign can do this action.

    Tables with more than one cell with a high number of rowspan (ej. 619). This cell can not be print in a page and it must be cut. But I don’t know how  indesign can do this action.

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

  • Error in Smartform:  Nested output of tables is not possible....

    Hi ,
      I am getting the below error while executing the smartform.
    Nested output of tables is not possible
    Message ID: SSFCOMPOSER
    Message Numer : 171
    could any one plese help me?
    Thanks & Regards,
    surendra

    Dear
    AS i reply in thread ,
    this error comes  with  some problem in functional Module .
    as we know that two FM use in smartforms -
    SSF_function_mudule
    call   funcion .
    so you check both and  i hope you handle this problem .
    Regards,
    Ravi

  • Line Feed within the cell in .CSV output file

    Hello Experts,
    I have created one z-report, and the output of the report is in .CSV file format separated by 'semi-colon' as separator.
    Their is one column "Product" in which data is in the format
    <b>"[Product1][Product2][Product3][Product4]"</b>
    My code looks something like this:
    LOOP AT product_new INTO wa_product. 
      CONCATENATE Prod_str
                  wa_product-tdline             
             INTO prod_str.
    ENDLOOP.
    Our requirment is to insert Line-feed between each product entries within the cell.Line-Feed between each product within the cell is possible with ALT+ENTER key
    The output required is
    "[Product1](ALT+ENTER)
    [Product2](ALT+ENTER)
    [Product3](ALT+ENTER) 
    [Product4]"
    I would appreciate if anybody can help me to solve this.. (urgent)
    Thanx.

    Hi
    Go thru these links
    Regarding line feed
    add line feed to string
    When you concatenate try using the abap char utility for newline as well.
    i.e CL_ABAP_CHAR_UTILITIES=>NEWLINE.
    LOOP AT product_new INTO wa_product.
    CONCATENATE Prod_str
    wa_product-tdline
    CL_ABAP_CHAR_UTILITIES=>NEWLINE.
    INTO prod_str.
    ENDLOOP.
    Regards,
    balaji
    **rewrds for helpful answers

  • Smartforms- TABLE -Lines,rgrding passing  Quan&DATS fields to smartforms

    Hi All ..
    Iam working on Tables in smartform ,
    These are  queries  to which  i need solution ..
    1)  In (Window) Table- Heading  i have created  3 LINES   in which  my  data  had  to display...( i have  a line   in that TEXT is used to display  a particular fields of the Itab ) .  as i came to know that  in my Zprog iam gettting my  data in the fields  but   wen  in smartform these fields values are not displayed ( when these fields are placed in LINE  )  but  wen  these fields are placed outof LINE that is outof table then iamgetting  value for these fields..  so please   let me know  wat are the changes that ishould do  to  get my  data  in  my table ( LINE )
    2) How  to pass  DATS and QUAN  fields  to the smartforms..
    as iam getting  data to DATS and Quan Fields in my  Zprog   but these  values are not showed in my  smartForm ..  ..
    Thanks in Advance..
    Looking  for  a good  reply ..
    Aslam..

    Hi,
    you have created 3 linetypes for table .
    you have create loop for multiple records display.
    in loop you have to pass table from which you are displaying inti output.
    To internal table we get data from print program and create text for corresponding cells.
    then it will pass those data to table.
    2) create programlines for that.
    in that mention table from which table is containing quantity.
    that is import parameter specified .
    export parameters are your output fields using for calculation.
    AMOUNT = TAB3-NETWR.
    Netamount = Netamount + TAB3-NETWR.
    here input is tab3 table it contains quantity data.
    lamount,netamount are output parameters.
    like that you can display quantity.
    or in global definitions currency/quantity fields tab is available you can pass there also.
    for dat fields write logic for conversion of date and pass that variabl in form output.

  • Table Problem x2 within Pages: 1) In the Header; 2) Maintaining a table's starting point when carrying over to the next page.

    Pages '09 v4.1
    Problem 1:
         I am working with a 2-column Page document. Its my goal to have three items listed in a header in particular positions. Far left shows the paragraph number the page starts with, in the center is a title of the contents of the page, and on the far left is the last paragraph number to appear. To place these three items in the desired positions requires the insertion of a lot of spacing on both sides of the 'centered' title along with counting the characters of the title to find its center to alighn with the center of the page. 253 pages of this to will qualify me to be labled with a severe case of Obsessive Compulsive Disorder. I don't want OCD.
         However, by installing a one row/3 column table in the header my task was made a lot easier in alighnments. But, another problem reared up. Within the header underneath the table is a vertical space remaining. This vertical 'tallness' is equivalent to the font size of 10. Its taking up too much space between the header and the text. It needs to be reduced or eliminated.
         On the left-hand page I am able to reduce the font as far down as '1'. I've settled on using '3'. However, on the right-hand page the font will not accept any size selections be they less or more and remains stubbornly at font 10. Within a Header that does not have a table, I am able to change the font of both left and right pages.
         Is there a another way to approach what I desire for the header other than installing a table in it? Is there a way to alter the font on the right hand pages?
    Problem 2:
         Whenever I create a table following text already on a page all is right until the table's growth in construction laps over to the next page. At that point the first row snaps to the top of the following page leaving an undesired area (space) between the last line of the text on the preceding page. Whenever I attempt to drag the table to the desired position it snaps back. This only happens when the table is larger than the remaining area of the page. If the table is started at the top of an unused page and runs beyond the confines of that page than it continues as expected onto the next page duplicating the table header. But to do this it must begin at the top of an unused page. Is there a means to have a table placed in the remaining space of a page and what does not fit continues to the next page in effect having a partial of the table on each page?
    So there you have it. Christmas is over and its back to work. Thank-you for your attention.

    Regards re-positioning a table:
    I went to Inspector>Wrap>Object Placement/Inline (moves with text) and found that the inline option was selected. Some of the rows within the table have two lines of text. Again, I dragged the table to the desired position on a page that is partially composed with text and got the same results as before -  the table snapping back to the top of the following page where it initially resided. In this current position the 2-page table does break as it should on the following 3rd page. Below is a schematic of the appearance of the 2-pages involved.
    Page 1 left side.
    TEXT 1-line as 1-column
    TABLE (5-rows)
    TEXT (2-columns) 14-lines left column and 13-lines right column.
    [Layout Break] otherwise the above textual columns would be all on the left side of the page.
    TEXT 1-line as 1-column
    * The desired insertion point for a two page table on a page that is 40% filled with the above descriptions.
    Page 2 right side.
    A 2-page table flowing or breaking into a 3rd page.
    Page 3 left side.
    The overflow of the subject table.
    [Layout Break]
    [Section Break]
    Is there some other way to anchor a table to the text other than Inspector>Wrap>Object Placement/Inline (moves with text)?

  • How to export a reference to a table line from a method?

    Hello,
    I have a class which has a hashed table as an attribute. I want to retrieve a line from the table using the key and return a reference to the table line. I want changes to the return value of the method to be directly reflected in the table, as if using a local field symbol. I have tried to approaches, neither of which works.
    First, I returned a reference to the local field symbol. This dumps, because after returning from the method call, the target of this reference no longer resides on the stack.
    Second, I have tried using an export parameter marked as "pass by reference", i. e. without VALUE(). Strangely, this still seems to give me only a copy of the data.
    What is the correct way to proceed?
    Illustrative pseudo-code follows.
    Thanks, Sebastian
    *==============================================================
    *Possibility 1: (using references)
    DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
    METHODS get
        IMPORTING
          !is_key TYPE zs_key
        EXPORTING
          !er_vt TYPE REF TO zs_entity.
    METHOD get.
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      READ TABLE mt_key_value WITH KEY key = is_key ASSIGNING <fs_vt>.
      GET REFERENCE OF <fs_vt> INTO er_vt.
    ENDMETHOD.     
    " Client Code:
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      CALL METHOD get
        EXPORTING
          is_key        = is_key
        IMPORTING
          er_vt         = lr_vt.
      ASSIGN lr_vt->* TO <fs_vt>.  " will dump, because the local field symbol
                                   " to which lr_vt points is no longer on the stack
      <fs_vt>-value = 'newdata'.       
    *==============================================================
    *Possibility 2:  (using a structure passed by reference)
    DATA mt_key_map TYPE zt_entity. " member variable (hash table of zs_entity)
    METHODS get
        IMPORTING
          !is_key TYPE zs_key
        EXPORTING
          !es_vt TYPE zs_entity.  
    METHOD get.
      FIELD-SYMBOLS: <fs_vt> TYPE zs_entity. 
      READ TABLE mt_key_map WITH KEY key = is_key ASSIGNING <fs_vt>.
      es_vt = <fs_vt>.
    ENDMETHOD.   
    " Client Code:
      DATA: ls_vt TYPE zs_entity.
      CALL METHOD get
        EXPORTING
          is_key        = is_key
        IMPORTING
          es_vt         = ls_vt.
      ls_vt-value = 'newdata'.   " will not change the contents of the
                                 " table mt_key_value       

    In the first approch, try to change the exporting parameter type REF TO DATA.
    Try like:
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
        METHODS:
          constructor,
          get
            IMPORTING
              if_matnr TYPE matnr
            EXPORTING
              ea_mara  TYPE REF TO data.
    ENDCLASS.                    "lcl_test DEFINITION
    START-OF-SELECTION.
      DATA: lo_test TYPE REF TO lcl_test,
            lr_data TYPE REF TO data.
      FIELD-SYMBOLS: <fa_mara> TYPE ANY,
                     <f_field> TYPE ANY.
      CREATE OBJECT lo_test.
      lo_test->get(
        EXPORTING
          if_matnr = '000000000077000000'   " << Replace Your Material
        IMPORTING
          ea_mara  = lr_data ).
      ASSIGN lr_data->* TO <fa_mara>.
      ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
      <f_field> = space.
      WRITE: 'Done'.
    CLASS lcl_test IMPLEMENTATION.
      METHOD constructor.
        SELECT * INTO TABLE t_mara
               FROM mara
               UP TO 10 ROWS.
      ENDMETHOD.                    "constructor
      METHOD get.
        FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
        READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
        GET REFERENCE OF <lfs_mara> INTO ea_mara.
      ENDMETHOD.                    "get
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    Regards,
    Naimesh Patel

  • From SAP to EXCEL (OLE), add new line in the same cell

    Hi all !
    All that I want to do is ... to write in the same cell different lines as i using "Alt + Enter" command.
    Excel´s macro report like this printing "Hello World" on different lines of the same cell.:
    +ActiveCell.FormulaR1C1 = "Hello" & Chr(10) & "World"+
        +With ActiveCell.Characters(Start:=1, Length:=22).Font+
            +.Name = "Arial"+
            +.FontStyle = "Normal"+
            +.Size = 10+
            +.Strikethrough = False+
            +.Superscript = False+
            +.Subscript = False+
            +.OutlineFont = False+
            +.Shadow = False+
            +.Underline = xlUnderlineStyleNone+
            +.ColorIndex = xlAutomatic+
        +End With+
        +Range("B1").Select+   
    So my problem is how to translate this to ABAP code.
    Thank you so much in advance!!

    Never mind.  I found my answer in another post:
    EXISTING CUSTOMERS- That add lines post 7/7/2011, will NOT be able to choose the $29.99 unlimited data feature

  • Too many information in 1 table line - alternative solution ?

    Hi,
    Just join today since i am new to Adobe LifeCycle.
    I am using Adobe Life Cycle 8.1.2
    As the title explains, currently i am designing a interactive adobe form (orientation: Portrait) which has a table with "add/remove" button. The "add/remove" works perfect (i can add line or remove line from the table).
    The problem is I have too many information (read: columns) in 1 table line. In results:
    1. Table line is not sufficient to display all information, OR
    2. I can squeeze all columns into 1 line and play around with smaller font size. But the form looks ugly.
    Has anyone encountered this kind of situation before ?
    Can you share your design (if possible attached the form) for similar situation ?
    Any bright input/idea are most welcomed.
    Thanks In Advance !
    Note:
    1. Landscape is NOT an option.
    2. I still want to have "add/remove" functionality.

    Hi,
    Suppose you have set the the no of columns to 6 for any row . 1st row has 6 columns. 2nd row has 6 columns intially. But you can merge some of the columns to make it one. Selects the columns you want to merge.Then Right Click -> Merge cells. But this may lead to another problem about the caption of the columns. But if it's text field or same type of field you can specify the option to set the caption as on top.
    Thanks,
    Bibhu.

  • Deleting line on output screen that is written by Write statement....

    Hello Gurus,
    In my case there is data written on output screen. When I double click on line on ABAP report execution output screen, I want that line to be deleted from output screen.
    I know I will have to write the logic at line-selection but how can I delete line that is written on screen using write statement ?
    Regards,
    Jainam.
    Edited by: Jainam Shah on Nov 12, 2009 4:47 PM

    Hi Jainam,
    When you say AT LINE-SELECTION. It is an intercative list only.
    This is not possible to delete when you double click on a record.
    However I have created a small code snippet for you. But to display something on the secondary list, you have to write a WRITE statement...The code as below :-
    TABLES MARA.
    DATA: BEGIN OF itab OCCURS 1,
          MATNR like MARA-MATNR,
          MEINS LIKE MARA-MEINS,
          END OF itab.
    SELECT MATNR MEINS FROM MARA INTO TABLE itab.
    sort itab by MATNR.
    LOOP AT itab.
      WRITE:/ itab-MATNR.
      HIDE itab-MATNR.
    ENDLOOP.
    AT LINE-SELECTION.
      IF sy-lsind = 1.
        CLEAR itab-MATNR.
        write : sy-lilli.
      ENDIF.
    Kindly set to resolved, if this clears you question.
    Regards
    Abhii...

Maybe you are looking for

  • Apps not updating after upgrading to iOS 6

    After updating my iPhone 4 to iOS 6, I am unable to update any apps. The App Store says they are downloading, but nothing happens, all the apps say "waiting" underneath them. This has been over four hours now. Anyone have any ideas?

  • Problems signing in to iCloud..

    When I try to sign in to my icould account, it says it will send me a verification email to my secondary email address. However, I do not receive any such email and therefore I am unable to use the icloud service. Any help will be much appreciated.

  • Weblogic.version gives java error after install of D33T

    Hi, I just installed patch D33T (Oracle WebLogic Server Patch Set Update 10.3.6.0.4) - released April 2013. Before installing the patch, I checked my weblogic version (running setWLSEnv and java weblogic.version) following the instructions in the rea

  • Can't get rid of white app icons

    Hey guys. Just today the icons on some of my apps have gone white on my iPod Touch (4th gen iOS 4.2.1). It's not the same shade of white that you get when downloading apps. I have tried rebooting my ipod and resyncing it with iTunes, but these soluti

  • JEditorPane slow HTML parsing and GUI lockup

    Hi, I use a JEditorPane to display HTML page. If the page is relatively small, everything is ok, but with big pages (about 1 Mb) it takes a huge amount of time to load (actually, to parse) the page. And the main problem is that user interface locks a