Modified Report required

hi guys am new to ABAP,
i have a report which prints information of a single customer for a particular period , can anybody modify my report and give me the code for displaying information of multiple customers at a time... and info of every customer  should be printed in a fresh page.... i mean printing of next customer should should start in new page... plz check the code below
*& Report  ZFI_STMT_OF_ACC
REPORT  zfi_stmt_of_acc_new NO STANDARD PAGE HEADING LINE-COUNT 60
          LINE-SIZE 224.
TABLES: kna1,
        bseg,
        bkpf,
        bsid,
        bsik,
        vbrk,j_1iexcdtl.
       zfi_cu_tran.
*INTERNAL TABLES DECLARATION
DATA: BEGIN OF it_bsid1 OCCURS 0,
      belnr LIKE bsid-belnr,
      blart LIKE bsid-blart,
      budat LIKE bsid-budat,
      bldat LIKE bsid-bldat,
      xblnr LIKE bsid-xblnr,
      sgtxt LIKE bsid-sgtxt,
      kunnr LIKE bsid-kunnr,
      umskz LIKE bsid-umskz,
      shkzg LIKE bsid-shkzg,
      wrbtr LIKE bsid-wrbtr,
      vbeln LIKE bsid-vbeln,
END OF it_bsid1.
DATA: BEGIN OF it_bsid2 OCCURS 0,
      belnr LIKE bsid-belnr,
      blart LIKE bsid-blart,
      budat LIKE bsid-budat,
      bldat LIKE bsid-bldat,
      xblnr LIKE bsid-xblnr,
      sgtxt LIKE bsid-sgtxt,
      kunnr LIKE bsid-kunnr,
      umskz LIKE bsid-umskz,
      shkzg LIKE bsid-shkzg,
      wrbtr LIKE bsid-wrbtr,
      vbeln LIKE bsid-vbeln,
END OF it_bsid2.
DATA: it_bsid3 LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: it_bsid4 LIKE it_bsid2 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_bsik1 OCCURS 0,
      belnr LIKE bsik-belnr,
      blart LIKE bsik-blart,
      budat LIKE bsik-budat,
      bldat LIKE bsik-bldat,
      xblnr LIKE bsik-xblnr,
      sgtxt LIKE bsik-sgtxt,
      lifnr LIKE bsik-lifnr,
      umskz LIKE bsik-umskz,
      shkzg LIKE bsik-shkzg,
      wrbtr LIKE bsik-wrbtr,
      ebeln LIKE bsik-ebeln,
END OF it_bsik1.
DATA: BEGIN OF it_bsik2 OCCURS 0,
      belnr LIKE bsik-belnr,
      blart LIKE bsik-blart,
      budat LIKE bsik-budat,
      bldat LIKE bsik-bldat,
      xblnr LIKE bsik-xblnr,
      sgtxt LIKE bsik-sgtxt,
      lifnr LIKE bsik-lifnr,
      umskz LIKE bsik-umskz,
      shkzg LIKE bsik-shkzg,
      wrbtr LIKE bsik-wrbtr,
      ebeln LIKE bsik-ebeln,
END OF it_bsik2.
DATA it_final LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_vbrp OCCURS 0,
      vbeln LIKE vbrp-vbeln,
      fkdat LIKE vbrk-fkdat,
      matnr LIKE vbrp-matnr,
      fkimg LIKE vbrp-fkimg,
      meins LIKE vbrp-meins,
END OF it_vbrp.
DATA: BEGIN OF it_output OCCURS 0,
      belnr LIKE bsid-belnr,
      bldat LIKE bsid-bldat,
      budat LIKE bsid-budat,
      vbeln LIKE bsid-vbeln,
      fkdat LIKE vbrk-fkdat,
      blart LIKE bsid-blart,
      dwrbtr LIKE bsid-wrbtr,
      cwrbtr LIKE bsid-wrbtr,
      cumil TYPE p DECIMALS 2,
      matnr LIKE vbrp-matnr,
      fkimg LIKE vbrp-fkimg,
      meins LIKE vbrp-meins,
      xblnr LIKE bsid-xblnr,
      sgtxt LIKE bsid-sgtxt,
END OF it_output.
DATA: v_kunnr LIKE kna1-kunnr,
      v_name1 LIKE kna1-name1,
      v_ort01 LIKE kna1-ort01,
      v_lifnr LIKE lfa1-lifnr,
      v_belnr LIKE bsid-belnr,
      v_exnum LIKE j_1iexcdtl-exnum.
DATA: v_budat LIKE bkpf-budat.
DATA: v_budat1 LIKE v_budat,
      v_budat2 LIKE v_budat.
DATA: v_nwrbtr TYPE p DECIMALS 2,
      v_swrbtr TYPE p DECIMALS 2,
      v_vwrbtr TYPE p DECIMALS 2,
      v_fwrbtr TYPE p DECIMALS 2,
      v_cumil TYPE p DECIMALS 2,
      v_debit TYPE p DECIMALS 2,
      v_credit TYPE p DECIMALS 2.
DATA: v_xwrbtr TYPE p DECIMALS 2.
DATA: v_text(75),
      v_date1(10),
      v_date2(10).
DATA: it_output1 LIKE it_output OCCURS 0 WITH HEADER LINE.
DATA: it_output2 LIKE it_output OCCURS 0 WITH HEADER LINE.
SELECT-OPTIONS s_budat1 FOR bkpf-budat NO-DISPLAY.
SELECTION-SCREEN BEGIN OF BLOCK customer WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_kunnr FOR kna1-kunnr NO INTERVALS NO-EXTENSION
                                       OBLIGATORY,
                s_budat FOR bkpf-budat NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK customer.
SELECTION-SCREEN BEGIN OF BLOCK type WITH FRAME TITLE text-002.
PARAMETERS: x_norm LIKE itemset-xnorm AS CHECKBOX DEFAULT 'X',
            x_shbv LIKE itemset-xshbv AS CHECKBOX,
            x_apar LIKE itemset-xarit AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK type.
MOVE s_budat-low TO v_budat.
IF s_budat-high LT '20060331'.
  MESSAGE 'DATA NOT AVILABLE TO THE GIVEN DATE RANGE' TYPE 'E'.
ENDIF.
LOOP AT s_budat.
  s_budat-low = '20060330'.
  MODIFY s_budat.
ENDLOOP.
START-OF-SELECTION.
  CLEAR: v_nwrbtr,
         v_swrbtr,
         v_vwrbtr,
         v_fwrbtr.
  SELECT SINGLE kunnr name1 ort01
         FROM kna1 INTO (v_kunnr, v_name1, v_ort01)
         WHERE kunnr IN s_kunnr.
  SELECT SINGLE lifnr
         FROM lfa1 INTO v_lifnr
         WHERE kunnr IN s_kunnr.
  IF x_norm EQ 'X'.
    SELECT belnr blart budat bldat
           xblnr sgtxt kunnr
           umskz shkzg wrbtr vbeln
           FROM bsid
           INTO CORRESPONDING FIELDS OF TABLE it_bsid1
           WHERE kunnr IN s_kunnr AND
                 budat IN s_budat AND
                 umskz EQ space.
    SELECT belnr blart budat bldat
           xblnr sgtxt kunnr
           umskz shkzg wrbtr vbeln
           FROM bsad
           INTO CORRESPONDING FIELDS OF TABLE it_bsid2
           WHERE kunnr IN s_kunnr AND
                 budat IN s_budat AND
                 umskz EQ space.
  ENDIF.
  IF x_shbv EQ 'X'.
    SELECT belnr blart budat bldat
           xblnr sgtxt kunnr
           umskz shkzg wrbtr vbeln
           FROM bsid
           INTO CORRESPONDING FIELDS OF TABLE it_bsid3
           WHERE kunnr IN s_kunnr AND
                 budat IN s_budat AND
                 umskz NE space AND
                 umskz NE 'C' AND
                 umskz NE 'D' AND
                 umskz NE 'S'.
    SELECT belnr blart budat bldat
           xblnr sgtxt kunnr
           umskz shkzg wrbtr vbeln
           FROM bsad
           INTO CORRESPONDING FIELDS OF TABLE it_bsid4
           WHERE kunnr IN s_kunnr AND
                 budat IN s_budat AND
                 umskz NE space AND
                 umskz NE 'C' AND
                 umskz NE 'D' AND
                 umskz NE 'S'.
  ENDIF.
  IF x_apar EQ 'X'.
    SELECT belnr blart budat bldat
           xblnr sgtxt lifnr
           umskz shkzg wrbtr ebeln
           FROM bsik
           INTO CORRESPONDING FIELDS OF TABLE it_bsik1
           WHERE lifnr EQ v_lifnr AND
                 budat IN s_budat.
    SELECT belnr blart budat bldat
           xblnr sgtxt lifnr
           umskz shkzg wrbtr ebeln
           FROM bsak
           INTO CORRESPONDING FIELDS OF TABLE it_bsik2
           WHERE lifnr EQ v_lifnr AND
                 budat IN s_budat.
  ENDIF.
  it_final[] = it_bsid1[].
  LOOP AT it_bsid2.
    MOVE: it_bsid2-belnr TO it_final-belnr,
          it_bsid2-blart TO it_final-blart,
          it_bsid2-budat TO it_final-budat,
          it_bsid2-bldat TO it_final-bldat,
          it_bsid2-xblnr TO it_final-xblnr,
          it_bsid2-sgtxt TO it_final-sgtxt,
          it_bsid2-kunnr TO it_final-kunnr,
          it_bsid2-umskz TO it_final-umskz,
          it_bsid2-shkzg TO it_final-shkzg,
          it_bsid2-wrbtr TO it_final-wrbtr,
          it_bsid2-vbeln TO it_final-vbeln.
    APPEND it_final.
  ENDLOOP.
  LOOP AT it_bsid3.
    MOVE: it_bsid3-belnr TO it_final-belnr,
          it_bsid3-blart TO it_final-blart,
          it_bsid3-budat TO it_final-budat,
          it_bsid3-bldat TO it_final-bldat,
          it_bsid3-xblnr TO it_final-xblnr,
          it_bsid3-sgtxt TO it_final-sgtxt,
          it_bsid3-kunnr TO it_final-kunnr,
          it_bsid3-umskz TO it_final-umskz,
          it_bsid3-shkzg TO it_final-shkzg,
          it_bsid3-wrbtr TO it_final-wrbtr,
          it_bsid3-vbeln TO it_final-vbeln.
    APPEND it_final.
  ENDLOOP.
  LOOP AT it_bsid4.
    MOVE: it_bsid4-belnr TO it_final-belnr,
          it_bsid4-blart TO it_final-blart,
          it_bsid4-budat TO it_final-budat,
          it_bsid4-bldat TO it_final-bldat,
          it_bsid4-xblnr TO it_final-xblnr,
          it_bsid4-sgtxt TO it_final-sgtxt,
          it_bsid4-kunnr TO it_final-kunnr,
          it_bsid4-umskz TO it_final-umskz,
          it_bsid4-shkzg TO it_final-shkzg,
          it_bsid4-wrbtr TO it_final-wrbtr,
          it_bsid4-vbeln TO it_final-vbeln.
    APPEND it_final.
  ENDLOOP.
  LOOP AT it_bsik1.
    MOVE: it_bsik1-belnr TO it_final-belnr,
          it_bsik1-blart TO it_final-blart,
          it_bsik1-budat TO it_final-budat,
          it_bsik1-bldat TO it_final-bldat,
          it_bsik1-xblnr TO it_final-xblnr,
          it_bsik1-sgtxt TO it_final-sgtxt,
          it_bsik1-lifnr TO it_final-kunnr,
          it_bsik1-umskz TO it_final-umskz,
          it_bsik1-shkzg TO it_final-shkzg,
          it_bsik1-wrbtr TO it_final-wrbtr,
          it_bsik1-ebeln TO it_final-vbeln.
    APPEND it_final.
  ENDLOOP.
  LOOP AT it_bsik2.
    MOVE: it_bsik2-belnr TO it_final-belnr,
          it_bsik2-blart TO it_final-blart,
          it_bsik2-budat TO it_final-budat,
          it_bsik2-bldat TO it_final-bldat,
          it_bsik2-xblnr TO it_final-xblnr,
          it_bsik2-sgtxt TO it_final-sgtxt,
          it_bsik2-lifnr TO it_final-kunnr,
          it_bsik2-umskz TO it_final-umskz,
          it_bsik2-shkzg TO it_final-shkzg,
          it_bsik2-wrbtr TO it_final-wrbtr,
          it_bsik2-ebeln TO it_final-vbeln.
    APPEND it_final.
  ENDLOOP.
  LOOP AT it_final.
    IF it_final-vbeln EQ space.
      IF it_final-shkzg = 'S'.
        MOVE : it_final-belnr TO it_output-belnr,
               it_final-budat TO it_output-budat,
               it_final-bldat TO it_output-bldat,
               it_final-blart TO it_output-blart,
               it_final-wrbtr TO it_output-dwrbtr,
               it_final-xblnr TO it_output-xblnr,
               it_final-sgtxt TO it_output-sgtxt.
      ELSEIF it_final-shkzg = 'H'.
        MOVE : it_final-belnr TO it_output-belnr,
               it_final-budat TO it_output-budat,
               it_final-bldat TO it_output-bldat,
               it_final-blart TO it_output-blart,
               it_final-wrbtr TO it_output-cwrbtr,
               it_final-xblnr TO it_output-xblnr,
               it_final-sgtxt TO it_output-sgtxt.
      ENDIF.
      APPEND it_output.
      CLEAR it_output.
      DELETE it_final.
    ENDIF.
  ENDLOOP.
  LOOP AT it_final.
    IF it_final-shkzg = 'S'.
      MOVE : it_final-belnr TO it_output-belnr,
             it_final-budat TO it_output-budat,
             it_final-bldat TO it_output-bldat,
             it_final-blart TO it_output-blart,
             it_final-wrbtr TO it_output-dwrbtr,
             it_final-xblnr TO it_output-xblnr,
             it_final-sgtxt TO it_output-sgtxt,
             it_final-vbeln TO it_output-vbeln.
    ELSEIF it_final-shkzg = 'H'.
      MOVE : it_final-belnr TO it_output-belnr,
             it_final-budat TO it_output-budat,
             it_final-bldat TO it_output-bldat,
             it_final-blart TO it_output-blart,
             it_final-wrbtr TO it_output-cwrbtr,
             it_final-xblnr TO it_output-xblnr,
             it_final-sgtxt TO it_output-sgtxt,
             it_final-vbeln TO it_output-vbeln.
    ENDIF.
    APPEND it_output.
    CLEAR it_output.
  ENDLOOP.
  LOOP AT it_output.
    IF it_output-budat LT v_budat.
      v_fwrbtr = v_fwrbtr + it_output-dwrbtr - it_output-cwrbtr.
      DELETE it_output.
    ENDIF.
  ENDLOOP.
  SORT it_output BY belnr.
  LOOP AT it_output WHERE blart EQ 'R2'.
    MOVE  it_output TO it_output1.
    APPEND it_output1.
  ENDLOOP.
  SORT it_output1 BY belnr.
  it_output2[] = it_output1[].
  DELETE ADJACENT DUPLICATES FROM it_output1 COMPARING belnr.
  LOOP AT it_output.
    READ TABLE it_output2 WITH KEY belnr = it_output-belnr.
    IF sy-subrc EQ 0.
      DELETE it_output.
    ENDIF.
  ENDLOOP.
  LOOP AT it_output1.
    READ TABLE it_output2 WITH KEY belnr = it_output1-belnr.
    CLEAR v_xwrbtr.
    LOOP AT it_output2 WHERE belnr EQ it_output1-belnr.
      v_xwrbtr = v_xwrbtr + it_output2-dwrbtr - it_output2-cwrbtr.
    ENDLOOP.
    CLEAR it_output.
    MOVE: it_output1-belnr TO it_output-belnr,
          it_output1-budat TO it_output-budat,
          it_output1-bldat TO it_output-bldat,
          'R2'             TO it_output-blart,
          it_output1-xblnr TO it_output-xblnr.
    IF v_xwrbtr LT 0.
      v_xwrbtr = v_xwrbtr * -1.
      MOVE: v_xwrbtr TO it_output-cwrbtr.
    ELSE.
      MOVE: v_xwrbtr TO it_output-dwrbtr.
    ENDIF.
    APPEND it_output.
  ENDLOOP.
  SORT it_output BY budat belnr.
  IF NOT it_final[] IS INITIAL.
    SELECT vbrk~vbeln vbrp~matnr vbrp~fkimg vbrp~meins vbrk~fkdat
           INTO CORRESPONDING FIELDS OF TABLE it_vbrp
           FROM vbrk INNER JOIN vbrp ON vbrk~vbeln EQ vbrp~vbeln
           FOR ALL entries IN it_final
           WHERE vbrk~vbeln = it_final-vbeln.
  ENDIF.
  v_cumil = v_fwrbtr.
  CLEAR: v_debit,
         v_credit.
  LOOP AT it_output.
    IF NOT it_output-vbeln EQ space.
      READ TABLE it_vbrp WITH KEY vbeln = it_output-vbeln.
      MOVE: it_vbrp-matnr TO it_output-matnr,
            it_vbrp-fkdat TO it_output-fkdat,
            it_vbrp-fkimg TO it_output-fkimg,
            it_vbrp-meins TO it_output-meins.
      MODIFY it_output.
    ENDIF.
    v_cumil = v_cumil - it_output-cwrbtr + it_output-dwrbtr.
    v_debit = v_debit + it_output-dwrbtr.
    v_credit = v_credit + it_output-cwrbtr.
    MOVE v_cumil TO it_output-cumil.
    MODIFY it_output.
  ENDLOOP.
  WRITE:/001 sy-vline,
         002 'Opening Balace as on', v_budat CENTERED,
         034 sy-vline,
         045 sy-vline,
         056 sy-vline,
         067 sy-vline,
         072 sy-vline,
         093 sy-vline,
         114 sy-vline,
         115(20) v_fwrbtr RIGHT-JUSTIFIED,
         135 sy-vline,
         154 sy-vline,
         172 sy-vline,
         176 sy-vline,
         193 sy-vline,
         224 sy-vline.
  LOOP AT it_output.
    CLEAR v_exnum.
    SELECT SINGLE * FROM j_1iexcdtl
     WHERE rdoc2 = it_output-vbeln
       AND matnr = it_output-matnr.
    IF sy-subrc = 0.
      v_exnum = j_1iexcdtl-exnum.
    ENDIF.
    WRITE:/001 sy-vline,
           002(10) it_output-belnr,
           012 sy-vline,
           013(10) it_output-bldat,
           023 sy-vline,
           024(10) it_output-budat,
           034 sy-vline,
           035(10) v_exnum,
           045 sy-vline,
           046(10) it_output-vbeln,
           056 sy-vline,
           057(10) it_output-fkdat NO-ZERO,
           067 sy-vline,
           068(4) it_output-blart CENTERED,
           072 sy-vline,
           073(20) it_output-dwrbtr RIGHT-JUSTIFIED NO-ZERO,
           093 sy-vline,
           094(20) it_output-cwrbtr RIGHT-JUSTIFIED NO-ZERO,
           114 sy-vline,
           115(20) it_output-cumil RIGHT-JUSTIFIED NO-SIGN,
           135 sy-vline,
           136(18) it_output-matnr,
           154 sy-vline,
           155(17) it_output-fkimg RIGHT-JUSTIFIED NO-ZERO,
           172 sy-vline,
           173(3) it_output-meins CENTERED,
           176 sy-vline,
           177(16) it_output-xblnr CENTERED,
           193 sy-vline,
           194(30) it_output-sgtxt CENTERED,
           224 sy-vline.
  ENDLOOP.
  WRITE:/001(224) sy-uline.
  SKIP.
  WRITE:/ 'TOTALS AS ON', s_budat-high, ':',
          040(19) v_fwrbtr RIGHT-JUSTIFIED, '+',
          063(19) v_debit RIGHT-JUSTIFIED, '-',
          084(19) v_credit RIGHT-JUSTIFIED, '=',
          105(19) v_cumil RIGHT-JUSTIFIED.
*WRITE:/ 'Closing Balance for Customer', V_KUNNR, 'as on', S_BUDAT-,
     091 'Rs',
     093(20) V_CUMIL RIGHT-JUSTIFIED.
  SKIP.
  WRITE:/ '** BALANCE SUBJECT TO RECONCILIATION'.
TOP-OF-PAGE.
  CONCATENATE v_budat+6(2)
              v_budat+4(2)
              v_budat+0(4) INTO v_date1 SEPARATED BY '.'.
  CONCATENATE s_budat-high+6(2)
              s_budat-high+4(2)
              s_budat-high+0(4) INTO v_date2 SEPARATED BY '.'.
  CONCATENATE 'STATEMENT OF CUSTOMER ACCOUNT FOR THE PERIOD FROM'
               v_date1
              'TO'
               v_date2 INTO v_text SEPARATED BY space.
  WRITE:/ 'REPORT ID:ZFI_STMT_OF_ACC_NEW',100 'INDIAN RAYON' CENTERED,
           170 'Page No:',sy-pagno LEFT-JUSTIFIED.
  WRITE:/001(213) '( A Unit of Aditya Birla Nuvo Limited )' CENTERED,
         170 'Commonly used Document Types' .
  WRITE:/001(213) 'VERAVAL-362266' CENTERED,
         170 'RV = Invoice, RZ = Invoice Reversal'.
  WRITE:/170 'R2 = Money Receipt, CN = Credit Note'.
  WRITE:/001(213) v_text CENTERED,
         170 'DN = Debit Note, HP = Payment Voucher-R'.
  WRITE:/001 'PARTY CODE   :',
         020 v_kunnr,
         170 'HR = Receipt Voucher-R, CP = Payment Voucher-C'.
  WRITE:/001 'NAME OF PARTY:',
         020 v_name1,170 'CR = Receipt Voucher-C, JV = Journal Voucher'.
  WRITE:/001 'CITY         :',
         020 v_ort01,170 'AB = Clearing Document'.
  WRITE:/001 sy-vline,
         002(222) sy-uline,
         224 sy-vline.
  WRITE:/001 sy-vline,
         002(10) 'Doc No.' CENTERED,
         012 sy-vline,
         013(10) 'Doc Dt.' CENTERED,
         023 sy-vline,
         024(10) 'Post Dt.' CENTERED,
         034 sy-vline,
         035(10) 'Excise No' CENTERED,
         045 sy-vline,
         046(10) 'Bill Doc.' CENTERED,
         056 sy-vline,
         057(10) 'Bill Dt.' CENTERED,
         067 sy-vline,
         068(4) 'VR' CENTERED,
         072 sy-vline,
         073(20) 'Debit' CENTERED,
         093 sy-vline,
         094(20) 'Credit' CENTERED,
         114 sy-vline,
         115(20) 'Cumulative' CENTERED,
         135 sy-vline,
         136(18) 'Material Code' CENTERED,
         154 sy-vline,
         155(17) 'Quantity' CENTERED,
         172 sy-vline,
         173(3) 'UOM',
         176 sy-vline,
         177(16) 'Reference' CENTERED,
         193 sy-vline,
         194(30) 'Narration' CENTERED,
         224 sy-vline.
  WRITE:/001 sy-vline,
         012 sy-vline,
         023 sy-vline,
         034 sy-vline,
         045 sy-vline,
         056 sy-vline,
         067 sy-vline,
         068(4) 'Type' CENTERED,
         072 sy-vline,
         093 sy-vline,
         114 sy-vline,
         115(20) 'Balance' CENTERED,
         135 sy-vline,
         154 sy-vline,
         172 sy-vline,
         176 sy-vline,
         193 sy-vline,
         224 sy-vline.
  WRITE:/001 sy-vline,
         002(222) sy-uline,
         224 sy-vline.
10 reward points  will be given for solution.
regards,
naveen

Hi,
Copy this.
*& Report  ZTEST
*& Report ZFI_STMT_OF_ACC
REPORT  ZTABLE_DOWNLOAD NO STANDARD PAGE HEADING LINE-COUNT 60
LINE-SIZE 224.
TABLES: kna1,
bseg,
bkpf,
bsid,
bsik,
vbrk,j_1iexcdtl.
zfi_cu_tran.
*INTERNAL TABLES DECLARATION
DATA: BEGIN OF it_bsid1 OCCURS 0,
belnr LIKE bsid-belnr,
blart LIKE bsid-blart,
budat LIKE bsid-budat,
bldat LIKE bsid-bldat,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
kunnr LIKE bsid-kunnr,
umskz LIKE bsid-umskz,
shkzg LIKE bsid-shkzg,
wrbtr LIKE bsid-wrbtr,
vbeln LIKE bsid-vbeln,
END OF it_bsid1.
DATA: BEGIN OF it_bsid2 OCCURS 0,
belnr LIKE bsid-belnr,
blart LIKE bsid-blart,
budat LIKE bsid-budat,
bldat LIKE bsid-bldat,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
kunnr LIKE bsid-kunnr,
umskz LIKE bsid-umskz,
shkzg LIKE bsid-shkzg,
wrbtr LIKE bsid-wrbtr,
vbeln LIKE bsid-vbeln,
END OF it_bsid2.
DATA: it_bsid3 LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: it_bsid4 LIKE it_bsid2 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_bsik1 OCCURS 0,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
budat LIKE bsik-budat,
bldat LIKE bsik-bldat,
xblnr LIKE bsik-xblnr,
sgtxt LIKE bsik-sgtxt,
lifnr LIKE bsik-lifnr,
umskz LIKE bsik-umskz,
shkzg LIKE bsik-shkzg,
wrbtr LIKE bsik-wrbtr,
ebeln LIKE bsik-ebeln,
END OF it_bsik1.
DATA: BEGIN OF it_bsik2 OCCURS 0,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
budat LIKE bsik-budat,
bldat LIKE bsik-bldat,
xblnr LIKE bsik-xblnr,
sgtxt LIKE bsik-sgtxt,
lifnr LIKE bsik-lifnr,
umskz LIKE bsik-umskz,
shkzg LIKE bsik-shkzg,
wrbtr LIKE bsik-wrbtr,
ebeln LIKE bsik-ebeln,
END OF it_bsik2.
DATA it_final LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_vbrp OCCURS 0,
vbeln LIKE vbrp-vbeln,
fkdat LIKE vbrk-fkdat,
matnr LIKE vbrp-matnr,
fkimg LIKE vbrp-fkimg,
meins LIKE vbrp-meins,
END OF it_vbrp.
DATA: BEGIN OF it_output OCCURS 0,
belnr LIKE bsid-belnr,
bldat LIKE bsid-bldat,
budat LIKE bsid-budat,
vbeln LIKE bsid-vbeln,
fkdat LIKE vbrk-fkdat,
blart LIKE bsid-blart,
dwrbtr LIKE bsid-wrbtr,
cwrbtr LIKE bsid-wrbtr,
cumil TYPE p DECIMALS 2,
matnr LIKE vbrp-matnr,
fkimg LIKE vbrp-fkimg,
meins LIKE vbrp-meins,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
END OF it_output.
DATA: v_kunnr LIKE kna1-kunnr,
v_name1 LIKE kna1-name1,
v_ort01 LIKE kna1-ort01,
v_lifnr LIKE lfa1-lifnr,
v_belnr LIKE bsid-belnr,
v_exnum LIKE j_1iexcdtl-exnum.
DATA: v_budat LIKE bkpf-budat.
DATA: v_budat1 LIKE v_budat,
v_budat2 LIKE v_budat.
DATA: v_nwrbtr TYPE p DECIMALS 2,
v_swrbtr TYPE p DECIMALS 2,
v_vwrbtr TYPE p DECIMALS 2,
v_fwrbtr TYPE p DECIMALS 2,
v_cumil TYPE p DECIMALS 2,
v_debit TYPE p DECIMALS 2,
v_credit TYPE p DECIMALS 2.
DATA: v_xwrbtr TYPE p DECIMALS 2.
DATA: v_text(75),
v_date1(10),
v_date2(10).
DATA: it_output1 LIKE it_output OCCURS 0 WITH HEADER LINE.
DATA: it_output2 LIKE it_output OCCURS 0 WITH HEADER LINE.
SELECT-OPTIONS s_budat1 FOR bkpf-budat NO-DISPLAY.
SELECTION-SCREEN BEGIN OF BLOCK customer WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_kunnr FOR kna1-kunnr OBLIGATORY,
s_budat FOR bkpf-budat NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK customer.
SELECTION-SCREEN BEGIN OF BLOCK type WITH FRAME TITLE text-002.
PARAMETERS: x_norm LIKE itemset-xnorm AS CHECKBOX DEFAULT 'X',
x_shbv LIKE itemset-xshbv AS CHECKBOX,
x_apar LIKE itemset-xarit AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK type.
MOVE s_budat-low TO v_budat.
IF s_budat-high LT '20060331'.
MESSAGE 'DATA NOT AVILABLE TO THE GIVEN DATE RANGE' TYPE 'E'.
ENDIF.
LOOP AT s_budat.
s_budat-low = '20060330'.
MODIFY s_budat.
ENDLOOP.
START-OF-SELECTION.
CLEAR: v_nwrbtr,
v_swrbtr,
v_vwrbtr,
v_fwrbtr.
SELECT SINGLE kunnr name1 ort01
FROM kna1 INTO (v_kunnr, v_name1, v_ort01)
WHERE kunnr IN s_kunnr.
SELECT SINGLE lifnr
FROM lfa1 INTO v_lifnr
WHERE kunnr IN s_kunnr.
IF x_norm EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsid
INTO CORRESPONDING FIELDS OF TABLE it_bsid1
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz EQ space.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsad
INTO CORRESPONDING FIELDS OF TABLE it_bsid2
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz EQ space.
ENDIF.
IF x_shbv EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsid
INTO CORRESPONDING FIELDS OF TABLE it_bsid3
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz NE space AND
umskz NE 'C' AND
umskz NE 'D' AND
umskz NE 'S'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsad
INTO CORRESPONDING FIELDS OF TABLE it_bsid4
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz NE space AND
umskz NE 'C' AND
umskz NE 'D' AND
umskz NE 'S'.
ENDIF.
IF x_apar EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt lifnr
umskz shkzg wrbtr ebeln
FROM bsik
INTO CORRESPONDING FIELDS OF TABLE it_bsik1
WHERE lifnr EQ v_lifnr AND
budat IN s_budat.
SELECT belnr blart budat bldat
xblnr sgtxt lifnr
umskz shkzg wrbtr ebeln
FROM bsak
INTO CORRESPONDING FIELDS OF TABLE it_bsik2
WHERE lifnr EQ v_lifnr AND
budat IN s_budat.
ENDIF.
it_final[] = it_bsid1[].
LOOP AT it_bsid2.
MOVE: it_bsid2-belnr TO it_final-belnr,
it_bsid2-blart TO it_final-blart,
it_bsid2-budat TO it_final-budat,
it_bsid2-bldat TO it_final-bldat,
it_bsid2-xblnr TO it_final-xblnr,
it_bsid2-sgtxt TO it_final-sgtxt,
it_bsid2-kunnr TO it_final-kunnr,
it_bsid2-umskz TO it_final-umskz,
it_bsid2-shkzg TO it_final-shkzg,
it_bsid2-wrbtr TO it_final-wrbtr,
it_bsid2-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsid3.
MOVE: it_bsid3-belnr TO it_final-belnr,
it_bsid3-blart TO it_final-blart,
it_bsid3-budat TO it_final-budat,
it_bsid3-bldat TO it_final-bldat,
it_bsid3-xblnr TO it_final-xblnr,
it_bsid3-sgtxt TO it_final-sgtxt,
it_bsid3-kunnr TO it_final-kunnr,
it_bsid3-umskz TO it_final-umskz,
it_bsid3-shkzg TO it_final-shkzg,
it_bsid3-wrbtr TO it_final-wrbtr,
it_bsid3-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsid4.
MOVE: it_bsid4-belnr TO it_final-belnr,
it_bsid4-blart TO it_final-blart,
it_bsid4-budat TO it_final-budat,
it_bsid4-bldat TO it_final-bldat,
it_bsid4-xblnr TO it_final-xblnr,
it_bsid4-sgtxt TO it_final-sgtxt,
it_bsid4-kunnr TO it_final-kunnr,
it_bsid4-umskz TO it_final-umskz,
it_bsid4-shkzg TO it_final-shkzg,
it_bsid4-wrbtr TO it_final-wrbtr,
it_bsid4-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsik1.
MOVE: it_bsik1-belnr TO it_final-belnr,
it_bsik1-blart TO it_final-blart,
it_bsik1-budat TO it_final-budat,
it_bsik1-bldat TO it_final-bldat,
it_bsik1-xblnr TO it_final-xblnr,
it_bsik1-sgtxt TO it_final-sgtxt,
it_bsik1-lifnr TO it_final-kunnr,
it_bsik1-umskz TO it_final-umskz,
it_bsik1-shkzg TO it_final-shkzg,
it_bsik1-wrbtr TO it_final-wrbtr,
it_bsik1-ebeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsik2.
MOVE: it_bsik2-belnr TO it_final-belnr,
it_bsik2-blart TO it_final-blart,
it_bsik2-budat TO it_final-budat,
it_bsik2-bldat TO it_final-bldat,
it_bsik2-xblnr TO it_final-xblnr,
it_bsik2-sgtxt TO it_final-sgtxt,
it_bsik2-lifnr TO it_final-kunnr,
it_bsik2-umskz TO it_final-umskz,
it_bsik2-shkzg TO it_final-shkzg,
it_bsik2-wrbtr TO it_final-wrbtr,
it_bsik2-ebeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_final.
IF it_final-vbeln EQ space.
IF it_final-shkzg = 'S'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-dwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt.
ELSEIF it_final-shkzg = 'H'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-cwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt.
ENDIF.
APPEND it_output.
CLEAR it_output.
DELETE it_final.
ENDIF.
ENDLOOP.
LOOP AT it_final.
IF it_final-shkzg = 'S'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-dwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt,
it_final-vbeln TO it_output-vbeln.
ELSEIF it_final-shkzg = 'H'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-cwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt,
it_final-vbeln TO it_output-vbeln.
ENDIF.
APPEND it_output.
CLEAR it_output.
ENDLOOP.
LOOP AT it_output.
IF it_output-budat LT v_budat.
v_fwrbtr = v_fwrbtr + it_output-dwrbtr - it_output-cwrbtr.
DELETE it_output.
ENDIF.
ENDLOOP.
SORT it_output BY belnr.
LOOP AT it_output WHERE blart EQ 'R2'.
MOVE it_output TO it_output1.
APPEND it_output1.
ENDLOOP.
SORT it_output1 BY belnr.
it_output2[] = it_output1[].
DELETE ADJACENT DUPLICATES FROM it_output1 COMPARING belnr.
LOOP AT it_output.
READ TABLE it_output2 WITH KEY belnr = it_output-belnr.
IF sy-subrc EQ 0.
DELETE it_output.
ENDIF.
ENDLOOP.
LOOP AT it_output1.
READ TABLE it_output2 WITH KEY belnr = it_output1-belnr.
CLEAR v_xwrbtr.
LOOP AT it_output2 WHERE belnr EQ it_output1-belnr.
v_xwrbtr = v_xwrbtr + it_output2-dwrbtr - it_output2-cwrbtr.
ENDLOOP.
CLEAR it_output.
MOVE: it_output1-belnr TO it_output-belnr,
it_output1-budat TO it_output-budat,
it_output1-bldat TO it_output-bldat,
'R2' TO it_output-blart,
it_output1-xblnr TO it_output-xblnr.
IF v_xwrbtr LT 0.
v_xwrbtr = v_xwrbtr * -1.
MOVE: v_xwrbtr TO it_output-cwrbtr.
ELSE.
MOVE: v_xwrbtr TO it_output-dwrbtr.
ENDIF.
APPEND it_output.
ENDLOOP.
SORT it_output BY budat belnr.
IF NOT it_final[] IS INITIAL.
SELECT vbrk~vbeln vbrp~matnr vbrp~fkimg vbrp~meins vbrk~fkdat
INTO CORRESPONDING FIELDS OF TABLE it_vbrp
FROM vbrk INNER JOIN vbrp ON vbrk~vbeln EQ vbrp~vbeln
FOR ALL entries IN it_final
WHERE vbrk~vbeln = it_final-vbeln.
ENDIF.
v_cumil = v_fwrbtr.
CLEAR: v_debit,
v_credit.
LOOP AT it_output.
IF NOT it_output-vbeln EQ space.
READ TABLE it_vbrp WITH KEY vbeln = it_output-vbeln.
MOVE: it_vbrp-matnr TO it_output-matnr,
it_vbrp-fkdat TO it_output-fkdat,
it_vbrp-fkimg TO it_output-fkimg,
it_vbrp-meins TO it_output-meins.
MODIFY it_output.
ENDIF.
v_cumil = v_cumil - it_output-cwrbtr + it_output-dwrbtr.
v_debit = v_debit + it_output-dwrbtr.
v_credit = v_credit + it_output-cwrbtr.
MOVE v_cumil TO it_output-cumil.
MODIFY it_output.
ENDLOOP.
WRITE:/001 sy-vline,
002 'Opening Balace as on', v_budat CENTERED,
034 sy-vline,
045 sy-vline,
056 sy-vline,
067 sy-vline,
072 sy-vline,
093 sy-vline,
114 sy-vline,
115(20) v_fwrbtr RIGHT-JUSTIFIED,
135 sy-vline,
154 sy-vline,
172 sy-vline,
176 sy-vline,
193 sy-vline,
224 sy-vline.
LOOP AT it_output.
CLEAR v_exnum.
SELECT SINGLE * FROM j_1iexcdtl
WHERE rdoc2 = it_output-vbeln
AND matnr = it_output-matnr.
IF sy-subrc = 0.
v_exnum = j_1iexcdtl-exnum.
ENDIF.
WRITE:/001 sy-vline,
002(10) it_output-belnr,
012 sy-vline,
013(10) it_output-bldat,
023 sy-vline,
024(10) it_output-budat,
034 sy-vline,
035(10) v_exnum,
045 sy-vline,
046(10) it_output-vbeln,
056 sy-vline,
057(10) it_output-fkdat NO-ZERO,
067 sy-vline,
068(4) it_output-blart CENTERED,
072 sy-vline,
073(20) it_output-dwrbtr RIGHT-JUSTIFIED NO-ZERO,
093 sy-vline,
094(20) it_output-cwrbtr RIGHT-JUSTIFIED NO-ZERO,
114 sy-vline,
115(20) it_output-cumil RIGHT-JUSTIFIED NO-SIGN,
135 sy-vline,
136(18) it_output-matnr,
154 sy-vline,
155(17) it_output-fkimg RIGHT-JUSTIFIED NO-ZERO,
172 sy-vline,
173(3) it_output-meins CENTERED,
176 sy-vline,
177(16) it_output-xblnr CENTERED,
193 sy-vline,
194(30) it_output-sgtxt CENTERED,
224 sy-vline.
ENDLOOP.
WRITE:/001(224) sy-uline.
SKIP.
WRITE:/ 'TOTALS AS ON', s_budat-high, ':',
040(19) v_fwrbtr RIGHT-JUSTIFIED, '+',
063(19) v_debit RIGHT-JUSTIFIED, '-',
084(19) v_credit RIGHT-JUSTIFIED, '=',
105(19) v_cumil RIGHT-JUSTIFIED.
*WRITE:/ 'Closing Balance for Customer', V_KUNNR, 'as on', S_BUDAT-,
091 'Rs',
093(20) V_CUMIL RIGHT-JUSTIFIED.
SKIP.
WRITE:/ '** BALANCE SUBJECT TO RECONCILIATION'.
TOP-OF-PAGE.
CONCATENATE v_budat+6(2)
v_budat+4(2)
v_budat+0(4) INTO v_date1 SEPARATED BY '.'.
CONCATENATE s_budat-high+6(2)
s_budat-high+4(2)
s_budat-high+0(4) INTO v_date2 SEPARATED BY '.'.
CONCATENATE 'STATEMENT OF CUSTOMER ACCOUNT FOR THE PERIOD FROM'
v_date1
'TO'
v_date2 INTO v_text SEPARATED BY space.
WRITE:/ 'REPORT ID:ZFI_STMT_OF_ACC_NEW',100 'INDIAN RAYON' CENTERED,
170 'Page No:',sy-pagno LEFT-JUSTIFIED.
WRITE:/001(213) '( A Unit of Aditya Birla Nuvo Limited )' CENTERED,
170 'Commonly used Document Types' .
WRITE:/001(213) 'VERAVAL-362266' CENTERED,
170 'RV = Invoice, RZ = Invoice Reversal'.
WRITE:/170 'R2 = Money Receipt, CN = Credit Note'.
WRITE:/001(213) v_text CENTERED,
170 'DN = Debit Note, HP = Payment Voucher-R'.
WRITE:/001 'PARTY CODE :',
020 v_kunnr,
170 'HR = Receipt Voucher-R, CP = Payment Voucher-C'.
WRITE:/001 'NAME OF PARTY:',
020 v_name1,170 'CR = Receipt Voucher-C, JV = Journal Voucher'.
WRITE:/001 'CITY :',
020 v_ort01,170 'AB = Clearing Document'.
WRITE:/001 sy-vline,
002(222) sy-uline,
224 sy-vline.
WRITE:/001 sy-vline,
002(10) 'Doc No.' CENTERED,
012 sy-vline,
013(10) 'Doc Dt.' CENTERED,
023 sy-vline,
024(10) 'Post Dt.' CENTERED,
034 sy-vline,
035(10) 'Excise No' CENTERED,
045 sy-vline,
046(10) 'Bill Doc.' CENTERED,
056 sy-vline,
057(10) 'Bill Dt.' CENTERED,
067 sy-vline,
068(4) 'VR' CENTERED,
072 sy-vline,
073(20) 'Debit' CENTERED,
093 sy-vline,
094(20) 'Credit' CENTERED,
114 sy-vline,
115(20) 'Cumulative' CENTERED,
135 sy-vline,
136(18) 'Material Code' CENTERED,
154 sy-vline,
155(17) 'Quantity' CENTERED,
172 sy-vline,
173(3) 'UOM',
176 sy-vline,
177(16) 'Reference' CENTERED,
193 sy-vline,
194(30) 'Narration' CENTERED,
224 sy-vline.
WRITE:/001 sy-vline,
012 sy-vline,
023 sy-vline,
034 sy-vline,
045 sy-vline,
056 sy-vline,
067 sy-vline,
068(4) 'Type' CENTERED,
072 sy-vline,
093 sy-vline,
114 sy-vline,
115(20) 'Balance' CENTERED,
135 sy-vline,
154 sy-vline,
172 sy-vline,
176 sy-vline,
193 sy-vline,
224 sy-vline.
WRITE:/001 sy-vline,
002(222) sy-uline,
224 sy-vline.
Thanks,
Anitha

Similar Messages

  • Unable to modify Report using JRC alone

    Hi
    I am trying to modify the report generated thru Crystal reports 2008 programmatically using JRC.
    I dont see any API in com.crystaldecisions.reports.sdk.DataDefController to modify filters,groups,parameters,sort objects and summaries.
    I could find Controller API to modify the above in com.crystaldecisions.sdk.occa.report.application package part of RAS SDK which requires RAS to be installed.
    WIll it be possible to modify report using JRC alone?
    because when i use com.crystaldecisions.sdk.occa.report.application.ReportClientDocument class to open a report, it thorws
    ReportSDKServerException: There is no server specified exception.
    and i am not sure what need to set for ReportClientDocument.setReportAppServer()
    Pls help me .

    Hi,
    Thanks for your help.
    I am getting the below  exception when I am trying to open a report programmatically using  com.crystaldecisions.reports.sdk.ReportClientDocument.
    oReportClientDocument.open(reportName, 0);
    I am not sure how to resolve this issue.
    I have even created a new rpt file. I am getting the same exception/
    I could open this report directly thru Crystal Reports.
    12/16/10 16:19:57:376 IST] 10c3f2a6 WebGroup      E SRVE0026E: [Servlet Error]-[The document is being opened.]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The document is being opened.---- Error code:-2147215349 Error code name:docNotReady
    Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.a(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.if(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.stopping(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
         at com.crystaldecisions.reports.sdk.ReportClientDocument.close(Unknown Source)
         at org.apache.jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:389)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(
    Pls help me.
    Edited by: D.Sangeetha on Dec 16, 2010 12:33 PM

  • Unable to upload the updated/modified Report template (rtf file) in siebel

    Hi,
    I am unable to upload the updated/modified Report template (rtf file) if already exists in the local database.
    Initially I have uploaded a rtf template, generated xliff, registered it and can view the report from the registered view. Later I have made few changes to the rtf template, in the reports template view, I have uploaded this. When i run the report in the registered view, I am able to see the earlier version and it doesnt show me the updated changes.
    I am using 8.1.1.3 siebel and BIP 10.1.3.3.1 on local.
    Looking at the metalink found "How To Upload Modified RTF Template Files In The Siebel Application For BI Publisher Reporting [ID 1136418.1]" which is related to server but I am working on local database
    Please find attached the template, xml file. can you please look into this and update me ASAP
    Thanks,
    RV

    Hi,
    Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
    We have applied 8.1.1.3 patch on 8.1.1.0
    below are the steps followed
    Reports are not generated after 8.1.1.3 patch installtion.
    we have also followed to below steps mentioned for this issue in oracle support.
    "In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
    change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
    we still not able to generated able to generate reports even after following above steps.
    Thanks
    Sean

  • Any tips at this Reporting requirement gathering stage?

    Hello Experts,
    I have 10 different sources of data which will mostly come to me in flat files.
    Some of the data coming to me for <b>UPDATE</b> will be
    1. daily,           (3 of the sources)
    2. weekly,       (2 of the sources) 
    3. monthly      (2 of the sources) 
    4. quarterly.   (2 of the sources)
    Some of the reporting requirements are <b>(GENERATE REPORTS)</b>:
    a) As needed i.e. on demand by managers
    b) Monthly
    c) Quarterly
    I am still in the report requirement gathering phase and I would like some hints here:
    Q1. What are the Dos and Don’ts?
    Q2. Does it matter whether the various sources are loaded into Cubes or ODSes? Which is the better choices and for what reasons?
    Q3. Any special guide on the frequency of Updates?
    Q4. Can the data elements from the 10 sources be all placed in say, 2 or 3 dimensions and within a single Cube?  Any advantages of this?
    Q5. Can each of the data elements from the 10 sources be placed in say, 10 different ODSes? Any advantages of this?
    Thanks in Advance.

    Hi Amanda,
    Actually, I’d split the process into those stages:
    1.     gathering report forms that users want to have and a frequency of report generation.
    2.     collection information on available sources of data
    3.     analysis: do the sources will provide all data for forms required – simultaneously the list of reports that would be possible to create is made. Here you can take into account not only availability of resources, but also budget/time/work force limitation. It’ll determine the scope of implementation.
    4.     Conceptual model (with parallel excersises in BW).
    •     If some reports (and data in them) are completely different, don’t having common information, then consider creating separate data providers. 
    •     If some reports (and data in them) have something in common, then consider creating separate data providers with a multiprovider on them.
    •     If all data are linked to some key(s) (for example a document number), then consider creating a single cube
    •     Determine time granularity (are your weekly, monthly and quarterly data may be derived from the daily data? If yes, maybe these data (except daily) are redundant. If not, then probably these data supply some additional information to daily? – consider merging this additional info into daily cube (or probably through separate ODS or cubes).
    So, it’s a somewhat an answer to Q2 and Q5.
    Q3. You may load data just before (say a several days) the reports generation.
    Q4. See above about single cube. Additionally, the rule of thumb is to have more little dimensions than few huge dimensions. Consider spreading out your chars into different dimensions. If you’ll be able to have all data in a single cube, it would give you an enormous flexibility in building reports (especially, not mandatory ones, but ad-hoc reports on demand).
    Also you can visit www.saptips.com site. I downloaded “Tips on Implementing a BW-Based Management Reporting Solution (and Getting Your Users to Use It!)” but cannot find it in inet. If you want I can send it to you along with “SAP BW projects: dos and donts” (ppt-demo and transcript).
    Best regards,
    Eugene

  • FICO:What are the critical reporting requirements of a finance department?

    Hi Experts,
    Can you help me identify all the reporting requirements of a finance departmentn when it comes to the use of BW?
    i. From a reporting perpective, what does the finance department need from BI to say that BI is a worthwhile investiment?
    ii. Does BI provide any of the answers provided in i. (above) through its business content objects? If so, can you discuss how BI provides each of the solutions? (I will apprecaite a discussion for the "finance team" and not neccessarily for the IT team)
    iii. If all the requirements of a finance department are already available with a newly installed BI, then
    what are the typical functions of a BI consultant  to a finance department? i.e. why will a finance department find the need to bring in a BI consutant to advise them on how best to use BW in their environment?
    iv. How does the above discussion pertain to CO. i.e. If your discussion above is strictly for FI, can you address i, ii, iii for CO?
    Thanks and Happy Holiday.

    Hi
    From a reporting perpective, what does the finance department need from BI to say that BI is a worthwhile investiment?
    Normally Financial reports needed for the customer will be P&L, Balance sheet, Cashflow statements and the AR, AP and also Controlling and the Turn over Ratios to know about the financial funding stage about their organization based on their functional requirements.
    ii. Does BI provide any of the answers provided in i. (above) through its business content objects? If so, can you discuss how BI provides each of the solutions? (I will apprecaite a discussion for the "finance team" and not neccessarily for the IT team)
    Better to talk to your FI CO team for this to understand better at ECC functional level to know what would be the best extractors that you can report on. BI content is already there for almost FI CO reports.
    http://help.sap.com/saphelp_nw70/helpdata/EN/2d/955a73da4d6d41a0a6128caf274ce8/frameset.htm
    and everything mentioned clearly in that why , how , what.
    iii. If all the requirements of a finance department are already available with a newly installed BI, then
    what are the typical functions of a BI consultant to a finance department? i.e. why will a finance department find the need to bring in a BI consutant to advise them on how best to use BW in their environment?
    Though the Finance team has every Extractor at ECC side its only BI consultant who has to work on Modeling , Extraction, Reporting Part for BEx Reports. You have to Map the Fields even though its BI Content some of the Customized objects like Routines, Formulas would be there for each and every project .
    iv. How does the above discussion pertain to CO. i.e. If your discussion above is strictly for FI, can you address i, ii, iii for CO?
    http://help.sap.com/saphelp_nw70/helpdata/EN/d6/563b2203ef11d4a7400060087a7a87/frameset.htm
    Hope it helps

  • Modify Report in po help

    Hi Gurus
    Need to modify report:
    Printed Purchase Order Report(Portrait)
    POXPRPOP
    User want to print PO's greater then $2,500 only
    or can give option's ALL or > 2,500. Any help Thanks in advance
    [email protected]

    There exists a standard Oracle Report "Purchase Order Detail Report". This reports details the PO along with the information on Quantity/Amount Due and Billed.
    Please check if you can use it effecitvely to your use.

  • Standard Report requirement

    Hi Guys
    In my current implementation i have one report requirement.
    Iam giving lot of benefits to my employees. I like to capture all the expenses employee wise.
    I have already uploaded the employee personel number and during transactions we are entering the personel number
    But we i go and check the report, in the dynamic selection the personel number is not available
    Is it possible to take a standard report based on personnel number. If i give a personel number - i should get all the expnese gl accounts done for that employee
    Warm Regards
    Bala

    Hi:
    I have a suggestion.
    Create Employees as Employee vendors in Accounts payable.While creating vendor master, In the accounting information tab, assign the personel no.You have a separate reconciliation account for this employee vendors.
    Make Payments to vendor by using T.code F-53 . You can view the report of all employees to whom payment was made.
    You can view the standard reports to see the payments made to the employees.
    S_ALR_87012103 - List of Vendor Line Items
    S_ALR_87012083 - List of Vendor Open Items for Printing
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • Report requirement from BW

    Hi ,
    I need to execute the scenario in bw for report requirement.
    the report requirement is:
    The Fields are material, Batch, internal char, char value.
    Here the logic is the field Internal char no have values vintage,Bill of entry and the field char value have 222, 333-7876 for correponding field.
       Material        Batch          Internal Char no.         Char vlue
       2009822       58938         Vintage                        222
                                               Bill of entry                  333-7876
    They need bw report like
    Material             Batch          Vintage             Billof entry
    2009822           58938           222                  333- 7876
    Can any one give idea.
    Thanks,
    Satya

    Hi Satya,
    Follow the below given steps,
    1) Goto rows area and right click to create new formula variable.
    2) In the edit step of your formula, remove the default description and put a &, you will get different options. select the new text variable.
    3) Give the variable name, description and select the type as replacement path.
    4) On the next screen select your characteristics i.e. Internal cost type (first char).
    5) on the next screen select replace variable with Key or text value whichever you want.
    6) Here we are done with heading part.
    Now for defination of formula variable,
    1) Right click on Formual variable tree and create a new variable.
    2) Select type as replacement path and on next screen select the other characteristics i.e. Internal cost value i.e. 222.
    3) Again on next screen replace variable with key.
    4) Finally select Dimension indicator as Number.
    5) We are ready to use the variable. In the defination part use newly created variable.
    Now you will get the output in exactly required format.
    Regards,
    Durgesh.

  • Report requirement, for count before the input selection.

    Hi All,
    I have a requirement:
    And in infoprovider we have :
    in 07.2011, 10 records were created.
    in 08.2011, 40 records were created.
    in 09.2011, 50 records were created.
    in 10.2011, 70 records were created.
    User enters month interval like 07.2011 - 10.2011
    and wants outout like:
    Calmonth:... 07.2011....08.2011.......09.2011.......10.2011
    Count  : ........30010.......30050...........30100..........30170
    Means.in report  07.2011 should show all the count upto 07.2011,
    Similarly 08.2011 show all counts upto 08.2011 month. And in same way others also.
    Since input is  07.2011 to 10.2011, so report is considering  only data between this range only.
    How do i get count before 07.2011 in report and meet report requirement.
    Please suggest and let me know if more information is required.
    Thanks,
    Jitender.

    Hi Jitender,
    It is not possible to generate the query columns dynamically in the output based on the user input.
    For getting the aggregated value what you can do is, create a customer exit variable on fiscal period and restrict it from some starting period till user entered period.
    In your example let us say you have data from 07.2009 then your customer exit variable will have range from 07.2009 till 07.2011. Use this variable in a RKF with count as key figure and period as customer exit variable here you will get the output as 30010.
    For getting the next columns you can change the period range by using offset. But you will have to create different columns beforehand in the query design itself. The only thing you can do is based on the user input different columns will be populated even you can keep the dynamic text using text variable so that you will get dynamic period heading but dynamic creation of columns is not possible.
    Regards,
    Durgesh.

  • For financial report requirment can we consider secondary cost element cost

    For financial reporting requirment can we consider secondary cost element cost to profit and loss a/c

    In our senario _ cost is booking cost centers and revenues booking concern profit centers .
    for Financial reporting requirment can I include secondary cost to profit and loss a/c
    what is the impact on the report
    exp: salary booking in primary cost,than Per hour man hour cost computed by costing dept for allocate to concern department
    it is cost center activity price we specify in kp26 at the time of pm order confirm it will confim the activity quandity price will from planning area only,  so for salaries in primary g/ls already captured, if we consider secondary it may double booking
    srinivasa reddy

  • Reporting requirements to Filter on query results

    Hi Everyone,
    Part of our reporting requirements for Billing Data is to display all Invoices Created till the 15th of the Month. Users want to trend analyze Invoice created till 15th of each month for last 6 months. The report has a time filter to get Invoices for last 6 months.
    How do we further filter all Invoices created till 15th of each month?
    Thanks for all your answers in Advance.
    CM

    HI,
    I think the best way would be - create an infoobject containing the day  (from your date). Then you use calmonth and the new infoobject as time characteristics and restrict both (calmonth on the calmonth, calmonth - 1,...) and "day" as fix filter value for 1 to 15.
    This will work.
    If you can't extend you cube, you should try it with an virtuel cube where you use your original cube as source. the virtual cube contains the new infoobject "day".
    Cheers
    J
    Edited by: Jürgen Sauer on Apr 11, 2011 9:35 AM

  • Modify Report RFUMSV00

    Hi All
    i need help with this: Modify report RFUMSV00 to include customer detail, supplier details and withholding tax charged.

    Dear Metja,
    for WT data You should use the generic report rfidyywt.
    I hope this can help You.
    Mauri

  • Rebate reporting requirement

    Hi Gurus,
    We have report requirement related to rebate, where in we need to show the follwing field in the output.
    Rebate No:
    Total Accruals posted:
    Accruals reversed:
    Credit note amount.
    Can any one throw some light in which table and field the values are stored.
    Regards,
    Anand

    Hi,
    Please find the relevant tables
    T6B1 Rebate : Rebate Agreement Types
    T6B2 Rebate : Group of permitted Condition Types/Tables
    T6B2F Rebate : Permitted Condition Types/Tables per Group
    Regards
    Ram Pedarla

  • Project System Restructuring -- Reporting Requirement

    Hi All,
    Due to Restructuring in our client.Our Project System is adopting the following method and asking for BI input on this please let me know if anyone has come across this situation.
    Projects are going to move from one Company Code to another Company Code. So they are closing the existing projects in Old Comp. Code and new projects are being created in New Comp. Code . In doing so they are closing the Old Projects(say  P1 u2013 total budget 100) consumed 60 and then new project they will create with remaining balance 40. (say P2). Also
    Reporting Requirement :
    Then when they run the report for the New Project P2 then it should bring the information of P1 also.
    Please let me if it is  possible to achieve this.
    Regards,
    Mayank

    interesting, load previous data in a cube completely for all the previous years and have the new data load in another cube and create a multiprovider to join them. and in your selection for wbs use both data selection...thats all i can think of on top of my head..

  • OBIEE Reporting Requirement

    OBIEE Reporting Requirement
    I have the following OBIEE reporting requirement that I am needing assistance with:
    I have to produce a report from the following table.
    CUSTOMER_ID|     EARNINGS |     CATEGORY
    A1234     |     1000     |     A
    A1234     |     2000     |     B
    B1234     |     1000     |     C
    C1234     |     0     |     D
    D1234     |     2500     |     E
    E1234     |     0     |     F
    Report Layout:
    Category     | Category A | Other Category | Category A & Other Category |
    Earned     |     100 |     120     | 100 |
    Unearned     |     150 |     150     | 200 |
    So the report above basically displays a count of the customers who have earnings or no earnings in the 2 categories which are "Category A" and "Other Category." Other Category is everything else grouped together except Category A i.e. (B, C, D, E, F). The 3rd column is counting customers who are in both column 1 and 2. I have modeled the repository for the 1st 2 columns but am stuck with how to come up with the 3rd column. Repository has been set up as follows:
    Fact: Distinct Count of CUSTOMER_ID
    Dimension:
    CASE WHEN Category = A THEN Category A
    ELSE WHEN Category <> A THEN Other Category END
    In Answers I have 2 calculated columns:
    FILTER(Customer Count) USING Earnings > 0 (Earned)
    FILTER(Customer Count) USING Earnings <= 0 (Uneared)
    How can I solution this to get the 3rd column of Category A & Other Category? Thanks in advance.

    Yes that is correct. Below is the expected output I am trying to get to.
         | Category A | Other Category | Category A & Other Category |
    Earned       | 100         | 120                 | 100                                    |
    Unearned   | 150           | 150                 | 200                                    |

Maybe you are looking for

  • PATH and UNDER_path functions in ORACLE 11gR2 for Windows.

    I am now getting the error -01405 when I use the function and predicate PATH UNDER_PATH path_string use the parameter function. If instead you use a literal value everything works fine. I found that if I delete from the list select the same path expr

  • Mouse cursor sticking in Safari?

    I've noticed this weird thing where the cursor sometimes gets stuck while I'm posting on forums like this one. It happens when the text entry box is highlighted, like the one I'm typing in right now. It's not the trackpad, I don't think, because it w

  • Firefox stopped playing webm files while Chrome still does.

    I get the message, "no video with supported format and mime type found" with some videos as well. This problem appeared for no reason one day. I've tried reinstalling firefox, using a new profile, safe mode, reinstalling flash, and changing the about

  • PD - Qualifications - Development Plan - Appraisal - Events

    Hi I am reading and studying up about Personell Development. I have a good overview of what SAP HR has to offer for these different areas. However I would like to get practical input on how it is actually already being implemented. Here is how I unde

  • Addition of extra subscreen for the notification

    Hi All, I have requirement in which I need to add an extra sub screen in the notification creation tab for certain notification types. There are 5 subscreens being displayed for the Notification header tab. When I checked in SPRO for the screen setti