Display value in footer on only last page:

I have the same footer on 3 of my master pages. Depending on data, my form may grow to several pages.
The first 2 master pages display exactly once and the third page grows to no. of pages depending on input data.
Is it possible to script some event so that the textfield on footer displays only on last page?
I have seen examples of xfa.layout.pageCount() and xfa.layout.page(this), and tried the conditions on if last page =  currentpage, show/hide  the value of text field in the footer.
If there are 10 pages, system should display the text value in the footer only in the 10th page. If the form got only 2 pages, it should display only on second page.
I tired all kinds of scripting with pagecount and page(this). But the script is effecting all the pages irrespective of first/ last page.
I will be greatful if you can put the sample code/ form on how to do this.
Thanks,
Krishna

Hi Paul,
   Thank you for the logic.
Actually I tried this.
I have some fields in the 3 footers which got some explicit binding. If I put some value in the first page footer in this field, and if the logic (current page != no.of pages) , the value is getting reflected in all pages without checking for further pages.
I figured out what the actual problem is. It's not with page logic. But with the externally binded fields. If we put the calculated field for one footer, the form will keep the same value without taking from external binded xml. I tried it in a alternate way by getting these values using calculated fields and that worked for me.
Krishna

Similar Messages

  • Displaying Footer on the Last Page of the report

    Hi Experts,
    We have a requirement to display footer on the last page of the report only.
    Could you please guide how to acheive this.
    Thanks in Advance,
    Cheers,
    Andy.

    Pls see this Blog.It may help you
    http://blogs.oracle.com/xmlpublisher/2007/03/30/
    Thx
    Rahul

  • Avoid printing Header and Footer in the last page

    Hi,
    Could anyone please let me know how to avoid print the header and footer in the last page?
    Note: I'm printing RTF template for publishing the output.
    Looking forward for your valuable inputs/suggestions.
    Thanks in advance,
    Regards,
    Muru

    Hai,
    My report got FROM PO & TO PO parameters and i need to print footer only in first page of each PO. Tried with section but now i am getting first page of all PO contionious and then all lines together.
    Please call me or sent replies to [email protected]

  • How to display amount in words in the last page

    Hi,
    I am very new to Oracle Report, but v.good experience in Crystal report.
    How can i display amount in words for an invoice amount total in the last page of the invoice and after total amount. I created a new non repeating frame and put the amount in words inside that, and set the frames diplay property Print on Last Page, but the problem is already there is a repeating frame to print all the invoices item, and the total in figure. But the amount in words frame is not always coming after the total amount,either it should be at the bottom of the last page in fixed position, otherwise it should move just below the total amount.
    I am using Oracle 11g.
    Thanks in advance...
    Fsl

    Hi ,
    Use This function
    create or replace FUNCTION xxg4_zen_conv_words (p_amount IN Number) RETURN Varchar2 IS
    --Creation Date   :  11-DEC-2009
    --Purpose         :  This Function returns amount in words.
    --Parameters      :
    --1) p_amount : Only positive and negative values are allowed.
    Precision can be entered upto 10 digits and only 2 scales
    are allowed e.g 9999999999.99
    -- Index by Tables to store word list
    TYPE typ_word_list IS TABLE OF Varchar2(200) INDEX BY BINARY_INTEGER;
    t_typ_word_list typ_word_list;
    TYPE typ_word_gap IS TABLE OF Varchar2(200) INDEX BY BINARY_INTEGER;
    t_typ_word_gap typ_word_gap;
    -- Local Variables
    v_amount Number := p_amount;
    v_amount_length Number;
    v_words Varchar2(10000);
    v_point_found Varchar2(1) := 'N';
    v_point_value Number;
    BEGIN
    /*Getting value after point if found */
    v_point_value := SUBSTR(v_amount,(INSTR(v_amount,'.',1) + 1),2);
    /*Checking whether amount has any scale value also */
    v_point_found := CASE WHEN (INSTR(v_amount,'.',1)) = 0 THEN 'N'
    WHEN (INSTR(v_amount,'.',1)) > 0 THEN 'Y'
    END;
    /*Converting amount into pure numeric format */
    v_amount := FLOOR(ABS(v_amount));
    v_amount_length := LENGTH(v_amount);
    t_typ_word_gap(2) := 'and Paise';
    t_typ_word_gap(3) := 'Hundred';
    t_typ_word_gap(4) := 'Thousand';
    t_typ_word_gap(6) := 'Lakh';
    t_typ_word_gap(8) := 'Crore';
    t_typ_word_gap(10) := 'Arab';
    FOR i IN 1..99
    LOOP
    t_typ_word_list(i) := To_Char(To_Date(i,'J'),'Jsp');
    END LOOP;
    IF v_amount_length <= 2
    THEN
    /* Conversion 1 to 99 digits */
    v_words := t_typ_word_list(v_amount);
    ELSIF v_amount_length = 3
    THEN
    /* Conversion for 3 digits till 999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(3);
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2));
    ELSIF v_amount_length = 4
    THEN
    /* Conversion for 4 digits till 9999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(4);
    IF SUBSTR(v_amount,2,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,3,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,2));
    END IF;
    ELSIF v_amount_length = 5
    THEN
    /* Conversion for 5 digits till 99999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,2))||' '||t_typ_word_gap(4);
    IF SUBSTR(v_amount,3,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,4,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,2));
    END IF;
    ELSIF v_amount_length = 6
    THEN
    /* Conversion for 6 digits till 999999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(6);
    IF SUBSTR(v_amount,2,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2))||' '||t_typ_word_gap(4);
    END IF;
    IF SUBSTR(v_amount,4,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,5,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,5,2));
    END IF;
    ELSIF v_amount_length = 7
    THEN
    /* Conversion for 7 digits till 9999999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,2))||' '||t_typ_word_gap(6);
    IF SUBSTR(v_amount,3,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,2))||' '||t_typ_word_gap(4);
    END IF;
    IF SUBSTR(v_amount,5,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,5,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,6,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,6,2));
    END IF;
    ELSIF v_amount_length = 8
    THEN
    /* Conversion for 8 digits till 99999999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(8);
    IF SUBSTR(v_amount,2,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2))||' '||t_typ_word_gap(6);
    END IF;
    IF SUBSTR(v_amount,4,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,2))||' '||t_typ_word_gap(4);
    END IF;
    IF SUBSTR(v_amount,6,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,6,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,7,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,7,2));
    END IF;
    ELSIF v_amount_length = 9
    THEN
    /* Conversion for 9 digits till 999999999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,2))||' '||t_typ_word_gap(8);
    IF SUBSTR(v_amount,3,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,3,2))||' '||t_typ_word_gap(6);
    END IF;
    IF SUBSTR(v_amount,5,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,5,2))||' '||t_typ_word_gap(4);
    END IF;
    IF SUBSTR(v_amount,7,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,7,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,8,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,8,2));
    END IF;
    ELSIF v_amount_length = 10
    THEN
    /* Conversion for 10 digits till 9999999999 */
    v_words := t_typ_word_list(SUBSTR(v_amount,1,1))||' '||t_typ_word_gap(10);
    IF SUBSTR(v_amount,2,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,2,2))||' '||t_typ_word_gap(8);
    END IF;
    IF SUBSTR(v_amount,4,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,4,2))||' '||t_typ_word_gap(6);
    END IF;
    IF SUBSTR(v_amount,6,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,6,2))||' '||t_typ_word_gap(4);
    END IF;
    IF SUBSTR(v_amount,8,1) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,8,1))||' '||t_typ_word_gap(3);
    END IF;
    IF SUBSTR(v_amount,9,2) != 0
    THEN
    v_words := v_words ||' '||t_typ_word_list(SUBSTR(v_amount,9,2));
    END IF;
    END IF;
    IF v_point_found = 'Y'
    THEN
    IF v_point_value != 0
    THEN
    v_words := v_words||' '||t_typ_word_gap(2)||' '||t_typ_word_list(CASE WHEN LENGTH(SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)) = 1 THEN SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)||'0'
    WHEN LENGTH(SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)) = 2 THEN SUBSTR(p_amount,(INSTR(p_amount,'.',1) + 1),2)
    END);
    END IF;
    END IF;
    IF p_amount < 0
    THEN
    v_words := 'Minus '||v_words;
    ELSIF p_amount = 0
    THEN
    v_words := 'Zero';
    END IF;
    IF LENGTH(v_amount) > 10
    THEN
    v_words := 'Value larger than specified precision allowed to convert into words. Maximum 10 digits allowed for precision.';
    END IF;
    RETURN (v_words);
    END xxg4_Zen_Conv_Words;
    --Thanks
    SAGAR SANKPAL

  • How can I display labels in the margin on last page

    I would like to display a label and a line (for a signature) on the last page of my report at the bottom of the report. This has to be displayed after all the other report details have been displayed and should appear only on the last page. How can I do it? Please help.

    You can move the label and the line for the signature into a frame and place the frame at the end of your report. Then set the "Print Object On" property for the frame to Last Page.

  • Footer note on last page of script

    Hi All,
    I want to display a footer note on the last page of script. For that I am writing following code in my script.
    :/BOTTOM
    :/IF &NEXTPAGE& EQ 0
    END OF SCRIPT
    :/ELSE
    CONTINUE ON NEXT PAGE
    :/ENDIF
    :/ENDBOTTOM
    Also I am using top of page using top & endtop.
    It is working fine.
    Regards,
    Dilip
    Message was edited by: Diliip Gupchup

    Hi,
    Check this one
    Re: Printing Footer in the output.
    Re: Smart Form Footer help
    Thanks & Regards,
    Judith.

  • Multiple pages in SP01 (spool) but only last page printed to printer.

    Dear Experts,
    Here is a strange situation. I have 28 pages in one spool request, but when I print it out, only the last page printed out... Where are the 27 pages? Even though I use printing setting (From page 1 to page 28), it still printed last page only...
    Can any one teach me how to solve this problem?
    Thank you!
    Joanne Wu

    format setting was wrong.

  • Scanning from Document Feeder captures only last page

    After reinstalling Acrobat 8.1 on a new computer, things worked fine for several weeks.  Now, I cannot scan a multipage document using the document feeder.  When I try, all mpages run through the document feeder (on a Brother 8640D) and Acrobat says it is transferring data.  After the last page goes through, the program then tries to capture a page from the flatbed rather than chowing the add pages or scan is complete screen.  If I cancel at that point, only the last page of the document is captured.  I have tried reinstalling the Acrobat program and restarting both the Brother 8640 and my computer, with no change.  Can anyone suggest a solution?

    Hi,
    The HP Deskjet 3520 does not have a top document feeder but only a flatbed glass.
    From the HP Scan and Capture click the Plus button to add a page, once you are done place the next page and click the Plus button to scanned the next page.
    Once you are done scanning, click the Save button so complete your scan job.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How to hide fields on Repetitive Area Footer on the last page?

    Hello,
    How can I avoid printing some fields on the last page, when this fields
    are on the Repetitive Area Footer, and the Repetitive Area Footer is
    defined to print on all the pages? I was hoping to do this with fileds linked
    to (ContinueNextPage) field, but it doesn't work!
    Regards,
    Júlio Pinho

    hI Júlio Pinho,
    i think, it is not possible in Repetitive Area Footer on PLD.
    but, it is possible in Page Footer on PLD.
    IF you dont need print some Fields in Last Page on printout.
    Try this,
    ->> Open the require PLD.
    ->> Create require Fields in Page Footer.
    for example,
    => Create DocTotal Field in Page Footer on PLD.
    => Link to SystemString (ContinueNextPageNotice) Formual FieldID in DocTotal Filed.
    Save and Run the Print Preview.
    Regards,
    Madhan.

  • Need ideas on how to display a footer on last page only on a dynamic document

    I have a document that is similar to this...
    Dear Customer,
    paragraph 1 content dkdk dkd alkfdjaldkjfa d
    dlkfajd;lkfja;dlkfj a.
    [repeating subform transaction data]
    Closing paragraph please contact us using one of the numbers listed below
    contact info
    The problem I am having is that I want the Contact Info block to appear as a footer on the last page only.  In addition, I want the Closing Paragraph to be on the same page as the contact info block.  The contact info is currently anchored to the bottom in the design view and when the transaction data repeats, it incorrectly pushes the closing paragraph into the contact area.  So basically if the closing paragraph starts to bleed into the contact info block, I want both closing paragraph and contact info to break to a new page.  I don't want to reduce the height of the content area because I want the transaction data to have the ability to display in the full length of the height if needed. 

    Every time you add an instance to you subform, you should hide the footer in the previous instance
    e.g.
    when adding an instance
    var intCount = _subform.count;
    _subform.addInstance(1);
    Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "hidden"
    when removing an instance if applicable
    _subform.removeInstance(x);
    var intCount  = _subform.count - 1;
    Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "visible";

  • Want to display footer in last page

    Hi Experts,
    I developed a classical report for service order print.
    The pages increases,  if there are more line items .
    My requirement is to display the footer in the last page only, not all the pages.
    So please help me regarding this.
    Thanks in advance.
    Regards
    Pavan

    Ok So this is a classical report and you need to set the footer only at the last page .
    In ur code use the control break
    LOOP AT ITAB.
    AT LAST.
    write:/ 'Footer text'.  "<---
    ENDAT.
    ENDLOOP.
    I hope you are discussing this about a report only .
    I hope this is not a  script requirement.
    if it is so then
    /: IF &NEXTPAGE& EQ 0 
          whatever footer you want. 
    /: ENDIF 
    Vijay

  • How to display the some extra text in footer last page of each department

    Hello Experts,
    I need help in generating RTF template to generate sum of salary for each department in the footer of the last page of each department name As shown below.
    Total salary of <DEPARTMENT_NAME>=<Sum of salary>.
    Someone plese help me.
    For example:
    If my output is displaying in multiple pages for each department I want the output should be as follows in the footer of last page of current group
    *Total Salary of Accounting = _20300_*
    My xml file is as follows*
    <?xml version="1.0" standalone="yes"?>
    <ROWSET>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Den</FIRST_NAME>
    <JOB_ID>PU_MAN</JOB_ID>
    <SALARY>11000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Alexander</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>3100</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Shelli</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2900</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Sigal</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2800</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Guy</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2600</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Karen</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Nancy</FIRST_NAME>
    <JOB_ID>FI_MGR</JOB_ID>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Daniel</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>9000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>John</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>8200</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Ismael</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>7700</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Jose Manuel</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>7800</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Luis</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>6900</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
    <FIRST_NAME>Shelley</FIRST_NAME>
    <JOB_ID>AC_MGR</JOB_ID>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
    <FIRST_NAME>William</FIRST_NAME>
    <JOB_ID>AC_ACCOUNT</JOB_ID>
    <SALARY>8300</SALARY>
    </ROW>
    </ROWSET>

    Hi,
    This a good document to look at. Search for the words "Running Totals" and "Regrouping the XML Data" on the page.
    Oracle Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher
    http://docs.oracle.com/cd/E21043_01/bi.1111/e13881/T421739T481157.htm
    I hope it helps.
    Sinan

  • Problem with variable in last page only context

    Hi,
    I am using a variable to sum the amount. And i need to print that variable in the footer of last page. I am using last page only context command(<?start@last-page-first:body?><?end body?><?call:footer_template?>) for printing the footer table in last page.
    Can i access the variable in last page only context. Its giving error for me. how can i access that variable.
    Thanks in advance.

    Yunus,
    I did what you said. I removed the variable from characteristic restrictions, saved the query and executed the query, appeared three variables Plant, Calender month and material. executed and saved the work book. disconeted from Bex analyzer, in RSRT Generated Report and logged into Bex analyzer ran the work book for selection Plant, calender month and material and went into change query definition and added the variable for customer which was removed earlier and and ran the query for selections Plant, Calender monmth, Material and customer. saved the work book. disconnected from Bex analyzer and closed all excel sheets and work books. In RSRT Generated Report and again connected to Bex analyzer and ran the work book, now appeared only three variables again missed variable customer.
    Yunus does any missed n the procedure what i did.
    It is helped what Chris was answered.
    Many Many Thaks for your time and replies.
    Thaks in advance
    Narendra

  • Footer in last page

    how to display footer in the last page for 10 pages

    Hi Harish,
    Proceed like this:
    1) Create the footer window and add the text you want to print.. but below a window element like this:
    /E FOOT
    /: If w_last EQ 'X'
      This is footer..
    /: ENDIF.
    Defining a window element will prevent print of this text automatically.
    2) in your Driver program, you must be looping at the internal table and calling the WRITE_FORM function with window MAIN inside the loop.
    As soon as the loop gets completed, set the w_last flag. and call function WRITE_FORM passing the window name as FOOTER and element as FOOT
    Thanks and Best Regards,
    Vikas Bittera.

  • Footer for last page

    How to provide footer for last page in areport.

    See the sample program :
    footer will print last page by using at last event.
    *& Report  ZTEST_IEVENTS
    REPORT  ZTEST_IEVENTS no standard page heading
                          line-count 40(2).
    tables : vbap.
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           posnr like vbap-posnr,
           matnr like vbap-matnr,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           end of i_vbap.
    data wa_vbap like line of  i_vbap.
    data v_flag type c.
    select-options s_vbeln for vbap-vbeln obligatory.
    start-of-selection.
    select vbeln
           posnr
           matnr
           kwmeng
           netpr from vbap
           into table i_vbap
           where vbeln in s_vbeln.
    sort i_vbap by vbeln posnr.
    end-of-selection.
    loop at i_vbap.
    move i_vbap to wa_vbap.
    at first.
    write:/2 'Order #',15 'Item #',28 'Material #',50 'Qty', 70 'Net value'.
    skip 1.
    endat.
    at new vbeln.
    write:/2 wa_vbap-vbeln,15 wa_vbap-posnr,28 wa_vbap-matnr,
            47 wa_vbap-kwmeng,65 wa_vbap-netpr.
    v_flag = 'X'.
    endat.
    if v_flag ne 'X'.
    write:/15 wa_vbap-posnr,28 wa_vbap-matnr,
            47 wa_vbap-kwmeng,65 wa_vbap-netpr.
    endif.
    at end of vbeln.
    sum.
    skip 1.
    write:/5 'Sub totals', 47 i_vbap-kwmeng,65 i_vbap-netpr.
    skip 1.
    endat.
    at last .
    skip 1.
    sum.
    write:/5 'Grand Totals',47 i_vbap-kwmeng,65 i_vbap-netpr.
    skip 1.
    write:/ 'end of page', 'Footer'.
    endat.
    clear v_flag.
    endloop.

Maybe you are looking for

  • HD SDI capture... no audio via HD SDI or XLR

    Can't seems to get audio levels to capture on HD SDI or my xlr inputs via blackmagic hd extreme. Using a canon xl h1. Any ideas as to how I get get sound as well as video?

  • Assistance needed with migration from OSMF 1.0 to OSMF 2.0

    I am using a third party plug-in for HTTP Live Streaming playback, http://code.google.com/p/apple-http-osmf/ Porting the plug-in from OSMF 1.0 to OSMF 2.0 did not go as smoothly as I had hoped. A change in behaviour between OSMF 1.0 and OSMF 2.0 is c

  • My web page, created on iWeb and up and running since 2011, is no longer on iWeb. Where did it go?

    I created a webpage on iWeb in 2011. It's on line. It has worked great. Tonight I wanted to do some editing, which I do about monthly, I opened iWeb and my page is gone. Where did it go?

  • Flash not loading in IE

    The flash script has been running without issue for a long time. Now it doesn't load in IE. It still loads in Firefox. View this URL: www.brannlaw.com (Issue: Homepage, left-green sidebar, under 'some of our clients' graphic, the flash movie not load

  • Static import

    import static java.lang.System.*; out.println("Hello"); System.out.println("Hello");Is there any difference in performance between the above code.