Adding a double line border to a table

Hi
i am creating a PDF form which contains a table, is there a way to set a double line border to to the table in the form ( like the option in EXCLE - i mean border like this: || ) 
Thanks, Ami

Hi Ami,
Try using borderStyle property of a  field
var f = this.getField("MyField");
f.borderStyle = border.u; /* border.s evaluates to "inset" */
                                        OR
f.borderStyle = border.i; /* border.s evaluates to "beveled" */

Similar Messages

  • Adding bottom line border conditionally- Is it possible?

    Hello,
    im displaying a table and without line border between them in the following way:
    package           | description              |  delivery
    85309857450   | certain  description |  8519863681                                                                               
    9101226450     | some description    |   8517573681
    .                      . |.                             . |  8517573663 
    .                      . |.                            .  |  8517573671 
    9109857450     | other  description   |  8519863681
    i would like to add a bottom border line between every package and after every line like this:
    package           | description              |  delivery
    85309857450   | certain  description |  8519863681                                                                               
    9101226450    | some description     |   8517573681
    .                     . | .                             . |  8517573663 
    .                     . | .                             . |  8517573671 
    9109857450   | other  description     |  8519863681
    (the cells that contain the value '.' in the tables were added only for displaying this post the right way- they should be blank)
    Is it possible?
    Edited by: moshe reiss on Mar 2, 2011 10:16 AM
    Edited by: moshe reiss on Mar 2, 2011 10:20 AM

    Hi Moshe,
    lets say you have a simple table with one header & 1 body row with 4 fields A,B,C,D.
    if you want a border if A value is not null have the below javascript on form ready event of field A.
    Make sure you have no borders defined for the table at any element.
    if(this.rawValue != null || this.rawValue != "")
               this.parent.border.getElement("edge",2).presence = "visible"; // sets bottom border to the data row node.
    Note: 0 = top
    1 = right
    2 = bottom
    3 = left */
    Since I have used this property and no absolute paths, if you just copy paste my code it should work (hopefully ha ha ha).
    if you need my test file give me a test mail to my ID.
    Cheers,
    Sai

  • Printing double line in Column label Box/Table Line Type of smartform

    Hi,
    In MAIN window, in ITEM table, the header box, (where column labels are printed), one double lines r printing!! it looks like (not exactly) instead of single line (________) its printing double lines (======), so, pls. let me know, Wht culd be the reason?
    Thank you

    Hi,
    Check that if you used table borders in attributes of line types.
    And also check if you are using sy-unline...
    Regards,
    Shankar.

  • How to table double line

    In the example, Building tables.vi, the first row and the first column has a double line.
    How do I do that on the front panel?
    creating the double-line.

    Right click on the table and select Visible Items>Row Headers and Visible Items>Column Headers. the data in Row and column headers are not part of the 2D string array that is a table but are available from the properties RowHdrs[] and ColHdrs[] as the example shows.

  • Adding One Line Code in all tables in Designer Trigger.

    I have 300+ tables in my Schema (All tables generated through Designer), I want to add one line of code in the begining of "Before Inset Row Trigger" of all tables, So what is the fastest way of doing that,
    Adding One Line Code in all tables in Designer Trigger.
    I don't want to go and modify each and every table

    You'll have to write a script that reads out the current contents of your triggers, add your line to this contents and dynamically "create or replace" the new trigger text.
    Beware, trigger_body column of user/all/dba_triggers is in a column with datatype LONG, so you'll have to use some sort of conversion.
    Good luck.
    regards,
    Rob.

  • Adding an extra line in the table control

    Hi All,
    How can we add an extra record in the table control after the user hits ADD button?We tried doing it by incrementing the lines field in the table control,but it is executing the PBO part again after hitting the ADD button.Any SAP standard program will be helpful.
    Thanks,
    Rakesh.

    Hi,
    I think you can do that by inerting new line to Internal table that used in your Table Control. Here the sample:
    TC_DATA = Your Table Control
    IT_DATA = Your Internal Table used for Table Control.
    In your MODULE USER_COMMAND INPUT, add this code:
    IF OK_CODE = 'ADD'.
      CLEAR: IT_DATA.
      APPEND IT_DATA.
    ENDIF.
    Regards,

  • Adding a New row in Workbook above Table values

    Hi,
    I have created a Workbook for which i need to add 2 additional rows manually at the top.  I added a row by deleting the Blue color line (with word 'Table').  But when i refresh the workbook, the blue color line is appearing again and the row which i added disappeared. 
    How do i make this possible?  Is there any way through which i can add the lines just above the Table values?
    Any help on this will highly be appreciated.
    Regards,
    Murali

    Hi,
    As per my view , Table name was written in the Backend with VB script hence its require change that first later you can include the Additinal rows .
    Regards,
    satya

  • Adding a Goal Line to a chart in Webi

    Post Author: geozuh
    CA Forum: WebIntelligence Reporting
    Does anyone know how to add a goal line to a chart created in WEbi? It seems like this would be a standard option.

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    geozuh,
    You would think that adding a goal line to a WebI report would be an available option within the software package, but it is not (but this sure sounds like a viable enhancement, so hopefully some of the Business Objects Enhancement Gurus are listening in).
    It should be possible with a bit of fiddling with data in your database to create a "reference-type" table that could mimic all of the data values present but you would "plug" a metric-type column with the goal.  For instance, on your bar graph you have x and y coordinates.  The x could be the total sales by year, the y is the items (I know, I should be using an example from E-Fashion, but I'm not up-to-speed on it).  In your "reference-type" table you would replicate all of the year and item data and create a new column (perhaps called "goal") which you plug with the goal value.  In your universe you can link the two tables and when the report runs, voila you have all of your data.  Now you can use the "vertical bar and line" graph to plot your old x and y and use z for the goal.  Just a thought, and I know, "it's the long road to China", but hopefully you've got some ideas to tool with now.

  • I format a cell with a double line at the bottom and it appears until I move to another cell and the formatting is lost.

    In Numbers, I format a cell with a double line at the bottom and it appears until I clik on another cell and then it disappears.

    When you describe the "double" line are you talking about something like this?
    If so this is only selecting an edge of a cell.  You still have to select:
    1) Line style using the menu to the right of the one I have circled (currently  "Thin")
    2) Line width using the menu to the right of the previous one and, finally,
    3) the line color using the menu to the right of the previous one
    Even so I have not found a way to copy cell border formatting so I ALWAYS wait until the very end to add border formatting.

  • Schedule line is missing in table YVBEP

    Hi All,
    We added a new custom field in schedule line tab. For which we added code in PAI and user exit MV45AFZZ. When we are adding a schedule line we are getting the following error message:
    Schedule line 000010 0004 is missing in table YVBEP
    Message no. V1506
    The schedule line 0004 for the item# 000010 is having only 'confirmed qty' and 'rounded qty and order quantity' are both 0's. This schedule line was generated as there was no stock for the schedule line entered by user .
    Please let me know what has to be done to resolve this issue.
    Thanks,
    Karuna.

    Hi
    See SAP Note 178328 - Problems due to incorrect user exits in SD.
    This note says:
    The Y tables play a role only for the change mode of document
    processing. They contain the original status of those table entries
    that have been changed during the current transaction. Therefore,
    the entries in the Y table reflect the previous status of the
    document in the database.
    and
    You add a table entry. There is only one entry in the X table
    that has the update indicator I. There is no entry in the Y
    table.
    so, check in XVBEP that the field UPDKZ has the value 'I'.
    Read carefully this note
    Regards
    Eduardo

  • Module pool ---Problem in finding the line index for the table control

    Hi Friends,
    I am working in Module pool programming.
    My requirement is when i select any record on the lead selection I need to find out the index of the line on which  row i have selected.
    Could any one please suggest me the proper solution how to get the line index for the table control in module pool programming.
    Thanks
    Satish Raju

    Hi Raju,
    Follow the steps
    <li>U should take one variable in your internal table or in structure which is used for table control fields.
          DATA :BEGIN OF itab OCCURS 0 ,
                mark TYPE c ,
                matnr LIKE mara-matnr ,
                matkl LIKE mara-matkl,
                maktx LIKE makt-maktx,
            END OF itab .
       controls: tabc types tableview using screen 100.
    <li>This mark variable should be given in Table control properties. follow the path
    double click on the table control-->attributes .->select w/SelColumn and in that give itab-mark.
    <li>Flow logic of the screen
       process before output.
         MODULE status_0100.
         LOOP AT itab with control tabc
         endloop.
       process after input.
         module cancel at exit-command.
         LOOP AT itab.
           MODULE read_table_control.
         ENDLOOP.
         MODULE user_command_0100.
    <li>read_table_control module code
         MODULE read_table_control INPUT.
         MODIFY itab INDEX tabc-current_line."this will update the itab table
                                             "mark field with 'X ' whatever we
                                             "have selected on table control
         ENDMODULE.
    <li>If you want to Delete some of the records from Table control follow this code u2026Create one pushbutton and give Fucnction code to that and write below code
       CASE okcode.
         WHEN 'DELETE'.
           LOOP AT itab WHERE mark = 'X'.
             DELETE itab.
           ENDLOOP.
       ENDCASE.
    I hope that it helps you.
    Thanks
    Venkat.O

  • How to draw and modify double lines with Adobe Illustrator?

    I need tot draw roadmaps. This should be easy using the pen tool, but my problem is that I cannot find a way to draw double lines with this tool. I have seen many fancy border styles and patterns. Some do have double or even quadruple lines, but the problem is than that they have an offset from the vector line and the space in between the two lines (the edges of the road) cannot be filled. Somewere I also found some pens called 'Double line 1.1' to 'Double line 1.6' but they also had an offset from the vector and I could not chance the size of the lines and the interval in between them independently.
    What I am looking for is a way to draw two lines in parallel and have the option tot fill the space in between with a color or even a pattern.
    The color and size of the lines should be changeable to make a distinction between several types of road.
    Is there an existing set of pencils for this purpose? It would be nice to be able to draw not only roads, but also railways and rivers!
    I am surely not the first person who needs to do this?
    I use AI version 6

    Jacob,
    Thanks for the answer. I have been searching for a solutions for a long
    time, but today I found the solution on a forum (not on this one). That
    solution is exactly as you described below, i.e. using a coloured line and a
    narrower white line on top of the first one. My problem was that I did not
    know how to create a custom brush based on the two lines. Now I know how to
    do that. However, I still have the problem. I can now draw double lines and
    I can change the color of the background line (the coloured one) but I
    cannot change the white colour of the narrower line. I assume that I have to
    completely redefine a new brush when I need to change that colour too.
    Regards,
    Rob Kole
    Van: Jacob Bugge [email protected]
    Verzonden: donderdag 28 maart 2013 17:04
    Aan: RKOLE
    Onderwerp: How to draw and modify double lines with Adobe
    Illustrator?
    Re: How to draw and modify double lines with Adobe Illustrator?
    created by Jacob Bugge <http://forums.adobe.com/people/Jacob+Bugge>  in
    Illustrator - View the full discussion
    <http://forums.adobe.com/message/5186535#5186535

  • In "LOOP ... WHERE ..." the line type of the table must be statically defin

    Hi All,
            I have written the code, for greater than (GJAHR) 2007 and restricted company codes ( table name = ZGLCCODE).
         Here I have written the following the code which is giving an error
    In "LOOP ... WHERE ..." the line type of the table must be statically defin
    ZGLCCODE Contains only restricted company codes.
    Code is as follows
    TABLES : ZGLCCODE. 
    DATA : LT_DATAPACKAGE TYPE TABLE OF DTFIGL_4.
    DATA : LS_PACKAGE TYPE DTFIGL_4.
    TYPES: BEGIN OF LS_TZGLCCODE,
           ZBUKRS type BUKRS,
            END OF LS_TZGLCCODE.
    DATA : LT_ITZGLCCODE TYPE LS_TZGLCCODE OCCURS 0 WITH HEADER LINE.
    DATA : LI_NUM TYPE I,
           LC_ZGJAHR TYPE BSEG-GJAHR VALUE '2007'.
    SELECT ZBUKRS INTO TABLE LT_ITZGLCCODE FROM ZGLCCODE.
    Note:  "C_T_DATA" dynamic structure = "DTFIGL_4" structure
    *-  Remove from the DataSource Company Code -
    LOOP AT C_T_DATA INTO LS_PACKAGE WHERE GJAHR GE '2007'.
    READ TABLE LT_ITZGLCCODE WITH KEY ZBUKRS = LS_PACKAGE-BUKRS.
    IF SY-SUBRC <> 0.
       APPEND LS_PACKAGE TO LT_DATAPACKAGE.
    ENDIF.
      CLEAR LS_PACKAGE.
    ENDLOOP.
    IF LT_DATAPACKAGE[] IS NOT INITIAL.
    DESCRIBE TABLE LT_DATAPACKAGE LINES LI_NUM.
    IF LI_NUM GT 0.
       REFRESH C_T_DATA.
       APPEND LINES OF LT_DATAPACKAGE TO C_T_DATA.
       REFRESH LT_DATAPACKAGE.
       FREE LT_DATAPACKAGE.
    endif.
    ELSE.
       REFRESH C_T_DATA.
    ENDIF.
    Please give me your valuable suggestions.
    Thanks
    Ganesh Reddy.

    Hi Ganesh,
    whatever you do, you can try like this:
    1 - any code posted should be wrapped in \
    then try something like this:
    field-symbols:
      <tabrec> type any,
      <field>   type any.
    sort ITZGLCCODE by bukrs.
    LOOP AT C_T_DATA ASSIGNING <tabrec>.
      ASSIGN component 'GJAHR' of structure <tabrec> to <field>.
      check <field> <= 2007.
      ASSIGN component 'BUKRS' of structure <tabrec> to <field>.
      READ TABLE LT_ITZGLCCODE WITH KEY ZBUKRS = <field>
        BINARY SEARCH TRANSPORTING NO FIELDS. "speed up the volume.
      IF SY-SUBRC 0.
        MOVE-CORRESPONDING <tabrec> to  LS_PACKAGE.   
        APPEND LS_PACKAGE TO LT_DATAPACKAGE.
      ENDIF.
    ENDLOOP.
    Regards,
    Clemens

  • How to delete the line for 300SAP* in table USR02 in SQL Management studio

    Hello
    I used to delete the line for 300SAP* in table USR02 in SQL Enterprise Manager. After I could log on with “pass”.
    I wander how to delete it in SQL Management studio. When I expand tdatabase it takes so long time and it is uncontrollable

    Hello,
    you have to delete the row by a sql statement.
    Open a new query and run a script like this:
    use <Your SID DB>                 -- e.g. use PRD
    setuser 'your sid in lowercase'  --- e.g. setuser 'prd'
    delete from USR02 where MANDT = '300' and BNAME = 'sap*'
    go
    Run a complete backup before deleting data manually.
    Regards
      Clas

  • How to select LAST line from a SAP table?

    Hi developers,
    I need to select the last line from a SAP table, NOT from an internal table.
    Something like
    SELECT SINGLE LAST FROM pa00169..
    any help is more than welcome.

    Javier,
    Based on this statement from you:
    "i created a Z table, its a config table that stores some bussines rules, and an id counter, so in order to update that counter i need the last line of the ztable."
    I have one additional solution which is the "text box" approach IF the 'id counter' mentioned above is a numeric data type.
    If so, use an SQL function to get the highest value of ID_COUNTER.
    Then simply add one to it to produce a new, unique, higher-order primary key.
    See below:
    data: l_id_counter like ztable-id_counter.
    data: new_id_counter like ztable-id_counter.
    select max( ID_COUNTER ) from ztable into l_id_counter.
    new_id_counter = l_i_counter + 1.
    Now new_id_counter will be the unique, primary key IF this is the only field in ZTABLE's primary key.
    This will also GUARANTEE that your new record is built correctly.

Maybe you are looking for

  • How can i move a video file from itunes to my camera roll

    I am trying to relocate vids i made with another device and imported to my itunes to my camera roll or other app (files box, private camera, photofolders etc...) Is it possible? Will I have to change the video formats? They are all mp4 vids.

  • Seed_Database.dfb containing the datafiles information is missing

    Hello All, I installed Oracle 11g R2 on an HPUX server While i am trying to create a database using the dbca, it fails because of this error: the file Seed_Database.dfb containing the datafiles information is missing. Your help pls. what is the solut

  • Updation of Special Ledger for Plan data

    Hello We have a special ledger set up ( custom table ), the table gets updated with the data online. We have couple of co codes having controlling area 1001 and one that is having only STAT. The plan data for that co code( with STAT) is not getting u

  • Another not working...

    i was putting some new songs on my ipod and the update box came up, i clicked enter and went to update my ipod and then itunes went all funny looking (the text had duplicated and looked like there was a shadow). so i retsrtaed my computer because aft

  • Mail in Lion cannot save attachments in rich text format

    I used to be able to save attachments in Mail with Snow Leopard if the "Include Attachments" option is selected and the mail is saved in rich text firmat. When I open the saved files using TextEdit, the attachments are included. However, I just disco