AP Check Display check total on all pages

Hi,
I am working on AP check report. I need to display Check total on all pages(in case of overflow invoices). Only for the very first OutboundPayment group the check total is populated under PaymentAmount/Value and for rest of all overflow invoices(OutboundPayment group) this value is 0. I need to display the check amount on all pages. I have created a check_total2 variable to capture the check amount but this variable does not get the check amount on the first page. Now I am trying to use decode to display the check total. But when I use decode function, the values not displaying correctly, it is showing some random number/characters.
Variable defintion - <?xdoxslt:set_variable($_XDOCTX, 'check_total2', PaymentAmount/Value) ?>
Decode Condition - <?xdofx:decode(PaymentAmount/Value,'0',xdoxslt:get_variable($_XDOCTX, 'check_total2'),PaymentAmount/Value)?>
Below is the data -
PaymentAmount/Value check_total2 Using Decode Value Expected
105050 NULL NULL 105050
0 105050 709D3D73971C 105050
0 105050 1004 105050
0 105050 1006 105050
0 105050 1008 105050
Any idea what is wrong here and how can I fix this. Please let me know if you need more information.
Regards
Hitesh

BIPuser,
Thanks for your help. My problem has been solved. Below is the code which worked for me(all the credit goes to BIPuser).
Define variable "check_total" at check template level
Defined another variable "display_total" at check stub template level
check_total - <?xdoxslt:set_variable($_XDOCTX, 'check_total', PaymentAmount/Value) ?>
display_total - <?xdoxslt:set_variable($_XDOCTX, 'display_total', xdoxslt:ifelse(PaymentAmount/Value='0', xdoxslt:get_variable($_XDOCTX, 'check_total'),PaymentAmount/Value))?>
Now the column where I needed to display the total, I used
USD$<?format-number:xdoxslt:get_variable($_XDOCTX, 'display_total');’999G999D99’?>
This solved my problem.
-Hitesh

Similar Messages

  • Footer display without space in all page (in footer place)

    Hi  All
    wish  you merry cristmas.
    in my layout my customer wants  all pages contains the record upto last  .
    if i will dispaly upto last  in main window , then where i will make the footer .
    when i am making the footer in first page all the pages footer space is comming blank
    which my custmer does'n't want.
    By....

    Hi  Sai ,
    Thanks , for reply .
    sorry , i not using the table
    i am selecting the data and displaying on all pages
    and use the templage for table .
    but what is happening , all the pages  displaying data upto footer  but last 100 cm comming blank  due to  footer place.
    and the last page comming footer
    But my customer doesn't want  to blank  in place of footer.
    by....

  • Display report title in all pages

    Hi,
    How do I show my report title in all pages that have the report, that now only shows me the title on the first page,
    Thank you very much for your help!
    Greetings!

    Hi Abhilash,
    Thanks for your response. I need one clarification in your solution,that all the steps to be  done in sub report and later on should it be inserted in main report?
    And i am facing one more issue that my records are starting from second page not from the first of preview tab.
    Design section page:
    1st Page in preview:
    2nd Page in preview:
    Thanks,
    Aravind
    Message was edited by: Aravind Sreeram

  • Displaying Dashboard Prompt For All Pages..

    Hi All,
    I Create One Dashboard Prompt And Place it on dashbaord.we have 4 Dashboard pages in that dashboard.
    My Requrement is
    I want Show Prompt In All Pages Of Dashbaord Like Column in Right hand side means we navigate any page that prompt showing as column For every Dashboard Page.
    whn i place prompt in dashboard it will show only one page.
    Any Help,

    You need to add it manually to each page. Or else add this to one page and copy the same layout to other pages using catalog manager.
    Best thing is to add manually to each page.
    If helps mark.

  • Classic Report totals on all pages?

    I've been using APEX (4.0.1) for about a week, & I'm generally loving it, but the question in the subject has me stumped despite half a day of Googling. The built-in totals (selecting 'sum' on the columns) are all well & good, but I need them to appear on every page of results, not just at the end. Unfortunately I need to get this done ASAP to demo to a client so time isn't on my side. Is it possible, & if so, how? My Javascript knowledge is virtually zero so please treat me like a complete idiot if that's the only way to do it...
    Thanks, James.

    I tried that but it didn't work. If I move the heading into report main frame it works fine.
    Thanks
    JK

  • Grand total and total in all page

    page 1
    colum1 | cloum2
    4 | 55
    1 | 6
    in Footer page1
    5 | 61
    page 2
    colum1 | cloum2
    2 | 3
    1 | 6
    in Footer page2
    3 | 9
    --------- i want
    in Footer page2
    8 | 70
    plez help me
    Message was edited by: azmi
    user490620

    What do you want exactly?
    Your subject says other thing then your actual question.
    Any how it snot difficult.
    Put summery Columns calculating the SUM of both fields (reset at report)
    & Set there property "print object on" to "last page".
    Hope it 'll work.
    Capri...

  • Banner should be displayed on top of all pages

    Hi
    i have some 20 pages,
    i have to include a image as banner in the top of the page & bottom of the page too.
    how to do it ?

    Hi,
    Go to Application Builder>Application xxx>Shared Components>Templates
    and edit the template(s) you picked for your 20 pages (probably the default one).
    Eric.

  • How to display pagewise total in Oracle reports?

    Hi,
    I want to display pagewise total in all pages as well as report total at the last page of the report.
    I have tried Reset at : Page, Print on : All pages
    But nothing is working.
    Please suggest what else I need to set to achieve the requirement
    Thanks in Advance
    Sudeep

    Create a user parameter for line count and another to hold the value of total at end of page,
    create formula column in your query group, where the column to be summarised exists,
    See how many lines of records/transaction can be printed on your page, count them in a formula column and when the printable record been retrived assign the total to
    the user parameter you have created.
    set the property 'PRINT OBJECT ON' to 'ALL BUT LAST PAGE'
    put you summary item just below this field and set the property 'PRINT OBJECT ON' to 'LAST PAGE', the final total will be displayed on last page.

  • Image in all page

    Post Author: fkleemann
    CA Forum: Crystal Reports
    How can I do display an image in all page as if outside bottom or mark of water??,  I have CR XI, thanks.

    Post Author: nani4p
    CA Forum: Crystal Reports
    Hi ,
    For water mark to appear implement following steps
    insert new page header below the one  you already have
    Place you image there in new page header
    Check the option Underlay Follwing sections
    Save it run the report.
    I guess you will be there with your desired result.
    Thanks,
    Nani.

  • System symbol for total number of pages in SAP Script

    Hello All,
    I need to display the total number of pages in a SAP Script. Say there are 4 pages and I want to display "Page 1 of 4" at the footer of first page.
    Is there any system symbol to get the total number of pages in SAP Script?
    Many thanks in advance for your help.
    Regards
    Indrajit Chakraborti

    Hi,
    In the Footer window, use this fields
    &Page& of &SAPSCRIPT-FORMPAGES&
    &PAGE& --> Current page No
    &SAPSCRIPT-FORMPAGES& --> Total No of pages Regards
    Regards
    Sudheer
    Message was edited by:
            Sudheer Junnuthula

  • In report how to get total no.of pages

    Hi all,
    i need to display at footer 'Page No.' of 'Total No.of pages'.
    is there any variable for total no.of pages.
    regards.
    cnu

    Hi...
    The code below shows how to display the total number of pages in a report like "Page 1 of 8."  May be this would solve your problem... (Award points if useful)
    Santosh
    REPORT YPAGECOUNT NO STANDARD PAGE HEADING LINE-COUNT 65.
        DATA L_PAGE_COUNT(5) TYPE C.
    TOP-OF-PAGE.
        WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
        ULINE.
    START-OF-SELECTION.
      Real list output takes place here
        DO 300 TIMES.
            WRITE: / 'Line #', SY-LINNO.
        ENDDO.
      Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.

  • Running calculation totals when adding pages

    http://www.funkylogic.co.uk/equity.pdf
    In a nutshell what I want to achieve is this: a cleint may own several properties, and have different percentage holding on each. Each property has a separate page of questions (the PDF above is that page). The first part of the equation is to calculate up the total equity in the property (TotEquity), and then based on the percentage holding (TotInterest), work out the individuals equity share for that property (TotalB). The form has the option to tell us about another property (addInstance), and we then have a second page with its own calculations and a new TotalB. This TotalB then becomes a running total for all pages added. Please can anyone help??

    Hi,
    Here is a version of the form: https://acrobat.com/#d=b*01ko6g2gn8Jqns9D1Hhg
    It shows how to loop through the instances of Page1. It does not appear to be working correctly (by my eye anyway). I am not convinced of multiplying the two values in the script.
    Hopefully it will give you a direction.
    A couple of things: I would not be inclined to name pages with a capital 'P' (Master pages are 'Page1'), I tend to name design pages as 'page1'. The font you are using is adding to the file size. Something like Myriad Pro is much smaller.
    Niall

  • How to display the total at the end of the column in the report.

    Hi all,
    Could any one please intimate, how to display the total at the end of the column. For example, i have a column, "sales" as the Key figure, and it has the data for all the transactions. Now, i would like to display the total at the end of the report, below the same column.
    Similarly, for all the other columns in the report, i need to display the total for all the columns in the report.
    Thanks & Regards,
    A.V.N.Rao

    Hi All,
    Thanks for many suggestions. I tried by providing the "Total" under "Calculate Results as" and also "Counter for all detailed values" under "Calcuate Single Values as", in the  "Calculations" tab of the key figure, but i am unable to get the information. Again, i am providing the requirement below:
    CHAR - A   CHAR - B   TIME CH. - 1 KF -1  KF- 2 KF - 3
    1                     RAM        2012           1         50      50
    2                     SAM         2012          2         100    200
    Result                                               3           150   250
    Assume KF -1 as  "Qty." KF-2  as "Price" KF-3 as "Sales".
    Please intimate the solution.
    Thanks & Regards,
    A.V.N.Rao.

  • Total number of pages in Normal Report

    How to display the total number of pages in normal report.
    To display current page number I am using sy-pagno.
    Is there any system variable to display Total numbetr of pages in normal report.
    Thanks in advance.

    Hi,
    There is no system variable to find total no of pages but you can use the following to get that one.
    Declare a variable
    DATA L_PAGE_COUNT(5) TYPE C.
    Copy this code to the end of program
    Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.
    TOP-OF-PAGE.
        WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
    *--- End of Program
    Thayalan

  • Data Display as Total

    Hi,
    I am facing one issue, we have created new accounts to display data in STAT currency. Data is loaded at cost center level.
    When we create report on those accounts, I am seeing data is displaying as total for all cost centers. I need data to be display by each company and cost center.
    There are other account which are displaying as detail.
    Please help me to find out why those accounts are displaying as TOTAL.
    Any help is greatly appreciated.
    Thanks,
    Poojak

    Thanks for quick reply.
    I have to change this in Answer.
    e.g. SUM(Transaction Amount by Company, Costcenter).
    For that column group the sum by company and cost center.
    Please let me know I new to OBIEE.Still learning to create reports.
    Thanks,
    Poojak

Maybe you are looking for