Underline Problem in template of a table in smartforms

Hi friends,
               I have a requirement wherein i need to draw two line one above text as shown below :
Total
Invoice Amount
Amount Eligible for cash
I have copied std smart form LB_BIL_INVOICE
template INFO_ENDSUMMEN in table TABLEITEM has texts .
Now when I am using _ option in template tab for Total,
I
nvoice Amount
Amount Eligible for cash  get invisible in output(though it was shown before).
Can you guys help me out.I just need
Total
Invoice Amount
Amount Eligible for cash
to be displayed in output.
SATISFACTORY ANSWERS WOULD BE REWARDED .

Hi Rajiv ,
Its getting disappered because the height of the cell is smaller than your text. so better increase your cell height.That is drag the lower line of your cell little down or increase its height by 1mm or 2 in details of template .
The simplest way which i feel is create a template with exact height width and click on upper frame and lower frame button other than selecting pattern there.
Try this it wil surely work
Regards
Swetha.

Similar Messages

  • Problem with printing footer of table in Smartforms

    Hi Gurus!
    I have created a table in a window in Smartforms. I need to put in the totals at the footer of the table, displaying these values only at the end of the page. The problem I have encountered is that the footer prints immediately after the line of the main area. The form i'm printing right now is pre-printed, so I need to write the footer at a specified area.
    Let's say my table accommodates 20 lines. The footer must be written immediately after the 20th line. If, on the last page, there are only 10 lines, the footer must still print on the area after the 20th line.
    Really need your help guys, i'm hoping for a quick response. Thanks!

    I need to put both the main area and the footer in the same loop because there is a field where, when changed, it must page-break. The fields/values in the main area and the footer are all part of a sub-table that depends on a field of a bigger table.
    my smartform looks like this:
    Loop at header table.
       if order number changes, start new page.
       loop at table x.
           main area - print items of the table where order_number = header_table-order_number.
           footer - print totals of the table where order_number = header_table-order_number.
    Endloop
    So you see, i need to place the footer inside the loop also. It's the only way I know to work around this.
    Thanks.

  • How to insert a template in a table of smartform

    In printing invoice, iam displaying invoice item details with in body of table, it has displaying some records but there was some gap between the records and border line of body. i want to place a template in a table but there was no change in output.
    1
    a
    b
    c
    d
    2
    e
    f
    g
    h
    3
    g
    h
    i
    j
    Gap               gap
    i want to fill the gap with lines, as the items displayed changes dynamically with billing document number
    so i tried placing a template in main window but it is not working
    it is possbile to fulfil my requirement

    Hi..
    The border line that is displayed now is that of the MAIN window boundary. if you want to print a line immedietly after the line items end, then you need to use a suitable frame which is available in Table tab of table that you have created. These buttons are just below the Table tab described as SELECT PATTERN, OUTER FRAME etc.
    Hope this works.
    Regards,
    Karthik

  • Table Underline problem

    I am working with a table & I want some items underlined & others not. As soon as I underlined the text in one cell, all text in cells below are automatically underlined! I have hi-lighted & removed the underline using Cmd-U or Format/Font/Underline & it removes the underline as I wish-- until I leave that cell. Then the underline reappears.
    Please advise, thanks.

    You gave me a clue. I recreated your test on a new pages column & I could not recreate the underline problem either.
    On my problem Table, I didn’t intentionally select the entire column or portion of the column. But the bottom half of my “C” column was staying underlined. So, I deliberately selected the portion of the column that was incorrectly underlined & I used Cmd-U & it Worked! It is not underlined & stays not underlined.
    Thanks,
    Steve
    Message was edited by: growler62000

  • How to restrict height of table  in smartform without using template

    Hi Gurus,
    I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because  page-breaks are used in the form .
    Your solutions are highly appreciated.
    Thanks and regards,
    Meenakshi

    Hi,
    As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.
    A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.
    If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...
    This way all time the table will take the height of 5 rows.
    As i said earlier this could be a temporary solution.
    Thanks,
    Hari Prasad.

  • Font problem in template

    Hi All,
    in my template i have table of contents in the following format
    heading1....................................................1
    heading2...................................................1
    heading3..................................................1
    I need the the whole template font to be as verdana,8 . But when i change the font of table of contents to verdana 8(which was previously in times new roman). I got the pdf output as follows
    heading1.....................................................1..
    headning2...................................................1..
    heading3....................................................1..
    I couldn't figured out what the error was.
    thanks in advance..
    Edited by: user10280715 on 07-Oct-2008 19:38

    This is still an issue with 11.1.1.6. I have a dozen or so simple form letters, but it is frustrating me having to fiddle with them to get them stop change the font size.
    Seems to be a problem if I change indentation, or to or from having bullets.

  • Problem while inserting into a table which has ManyToOne relation

    Problem while inserting into a table *(Files)* which has ManyToOne relation with another table *(Folder)* involving a attribute both in primary key as well as in foreign key in JPA 1.0.
    Relevent Code
    Entities:
    public class Files implements Serializable {
    @EmbeddedId
    protected FilesPK filesPK;
    private String filename;
    @JoinColumns({
    @JoinColumn(name = "folder_id", referencedColumnName = "folder_id"),
    @JoinColumn(name = "uid", referencedColumnName = "uid", insertable = false, updatable = false)})
    @ManyToOne(optional = false)
    private Folders folders;
    public class FilesPK implements Serializable {
    private int fileId;
    private int uid;
    public class Folders implements Serializable {
    @EmbeddedId
    protected FoldersPK foldersPK;
    private String folderName;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "folders")
    private Collection<Files> filesCollection;
    @JoinColumn(name = "uid", referencedColumnName = "uid", insertable = false, updatable = false)
    @ManyToOne(optional = false)
    private Users users;
    public class FoldersPK implements Serializable {
    private int folderId;
    private int uid;
    public class Users implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer uid;
    private String username;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "users")
    private Collection<Folders> foldersCollection;
    I left out @Basic & @Column annotations for sake of less code.
    EJB method
    public void insertFile(String fileName, int folderID, int uid){
    FilesPK pk = new FilesPK();
    pk.setUid(uid);
    Files file = new Files();
    file.setFilename(fileName);
    file.setFilesPK(pk);
    FoldersPK folderPk = new FoldersPK(folderID, uid);
         // My understanding that it should automatically handle folderId in files table,
    // but it is not…
    file.setFolders(em.find(Folders.class, folderPk));
    em.persist(file);
    It is giving error:
    Internal Exception: java.sql.SQLException: Field 'folderid' doesn't have a default value_
    Error Code: 1364
    Call: INSERT INTO files (filename, uid, fileid) VALUES (?, ?, ?)_
    _       bind => [hello.txt, 1, 0]_
    It is not even considering folderId while inserting into db.
    However it works fine when I add folderId variable in Files entity and changed insertFile like this:
    public void insertFile(String fileName, int folderID, int uid){
    FilesPK pk = new FilesPK();
    pk.setUid(uid);
    Files file = new Files();
    file.setFilename(fileName);
    file.setFilesPK(pk);
    file.setFolderId(folderId) // added line
    FoldersPK folderPk = new FoldersPK(folderID, uid);
    file.setFolders(em.find(Folders.class, folderPk));
    em.persist(file);
    My question is that is this behavior expected or it is a bug.
    Is it required to add "column_name" variable separately even when an entity has reference to ManyToOne mapping foreign Entity ?
    I used Mysql 5.1 for database, then generate entities using toplink, JPA 1.0, glassfish v2.1.
    I've also tested this using eclipselink and got same error.
    Please provide some pointers.
    Thanks

    Hello,
    What version of EclipseLink did you try? This looks like bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=280436 that was fixed in EclipseLink 2.0, so please try a later version.
    You can also try working around the problem by making both fields writable through the reference mapping.
    Best Regards,
    Chris

  • Problem regarding the creation of Table using CSS.

    Hi ,
    Here I have a Problem regarding the creation of Table using CSS.
    In My Application i have a table with multiple rows(Rows are Dynamically added to the table).First i am setting the table with the following properties:
    width:900px;
    height : auto,
    Overflow : visible,
    Max-height: : 200px.
    If I use above properties,I'm getting a table with 5 or 6 rows(height upto 200px).After that i am getting the Vertical ScrollBar.
    The problem is when a table has many columns, Vertical and Horizontal Scrolls are coming at the time of setting the table. The table height is not Increasing dynamically.
    How can i use "height" property in CSS? (I want the table height to be increased when the columns are more.)
    Thanks & Regards
    Madhavi

    Hey humble user. Errr I'm trying to understand what ur trying to do. U want to create a section of a region destructively from an existing region right? If so select the option convert to new region (opt-comm-R or selecting it by right clicking). Check your audio bin to make sure. Whats the "merge" function? Are u refering to the glue tool?

  • Problems with Template JDeveloper 11g

    Hi! I have problems with template in Jdeveloper 11g.
    I had created jspx page from templeate:
    <?xml version='1.0' encoding='windows-1257'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1257"/>
    <f:view>
    <af:document>
    <af:form>
    <af:pageTemplate viewId="/augiTemplate.jspx">
    <f:facet name="mainArea"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    THERE are error:
    JSF page template at path /augiTemplate.jspx requires a model binding!!!
    Why it is so an what it means? Pleas help!
    Best regards!

    Hi,
    it means that your template has an ADF binding (PageDef) reference. When you create a page in the JSF page dialog and assign the template then the binding reference is created for you. You should see a bulb in the page source editor. Press it an it should create the missing binding for you
    Frank

  • Problems with templates overtaking first line?

    Has anyone else had a problem with templates taking over the first line of code in any page that a template is applied to?
    I created a template that starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="head" -->
    but when that particular template is applied to a page it writes this to the code:
    <!-- InstanceBegin template="/Templates/default.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="head" -->
    I don't particularly mind this, but in IE8, because the comment is the first line - and NOT the doctype, it forces the browser into another doctype and breaks the page.
    Has anyone experienced this?
    I've tried re-creating my templates, but I'm not finding the reason why it decides to place that comment in the beginning sometimes..

    The problem may be that the comment is on the same line as the doctype, try putting a blank line between the template comment and the doctype statement
    e.g.
    ..... IsLocked="false" -->
    <!DOCTYPE HTML .....
    The comment is place in the line before the doctype to enable editing of server side code, (php, asp, .net, etc.).
    PZ

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • Compilation problem with templates while using option -m64

    Hi,
    I have compilation problem with template while using option -m64.
    No problem while using option -m32.
    @ uname -a
    SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    $ CC -V
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    Here is some C++ program
    ############# foo5.cpp #############
    template <typename T, T N, unsigned long S = sizeof(T) * 8>
    struct static_number_of_ones
    static const T m_value = static_number_of_ones<T, N, S - 1>::m_value >> 1;
    static const unsigned long m_count = static_number_of_ones<T, N, S - 1>::m_count + (static_number_of_ones<T, N, S - 1>::m_value & 0x1);
    template <typename T, T N>
    struct static_number_of_ones<T, N, 0>
    static const T m_value = N;
    static const unsigned long m_count = 0;
    template <typename T, T N>
    struct static_is_power_of_2
    static const bool m_result = (static_number_of_ones<T,N>::m_count == 1);
    template <unsigned long N>
    struct static_number_is_power_of_2
    static const bool m_result = (static_number_of_ones<unsigned long, N>::m_count == 1);
    int main(int argc)
    int ret = 0;
    if (argc > 1)
    ret += static_is_power_of_2<unsigned short, 16>::m_result;
    ret += static_is_power_of_2<unsigned int, 16>::m_result;
    ret += static_is_power_of_2<unsigned long, 16>::m_result;
    ret += static_number_is_power_of_2<16>::m_result;
    else
    ret += static_is_power_of_2<unsigned short, 17>::m_result;
    ret += static_is_power_of_2<unsigned int, 17>::m_result;
    ret += static_is_power_of_2<unsigned long, 17>::m_result;
    ret += static_number_is_power_of_2<17>::m_result;
    return ret;
    Compiation:
    @ CC -m32 foo5.cpp
    // No problem
    @ CC -m64 foo5.cpp
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 36: Where: While specializing "static_is_power_of_2<unsigned long, 16>".
    "foo5.cpp", line 36: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 37: Where: While specializing "static_number_is_power_of_2<16>".
    "foo5.cpp", line 37: Where: Specialized in non-template code.
    "foo5.cpp", line 20: Error: An integer constant expression is required here.
    "foo5.cpp", line 43: Where: While specializing "static_is_power_of_2<unsigned long, 17>".
    "foo5.cpp", line 43: Where: Specialized in non-template code.
    "foo5.cpp", line 26: Error: An integer constant expression is required here.
    "foo5.cpp", line 44: Where: While specializing "static_number_is_power_of_2<17>".
    "foo5.cpp", line 44: Where: Specialized in non-template code.
    4 Error(s) detected.
    Predefined macro:
    @ CC -m32 -xdumpmacros=defs foo5.cpp | & tee log32
    @ CC -m64 -xdumpmacros=defs foo5.cpp | & tee log64
    @ diff log32 log64
    7c7
    < #define __TIME__ "09:24:58"
    #define __TIME__ "09:25:38"20c20
    < #define __sparcv8plus 1
    #define __sparcv9 1[snipped]
    =========================
    What is wrong?
    Thanks,
    Alex Vinokur

    Bug 6749491 has been filed for this problem. It will be visible at [http://bugs.sun.com] in a day or two.
    If you have a service contract with Sun, you can ask to have this bug's priority raised, and get a pre-release version of a compiler patch that fixes the problem.
    Otherwise, you can check for new patches from time to time at
    [http://developers.sun.com/sunstudio/downloads/patches/]
    and see whether this bug is listed as fixed.

  • Problem in Reports(ralated to table BSEG)

    Dear ALL,
    when programs(standard and Z programs) Retriving the data from BSEG, i am getting timeout error.
    I have one more problem  that is, in BSEG table we have around 25 Million records (around 100+ companies implemented fico), so while accessing this table most of the time we are getting timeout error. From the last 6 years we did not do data archiving.
    If one or more programs accessing this table then it will affect the performance. So what do you propose is Data Archiving is the solution?
    Thanks for your time.
    Regards
    Manohar

    Hi Manohar,
                    Archiving may compact your table size, but those data may not be available to view.
    I prefer you to execute the report in background. Ckeck in SM37, if the job is finished, it ready for executing.
    Abhisek

  • Problems in WEB Dynpro The Table doesnt update

    Hi everyone, I did an WEB Dynpro Project and I created a table, and I wanna to fill that table  in the event doinit but it didnt update
    this is my code into a Controller methond
    public void llenaTabla( )
    IPublicVisualizarContrato.IProductDataElement prd = null;
        for(int i=0;i<5;i++)
          prd = wdContext.nodeProductData().createProductDataElement();
          prd.setProveedor("Provedor_"+i);
          prd.setAbasto("Abasto_"+i);
          prd.setAnual("Anual_"+i);
          prd.setConsigna("Consig_"+i);
          prd.setDistribucion("Dist_"+i);
          prd.setTemporada("Temp_"+i);
          prd.setPostVenta("PostV_"+i);
          prd.setNoVendible("NV"+i);
           wdContext.nodeProductData().addElement(prd);
    And I called this method in Another view in methos doinit()
    public void wdDoInit()
        //@@begin wdDoInit()
         wdThis.wdGetVisualizarContratoController().llenaTabla();
         //wdThis.wdFirePlugOutput();
        //@@end
    after deploying the table is empty
    Someone Could you tell what is the problem, thank you very much

    Hi Nitesh
    Thak you for your help, I solved that detail, but I have a problem some colums of the table are linktoaction, my question is how can I pass a value to the action whe the user click on this image , thank you very much
    Atte Israel

  • CS4 Problem with Template Updates

    There's another thread on this subject, but I couldn't see any final resolution.
    I'm having a problem with Template Update.
    I  have all pages in site linked to a single template.  I built the template 1st and  then created each page from the template using normal method.
    When  I now make a change to the template, I save the template and it  automatically saves and opens a box to select pages to update. I  do NOT have to use the Updates feature on the top menus, but I have done  that too just to try different things. When I select all the files,  it updates them all, most of them correctly. BUT, one or several of them  will have a NEW Main Content (and sometimes header) superimposed on top  of the existing Main Content (or header). It shifts the page downward and to the right.  By the way, down below the screwed section, the content is all still there and the original template is still intact under the screwed up area.
    To fix it, I create a new page from  the template and start over inserting the Main Content, which is nothing  special, just formatted text.  Next time I update, that same page will  always get screwed up again, but sometimes 1 or more different pages  will also get screwed up in the same way, always with a new nested Main  Content area (on top of the original or sometimes pushed down half a  page).
    I thought it might be because of a nested Main Content in that section of the template, but I see none, or any other abnormal html.  It does not do this to all 20-30 pages, just one every time and one or more random ones.  I see nothing in html different from one page to the next.
    Don't know how to attach documents to this, but I have the template and two of the screwed up pages to send.
    Charlie
    [email protected]

    The site is http://www.michaelchekhov.net
    Public directory is /public_html, but that's the root, so the links below should work.
    These pages are out of their normal directory, so the supporting  links won't work, but you can see the code. Look at the home page and  you can see what all the pages are supposed to look like.
    The template which created the problem with the pages below is at /support/TEMPLATE index.dwt
    The page that consistently fails is called poatool.html - the bad one is at /support/BAD poatool.html
    A 2nd page that failed on that UPDATE is there also - /support/BAD bibliography.html
    The currently working copy of the page that fails everytime is /articles/poatool.html.
    Thanks.
    Charlie

Maybe you are looking for

  • Look up ESB Cross-Reference within ODI

    We have a need to look up ESB cross reference table that is populated by AIA PIPs. I saw ESB Cross-Reference KM mentioned in "Oracle Data Integrator Knowledge Modules Reference Guides 10.1.3". My question is that can this KM be used to do ESB cross r

  • Error ORA-20003: Cannot read file/...  in Cash Management?

    Dear All. I am having this Error in the Cash Management Module on the bank statement load process Error ORA-20003: Cannot read file /software/d01/oracle/interface/finance/inbound/email.9Nemail.13111507.3445704.cnv. How do I resolve this error. Thank

  • R184 System Update - Scheduled to go live March 26th, 2013

    We are announcing a new Business Catalyst release, scheduled to go live on Tuesday, March 26th, between 1AM - 6AM PST. Please refer to our blog post for an overview of all major changes. Minor enhancements and cosmetic improvements When disabling the

  • Server versus Server Admin

    The installation of Lion Server on top of Snow Leopard went smoothly but configuring it is a nightmare. It tried some features I did not use before and thenI started to lose users, groups connections and my patience. I have OS server up and running,

  • I have adobe acrobat 9 on cd. new computer does not have cd drive. how do i install? thank you

    I have adobe acrobat 9 on cd. New computer does not have cd drive. How do i install? Thank you