<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REport!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275068#M783035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto SAP Menu&amp;gt;Accounting&amp;gt;Financial Accounting&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under accounting you can find all the sub modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then Goto General Ledger&amp;gt;Information Systems&amp;gt;General Ledger Reports&amp;gt;Balance sheet and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you would find all the standard reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Check this thread...u find sample reports.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="457390"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2008 21:28:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-09T21:28:41Z</dc:date>
    <item>
      <title>REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275066#M783033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me a simple FI classical report example.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajeev !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 20:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275066#M783033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T20:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275067#M783034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try  the transaction FBL5N (report RFITEMAR) for example, which is customer items..or &lt;/P&gt;&lt;P&gt;the transaction FBL1N (report RFITEMAP) for vendors... but it's probably more important understanding how the FI database tables fit together (BKPF, BSEG, BSIK, BSID and all their friends).&lt;/P&gt;&lt;P&gt;To understand these programs tou need to have an idea about Report programming using ALV.&lt;/P&gt;&lt;P&gt;   Hope you are familiar with it and antyways you have lots of mateerial on ALV on SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jose Anthony Reddy on Jan 10, 2008 2:26 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 20:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275067#M783034</guid>
      <dc:creator>former_member313782</dc:creator>
      <dc:date>2008-01-09T20:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275068#M783035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto SAP Menu&amp;gt;Accounting&amp;gt;Financial Accounting&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under accounting you can find all the sub modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then Goto General Ledger&amp;gt;Information Systems&amp;gt;General Ledger Reports&amp;gt;Balance sheet and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you would find all the standard reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Check this thread...u find sample reports.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="457390"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 21:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275068#M783035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T21:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275069#M783036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Maha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually what I am looking for is a classic report which one can prepare using different FI tables, I have prepared a report for MM  and I want such FI related report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_REPORT&lt;/P&gt;&lt;P&gt;                          .&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;Data: begin of it_mara occurs 0,&lt;/P&gt;&lt;P&gt;        matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;        mtart like mara-matkl ,&lt;/P&gt;&lt;P&gt;      end of it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of it_marc occurs 0,&lt;/P&gt;&lt;P&gt;        matnr like marc-matnr,&lt;/P&gt;&lt;P&gt;        mmsta like marc-mmsta,&lt;/P&gt;&lt;P&gt;        werks like marc-werks,&lt;/P&gt;&lt;P&gt;      end of it_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: fieldcat TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA: repid TYPE syrepid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr matkl into table it_mara&lt;/P&gt;&lt;P&gt;  from mara&lt;/P&gt;&lt;P&gt;  where matkl eq '001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select werks mmsta into table it_marc&lt;/P&gt;&lt;P&gt;    from marc&lt;/P&gt;&lt;P&gt;    where matnr eq it_mara-matnr.&lt;/P&gt;&lt;P&gt;    clear it_mara.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          i_program_name     = repid&lt;/P&gt;&lt;P&gt;          i_internal_tabname = 'IT_MARC'&lt;/P&gt;&lt;P&gt;          i_inclname         = repid&lt;/P&gt;&lt;P&gt;          i_bypassing_buffer = 'X'&lt;/P&gt;&lt;P&gt;     CHANGING&lt;/P&gt;&lt;P&gt;          ct_fieldcat        = fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          it_fieldcat = fieldcat&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          t_outtab    = it_marc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rajeev !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 22:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275069#M783036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T22:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275070#M783037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the following custom report :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  Z_FI_REP_000002&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  z_fi_rep_000002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Declaration of all the includes being used in the program.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This include is used to declare all global data used in the program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;include z_fi_rep_000002_top.     " Include for Global Data Declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include z_fi_rep_000002_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This include is used to declare all subroutines used in the program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;include z_fi_rep_000002_forms.            " FORM-Routines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  Include           Z_FI_REP_000002_TOP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...Internal data specific for g/l accounts............................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_t001u,&lt;/P&gt;&lt;P&gt;           vbukr type vbukr,    " Property Company Code&lt;/P&gt;&lt;P&gt;        end of type_t001u ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        type_t_t001u type standard table of type_t001u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_bvor,&lt;/P&gt;&lt;P&gt;           bukrs   type bukrs,    " Company Code&lt;/P&gt;&lt;P&gt;           gjahr   type gjahr,    " FiscalYear&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Begin of Delete on Vinitia Jain&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          belnr   TYPE belnr,    " Accounting Document Number&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;End of Delete on Vinitia Jain&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Begin of Insert on Vinitia Jain&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;           belnr   type belnr_d,    " Accounting Document Number&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;End of Insert on Vinitia Jain&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;       end of type_bvor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        type_t_bvor type standard table of type_bvor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_bsik,&lt;/P&gt;&lt;P&gt;           lifnr   type lifnr,    " Account Number of Vendor&lt;/P&gt;&lt;P&gt;           belnr   type belnr,    " Accounting Document Number&lt;/P&gt;&lt;P&gt;           zfbdt   type dzfbdt,   "Baseline date for due date&lt;/P&gt;&lt;P&gt;           bstat   type bstat,    " Document Status&lt;/P&gt;&lt;P&gt;           zlspr   type dzlspr,   " Payment Block Indicator&lt;/P&gt;&lt;P&gt;           wrbtr   type wrbtr,    " Amount in document currency&lt;/P&gt;&lt;P&gt;        end of type_bsik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        type_t_bsik type standard table of type_bsik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_lfa1,&lt;/P&gt;&lt;P&gt;           lifnr   type lifnr,    " Account Number of Vendor&lt;/P&gt;&lt;P&gt;           name1   type name1,    " Name of Vendor&lt;/P&gt;&lt;P&gt;        end of type_lfa1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        type_t_lfa1 type standard table of type_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_final,&lt;/P&gt;&lt;P&gt;           lifnr      type lifnr,       " Account Number of Vendor&lt;/P&gt;&lt;P&gt;           name1      type name1,       " Vendor Description&lt;/P&gt;&lt;P&gt;           belnr      type belnr,       " Accounting Document Number&lt;/P&gt;&lt;P&gt;           zfbdt      type dzfbdt,      " Baseline date for due date&lt;/P&gt;&lt;P&gt;           bstat      type bstat,       " Cleared/Open Items Symbol&lt;/P&gt;&lt;P&gt;           zlspr      type dzlspr,      " Payment Block Key&lt;/P&gt;&lt;P&gt;           wrbtr1     type wrbtr,       " for 1-30 days&lt;/P&gt;&lt;P&gt;           wrbtr2     type wrbtr,       " for 31-60 days&lt;/P&gt;&lt;P&gt;           wrbtr3     type wrbtr,       " for 60+ days&lt;/P&gt;&lt;P&gt;           amount     type wrbtr,       " Total Amount&lt;/P&gt;&lt;P&gt;        end of type_final ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        type_t_final type standard table of type_final .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Structure Declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :  fs_layout    type slis_layout_alv,  "alv_layout&lt;/P&gt;&lt;P&gt;        fs_t001u     type type_t001u ,&lt;/P&gt;&lt;P&gt;        fs_bvor      type type_bvor,&lt;/P&gt;&lt;P&gt;        fs_lfa1      type type_lfa1,&lt;/P&gt;&lt;P&gt;        fs_final     type type_final,&lt;/P&gt;&lt;P&gt;        fs_bsik      type type_bsik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table Declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_t001u        type type_t_t001u,       " table for T001u&lt;/P&gt;&lt;P&gt;       i_bvor         type type_t_bvor,        " table for bvor&lt;/P&gt;&lt;P&gt;       i_bsik         type type_t_bsik,        " table for bsik&lt;/P&gt;&lt;P&gt;       i_lfa1         type type_t_lfa1,        " table for lfa1&lt;/P&gt;&lt;P&gt;       i_final        type type_t_final ,       " final data table&lt;/P&gt;&lt;P&gt;       i_listheader   type slis_t_listheader,   " List header&lt;/P&gt;&lt;P&gt;       i_fieldcat     type slis_t_fieldcat_alv, " Fieldcatalog&lt;/P&gt;&lt;P&gt;       i_sortinfo     type slis_t_sortinfo_alv, " Sort&lt;/P&gt;&lt;P&gt;       i_events       type slis_t_event.        " Alv grid events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global varible declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  data :  v_repid      type sy-repid,        " Program name&lt;/P&gt;&lt;P&gt;          v_bukrs      type bukrs,           " Company code&lt;/P&gt;&lt;P&gt;          v_zfbdt      type dzfbdt,          " Run date&lt;/P&gt;&lt;P&gt;          v_prctr      type prctr.           " Profit center&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SELECTION SCREEN PARAMETERS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block main with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters :       p_bukrs type bukrs.&lt;/P&gt;&lt;P&gt;parameters :       p_zfbdt type dzfbdt.&lt;/P&gt;&lt;P&gt;select-options:    s_prctr for  v_prctr.&lt;/P&gt;&lt;P&gt;selection-screen end of block main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  Include           Z_FI_REP_000002_EVENTS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; INITIALIZATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assign Program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  v_repid = sy-repid .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; AT SELECTION-SCREEN.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If Company Code is not entered then Error Message will display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if p_bukrs is initial.&lt;/P&gt;&lt;P&gt;      set cursor field p_bukrs.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MESSAGE e004.                     "Enter Company Code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Start-of-selection event&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  perform get_data.&lt;/P&gt;&lt;P&gt;  perform process_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; End-of-selection event&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  Include           Z_FI_REP_000002_FORMS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  get_data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_zfbdt is initial.&lt;/P&gt;&lt;P&gt;    p_zfbdt = sy-datum.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select vbukr&lt;/P&gt;&lt;P&gt;         from t001u&lt;/P&gt;&lt;P&gt;         into table i_t001u&lt;/P&gt;&lt;P&gt;         where abukr eq p_bukrs.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            konts like 'V%'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check not i_t001u[] is initial.&lt;/P&gt;&lt;P&gt;  select bukrs&lt;/P&gt;&lt;P&gt;         gjahr&lt;/P&gt;&lt;P&gt;         belnr&lt;/P&gt;&lt;P&gt;         from bvor&lt;/P&gt;&lt;P&gt;         into corresponding fields of table i_bvor&lt;/P&gt;&lt;P&gt;         for all entries in i_t001u&lt;/P&gt;&lt;P&gt;         where bukrs eq i_t001u-vbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*loop at i_t001u into fs_t001u.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*select bukrs&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      gjahr&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      belnr&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      from bvor&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      into fs_bvor&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      where bukrs eq fs_t001u-vbukr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; append fs_bvor to i_bvor.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*endselect.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check not i_bvor[] is initial.&lt;/P&gt;&lt;P&gt;  select lifnr&lt;/P&gt;&lt;P&gt;         belnr&lt;/P&gt;&lt;P&gt;         zfbdt&lt;/P&gt;&lt;P&gt;         bstat&lt;/P&gt;&lt;P&gt;         zlspr&lt;/P&gt;&lt;P&gt;         wrbtr&lt;/P&gt;&lt;P&gt;         from bsik&lt;/P&gt;&lt;P&gt;         into table i_bsik&lt;/P&gt;&lt;P&gt;         for all entries in i_bvor&lt;/P&gt;&lt;P&gt;         where bukrs = i_bvor-bukrs and&lt;/P&gt;&lt;P&gt;               gjahr = i_bvor-gjahr." and&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            belnr = i_bvor-belnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not i_bsik[] is initial.&lt;/P&gt;&lt;P&gt;    select lifnr&lt;/P&gt;&lt;P&gt;           name1&lt;/P&gt;&lt;P&gt;           from lfa1&lt;/P&gt;&lt;P&gt;           into table i_lfa1&lt;/P&gt;&lt;P&gt;           for all entries in i_bsik&lt;/P&gt;&lt;P&gt;           where lifnr = i_bsik-lifnr.&lt;/P&gt;&lt;P&gt;    if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;      sort i_lfa1 by lifnr name1.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " get_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  process_data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form process_data .&lt;/P&gt;&lt;P&gt;  loop at i_bsik into fs_bsik.&lt;/P&gt;&lt;P&gt;    move-corresponding fs_bsik to fs_final.&lt;/P&gt;&lt;P&gt;    call function 'DAYS_BETWEEN_TWO_DATES'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        i_datum_bis             = p_zfbdt&lt;/P&gt;&lt;P&gt;        i_datum_von             = fs_bsik-zfbdt&lt;/P&gt;&lt;P&gt;      importing&lt;/P&gt;&lt;P&gt;        e_tage                  = v_zfbdt&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        days_method_not_defined = 1&lt;/P&gt;&lt;P&gt;        others                  = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if v_zfbdt between 0 and 30.&lt;/P&gt;&lt;P&gt;      fs_final-wrbtr1 = fs_bsik-wrbtr.&lt;/P&gt;&lt;P&gt;    elseif v_zfbdt between 31 and 60.&lt;/P&gt;&lt;P&gt;      fs_final-wrbtr2 = fs_bsik-wrbtr.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      fs_final-wrbtr3 = fs_bsik-wrbtr.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;   read table i_lfa1 into fs_lfa1 with key lifnr = fs_bsik-lifnr binary&lt;/P&gt;&lt;P&gt;  search.&lt;/P&gt;&lt;P&gt;    if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt; fs_final-amount = fs_final-wrbtr1 + fs_final-wrbtr3 + fs_final-wrbtr3 .&lt;/P&gt;&lt;P&gt;      collect fs_final into i_final.&lt;/P&gt;&lt;P&gt;      clear: fs_bsik, fs_final, fs_lfa1.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endform.                    " process_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 22:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275070#M783037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T22:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275071#M783038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the standard report : RFBILA00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 06:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275071#M783038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T06:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: REport!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275072#M783039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are some of the standadard FI report programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RKAZCO43, &lt;/P&gt;&lt;P&gt;RKKKS1N0, &lt;/P&gt;&lt;P&gt;RKO7CO88, &lt;/P&gt;&lt;P&gt;SAPKKA07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope they would be of use to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 10:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3275072#M783039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T10:12:07Z</dc:date>
    </item>
  </channel>
</rss>

