Pafe count in footer of a table in a form

hi friends,
I just want to print the page number detaisl in the footer of the SMARTFORM .
I just dragged the values from the system folder and use it as usual.
But the values are displayed in such a manner
for sy-page of sy-printpage
gives 1 of *
2 of *
9 of *
10 of 31
11 of 31
31 of 31
But when i give the same values in a separate or in a separate text , i can get an expected result as
1 of 31
2 of 31
31 of 31
can somebody help me to solve this problem.
why it happens so , only in the footer of an table, and why the values are not printing only upto 9?
tell me some possible ways of solving this problem

Hi kumar,
Instead of
sy-page of sy-printpage
Use
&SFSY-PAGE& of &SFSY-FORMPAGES&.
The SFSY structure is the one to be used for system fields in smartforms.
Please try this and it should work.
Regards,
Aditya

Similar Messages

  • Page count in the footer of a table in the form layout

    hi friends,
    I just want to print the page number detaisl in the footer of the SMARTFORM .
    I just dragged the values from the system folder and use it as usual.
    But the values are displayed in such a manner
    for sy-page of sy-printpage
    gives 1 of *
    2 of *
    9 of *
    10 of 31
    11 of 31
    31 of 31
    But when i give the same values in a separate or in a separate text , i can get an expected result as
    1 of 31
    2 of 31
    31 of 31
    can somebody help me to solve this problem.
    why it happens so , only in the footer of an table, and why the values are not printing only upto 9?
    tell me some possible ways of solving this problem

    Hi Kumar,
      Use final window type and put your sfsy variables in that window then it will work.
    Reward if helpful.
    Regards,
    Kalyan.

  • Footer visible in table

    Hi
    I am trying to add a footer to a table by marking footer visible as true.
    Problem is I get no footer, instead I get a horizontal scrolling.
    Does any of u know how do I add this footer?
    Thanks
    Nitsan

    HI Nitsan,
    Please have a look at the following threads,
    [link1|Re: row count in table ui element]
    [link2|WDTABLENAVIGATION;
    PAginator is kind of depricated now..
    Thanks,
    Aditya.

  • How can we print the page numbers for TABLE OF CONTENTS form When its excluded from the form page count ?

    Hi Experts,
    We have TABLE OF CONTENTS followed by 100 forms with totally 215 pages.
    We have checked in the Exclude from form page count option for TABLE OF CONTENTS form in Group level.
    The forms followed by TABLE OF CONTENTS form all are using FORMSETPAGENUM rule in footer.
    the very first form followed by TABLE OF CONTENTS form the page number starts at 1 of 215 and the last form ends at 215 of 215.
    Now i want to print the Page number for TABLE OF CONTENTS form alone.
    How can we do that ?  Any thoughts ?
    Regards,
    RAMAN C

    Hi Raman,
    I guess, you have included 'Exclude Page Count' option in Table Of Content (TOC) form.
    There is a limitation in studio. The page number functions (FORM PAGE NUM OF/ FORMSET PAGE NUM OF) will be ineffective when we select the 'Exclude Page Count' option in TOC form. Hence, you was not able to print the Form Page Count in TOC form.
    The only way to print page count is to deselect 'Exclude Page Count' option. Then you can normally print the TOC Page Count in TOC form. However, thiS TOC page count will add to the Total formset Page Count. The Formset Page Count can be controlled through Postransdal using the script [FORMSET PAGE NUM = TotalPages() - 1]
    Regards,
    Mahesh

  • Footer in the table control?

    hi,
    How do i display the footer in the table control (which allows me to browse the table page by page)?
    rgds,
    ram

    Hi,
    see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/ac884118aa1709e10000000a155106/frameset.htm">documentation</a> and note that you can decide on paginators or scrollbars.
    Regards, Heidi

  • Count of rows of a table in header

    Hi Experts,
    I am stuck in a tricky scenario.
    I need to get the count of rows of a table in a webi report in the header of the report.
    And the count should change dynamically according to the filtering done on the table.
    For eg.
    If I have 10 countries in a table, so table has 10 rows.
    Now the count on header should show 10.
    Now if we filter the column to 5 countries, the count on the header should change to 5.
    Any Idea's.
    Regards,
    Gaurav

    Nops
    It doesn't work.
    Let me reframe my issue again:
    I dragged country object on my report.
    UK
    US
    JAPAN
    CANADA
    Now lets say in the report title, I write the formula as =Count(country)
    It will give me 4.
    Now I clicked on the column country and applied filter i.e. country = US ; UK
    Now the block shows
    UK
    US
    In the header the cell still shows 4, which I want to see as 2.
    Any ideas....?
    Thanks
    Gaurav

  • How to get count of rows for a table?

    Hi,
    How to get count of rows for a table and secondly, how can i have access to a particular cell in a table?
    Regards,
    Devashish

    Hi Devashish,
    WdContext.node<Your_node_name>().size() will give you the no: of rows.
    This should be the node that is bound to the table's datasource property.
    WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value); will select the row at that particular index.
    You can access an attribute of a particular row as
    WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value).get<attribute_name>();
    Hope this helps,
    Best Regards,
    Nibu.
    Message was edited by: Nibu Wilson

  • How to count number of rows in table

    can I get number of row in table except Count(*) in pl/sql
    is there any other way

    Also posted and answered here
    how to count number of rows in table
    count(*) will be the fastest way. It is only slow if the table has a vast number of rows, in which case why do you need to know the tables has 73552436467721 rows and not 73552436467737 rows. It doesn't seem to be much use. Either that or you are counting them a lot, which again seems rather pointless.

  • The biggest count of rows of sys tables

    Hii ??
    I want to learn how can I find the biggest count of rows of sys tables or
    which table has around 900000 records on sys user database oracle 10g??

    Hello;
    What purpose would knowing the row count in tables owned by SYS serve ? The query below will give you a fair idea of row counts in tables owned by SYS assuming that statistics have been recently gathered for these tablesselect table_name,num_rows from dba_tables where owner='SYS';Varad

  • Count rows in an internal table

    Anybody how knows how I can count rows in my internal table?

    Hi,
    Data: lines like sy-tabix.
    DESCRIBE TABLE ITAB LINES LINES.
    where itab is your internal table.
    This will work out.
    Please award sutiable points .
    Regards,
    Irfan

  • Dynamic setting of line count and footer in classical report

    Hi all,
    In classical report,we can set line count and footer at the beginning of the report  as Line-count 6(2), here out of 6 lines 4 lines is for content and 2 lines is for footer (assume no standard heading), but if my report produces less content than 4 say 3 at run time ,then footer will not be displayed .Here again i have to set line count and footer as 5(2) in order to get the footer to be displayed ,so How can i achieve dynamic setting of the line count and footer,
    Thanks,
    Avinash

    Use RESERVE,
    START-OF-SELECTION.
    RESERVE 6 LINES.           "at the last of your code
    This will trigger a page-break & footer will be displayed.

  • I want count "space" token in my table field and separate them

    I want count "space" token in my table one field column and separate the word between them.
    word are store in another table.
    possibly give solution in[b] Postgres DB and Oracle DB
    for example
    table name search
    column name is keyword
    keyword
    " chinese colaba" --> spaces are 2
    " chinese borivali (W)" --> spaces are 3
    " deal shoes bandra (E)" --> spaces are 4
    and separate word in new table
    field
    chinese
    colaba
    chinese
    borivali
    (W)
    deal
    shoes
    bandra
    E)
    Message was edited by:
    Rajiv_Birari

    Hi,
    Can you rephrase you Question..!!
    My understanding with your quesiton might be thinking about Partitions or Moving the data to Different tablespace.
    Thanks & Regards,
    Pavan Kumar N

  • Program (PL/SQL) for count the registers of all tables in a schema

    Hi...
    I create a little program , for count the registers of all tables in the schema...
    If you need , send me your email...
    Atte
    Hector

    Hi,
    You can create a script by yourself by executing the script mentioned below:
    Connect as sys or system....
    SQL> spool test.sql
    SQL> select 'select count(*) from '||owner||'.'||table_name||';' from dba_tables;
    SQL> spool off;
    Hope this helps.
    Regards,
    -Praveen.
    http://myracle.wordpress.com

  • Multiple rows in a single table cell - Adobe forms

    Dear All
    I am developing an adobe form which conatins a table alongwith other screen/ form elements.
    This table is bound to a data node and contains only two columns. Number of rows will be determined at run time.
    Each cell of the table will contain three rows seperated by a space in between them. Please refer to the diagram below for more understanding.
    Yes
    ABC
    No
    PQR
    Not Known
    XYZ
    I have no idea how to achieve this.  Can anyone help?
    Regards
    Vineet Vikram

    Hi,
    Here are the steps how you can do it.
    1. Create a table.
    2. In the Library palette, click the Standard category and drag the Table object into a cell in the main table.
    Note: If you selected Donu2019t Show This Again in the Insert Table dialog box, when you select the Table object from the Library palette, LiveCycle Designer automatically inserts a table with the same number of columns and rows that you inserted the last time you used the Insert Table dialog box.
    3. In the Insert Table dialog box, enter the number of columns and rows. You can enter a maximum of 20 columns and 50 rows. You can add more columns and rows after the table is created by using the Insert commands on the Table menu.
    4. To add a header row, select Include Header Row In Table.
    5. To add a footer row, select the Include Footer Row In Table.
    6. Click OK.
    Regards
    Runal

  • Adding dynamic size table to Interactive Form

    Hello everyone,
    I have a node with multiple elements that i would like to show in an interactive pdf form.
    I'm using the Adobe LiveCycle Designer to do it, but i'm only managing to bind "solo" variables, not tables.
    How can i associate dynamically a table with several lines to a pdf interactive form ? I tried a list box but i still only get the first element shown in the box. Am i doing anything wrong ?
                 Thank you in advance.
                           Nuno Santos

    Hi,
    Basically the general way to add a table to INteractive form is by adding a subform elemet to a subform element and(i mean subform in a subform), now map the fields u want to be displayed as a table.
    For the fisrt subform set the LayoutType-Flow Content,Flow DirectionTable.
    Then select the allow page breaks within the content option.
    And the binding should be Normal.
    for the second subform:
    LayoutType-Flow Content,Flow DirectionTable row.
    Now also select the option allow page breaks.
    Then for Binding tab: select the Repeat Subform for each data Item, then min count=1.
    And now if ur table columns contain names like abc, def and xyz.
    Then in the script editor code something like this
    abc[*]; under show: initilaze, language: Formcalc and Run at: client
    Hope this should work out for you.
    let me know if u have any more queries.
    Thanks,
    Lohi

Maybe you are looking for