List report page number

Hi frnds,
    I want to display page numbers as x/y,
    x->current page number of list report
    y->total pagenumber of list report
      in header part of list report, this value has to be printed in each page of the list report.i can calculate current page by sy-pagno,
but my question is, how can we calculate the total page number of the list report.
Thanks in advance
   Anand

hi check this,
*& Report  ZVG_ALV_SLIST2                                              *
report  zvg_alv_slist2                          .
ALV
type-pools: slis.
G L O B A L   I N T E R N  A L   T A B L E S
data: gt_fieldcat type slis_t_fieldcat_alv,
      gs_layout   type slis_layout_alv,
      gt_events   type slis_t_event.
data: it_sort type slis_t_sortinfo_alv ,
      wa_sort type slis_sortinfo_alv .
data: gs_print type slis_print_alv.
data: begin of it_sflight occurs 0,
        carrid     like sflight-carrid,
        connid     like sflight-connid,
        fldate     like sflight-fldate,
        price      like sflight-price,
        planetype  like sflight-planetype,
        seatsmax   like sflight-seatsmax,
        seatsocc   like sflight-seatsocc,
        paymentsum like sflight-paymentsum,
     end of it_sflight.
*DATA: GI_SFLIGHT LIKE STANDARD TABLE OF ST_SFLIGHT.
data: g_repid like sy-repid.
data: gt_list_top_of_page type slis_t_listheader.
data: v_total(5).
start-of-selection.
  g_repid = sy-repid.
  perform init_fieldcat  using gt_fieldcat[].
  perform build_eventtab using gt_events[].
  perform build_comment  using gt_list_top_of_page[].
  perform get_data.
  perform set_layout using gs_layout.
SORTING
  clear wa_sort.
  wa_sort-fieldname = 'CARRID'.
  wa_sort-up = 'X'.
  wa_sort-group = '*'.
  wa_sort-subtot = 'X'.
  append wa_sort to it_sort.
  clear wa_sort.
  wa_sort-fieldname = 'CONNID'.
  wa_sort-up = 'X'.
  wa_sort-group = 'UL'.
  wa_sort-subtot = 'X'.
  append wa_sort to it_sort.
DISPLAY LIST
  call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
      i_interface_check       = ' '
      i_callback_program      = g_repid
      i_callback_user_command = 'USER_COMMAND'
      is_layout               = gs_layout
      it_fieldcat             = gt_fieldcat[]
      it_sort                 = it_sort[]
      it_events               = gt_events
      is_print                = gs_print
    tables
      t_outtab                = it_sflight
    exceptions
      program_error           = 1
      others                  = 2.
  if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
*&      Form  INIT_FIELDCAT
form init_fieldcat using    p_gt_fieldcat type slis_t_fieldcat_alv.
  data: ls_fieldcat type slis_fieldcat_alv,
        l_index type sy-tabix.
  data :rep like sy-repid.
  rep = sy-repid.
  call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
      i_program_name         = rep
      i_internal_tabname     = 'IT_SFLIGHT'
      i_inclname             = rep
    changing
      ct_fieldcat            = gt_fieldcat
    exceptions
      inconsistent_interface = 1
      program_error          = 2
      others                 = 3.
  if sy-subrc <> 0.
    message id sy-msgid type 'S' number sy-msgno
         with sy-msgv1 sy-msgv2 sy-msgv3 sy-subrc.
  endif.
  sort gt_fieldcat by col_pos.
  loop at gt_fieldcat into ls_fieldcat.
    l_index = sy-tabix.
    if ls_fieldcat-fieldname = 'PRICE'.
      ls_fieldcat-do_sum = 'X'.
      ls_fieldcat-sp_group = 'X'.
      modify gt_fieldcat from ls_fieldcat index l_index .
    endif.
  endloop.
endform.                    " INIT_FIELDCAT
*&      Form  BUILD_EVENTTAB
form build_eventtab using  p_gt_events type slis_t_event.
  data: ls_event type slis_alv_event.
  clear ls_event.
  ls_event-name = slis_ev_top_of_page.
  ls_event-form = 'XTOP_OF_PAGE'.
  append ls_event to p_gt_events.
  clear ls_event.
  ls_event-name = slis_ev_top_of_list.
  ls_event-form = 'XTOP_OF_LIST'.
  append ls_event to p_gt_events.
  clear ls_event.
  clear ls_event.
  ls_event-name = slis_ev_end_of_page.
  ls_event-form = 'XEND_OF_PAGE'.
  append ls_event to p_gt_events.
  ls_event-name = slis_ev_end_of_list.
  ls_event-form = 'XEND_OF_LIST'.
  append ls_event to p_gt_events.
  clear ls_event.
endform.                    " BUILD_EVENTTAB
*&      Form  BUILD_COMMENT
form build_comment using   p_gt_list_top_of_page type slis_t_listheader.
  data: ls_line type slis_listheader.
  ls_line-typ = 'H'." = Header, S = Selection, A = Action
  ls_line-key = 'KEY'.
  ls_line-info = 'INFO'.
  append ls_line to p_gt_list_top_of_page.
endform.                    " BUILD_COMMENT
*&      Form  SELECTION
form get_data..
data: l_rows type i value 3.
Read data from table SFLIGHT
  select carrid
         connid
         fldate
         price
         planetype
         seatsmax
         seatsocc
         paymentsum
     from sflight
     into table it_sflight.
    up to l_rows rows.
  sort it_sflight.
endform.                    " SELECTION
*&      Form  SET_LAYOUT
form set_layout using  p_gs_layout type slis_layout_alv.
*  P_GS_LAYOUT-F2CODE            = P_F2CODE.
  p_gs_layout-zebra          = 'X'.
  p_gs_layout-colwidth_optimize = 'X'.
  p_gs_layout-no_input          = 'X'.
  p_gs_layout-no_colhead        = space.
  p_gs_layout-totals_text       = 'Total Price'.
  p_gs_layout-subtotals_text    = 'Sub Total'.
  p_gs_layout-totals_only       = 'X'.
  p_gs_layout-key_hotspot       = 'X'.
  p_gs_layout-detail_popup      = 'X'.
  p_gs_layout-no_subtotals      = space.
  p_gs_layout-expand_all        = 'X'.
  p_gs_layout-group_buttons     = 'X'."space.
endform.                    " SET_LAYOUT
      FORM XTOP_OF_PAGE                                             *
form xtop_of_page.
data : lv_page(5),
        lv_text(20).
  MOVE SY-PAGNO TO LV_PAGE.
  write:/  'X_TOP_OF_PAGE'.
endform.                    "xtop_of_page
      FORM XTOP_OF_LIST                                             *
form xtop_of_list.
  write:/  'X_TOP_OF_LIST'.
endform.                    "xtop_of_list
      FORM XEND_OF_PAGE                                             *
form xend_of_page.
  write:/  'X_END_OF_PAGE'.
endform.                    "xend_of_page
      FORM XEND_OF_LIST                                             *
form xend_of_list.
  write:/  'X_END_OF_LIST'.
  data : lv_page(5),
         lv_text(20).
  data : l_lines type i,
         l_line  type i.
  clear v_total.
  write sy-pagno to v_total left-justified.
export v_total to memory id 'V_TOTAL'.
  do sy-pagno times.
    lv_page = sy-index.
    concatenate 'Page' lv_page 'of' v_total
         into lv_text separated by space.
    if sy-index = 1.
      read line 2 of page sy-index.
    else.
      read line 1 of page sy-index.
   endif.
    sy-lisel+60(20) = lv_text.
      modify current line .
  enddo.
endform.                    "xend_of_list
      USER_COMMAND                                             *
form user_command  using r_ucomm like sy-ucomm
                          rs_selfield type slis_selfield.
  case r_ucomm.
    when 'EXIT'.
      leave to screen 0.
    when '&IC1'.
      data: text(256),text1(6),text2(5).
      move rs_selfield-tabindex to text1.
      move rs_selfield-sumindex to text2.
      concatenate  'Double clicked on (field:'
                    rs_selfield-fieldname
                    'Value:'
                    rs_selfield-value
                    text1
                    text2
                    into text
                    separated by space.
      call function 'POPUP_TO_DISPLAY_TEXT'
        exporting
          textline1 = text.
  endcase.
endform.                    "user_command
regards,
venkat.

Similar Messages

  • KT list with Page number

    Hi,
    I want generate report of KT Character Style with Page numbers. But it showing some error, please anyone help me for this.
    Thanks in advance,
    Brave heart

    Hi Chinna,
    Please see the below script text as your need. Please help me...
    var mySourceFolder = Folder.selectDialog("Choose a sourceFolder");  
    if(mySourceFolder != null){  
            var myDestinationFolder = Folder.selectDialog("Choose a destination folder");  
            if(mySourceFolder !=null){
                    myDisplayDialog(myDestinationFolder, mySourceFolder);
    function stripExt (f) {  
            return f.substring(0,f.length-4);  
    function myDisplayDialog(myDestinationFolder, mySourceFolder){
    var myArray = new Array;
    app.findTextPreferences = app.changeTextPreferences = null;
    app.findTextPreferences.appliedCharacterStyle = "KT"
    var myFound = myDoc.findText()
    for (i = 0; i<myFound.lenght; i++){
        var myFindKT = myFound[i].contents + "\t" + myFound[i].parentTextFrames[0].parentPage.name + "\r"
        myArray.push(myFindKT)
    var myTextFile = new File(myDoc.filePath + "/KT_Report.txt")
    myTextFile.open("w")
    myTextFile.writeIn(myArray)
    myTextFile.close();
    alert("Process Completed");
    Thanks in advance
    Dinesh

  • Page Number in Normal Report List?

    Is this possible? How? I need to put like Page 1 of 1 on the lower right hand corner of the report page.
    Thanks rewards will be given

    HI
    see this report
    page number is there, just adjust the place of possition 
    REPORT  ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
            MATNR LIKE MARA-MATNR,
            WERKS LIKE MARC-WERKS,
            PSTAT LIKE MARC-PSTAT,
            EKGRP LIKE MARC-EKGRP,
           END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            EBELP LIKE EKPO-EBELP,
            MATNR LIKE EKPO-MATNR,
            WERKS LIKE EKPO-WERKS,
            LGORT LIKE EKPO-LGORT,
           END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    *********INITIALIZATION OF SELECTION SCREEN ELEMENTS.*****
    INITIALIZATION.
    P_WERKS = '1000'.
    S_EBELN-LOW = '4500016926'.
    S_EBELN-OPTION = 'EQ'.
    S_EBELN-SIGN = 'I'.
    APPEND S_EBELN.
    CLEAR S_EBELN.
    ************END OF INITIALIZATION***********************
    ***********SCREEN MODIFICATIONS*******************
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
        IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ********END OF SCREEN MODIFICATIONS*****************
    ***************SCREEN VALIDATIONS *****************
    at selection-screen.
      SELECT SINGLE *
               FROM EKKO
               INTO EKKO
               WHERE EBELN IN S_EBELN.
      IF SY-SUBRC <> 0.
        SET CURSOR FIELD 'S_EBELN-LOW'.
        MESSAGE E999 WITH TEXT-005.
      ENDIF.
    ********end of screen validation*****************
    START-OF-SELECTION.
    *set pf-status '100'.
      IF R1 EQ 'X'.
        SELECT MATNR
               WERKS
               PSTAT
               EKGRP
           FROM MARC
           INTO TABLE IT_PLANT
           WHERE WERKS = P_WERKS.
        LOOP AT IT_PLANT.
          WRITE : SY-VLINE , 2 IT_PLANT-MATNR COLOR COL_KEY,
                 21 SY-VLINE , 22  IT_PLANT-WERKS COLOR COL_KEY,
                 27 SY-VLINE ,28 IT_PLANT-PSTAT COLOR COL_NORMAL,
                 43 SY-VLINE ,44 IT_PLANT-EKGRP COLOR COL_NORMAL.
        ENDLOOP.
      ENDIF.
      IF R2 EQ 'X'.
        SELECT EBELN EBELP MATNR WERKS LGORT
               FROM EKPO
               INTO TABLE IT_PONO
               WHERE EBELN IN S_EBELN.
        LOOP AT IT_PONO.
          WRITE : SY-VLINE , 2 IT_PONO-EBELN COLOR COL_KEY,
                 12 SY-VLINE , 13 IT_PONO-EBELP COLOR COL_KEY,
                 18 SY-VLINE , 19 IT_PONO-MATNR COLOR COL_NORMAL,
                 37 SY-VLINE , 38 IT_PONO-WERKS COLOR COL_NORMAL,
                 44 SY-VLINE , 45 IT_PONO-LGORT COLOR COL_NORMAL, 49 SY-VLINE..
        ENDLOOP.
      ENDIF.
    TOP-OF-PAGE.
      IF R1 EQ 'X'.
    *ULINE AT /1(48).
        WRITE : SY-VLINE ,2 'MATERIAL NUMBER',
                21 SY-VLINE , 22 'PLANT',
                27 SY-VLINE , 28 'STATUS',
                43 SY-VLINE , 44 'GRUP', 48 SY-VLINE.
        ULINE AT /1(48).
      ENDIF.
      IF R2 EQ 'X'.
        WRITE : SY-VLINE , 2 'PO NUMBER',
               12 SY-VLINE, 13 'ITEM',
               18 SY-VLINE,19 'MATERIAL NUMBER',
               37 SY-VLINE, 38 'PLANT',
               44 SY-VLINE, 45 'GRUP',
               49 SY-VLINE.
        ULINE AT /1(50).
      ENDIF.
    <b>END-OF-PAGE.
      ULINE AT /1(50).
      WRITE :/10 'PAGE NUMBER', SY-PAGNO.</b>
    <b>Reward if usefull</b>

  • How to disable showing page number on oracle report

    Hi,
    when i am using ttitle and btitle options in oracle report, page number & date gets automatically added top of my report. Is there any option if i don't want these two to appear on my report. how can i disable them.

    Hi,
    user8531525 wrote:
    Hi,
    when i am using ttitle and btitle options in oracle report, page number & date gets automatically added top of my report. Is there any option if i don't want these two to appear on my report. how can i disable them.When you use the word "report", people (like Tubby) are likely to think you are using Oracle Reports, rather than SQL*Plus. Avoid the word "report", or else make it clear what you're doing.
    By default, TTITLE puts the date on the left, and the page number on the right.
    If you don't want them, put something else there. Explicitly put an empty string there, if you don't want anything else:
    TTITLE  LEFT ""   CENTER "Monthly Firbolig Summary"   RIGHT ""

  • Initial-page-number not working in RTF format output

    A report has a parameter for the page number to start with. In rtf template below code is present
    <?initial-page-number:xdoxslt:ifelse(P_FIRST_PAGE_NUM!=’’,number(P_FIRST_PAGE_NUM),1)?>
    The report page number starts with the value which we pass in p_first_page_num in PDF format but in rtf format output it always starts with 1.
    Is initial-page-number not supported in RTF format output ? If not then what is the alternative?

    the method u followed is fine as need a page number staring from a specify value which u input.
    @section is only for resetting page number to 1 for every group and for that pdf and ppt will be fine but only for rtf u need to use that ( pressing F9).
    u can use @section and initial page number combined but they give u same output as get now. rtf output wont support it will only reset 1 every time
    What ever u do rtf output wont support initial page number code ..........
    i mentioned that F9 work around to mention that it is the only work around u have upto now to control rtf output with regards to page number.
    Guru's correct me if i am wrong. wait for a day or two if some one from guru's confirm it .
    If u need real confirmation raise an SR oracle will let u know .

  • Net Price List Report V_NL- SDNETPRO

    Dear  SAP Friends,
    I trying to use standard V_NL net price list report, the number are not matching up to the subtotals values in pricing procedure. While calculating manually it is found that the condition records whichever has scales involved is given a miss and calculation are done excluding them, could anybody help me out in understand the SDNETPRO and the way it functions. Thanks in advance.
    Kind Regards
    Rajesh

    Hi,
    To create new pricing report u can use
    Create - V/LA
    Change - V/LB
    Display - V/LC
    Execute - V/LD
    Slect table sales orgz, dist. chaneel, division, material, item, etc.
    kapil

  • Page number in ALV report

    Hi all,
    I use top of page to print page number for ALV report. When i run my report in backgrond and see the spool, the page is always started from page 2.
    These does not happen when I use non-ALV report, report prints the header starting from page 1 normally. It is weird.
    does anyone of you ever face such of that problem ?
    thanks alots
    Alia

    Hi Alia,
    Page number is usually not set in an ALV display, as compared to  List processing.
    r u sure this is a requirement?
    chk this:
    ALV Print page numbers
    Regards,
    Anjali

  • Print tpage number/total page number in a report with width more than 240

    Dear all,
    I need to display total page number as following code sample.
    But I need to put it after position 240.
    this program can print total page number if   it is placed at postion 239 or before.
    WRITE: /234(10) 'Heading',  239 SY-PAGNO,'of ', '-----'.
    Whenever I put  240 or more WRITE: /234(10) 'Heading',  240 SY-PAGNO,'of ', '-----'.
    Total page num could not be displayed.
    Please tell me the solution.
    thanks
    REPORT YPAGECOUNT NO STANDARD PAGE HEADING LINE-SIZE 276  LINE-COUNT 65.
        DATA L_PAGE_COUNT(5) TYPE C.
    TOP-OF-PAGE.
      WRITE : /234(10) 'PAGE', SY-PAGNO,'/ ','-----', ''.
       WRITE: /234(10) 'Heading',  239 SY-PAGNO,'of ', '-----'.
        ULINE.
    START-OF-SELECTION.
      Real list output takes place here
        DO 1000 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.

    Using Values Greater than 255 for the LINE-SIZE of a List
    If you define a fixed column width greater than 255 using the LINE-SIZE addition in the REPORT or NEW-PAGEstatement, the following notes apply:
    Type definitions: The type group SLIST defines the valid maximum value for the list width (SLIST_MAX_LINESIZE), and contains a type for list lines with maximum width (SLIST_MAX_LISTLINE).
    Accessing the entire contents of a line: To read or modify the entire contents of a wide line, you can use the ... LINE VALUE addition in the READ LINE or MODIFY LINE statements. This is an alternative to using SY-LISEL that is independent of the attributes of the system field (since the length of SY-LISEL is 255 characters).
    Horizontal lines: With extra-wide lists, the "ULINE." statement corresponds to "WRITE / SY-ULINE.". So, for example, "ULINE AT 5(300)." corresponds to "WRITE AT 5(300) SY-ULINE.".
    Output length: You can use the length specification in WRITE (or ULINE) to extend the output length of an extra-wide list up to the value of LINE-SIZE. If you want to output a whole field that is longer than 255 characters, you must use this, even if the field itself is defined as longer than 255 characters.
    Example
    NEW-PAGE LINE-SIZE 1000.
    DATA: F1(500) VALUE 'F1'.
    WRITE: /      F1 COLOR COL_NORMAL.  " Output with length 255
    WRITE: /(500) F1 COLOR COL_NORMAL.  " Output with length 500
    Awrd Points if useful
    Bhupal

  • Help needed- Reg: Display page number in SQL Reports

    Hi,
    I need to display page number in " page no: X of Y " format where X is current page & Y is total number of pages. Now I am able to display only the current page using ' sql.pno '. but not able to display in ' X of Y ' format.
    Any inputs in this regard will be helpful.
    Thanks & Regards,
    Anilkumar.

    Hello Anil,
    If you have the above requirement for Oracle Reports then follow the steps:
    1.In the Paper Layout view or Paper Design view, choose InsertPage Number.
    2. In the Insert Page Number dialog box, choose from the list the location for the page number.
    3.Click the desired page number format: Page Number Only or Page Number and Total Pages.
    Cheers,
    Suresh

  • How to insert page number on each page for Cross-Tab report?

    Hi,
    I have created a Cross-Tab in the section Report Header via Crystal Reports 11.
    Now, I want to created more Cross-Tabs, and each page has one Cross-Tab.
    So, I insert Report Headers to contain Cross-Tabs. But, the report only shows the page number at the last page.
    How to insert page number on each page?
    Thanks in advance.

    Hi,
    Well, the easiest solution is to place the Cross-tab in the Report Footer, Of course, ONLY if the report contains this single object which I'm assuming is not the case.
    If you do not wish to place the cros-tab in the Report Footer, here's what you need to do:
    1) Create a formula;
    whilereadingrecords;
    2) Create a group on this formula. If the report already contains groups, move this formula to the top of the grouping list. It won't affect the other groups or records in any way.
    3) Move the Cross-tab from the Report Header to the Group Header1 and suppress Group Footer1
    4) Add the Page Number field to the Page Footer
    Let me know how this goes!
    -Abhilash

  • AR Customer statements report Page numbers Reset based on customer number

    Hello,
    In the AR Customer statements report, If I ran the report for multiple customers, page number has to be reset for each customer...
    Group Started like below,
    <?for-each-group:G_STATEMENT;STATEMENT_DATE?><?for-each-group:current-group();SEND_TO_ADDRESS_ID?>

    Hi Kittu,
    I got the answer using @section command.
    Below are the complete syntax in my case.
    Form field         --Xml Tag
    If Data Found --<?choose@section:?><?when:count(G_SETUP)!=0?>
    Group G_SETUP  --<?for-each@section:G_SETUP?>
    Group G_STATEMENT --<?for-each-group@section:G_STATEMENT;STATEMENT_DATE?><?for-each-group@section:current-group();SEND_TO_ADDRESS_ID?>
    Its working for me.
    Let me know if you required more information.
    Regards,
    Dasarath

  • Page number problem  in xml report

    hi all,
    I have created one xml report  for purchase order
    I want to print the page number and po number for each page ,
    to achieve this i have inserted at header section the page number as "1"
    but it is displaying for only 1 and 3rd and 5th pages and so on
    kindly help me on this 
    thanks for all in advance.

    >
    i have inserted at header section the page number as "1"
    >
    why?
    >
    but it is displaying for only 1 and 3rd and 5th pages and so on
    >
    of course
    use
    >
    Page numbering
    Insert page numbers into your final report by using the page numbering methods of your word processing application. For example, if you are using Microsoft Word:
    1. From the Insert menu, select Page Numbers...
    2. Select the Position, Alignment, and Format as desired.

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • How to change Number of Rows in a Tabular Form report page?

    Hi
    I am working with a tabular form to create an attendance sheet for a school using Oracle Application Express 3.0.1.00.12. Whenever I change the Number of Rows value from 10 to 1000 in the Layout and Pagination section of the report page, the SUBMIT button is not working and it is unable to process at that stage. How can I change the valu so that I can see all the rows in a single page, make changes to all rows and submit the page rightaway. Please help me.
    Thanks,
    Chak
    Edited by: user520137 on Jan 12, 2010 12:04 PM

    Hi
    I am working with a tabular form to create an attendance sheet for a school using Oracle Application Express 3.0.1.00.12. Whenever I change the Number of Rows value from 10 to 1000 in the Layout and Pagination section of the report page, the SUBMIT button is not working and it is unable to process at that stage. How can I change the valu so that I can see all the rows in a single page, make changes to all rows and submit the page rightaway. Please help me.
    Thanks,
    Chak
    Edited by: user520137 on Jan 12, 2010 12:04 PM

  • How to print logical page number in TOC of report

    My report has three sections - header, main, trailer.
    after each group break in the main section the page number is saved using the srw.get_page_num(pageNum).
    this records are used to build the toc in the trailer section.
    Problem: srw.get_page_num delivers only the logical pagenum of the section,
    means if the header section spans more than one page (for example 2), the main section starts at physical pagenum 3.
    If I don't know how many pages my header contains I never have the real page number in my toc, beacuse i have to add the number of "header pages" to the saved pagenum of the main section to compute the "physical pagenum".
    Is there a possibility to save the physical pagenum in the header section (in a trigger) ?
    Message was edited by:
    [email protected]

    Thats my huge problem - i can not calculate the number of pages
    nor in the main section neither in the header section.
    The problem is not to know how many pages are in the trailor section.
    I have to know, how many pages are in the header section without to start multiple the report.
    If I have this number i can add it to the "logical" page number" of the main section to get the physical page number of the report.
    the page numbers of the main section are available.
    Message was edited by:
    [email protected]

Maybe you are looking for

  • AP Vendor outgoing payment - different remit to vedor required

    Hello,     We have a situation where in the AP vendor now wants to change their receivables to a different party. How do we take care of this . The Invoice is coming in from Vendor A but the payments going to Vendor B . these are non - po purchases.

  • Loading the correct constructor from an init file...

    by reading lines like that: Apple 10 rgb000100255 Apple 20 rgb255150255 from an "init.txt" file but i get an IllegalArgumentException when it tries to find the correct constructor based on the paramTypes array, which contains the types of the paramet

  • Can't use keyboard under GDM

    i installed the Xorg and make my touchpad and keyboard worked under X, then i installed the gnome and gdm. when i entered GDM ,the touchpad was working but not the keyboard. What can i do with this? Arch on ASUS W7J

  • Suddenly 2 Crashes in a Row

    My 2008 Mac Pro suddenly crashed twice. In both cases, the screen went dark, then was replaced by a grey screen with the message, "Your computer was restarted because of an error..." or something like that. I need help interpreting the crash log, to

  • FireWire 800 Nocks out Signal

    I have a linksys G base station two floors above the main location of my MacBook Pro 17" (G1). I get an adequate signal most of the time. But when I plug in my Lacie External HD with a Firewire 800 cord, in a matter of a few seconds to a min, the sig