How to adjust the heigh of the table line

Dear ABAPers,
       I have created the smartform.In that in MAIN window i created one table.
In that table i created the table line.My requirement is i want to minimize the height of the table line.
How to achieve this.
Thanks & Regards,
Ashok.

Hi Ashok,
What Venkat said is correct. One more way to decrease the size of table line is by:
Go to smartstyle - go to paragraph format which you are using for your texts.. If it is *, create another paragraph format.
ANd in that format put line spacing as .1 MM (Less or more accordingt to your requirement)..
Thanks and regards,
Palak

Similar Messages

  • How to adjust adhoc query when the database table changed.

    DearFreinds,
            I have created an adhoc Query , however after few days there was a requirement to remove some fields and change the length of some fields . Now the Adhoc query showing as to adjust , however when iam trying to adjust nothing is happening. Could any one let me know how to adjust with the table strucutre in the adhoc query.
    Regards
    madhu.

    Hi Sumit,
           Yes i have adjusted the database from se11 itself by going into utlity > adjust database . However i can still see the
    adhoc query -> infoset asking me when iam trying to go in change mode saying the database table has been changed do you want to adjust . 
    I have adjusted by going to more functions still there is no change. Please let me know what exactly i have to do.
    regards
    madhu

  • WD ABAP: How to get the contents of selected table lines?

    Hi,
    I'm trying to figure out how to get the contents of table lines back from the UI. I display a table with several lines of data. The user selects some rows. I want to move the contents of the selected rows to another table. I have a context attribute, say DATA, with attributes FIELD1... FIELDn, using a DDIC structure. These are bound to the table UI element and the corresponding table columns. To get the selected rows, I use wd_context->get_selected_elements(). This works, but what I get from this method is references to if_wd_context_element. How do I know which row (row number = ?) this corresponds to? And how do I get the actual data? I want a structure with FIELD1 = value1 FIELD2 = value2 etc. My context attributes FIELD refer to table columns, but I'm looking for the table line...
    Can somebody help me?
    Thanks,
    Ira

    Hi Ira,
    wd_context->get_selected_elements() returns WDR_CONTEXT_ELEMENT_SET which is a table type of IF_WD_CONTEXT_ELEMENT. You can loop through the WDR_CONTEXT_ELEMENT_SET, get into variable say node_elelement which is of type ref to If_Wd_Context_Element. Then you could use the method GET_STATIC_ATTRIBUTES of If_Wd_Context_Element which returns a structure with values of all the attributes in the selected row.
    If you need the row number, while populating the node you could have an additional attribute called rowno and populate it correctly. When you select the data using method GET_STATIC_ATTRIBUTES, you would get the appropriate row number.
    Regards,
    Srini.

  • What is the procedure for displaying table lines in a smartforms?

    Hi gurus,
                 Can any body help me with how to display the lines in the table in SMARTFORM like i am able to display the records successfully but i am not able display the lines..like
    Material no. ...not getting line here... material group....UOM
    In between Material no and material group and uom and not able to get the lines in between please help me with this concept or can any one share SMARTFORMS concepts and that to table lines specification methods.
    Thanks

    Hi,
    You can select Pattern Button OR any of Adjacent Button given just above the Box and Shading Block in Table TAB.
    Click on ANY of them.
    Regards

  • How to set cell attributes in a table line ?

    Hello,
    In a PDF form (SFP) , When I loop to display a table, Some conditions will be checked such as the Invoice amount > 1000 , then this cell will be printed in BOLD and Underlined . I think that we will use Java scipt at client But I do not know how to check a cell value and set attribute for a cell. ( BOLD and UNDERLINE)
    Could you please help me ?
    Thanks in advance .

    First of all: do not use table (like the MS Word table). Create a tale "look and feel" using subforms: one for row and one for the table. Then accessing the row and its value is not a problem and has been explained many times here or in the manuals. The same way you will manipulate the font properties of the cells.
    Otto

  • 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

  • How to adjust space between table lines in smartform

    Hi experts,
    I created a smartform and use table to display content. But I find the space between 2 table lines is always wider than the space between to text lines. I'm using font 10, 6 lines per inch in the style. Is there any way to adjust the height of table line and make it the same as normal text line? Thanks in advance.
    Best Regards,
    Wu Xue

    Hi,
    we have the option of the adjusting the space between lines in the style.
    Select the style that is applied to Form. Once u double click the paragraph that is assigned. You will be able to tab for Spacing ..
    Change  the Line Spacing ..
    Please close the thread, if solved
    Regards,
    Aditya

  • How not to Fix Heigh of Pi-Sheet Tables

    Hi,
    By default, the heigh of pi-sheet tables is fixed and scrolling is activated when the table has more than 10 lines. It's possible to display all the lines of a table dinamically without scroll (change the heigh of the table). May I change the standard layout?  If the table has 20 lines, when I open the pi-sheet I want to see the 20 lines of my table xstep.
    Thanks in advance.
    Pablo

    Hello Arne,
    Thanks for your post. Very useful! 
    But if I change the CSS like you say, the horizontal scroll of my table is also hidden and the screen is too much large because the table has many columns. The right-justified parameters are not displayed in the screen for the final user and he has to use the Sap scroll to see them. It's posible to display only horizontal scroll?

  • PS CC - I have a B/W background which I flattened - Then, change to RGB and add an RGB color graphic - print out makes background a greenish color - Can't figure out how to adjust.

    PS CC - I have a B/W background which I flattened - Then, change to RGB and add an RGB color graphic - print out makes background a greenish color - Can't figure out how to adjust.
    Thanks,
    Dave

    If the grayscale looks ok on screen, you are probably not setting up your print correctly. What OS? What printer?

  • Alv table line F2 details

    when F2 is pressed in ALV, a pop-up window shows, giving the details of that table line.
    how do I do the same in OO ALV report when F2 or double-click is used.

    Please find the code:
    FORM sub_show_detail USING uw_check TYPE boole_d.
      DATA: lt_fcat_main   TYPE lvc_t_fcat,
            lt_fcat        TYPE lvc_t_fcat,
            ls_fcat        TYPE lvc_s_fcat,
            ls_data        TYPE lvc_s_deta,
            ls_deta        TYPE lvc_s_detm,
            lw_layo        TYPE lvc_s_layo,
            lt_deta        TYPE lvc_t_detm,
            lw_main        TYPE zfd0r_invoice_analysis_strc,
            lw_count       TYPE lvc_index,
            lw_title       TYPE string.
      FIELD-SYMBOLS: <l_fcat> TYPE lvc_s_fcat,
                     <l_data> TYPE zfd0r_invoice_analysis_strc,
                     <l_cval> TYPE ANY,
                     <l_tval> TYPE ANY.
    Get the Global Field Catalog.
      lt_fcat_main = gt_fieldcat.
    Delete entries based on Invoice or F2 Invoice
      IF uw_check = abap_true.
        DELETE lt_fcat_main WHERE emphasize EQ space
                              AND fieldname NE 'GERNR'.
        lw_title = text-f30.
      ELSE.
        DELETE lt_fcat_main WHERE emphasize >< space.
        lw_title = text-f29.
      ENDIF.
    Get the Detail Display Fieldcatalog
      ls_fcat-fieldname = 'COLUMNTEXT'.
      ls_fcat-ref_table = 'LVC_S_DETA'.
      ls_fcat-key       = abap_true.
      ls_fcat-coltext   = text-f27.
      ls_fcat-outputlen = 20.
      APPEND ls_fcat TO lt_fcat.
      CLEAR ls_fcat.
      ls_fcat-fieldname = 'VALUE'.
      ls_fcat-ref_table = 'LVC_S_DETA'.
      ls_fcat-coltext   = text-f28.
      ls_fcat-outputlen = 35.
      APPEND ls_fcat TO lt_fcat.
      CLEAR ls_fcat.
    Define layout
      lw_layo-no_toolbar = abap_true.
    Fill the Main table
      LOOP AT gt_main ASSIGNING <l_data>.
        lw_count = lw_count + 1.
        DO.
          READ TABLE lt_fcat_main ASSIGNING <l_fcat> INDEX sy-index.
    End of All Fields -> EXIT
          IF sy-subrc >< 0.
            EXIT.
          ENDIF.
          ASSIGN COMPONENT <l_fcat>-fieldname
                  OF STRUCTURE <l_data> TO <l_cval>.
          IF sy-subrc = 0.
            ls_data-columntext = <l_fcat>-scrtext_l.
            ls_data-value = <l_cval>.
            APPEND ls_data TO ls_deta-detailtab.
            CLEAR: ls_data.
          ENDIF.
        ENDDO.
    Generate the Index
        ls_deta-blockindex = lw_count.
    append the display data.
        APPEND ls_deta TO lt_deta.
        CLEAR: ls_deta.
      ENDLOOP.
    Call The Item Detail FM.
      CALL FUNCTION 'LVC_ITEM_DETAIL'
           EXPORTING
                i_title         = lw_title
                it_fieldcatalog = lt_fcat
                is_layout       = lw_layo
           TABLES
                t_outtab        = lt_deta.
    Hope That Helps
    Anirban M.

  • 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

  • How do you change/adjust border width for all the cells in a table created in Pages?

    How do you change/adjust border width for all the cells in a table created in Pages?
    Note- I am trying to figure out how to create and format tables in the latest version of the Pages app on an iPad air (iOS 8.1.1.1) . Creating tables, adding or removing borders for individual/all cells in a table seems straight forward. However the default border style seems to be a heavy black line. How do I change this?
    I found the option add or remove borders for all/ individual cells in a table, however I can't find any option within style/format dialogue screens for changing colour or line thickness for table cells. Likewise I can't find any clear instructions on how to do this in apple help pages or support website
    Btw- I'm assuming  it is possible to customize/adjust the colour & thickness of selected lines in a table created in this app (it's fairly easy to do this word processing apps like MS Word) please let me  know if this is not actually possible in Pages

    They know perfectly well what they took out of Pages '09.
    Well over 90 features.
    Do you think you posting feedback is going to remind them of what they did?
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5 and rate/review it in the App Store, then get back to work.
    Peter

  • How to adjust the cell width in the table

    How can the width of the cell in a table for ADE be adjusted ?
    I wrote the following HTML code in a ePub file.
    <table style="width:100%;border-collapse: collapse;">
            <tr><td style="width:25%">red</td>
    <td style="width:75%">red</td></tr>
          </table>
    But, the created table runs over the page at the right side in the ADE (see figure). The values of widths in the both td tags are set to 50% and the same result is got.  However, with no set of the values the table fits in the page.
    Why? How should I do?

    Try adding "margin: 0;" to the table style (or to parent elements of the table)
    In case you don't know already, itis easy to play quickly with HTML at a site like http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
    However, that won't reflect the 'outer' environment imposed by different browsers, eReaders etc.
    The more explicit you make your HTML (eg explicit margin) rather than leaving it to environment support,
    the more likely it is to appear the same (within reason of size etc) on all browsers/devices.
    Probably worth making a fairly extensive style of your defaults that applies at the <doc> level.

  • How can we find out that the Z table is adjusted or not???

    Dear Friends,
    How can we find out that the Z table is adjusted or not???
    I have activated it but I need to se that the table is adjusted or not? I know we can do it from SE14 but I don't have an authorization ,
    Thnaks,
    Sridhar

    Hi, Thanks for the reply,
    As per ur suggestion of path direction I have checked the table in production and development both.
    In my Z table, I have 2 key fields and for those 2 key fields the primary indexs are created automaticaly and displayed in Developement but in Production there is no indexs are created for those 2 fields.
    Could you please guide me what could be the reason?
    Thanks in advance.
    Regards
    Sridhar

  • Adjusting page numbering in the Table of Contents

    I have a question regarding adjusting page numbering in the table of contents. I have manually adjusted my page numbering to start at page 3, which is now called page 1. But my table of contents still show this page as page 3, while I want it to be shown as page 1.
    How do I do this?
    I tried to find an answer somewhere on this forum, but I couldn't find one. Neither could I find a solution in the help file.
    I hope you understand my question. I also included the document, which might be of help. Thank you!

    This answer assumes that your document uses the Default page style for physical pages 1-3. You are going to need two different page styles to accomplish what you want. (I'm guessing you have used a page number offset of -2 to get your physical page 3 numbered as 1 and this simply will not work in the TOC.)
    Put your cursor in the Title page (physical page 1) and open the Stylist (F11). Click the Page icon (4th from left) then click the New Style From Selection icon (2nd from right). Give it a name like 'Body'. Before you close the Stylist double click on Default just to make sure you did not change the style of the 1st page.
    While you are still on the 1st page click into the footer and remove the page number field assuming you do not want it.
    Put you cursor in the FIRST (1st) paragraph of the 3rd page and do **Format > Paragraph > Text Flow tab. In the Breaks section, check the Enable box, if not already checked, then check the With Page Style box, select the Body style from the drop down menu and set the page number to 1.
    If the page number field is still in the footer on this page then delete it and insert it again. It should now show 1.
    Click into the TOC, right click and select Update Index/Table.
    Just in case you have trouble translating this to your version of SO I have fixed your document and have attached it.
    * *To change to a new page style while writing your document do Insert > Manual Break > Page Break and select the new style. If you want a new page number you can check that box and set the new number.  

Maybe you are looking for

  • RecordSet and ResultSet

    When Should I use RecordSet and when ResultSet?

  • Menu component - how to create link to page?

    Hi all, I have a question about the built-in Menu component. I am trying to use the Menu component to build a navigation menu - this means that the menu items must be links to other pages in my portal. And this is what I have trouble with - I cannot

  • Weird error in default log

    Any idea what this is. In checking with colleagues who might run reconstruct, no one had... Does it run automatically? It seems to have failed, perhaps crashing and the restarting the store? We are running 6.3-5.02. (120228-25/Solaris Sparc). [12/Jun

  • No inspection lot can be opened for this material error is coming during GR

    dear friends, no inspection lot can be opened for this material error is coming during GR. what is the cause for this and how to solve it. please suggest me regards, Krishna

  • Best Coding Process For This?

    I have a need to deisgn a windows form that has 6 tickboxes and a button.  Based off the tickboxes selected will open that specified access database, search for table names if found, delete those tables, then import "fresh" copies of the tables.  Clo