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

Similar Messages

  • ALV Reporting - RFUMSV00

    I copied the standard SAP VAT report RFUMSV00 to add some fields to 2 of the reports.  When the reports appear on the screen, they are perfect, but when I print them, one of the reports is duplicating the lines that have data that I have added.  The lines that don't have the additional data work as they should.  The other report that I modified works perfectly.
    Has anyone run across something like this?

    May be you forget a REFRESH statment somewhere....

  • 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

  • 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.

  • VAT Report-RFUMSV00

    Dear Gurus,
    Let me describe the scenario:
    1) Sales Order Created and Billing GeneratedFI doc PostedAmt 1000 INR
        Tax code is O0 --Tax rate is zero percent
    2) Customer Pays more than Sales Order amount --Amt 1300 INR
    Document No X
    40 dr Bank 1300
    15 Cr Cust  1000
    15 Cr Cust  3000
    3)Later when Billing happens for 100INR and 200 INR
    Customer is not paying so 300 from document X is adjusted for SO amt 100 and 200.
    Now the requirement is that as there are 3 SO so VAT Report should contain 3 line items and accordingly amount 1000,100 and 200 should be shown.
    Present ly under this scenarion VAT Report RFUMSV00 shows only document X and tatal amout as 1300 user want for this document VAT report to show 1000(that is equesl to SO)
    And for other documents 100 and 200 .
    Please help
    Regards
    Raju

    Hi Raju,
    In your scenario customer paid Rs.1300 against first SO but SO value is Rs1000.
    Billing entry : Customer account ............1000
                         Sales account......................900
                         Tax account..........................100......asume
    Advance payments from customer : Rs.1300. ( Remember, It is not  possible to post any dcoument in FI without Open item except dwn payments)
    Second SO billing document : like above only amounts will change. I am sure u r VAT will credit only.
    Suma

  • BADI 014 in report RFUMSV00

    Hello I have to add new fields in report RFUMSV00. As you know the selection screen shows a section where you can customise the layout of many section. I have to add one field in totals section.
    Now I found a BADI (FI_TAX_BADI_014) that should be used to add field catalog for ALV. But I don't know how to use it. The BADI instance is not implemented.
    Is there someone who had experience on it?
    Thanks
    F.

    Hi Eduardo,
    thanks for your quick reply.
    Do you know the possible solution for my question? The picture shows the peculiarity of the vat code.
    When I run the report RFUMSV00, I don't see in the "Input tax: Line items" the information related to ESA transaction. I can see only the transaction ESE. My client would like to see also the ESE information in the "Input tax: line items.
    Below is shown the AS IS:
    Do you have any suggestion?
    Thanks a lot for your support
    Regards
    Giampaolo

  • The report RFUMSV00 dump

    Hi,
    The SAP report RFUMSV00 dump when i execute it with any selection criteria.
    Error analysis
        The following syntax error was found in the program
         CL_BADI_BASE==================CP :
        "Method "TYPE_IS_BADI" does not have parameters . . ."
    the source code:
    Any idea ?
    Best regard,
    Ouail.

    the error came from the method "FULL_IMPL_TABLE", i want to change his visibility to public but i can't !!!
    the class "CL_SEPA_MANDATES_ALV_GRID" doesn't exist in my system.
    any idea?

  • Report RFUMSV00 - Reverse Charge

    Hi Guru,
    my client would like to see in the report RFUMSV00 the transaction ESA/ESE (reverse charge) in the "Input tax: Line items". How can I do it? Do you know a BADI that I can use?
    Do you have any suggestion?
    Thanks in advance
    Kind Regards
    Giampaolo

    Hi Eduardo,
    thanks for your quick reply.
    Do you know the possible solution for my question? The picture shows the peculiarity of the vat code.
    When I run the report RFUMSV00, I don't see in the "Input tax: Line items" the information related to ESA transaction. I can see only the transaction ESE. My client would like to see also the ESE information in the "Input tax: line items.
    Below is shown the AS IS:
    Do you have any suggestion?
    Thanks a lot for your support
    Regards
    Giampaolo

  • CMC: user must update save but not modify report with webi

    Hi experts,
    I'm on BO platform 4.0SP2 fp10.
    I would like to know if it is possible to enable a user a user to update data in a report, save report but disable it to modify report structure and query.
    In a folder the user must be able to update the report and prompt, then he must save it, but I don't want him to modify report with webi.
    Thanks
    Camillo

    Hi Frederique,
    By not modifying the report with WebI, do you mean that the user shouldn't have access to WebI Rich Client?
    What kind of update would the user have to do on a report once the report is available in a folder?
    Yes I mean user shouldn't ha access to webi rich client. He should just view update rint and updated report.
    Regards
    Camillo

  • 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

  • Strange Chars after modify reports.sh NLS_LANG

    I had a problem when I modify NLS_LANG in reports.sh in linux. If i put NLS_LANG=PORTUGUESE_PORTUGAL.WE8MSWIN1252 my reports comes with strange some like greek characters. My database charset is WE8MSWIN1252.
    My database v$NLS_PARAMETERS are:
    NLS_DATE_LANGUAGE
    PORTUGUESE
    NLS_CHARACTERSET
    WE8MSWIN1252
    Anyone with same problem too?
    Thanks
    Joao

    Sorry,
    I forgot to mention that, I have already added 3of9 font in PPD files, by oversight i missed in my question.
    Even after adding I cannot print a report Arabic + Barcode + English character.
    I am able to print report either Arabic+English or Barcode + English and all three together NO.
    Please suggest..

  • Modify report xml to delete 'Done' Steps

    Hi,
    I am trying to modify my Xml report in order to :
    Add an array of calibration datas : Ok
    Add an array of instrument datas : Ok
    Delete every 'done' steps of the report.  Nok (and delete the table if there's no step inside)
    Because my problem is that the table is created before testing/matching the results and i am afraid to be lost in the xsl file.
     Could someone help me with it ?
    I join the Xsl file i try to modify and a Xml example file (extensions needs to be modified)
    Thanks a lot !
    Attachments:
    horizontal.txt ‏92 KB
    XmlFile.txt ‏177 KB

    You could also potentially just leave the actual .xml report as is, and then modify the Style Sheet to hide the "Done" steps.
    TestStand 4.2 features improved XML Style Sheets that are restructured to reduce the time required to generate HTML output from XML report files and to simplify the task of modifying style sheets so that you can change the appearance and content of XML reports.
    For more information about customizing TestStand XML report style sheets and using the included XML schemas, refer to:
    NI TestStand Help: XML Report Style Sheets
    For more information about XML Reports, refer to:
    NI TestStand Reference Manual: Chapter 6, Database Logging and Report Generation
    For more information regarding new features in TestStand 4.2, refer to:
    What's New in NI TestStand 4.2
    Jervin Justin
    NI TestStand Product Manager

  • Modify report help

    Hi, I have a problem. Basically, I have a report that I changed properties on so that it would refresh on open. The report runs fine, but I can't open it up in modify mode again. I tried to re-start the CMS but it's still not opening. Just kinda hanging there in limbo.
    This is a production report so I am kinda desperate for an answer.
    Any advice would be greatly appreciated...
    Thanks,
    Inna

    Try opening the report in the view mode, then from the "Document" drop down list select the 'Edit'.
    Now the report will get open in the modify mode, apply the changes and for saving the report with the same name select 'Save as' from the drop down of the save option.
    If you want to remove the option of 'Refresh on open', Just uncheck the option"Refresh on open" when you are saving it.
    It will ask you to overwrite the existing document.
    Hope this will help.
    Ritesh

  • Modify Reporting Services Configuration File (RSreportserver.config)

    Trying to modify the config file (rsreportserver.config) which I found here:
    C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER2012\Reporting Services\ReportServer
    Would like to add an option "TXT" to this dropdown list:
    But the code under Render section does not seem to match (see below), what is listed above. I have made the following change and saved, but it does not seem to be the correct .config file.:
    <Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
    <OverrideNames>
    <NameLanguage="en-US">TAB (Tab Delimited Text File)</Name>
        </OverrideNames>
    <Configuration>
    <DeviceInfo>
    <FieldDelimiterxml:space="preserve">    </FieldDelimiter>
    <UseFormattedValues>False</UseFormattedValues>
    <NoHeader>False</NoHeader>
                    <FileExtension>Txt</FileExtension>
                    </DeviceInfo>
    </Configuration>
    </Extension>
    Questions:
    Could the correct .config file be in another directory?
    Does the above for "TXT" look correct:
    Thanks,
    jr7138
    =======================================================
     <Render>
          <Extension Name="XML" Type="Microsoft.ReportingServices.Rendering.DataRenderer.XmlDataReport,Microsoft.ReportingServices.DataRendering" />
          <Extension Name="NULL" Type="Microsoft.ReportingServices.Rendering.NullRenderer.NullReport,Microsoft.ReportingServices.NullRendering" Visible="false" />
          <Extension Name="CSV" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering" />
          <Extension Name="ATOM" Type="Microsoft.ReportingServices.Rendering.DataRenderer.AtomDataReport,Microsoft.ReportingServices.DataRendering" Visible="false" />
          <Extension Name="PDF" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer,Microsoft.ReportingServices.ImageRendering" />
          <Extension Name="RGDI" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.RGDIRenderer,Microsoft.ReportingServices.ImageRendering" Visible="false" />
          <Extension Name="HTML4.0" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="false">
            <Configuration>
              <DeviceInfo>
                <DataVisualizationFitSizing>Approximate</DataVisualizationFitSizing>
              </DeviceInfo>
            </Configuration>
          </Extension>
          <Extension Name="MHTML" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering">
            <Configuration>
              <DeviceInfo>
                <DataVisualizationFitSizing>Approximate</DataVisualizationFitSizing>
              </DeviceInfo>
            </Configuration>
          </Extension>
          <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering" Visible="false" />
          <Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering" />
          <Extension Name="RPL" Type="Microsoft.ReportingServices.Rendering.RPLRendering.RPLRenderer,Microsoft.ReportingServices.RPLRendering" Visible="false" LogAllExecutionRequests="false" />
          <Extension Name="IMAGE" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRenderer,Microsoft.ReportingServices.ImageRendering" />
          <Extension Name="WORD" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordDocumentRenderer,Microsoft.ReportingServices.WordRendering" Visible="false" />
          <Extension Name="WORDOPENXML" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordOpenXmlRenderer.WordOpenXmlDocumentRenderer,Microsoft.ReportingServices.WordRendering" />
        </Render>
    jer

    Hi ,
    For report server configuration file location is ;
    C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config
    Not sure what exactly is your requirement.
    May be below is helpful to you ;
    <Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
    <OverrideNames>
    <Name Language="en-US">TXT (Tab Delimited Text File)</Name>
    </OverrideNames>
    <Configuration>
    <DeviceInfo>
    <NoHeader>true</NoHeader>
    <Toolbar>True</Toolbar>
    <FieldDelimiter>&#9;</FieldDelimiter>
    <FileExtension>txt</FileExtension>
    </DeviceInfo>
    </Configuration>
    </Extension>
    Close the browser then will get this option in save list as mentioned in image.
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

Maybe you are looking for

  • Having the possibility to customize the name of the backup directory

    Hello, New user of lightroom v3.3, i noted the impossibility to customize the name of the backup directory. it's a plain full text with "importé le 10 janvier 2011" for example wich is not the best way to store to retrieve old photos. is it possible

  • Why do I keep getting error 213:19?

    Why do I keep getting error 213:19 when I try opening photoshop?

  • Using ReportExportControl in Crystal for Eclipse 2.0

    Using ReportExportControl in Crystal for Eclipse 2.0 I have a JSP that is calling a crystal report and returns back to jsp...the crystal pdf is generated successful and we write the file to a directory on the web server.  However after upgrading from

  • Loud beep when restarting.

    Earlier today, I was in class and everything was running a bit slow on my Macbook. So I shut it down and about an hour later when I was back home I turned it on and it made a loud Beep. Then whenever I restart it makes the optical drive little sound

  • JDev R1 PS2 - Why the change on keyboard shortcuts for debug?

    Hi All, I have been using JDev 11g from 45xx buids. In most of previous releases, I was able to use F7, F8, F9 keys to step into a method, step over line and continue in the debug mode. In JDev R1 PS2, I see those keyboard shortcuts are not working.