PDF Table action block is repeating first row in each page.

Hi All,
There is a strange problem in PDF Table action block. I am paasing one xml variable in the pdf table action block. But when it creates the final pdf  - I can see the very first row of the xml is getting repeated as first row of each page along with the header.
Is there any solution - not to reapeat the first row of the xml in each page ?
Thanks in advance for your response.
Soumen

Hi Michael,
Installation of PDF Action is done based on this link-
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1109054
MII Version - 12.0.7 Build(20)
version 1.4.5. of
the third-party iText.jar and iTextAsian.jar, from
http://www.lowagie.com/iText/download.html
Thanks,
Soumen

Similar Messages

  • Problem with PDF table Action Block

    Dear All,
    I am generatin PDF document using xMII PDF Action block.
    I am required to display output of my query in PDF Table.
    When my query returns multiple rows data is properly displayed in PDF table.But when my query returns just single row I am unable to see anything in my PDF document.
    After working on this for sometime I understood that we are required to give caption for the PDF table to see data populated in it for single row result.
    Is this the case?Without giving caption to PDF table will data not get displayed in PDF document for single row output?
    Can anyone please help me out with this?
    Thanks,
    Arti

    With Blank caption I am able to see the data, but I get a blank row above my table.This is what I do not want.I want to remove that blank row.
    Can you please suggest how can we do this
    Thanks,
    Arti

  • How to use script to get the first table row on each page?

    I create a print form to display a table. I set a conditional page break on this table, so the table rows on each page could be different.
    For example, there're total 50 rows in this table. On the 1st page, there're 5 rows, but on the 2nd page, there're only 2 rows, and so on...
    Now I want to get some value from the 1st table row on each page. How can do that? I can refer to a table row using TableRow[n], but I don't know how to calculate 'n' in script (either FormCalc or JavaScript) for the 1st row on each page.
    Any ideas?

    Hi Wei,
    There is an option of setting the overflow header in the pallette. You may check that out. It is basically used to have the table header to be seen in all pages, if the table is overflowing to multiple pages. You may put your first row as the overflow header.
    - hope this helps, Kindly update,
    thanks and regards,
    - anto.

  • First row for each entry

    hi
    i have sorted the internal table by field f1 and i need to insert the first row for each f1 entry.
    I tried AT NEW f1. But that doesnt seem to work.
    Kindlly help.
    Thanks.

    *--ENSURE THAT age IS FIRST FIELD IN INTERNAL TABLE it_gir while declaring it.....
    SORT it_gir BY age ASCENDING.
    LOOP AT it_gir INTO wa_gir.
    AT NEW age.
    <b>*--if there are fields which are getting populated with **** instead of original values....then use below statement...</b>
    read table it_gir index sy-tabix.
    MOVE-CORRESPONDING wa_gir TO wa_final1.
    APPEND wa_final1 TO it_final1.
    clear wa_final1.
    ENDAT.
    ENDLOOP.
    now it should definitely work.....
    if not check in debugging mode if data exists or not....!!!
    Regards
    Vasu

  • Getting the first row for each group

    Hi Everyone,
    I have a query which returns a number of rows, all of which are valid. What I need to do is to get the first row for each group and work with those records.
    For example ...
    client flight startairport destairport stops
    A fl123 LGW BKK 2
    A fl124 LHR BKK 5
    B fl432 LGW XYZ 7
    B fl432 MAN ABC 8
    .... etc.
    I would need to return one row for Client A and one row for Client B (etc.) but find that I can't use the MIN function because it would return the MIN value for each column (i.e. mix up the rows). I also can use the rownum=1 because this would only return one row rather than one row per group (i.e. per client).
    I have been investigating and most postings seem to say that it needs a second query to look up the first row for each grouping. This is a solution which would not really be practical because my query is already quite complex and incorporating duplicate subqueries would just make the whole thing much to cumbersome.
    So what I really new is a "MIN by group" or a "TOP by group" or a "ROWNUM=1 by group" function.
    Can anyone help me with this? I'm sure that there must be a command to handle this.
    Regards and any thanks,
    Alan Searle
    Cologne, Germany

    Something like this:
    select *
    from (
       select table1.*
       row_number() over (partition by col1, col2 order by col3, col4) rn
       from table1
    where rn = 1In the "partition by" clause you place what you normally would "group by".
    In the "order by" clause you define which will have row_number = 1.
    Edit:
    PS. The [url http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions004.htm#i81407]docs have more examples on using analytical functions ;-)
    Edited by: Kim Berg Hansen on Sep 16, 2011 10:46 AM

  • Repeat a Header on each page of a Report that includes expressions - Report Builder 3.0

    Is there a way of repeating an header on each page of a report with the built-in expressions representing the new value on each header.  Example, Page 1 is correct but page 2 - the permit number, address and Tract does not match up, it repeats all the
    information from page 1.

    Hi KittyCat101,
    According to your description, you want repeat a show with expression to show Permit Number and Address dynamically on each page. Right?
    In Reporting Services, table header is not in any group row, so when you put expression with data field into header row, it will only return the first row of that data row. This is the reason why it always shows the information as Page 1.
    In this scenario, we can make records group on Permit Number. Then we put the Permit Number and Address in the group header. Set page break between each group instance.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Repeating Group header on each page

    Hello Everybody,
    I have two groups in my report. For my first group value, i have given report - group expert - options and checked "Repeat group header on each page" assuming that my first group values will appear on each page. But it is not doing so. In one of the page the group footer values are appearing without my first group values.
    I belive my problem is my second group values are ending in one page and first group values are  extended to next page . Can any one please hep me.

    if that is the case Narukonda 1, there are several sap notes dealing with this issue...please see this sap note [here |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313333333133373339%7D.do]which deals with both orphaned group footers and group headers.

  • Repeat Group Header On Each Page not working

    Hi,
    I have a report that have 3 subreport, and in the Subreport, there is Group Headers that enabled the option "Repeat Group Header On Each Page". It works fine in the CR10 preview. However, the header won't repeat in the PDF generated by JRC.
    Any Idea?
    Thanks a lot!!

    Hi,
    Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
    Thanks
    Aasavari

  • Repeat Group Header on Each Page in Subreport won't reflect when generate by JRC

    Hi All,
    I have a report that contain several Subreports. Inside the Subreport, there are Group Header section. I have checked the option of "Repeat Group Header on Each Page". It works fine when I preview in Crystal Report. But when I using JRC to generate the report result. The group header only display on the first page of the group details.
    More, Crystal 10 Common Monthly Hot Fix (English) already installed.
    Any idea?
    Thanks a lot for your help!
    Donald

    Hi,
    Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
    Thanks
    Aasavari

  • How to repeat group head on each page

    I have problem with repeat group heaf on each page, I've ticked the option 'Repeat group head on each page' from the Change Group Option. But the group head didn't appear on each page when I previewed the report. Does anyone have a solution/explaination to this?
    Cheeers

    Sorry Gents, I did't make my porblem clear.
    To James Terry
    Yes, My reports contain one or more sub-groups (only group 1's group header needs to be repeat on each page).
    To Graham Cunningham
    I found pages , containing only group 1's group footer summarized info, don't display group 1's group header. Just like what you said ' It will only repeat on pages that display group information'. Is this a bug or sort of default rule? What else can I do if I want the group header to repeat on each page no matter whether there is group info or not, besides moving the info from group header to pager header?
    Thanks a lot.
    Regards
    Joseph

  • Repeat group footer on each page

    Hi all,
    I have a regular report with 1 Group. My problem is that my report doesn't repeat group footer on each page. I know that in Grouping options there is an option for "Repeat Group Header on each page" checkbox which makes the Group Header print on each page. I've found that Header and Footer both work together and that if you print Header it will print footer as well. The thing is I have paging functionality (<a href='http://www.crystalreportstrainingbootcamp.com/resources/trainers_talk_detail.asp?Title=03'>click here for paging details</a>) in my report in the Group, so once it reaches 14 lines in Details it goes to the next page, prints the GROUP HEADER but not the GROUP FOOTER on each report page.
    Does anybody know why?
    I found the following topic: <a href='http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=90BF3D79A308CCF6B58F1E2656225CDD?cmd=displayKC&docType=kc&externalId=c2004981&sliceId=&dialogID=360384&stateId=1%200%20356275'>Creating a fake group header for orphaned group footers</a> but it's for CR 7. Was it resolved in newer releases of CR or it still needs a work around? I'm not even sure if that will fix my problem...
    Thank you,
    Tatyana

    Hello,
    please give us the verison of your Crystal Reports product that we can investigate
    Regards,
    Falk

  • Script to get the first word on each page

    Is there a script that would make a list of the first word of each page (or, preferably, create a text box on each page and place the next page's word in that)? My document's all in one story with one text frame on each page, although there are several other frames (header, page number) applied through master pages.

    You wrote:  I changed the numbers to "8.0425in",  "4.5681in",  "8.1275in", "5.4319in" and it mostly worked - it placed the box at exactly 5 inches (X) and at 8.085 inches (Y) instead of 4.5681 inches. Any idea why?
    No. I cannot reproduce the error you describe. I assume you've checked your numbers very closely in the script--I don't normally indicate measurements as strings.
    you wrote: Something wasn't working with the styling - it kept freezing the program -
    What do you mean by "freezing the program"? Is there a specific error message?
    The paragraph style is named "firstword" and is all lowercase letters?
    firstword paragraph style is NOT in a paragraph style group, right?
    Is the first word on any page too long when formatted with the paragraph style "firstword" to fit in the text frame?

  • Dynamic Tables in PDF - repeating Header row in all pages

    Hi ,
          I have created a dynamic table in PDF, When I add rows, the table is spanning to next page, and I should get the header row in all pages. But, I am getting the header row only for the 2nd page(In Header row properties, I have choosed the header row to be displayed in all pages). I need the Header row to be displayed in all pages.
        To see the previous thread, Click [here|Dynamic Table -  same data repeating in all rows;.
    Thanks and Regards,
    Prabhakar.

    Hi Prabhakar,
    Try out with following step
    Header Row -> Binding -> Select the check box
    Repeat Row for each Data item (Min Count 1)
    Please let me know if this is working or not.
    Cheers
    Satya

  • Creating view to get first row for each table !!

    I am having tables(more than 10) which are related using foreign key and primary key relationship.
    Example:
    Table1:
    T1Prim T1Col1 T1Col2
    Table2
    T2For T2Prim T2Col1 T2Col2 T2Col3
    (here T2For will have value same as T1Prim and in my design it has same column name i.e. T1Prim)
    Table3
    T3For T3Prim T3Col1 T3Col2 T3Col3
    (here T3For will have value same as T2Prim)
    and so on.
    The data in the tables is like For table1 there will be one record, for table2 there will be one record and for table 3 there are more than one records.
    Can i view either the first record for each of them or all records from each of them by writing the following view.
    I have written a view like this:
    Create or replace view test (T1Prim,T1Col1, T1Col2,T2Prim,T2Col1 T2Col2, T2Col3, T3Prim,T3Col1, T3Col2, T3Col3)
    As
    Select
    Table1.T1Prim,
    Table1.T1Col1,
    Table1.T1Col2,
    Table2.T2Prim,
    Table2.T2Col1,
    Table2.T2Col2,
    Table2.T2Col3,
    Table3.T3Prim,
    Table3.T3Col1,
    Table3.T3Col2,
    Table3.T3Col3
    From
    Table1,
    Table2,
    Table3
    where
    Table1.Prim = Table2.For
    and Table2.Prim = Table3.For
    When i ran the select statement on the view I am not getting any data. Whereas there is data when select is ran on individual table.
    Can someone please tell me where i am goofing.
    Thanks in the anticipation that i will get some hint to solve this.
    Eagerly waiting for reply.
    Thanks !!

    I mean use a collection :
    Collection Methods
    A collection method is a built-in function or procedure that operates on collections and is called using dot notation. The methods EXISTS, COUNT, LIMIT, FIRST, LAST, PRIOR, NEXT, EXTEND, TRIM, and DELETE help generalize code, make collections easier to use, and make your applications easier to maintain.
    EXISTS, COUNT, LIMIT, FIRST, LAST, PRIOR, and NEXT are functions, which appear as part of an expression. EXTEND, TRIM, and DELETE are procedures, which appear as a statement. EXISTS, PRIOR, NEXT, TRIM, EXTEND, and DELETE take integer parameters. EXISTS, PRIOR, NEXT, and DELETE can also take VARCHAR2 parameters for associative arrays with string keys. EXTEND and TRIM cannot be used with index-by tables.
    For more information, see "Using Collection Methods".
    Syntax
    Text description of the illustration collection_method_call.gif
    Keyword and Parameter Description
    collection_name
    This identifies an index-by table, nested table, or varray previously declared within the current scope.
    COUNT
    COUNT returns the number of elements that a collection currently contains, which is useful because the current size of a collection is not always known. You can use COUNT wherever an integer expression is allowed.
    For varrays, COUNT always equals LAST. For nested tables, normally, COUNT equals LAST. But, if you delete elements from the middle of a nested table, COUNT is smaller than LAST.
    DELETE
    This procedure has three forms. DELETE removes all elements from a collection. DELETE(n) removes the nth element from an index-by table or nested table. If n is null, DELETE(n) does nothing. DELETE(m,n) removes all elements in the range m..n from an index-by table or nested table. If m is larger than n or if m or n is null, DELETE(m,n) does nothing.
    EXISTS
    EXISTS(n) returns TRUE if the nth element in a collection exists. Otherwise, EXISTS(n) returns FALSE. Mainly, you use EXISTS with DELETE to maintain sparse nested tables. You can also use EXISTS to avoid raising an exception when you reference a nonexistent element. When passed an out-of-range subscript, EXISTS returns FALSE instead of raising SUBSCRIPT_OUTSIDE_LIMIT.
    EXTEND
    This procedure has three forms. EXTEND appends one null element to a collection. EXTEND(n) appends n null elements to a collection. EXTEND(n,i) appends n copies of the ith element to a collection. EXTEND operates on the internal size of a collection. So, if EXTEND encounters deleted elements, it includes them in its tally. You cannot use EXTEND with index-by tables.
    FIRST, LAST
    FIRST and LAST return the first and last (smallest and largest) subscript values in a collection. The subscript values are usually integers, but can also be strings for associative arrays. If the collection is empty, FIRST and LAST return NULL. If the collection contains only one element, FIRST and LAST return the same subscript value.
    For varrays, FIRST always returns 1 and LAST always equals COUNT. For nested tables, normally, LAST equals COUNT. But, if you delete elements from the middle of a nested table, LAST is larger than COUNT.
    index
    This is an expression that must yield (or convert implicitly to) an integer in most cases, or a string for an associative array declared with string keys.
    LIMIT
    For nested tables, which have no maximum size, LIMIT returns NULL. For varrays, LIMIT returns the maximum number of elements that a varray can contain (which you must specify in its type definition).
    NEXT, PRIOR
    PRIOR(n) returns the subscript that precedes index n in a collection. NEXT(n) returns the subscript that succeeds index n. If n has no predecessor, PRIOR(n) returns NULL. Likewise, if n has no successor, NEXT(n) returns NULL.
    TRIM
    This procedure has two forms. TRIM removes one element from the end of a collection. TRIM(n) removes n elements from the end of a collection. If n is greater than COUNT, TRIM(n) raises SUBSCRIPT_BEYOND_COUNT. You cannot use TRIM with index-by tables.
    TRIM operates on the internal size of a collection. So, if TRIM encounters deleted elements, it includes them in its tally.
    Usage Notes
    You cannot use collection methods in a SQL statement. If you try, you get a compilation error.
    Only EXISTS can be applied to atomically null collections. If you apply another method to such collections, PL/SQL raises COLLECTION_IS_NULL.
    You can use PRIOR or NEXT to traverse collections indexed by any series of subscripts. For example, you can use PRIOR or NEXT to traverse a nested table from which some elements have been deleted.
    EXTEND operates on the internal size of a collection, which includes deleted elements. You cannot use EXTEND to initialize an atomically null collection. Also, if you impose the NOT NULL constraint on a TABLE or VARRAY type, you cannot apply the first two forms of EXTEND to collections of that type.
    If an element to be deleted does not exist, DELETE simply skips it; no exception is raised. Varrays are dense, so you cannot delete their individual elements.
    PL/SQL keeps placeholders for deleted elements. So, you can replace a deleted element simply by assigning it a new value. However, PL/SQL does not keep placeholders for trimmed elements.
    The amount of memory allocated to a nested table can increase or decrease dynamically. As you delete elements, memory is freed page by page. If you delete the entire table, all the memory is freed.
    In general, do not depend on the interaction between TRIM and DELETE. It is better to treat nested tables like fixed-size arrays and use only DELETE, or to treat them like stacks and use only TRIM and EXTEND.
    Within a subprogram, a collection parameter assumes the properties of the argument bound to it. So, you can apply methods FIRST, LAST, COUNT, and so on to such parameters. For varray parameters, the value of LIMIT is always derived from the parameter type definition, regardless of the parameter mode.
    Examples
    In the following example, you use NEXT to traverse a nested table from which some elements have been deleted:
    i := courses.FIRST; -- get subscript of first element
    WHILE i IS NOT NULL LOOP
    -- do something with courses(i)
    i := courses.NEXT(i); -- get subscript of next element
    END LOOP;
    In the following example, PL/SQL executes the assignment statement only if element i exists:
    IF courses.EXISTS(i) THEN
    courses(i) := new_course;
    END IF;
    The next example shows that you can use FIRST and LAST to specify the lower and upper bounds of a loop range provided each element in that range exists:
    FOR i IN courses.FIRST..courses.LAST LOOP ...
    In the following example, you delete elements 2 through 5 from a nested table:
    courses.DELETE(2, 5);
    In the final example, you use LIMIT to determine if you can add 20 more elements to varray projects:
    IF (projects.COUNT + 20) < projects.LIMIT THEN
    -- add 20 more elements
    Related Topics
    Collections, Functions, Procedures
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/13_elems7.htm#33054
    Joel P�rez

  • Issue with ADF:Table, always getRowIndex() is returning first row.

    Hi Friends,
    I am working on adf:table and trying to get the selected row of the table. I always get rowindex as 0.
    I am using the following code in my Bean:
    UIXTable searchTable = getEmpTable();
    FacesCtrlHierNodeBinding rowdata =
    (FacesCtrlHierNodeBinding) searchTable.getRowData(searchTable.getRowIndex());
    jsff code:-
    <af:table value="#{bindings.EmpTRVO.collectionModel}"
    var="row"
    rows="#{bindings.EmpTRVO.rangeSize}"
    emptyText="#{bindings.EmpTRVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmpTRVO.rangeSize}"
    rowBandingInterval="0" id="t2"
    contentDelivery="immediate"
    autoHeightRows="#{bindings.EmpTRVO.estimatedRowCount}"
    binding="#{pageFlowScope.Bean.EmpTable}"
    styleClass="AFStretchWidth"
    rowSelection="single"
    selectionListener="#{bindings.EmpTRVO.collectionModel.makeCurrent}">
    Please suggest !
    Thanks in advance.

    Which jdev version do you use?
    You can use the current row of the iterator the take use.
    DCIteratorBinding iterBind= (DCIteratorBinding)dcBindings.get("te stIterator"); String attribute = (String)iterBind.getCurrentRow().getAttribute("field1");Timo

Maybe you are looking for

  • Stacked bar chart errors

    I am creating a stacked bar chart and put a max row count of 50, but the graph actually shows more than 50. After the 50 data points, all of the rest of the dates along the x axis are out of order. Is there another location i also need to enforce thi

  • GRC-AC v5.3 SP11, Patch 1: CUP E-Mail Log available?

    Hi! Does anyone know if there is a CUP E-Mail log available that lists all e-mails generated from CUP? Thanks, -john

  • Newbie to Java

    I'm writting a program for school and I know the answer is simple(I hope) I just can't see it. I'm using TextPad and I've been able to debug my programs with no problem - until now. Here's the error I get: unexpected type required : variable found :

  • Pdf split by text

    Hello, i have one pfd file with 6000 pages! I need slipt it page by page but i need the output name is the same text into this page! I'll try explian better! I have a file with 6000 pages and contain 6000 diferents bill (onde page for one person), i

  • Ln -s on a NAS device gives - Operation Not Permitted

    Hi, I am installing Oracle Database on a NAS mounted drive and the installation fails. The reason is I am not able to create softlinks on the drive. ln -s a b gives the error : Operation Not permitted. I use the following mount command to mount the N