How to add totals for each page in main window

hi
  i have problem in scripts
  how to add total in first page ending and carry it to second page , at the end of second page again adding total and so on until last page.
very urgent
regards
ratna

Hi,
Check these
http://help.sap.com/saphelp_40b/helpdata/en/d1/8035c3454211d189710000e8322d00/content.htm
http://membres.lycos.fr/jolyeric/SAP/Note_de_Cours_Ben/Sapscript/SAPscript_Control_Commands.doc
try to use the command 'summing' along with one text symbol .Keep the if condtion when page changes at that time u dispay the total as ur keeping the total in text symbol it can be dispayed in the next page
or this is round about way
loop at <table>.
call write_form.
endloop.
here u declare a variable 'c' and increment it by 1 in each loop. Then u chgeck if the program has started printing second page then u can print the number of records before printing the next page.
eg :
data : c type c value '0'.
loop at <table>.
c = c + 1.
call write_form.
endloop.
in form:
check when the next page is being printed, then u can print the number
of lines 'c'.
Feel free to revert back.
--Ragu

Similar Messages

  • How to add model for Detail Page

    Hi Friends,
                    I'm trying to implement fiori with some mock.json data. i'm able get my orders in master page but unable to see the details in Detail View. If i give some static data to my controls they are visible else they are not appearing in view. I'm using some more screens in project before implementing my fiori. Please help me to solve this.
    Thanks& Regards
    Moulika

    Hi Moulika,
    If you raise an event, you properly want to use  source data in your event handler. A  easy way to do this is using the .data property of your UI control.
    Event Raiser
    var oContext
    = new Object();
    oContext.attribute = “value”;
    var oLink= new sap.ui.commons.Link({text: “Inschrijven”})
    .attachPress(oController.onPressCourseInfoLink)
    .data
    (“oContextSource
    “, oContext
    , false);
    Event Handler
    onPressCourseInfoLink:function(oEvent){
    var oContext
    = oEvent.oSource.data(“oContextSource
    Now you can use the data you set in the UI control in the event handler

  • How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English

    How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English
    == This happened ==
    Every time Firefox opened
    == From the beginning

    Some add-ons:
    Default FullZoom: https://addons.mozilla.org/en-US/firefox/addon/6965 (I use this one)
    No Squint: http://urandom.ca/nosquint/
    Also:
    http://support.mozilla.com/en-US/kb/Page+Zoom
    http://support.mozilla.com/en-US/kb/Text+Zoom
    http://kb.mozillazine.org/Browser.zoom.siteSpecific

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • Add different header for each page

    We are using RTF templates to create XML Letters.
    1) Is it possible to have different header for each page?
    2) Can we have a data filed column in the header?
    Thanks,

    Ha ha, Thanks, that is exactly what I needed!  How perfectly obvious, but somehow easy to miss!  Thanks so much.
    Eric

  • Safari is adding a tab for each page visited--how to stop or clear?

    Safari is adding a tab for each page visited--how to stop or clear?

    Each tab, when selected, has a small x on it for deleting--Apple Store

  • How to handle goup sub total for each group in oracle query ?

    hi,
    i want to handle one complex thing in oracle query.
    i have a grouping in my oracle query.
    i want to do sub total for each group in query and after that i want to subtract one group sub total from previous group subtotal ?
    so how can i handle this in oracle query ?
    any help is greatly appreciated.
    thanks.

    Hello
    Interesting requirement.
    I wonder why are you not using these calculation during the display time. If it is acceptable then you can try using the custom formula with the running total combination in crystral report to achieve to get the required results.
    Best regards
    Ali Hadi

  • I keep track of family totals for fundraising at a school, I want a family name and totals for each fundraiser and then at the end of the year I would like an alphabetized list.  Can I do this in numbers?

    in numbers, how would I make a line for each family (100+)  a column for each fundraiser. and at mid year, and year end be able to print an alphabetical listing?
    example:     entertainment books          Chip Shoppe       Yankee Candle
    Smith          $350                                   $245                    $100
    Total at the end of the line, but I could live without.  I am just trying to lose the paperwork, and have it in the ipad for when parents approach me at meetings.
    Help!

    HI m,
    Using Numbers '09 (the Mac version), I'd use a table with one header row and two header columns.
    Family     Total     Ent.Books     Chip S.     Y. Candle
    Smith, J      $695        350            245             100
    Jones, T      $765        250            445               70
    An ascending sort on column A will put the families in alphabetical order (and carry the rest of the row along with them).
    The formula =SUM(2) in B2, and filled down from there, keeps the total for each family right beside the family name.
    You could add a Footer row at the bottom to keep totals for each column. Formula for column B: =SUM(B)
    I would leave the currency signs ($) off the amounts—they just clutter up the table.
    This assumes that the features listed are all supported on Numbers for iOS, the version running on your iPad.
    Regards,
    Barry

  • IWeb Tiled Image Background Loads for Each Page

    My site Ostyn-Newman.com uses a black template.  I have an image that I tile for the background as well as for the browser background.  They are the same image. IWeb seems to do two things that make my site slow way down. IWeb 
    1) Treats the browser background image and site background image as two images even though they are identical.  This makes for 2x the downloading necessary to fill the backgrounds.  The files are identical except for the file names.
    2) Creates image files for each page even though each page has identical browser and webpage backgrounds.  This means that on a 1000 page site, there are 2000 copies of the same image that could be reduced to 1 if they could be shared.  This would make for a much faster experience for our site viewers.
    Any ideas on how to make this happen?  I'm confounded.  I also have many small logos that I use dozens of time on the same page and IWeb creates a different image for each one.  You can see what I mean here  http://ostyn-newman.com/Gov_Fabrics.html  No big deal since each one is only a couple kb, but when you do that with 8 logos and each of those 8 is on a page 300 times, it starts to add up.  These examples are different but similar.  I'd love to figure out how to get IWeb to create and use common image resources.  I'm not html savvy, but I am fairly familiar with inserting snippets of code here and there via the Insert/Widget/HTML Snippet function to get done what I want to get done.  Thank you for the help.
    As an aside, I have explored creating a custom template using my image, but that has proved to be a bit more complex than I am capable of.  Is there a template that allows me to put my image in as the background?  That would take care of everything for me.

    Your Govt Fabrics and Leather page contains 1746 files that must be loaded for that page.
    It took me nearly 30 seconds to load your page entirely with Safari over a very fast internet connection. Firefox took about the same, maybe a few seconds quicker and Chrome 24 seconds. 
    There seems to be 3 distinct sets of identifying images below the samples:
      , and
    To reduce the number of individual files to be loaded why not create 3 images, one with the 4 items, one with the 3 items, one with the 5 items and use them instead of using individual images under each sample.  That will greatly down on the number offiles needed to be loaded.  
    Also using more than one page to display the samples would make each indivicual page load so much quicker than all on one page. 
    These are just some food for thought.
    OT

  • Create a multiple Pg PDF with Forms, while adding up total of each page.

    My name is Javier Morales, I am working on a project for a client in the clothing business. I created a form that it is working very good. I would like your help on figuring out how to insert additional pages to a Pdf form document and keep on adding the Totals of each page.
    My email [email protected] I will really appreciate your prompt response. Right now I have them as single PDF documents, which work fine, as long as I dont try to combine them.

    Fields within an AcroForm PDF need to uniquely named unless you want the identically named fields to share the same value.
    You may have to rethink your approach. You should look at using the template object to spawn additional pages. Unformtuately templates do not function in versions of Reader before XI.

  • Is it possible to have different headers for each page for the Pages app?

    I just purchased the Pages app for my ipad and it happens to be one of the best apps i've ever bought.  However, I'm having trouble figuring out how to have different headers for each page of the same document.  Is this possible to do?

    Tommy,
    One of the limitations of Pages for iOS on your iPad is that Pages can't create sections per se. The best you can do is insert page breaks and then assign different columns to that page. The problem comes with the headers and footers - in iOS Pages, the headers and footers apply to the whole document, not the individual sections as you would find in Pages '09 on OSX.
    The workaround is to create your document on OSX, insert the needed sections and headers, save, then transfer the Pages document to your iPad either as a working "blank" or as a new document. The headers and footers will reflect the sections you created in OS X, but you won't be able to add any new ones or new sections on your iPad.

  • Fbl5n: The printer provides me only one customer items for each page...

    Hi all,
    launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
    I'd like obtaining more customer items for each page...
    What to do?
    Thanks

    Hi Umberto..
    Thats how the standard report works..
    To meet your requirement, you would probably need to look at another standard report.
    In case you need further clarification, please feel free to write to me..
    Good Luck!
    Lucid-Mind...

  • Add a for each script to loop through HTTPService?

    I'm using Flash Builder 4 with the Flex 4.1 SDK.  I want to add a "for each" script to loop through my HTTPService XML file so only each nepName displays only once in my dropdown list.  In my XML file I have multiple records associated with nepName.  I would like ALL the records associated with each nepName to populate in my datagrid when it is selected from the dropdown.  Currently in my dropdown there is a nepName entry for each XML tag.  I hope I was able to explain that well enough. I'll try to put my code below so you can see everything I'm working with.
    MXML:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:esri="http://www.esri.com/2008/ags"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationComplete="nepInfo.send()">
        <s:layout>
            <s:VerticalLayout horizontalAlign="center" paddingTop="25"/>
        </s:layout>
        <fx:Declarations>
            <s:HTTPService id="nepInfo" url="http://www.epa.gov/owow/estuaries/nep_info.xml"/>
            <!--s:RadioButtonGroup id="optiongroup"/-->
        </fx:Declarations>
        <s:Panel title="NEP Project Information">
            <s:layout>
                <s:VerticalLayout/>
            </s:layout>
            <s:HGroup verticalAlign="middle">
        <mx:Form x="188" y="34" width="338">
        <mx:FormItem label="Search for NEP Information:">
        <s:DropDownList enabled="true" id="dropDownList" prompt="Select NEP" dataProvider="{nepInfo.lastResult.records.record}" labelField="nepName">
        </s:DropDownList>
        </mx:FormItem>
        </mx:Form>       
            </s:HGroup>   
            <mx:DataGrid id="resultsGrid"
                         dataProvider="{dropDownList.selectedItem}"
                         visible="{dropDownList.selectedItem != null}" x="20" y="62" width="1166" height="620">
                <mx:columns>
                    <mx:DataGridColumn dataField="projectName" headerText="Project Name" wordWrap="true"/>
                    <mx:DataGridColumn dataField="projectDescription" headerText="Project Description" wordWrap="true"/>
                    <mx:DataGridColumn dataField="acres" headerText="Acres" wordWrap="true"/>
                    <mx:DataGridColumn dataField="habitatDescription" headerText="Habitat Description" wordWrap="true"/>
                    <mx:DataGridColumn dataField="neportCategory" headerText="Habitat Category" wordWrap="true"/>
                    <mx:DataGridColumn dataField="restorationType" headerText="Restoration Type" wordWrap="true"/>
                    <mx:DataGridColumn dataField="leadPartner" headerText="Lead Partner" wordWrap="true"/>
                </mx:columns>
            </mx:DataGrid>
        </s:Panel>
    </s:Application>
    XML: http://www.epa.gov/owow/estuaries/nep_info.xml
    Thank you in advance for your help!
    -Alison

    ($file, pwd);Assuming "pwd" is meant as the current directory, here a small example :
    TEST@db102 SQL> create or replace procedure test_proc (p1 varchar2, p2 varchar2)
      2  is
      3  begin
      4     dbms_output.put_line (p1||' '||p2);
      5  end;
    TEST@db102 SQL> /
    Procedure created.
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    $ ls -l /tmp/test/*.sql
    -rw-r--r--  1 ora102 dba  69 Apr 18 23:23 /tmp/test/file1.sql
    -rw-r--r--  1 ora102 dba 112 Apr 18 23:23 /tmp/test/file2.sql
    -rw-r--r--  1 ora102 dba 120 Apr 18 23:23 /tmp/test/file3.sql
    $ cat test_proc.sh
    DIR=/tmp/test
    cd $DIR
    ls *.sql | while read file
    do
            echo "Processing file $file"
            sqlplus -s test/test << EOF
    set feed off
    set pages 0
    set serveroutput on
    exec test_proc('$file', '`pwd`');
    exit
    EOF
    done
    $ ./test_proc.sh
    Processing file file1.sql
    file1.sql /tmp/test
    Processing file file2.sql
    file2.sql /tmp/test
    Processing file file3.sql
    file3.sql /tmp/test
    $

  • Appearing  for each page

    Hello !
    There are three var windows.
    CARRIER                       VAR
    CONSGNEE                  VAR
    SHPOINT                      VAR 
    Their contents of these variable windows must appear for each page.
    How can it be managed ?
    Regards
    Ilhan

    Hi,
    Thank you for you respond.
    yor are saying:
    If u have different pages then include the window in all the pages.
    Yes I have more then 5 pages. This is exactly the goal.
    How is it possible to include them ?
    Regards
    Ilhan

  • Dedicated Layers for each Page.

    I would like to see dedicated layers for each page. As it is right now the layers span across every page. If you make a layer on the home page as say "home header" it shows up as a layer on say the contact page, where it is completely useless and can cause confusion and clutter. This is a basic example but often I have multiple layers on one page and only need one or two on a different page and find I'm getting them confused from one page to the next and causing unnecessary clutter and confusion. If each page had dedicated layers for its content then it would be much easier to stay organized and provide a better user experience and more effectiant updating of info for each page.

    Daniel Flavin wrote:
    It's not, and each time (yesterday in fact) I've thought how nifty it would be to use layers in this fashion, I've killed time. Layers are document wide. You're choice is to create a pdf with layers enabled for client reviews, but than I realized they wouldn't understand how to mainipulate layers in Acrobat, and I couldn't formulate less than a one hundred word tutorial.
    It's possible to make buttons in InDesign that show/hide layers (and perform other actions like page navigation, etc.) in PDF documents. No user tutorials would be needed with informative text labels on the buttons.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for

  • Auto-Fill is gone, how do I get it back?

    With the new version of Firefox I cannot find the Auto-Fill tab. I used it many times a day when filling out forms and I need it back!! It saved a lot of time filling out my name and address for me. How do I get it back onto my toolbar?

  • Error when deploying application in weblogic 10.0

    weblogic.application.ModuleException: [HTTP:101216]Servlet: "cds-service" failed to preload on startup in Web application: "/cds-wsclient".           org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hdr2Persiste

  • A65-S159 - I can't use the CD Recovery because my CD/DVD doesn't work properly

    Hi, I need help to reinstall the system and drives. It's a Satellite A65-S159. The CD/DVD doesn't work properly. Rarely, the CD/DVD can read a DVD. So I can't use the CD Recovery. What may I do? Thank you, Cabula, Brazil

  • MLA Format Help

    I'm trying to write an essay in MLA format, but I can't seem to indent the sentences. I've tried to hit Tab, but that doesn't seem to work.

  • Modify Podcast details on iTunes

    How do I modify my podcast details (image, etc) that show up in the listing on iTunes?