<?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: ABAP Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891958#M1142900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as far as my knowledge of understanding is concerned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have 2 issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) the problem of alignment &lt;/P&gt;&lt;P&gt;2) data download to excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) sy-dbcnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT : name of your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE:  sy-dbcnt, 10 'NUMBER OF RECORDS'.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using the &lt;/P&gt;&lt;P&gt;loop &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;end loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-loopc will hold the number of loop lines / rec which you can display at the top-of-page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) you can use many function modules like alsm_excel , msl_excel_ole_standard , gui_download&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or sap has given the option for you to download into excel list--&lt;DEL&gt;-&amp;gt; save as&lt;/DEL&gt;-----&amp;gt;excel format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;srikanth.p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2008 07:24:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-23T07:24:11Z</dc:date>
    <item>
      <title>ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891955#M1142897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: Please use a more informative subject in future&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me in this outstanding issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display the number records in Top of page and Body of the report with alignment.&lt;/P&gt;&lt;P&gt;Here, I am able to display the data in the body of the report , but problem is with the Top-of-page (Here , It is giving alignment problem when I display with number of records). Also, that whole data should be able to downloaded into excel also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace...&lt;/P&gt;&lt;P&gt;Sridhar..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Dec 23, 2008 12:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891955#M1142897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T06:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891956#M1142898</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;it is a trail and Error method , using the add_gap method you have to adjust the texts. otherwise you have to use the method add_table. see the usage of the method in the program DD_STYLE_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And check this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://forums.sdn.sap.com/click.jspa?searchID=20242748&amp;amp;messageID=6639339]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Neha Thukral on Dec 23, 2008 7:13 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891956#M1142898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T06:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891957#M1142899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Go for ALV Report. Be more specific about your questions. This sort of questions will never encourage any body to answer. Please do workaround on your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 06:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891957#M1142899</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2008-12-23T06:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891958#M1142900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as far as my knowledge of understanding is concerned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have 2 issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) the problem of alignment &lt;/P&gt;&lt;P&gt;2) data download to excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) sy-dbcnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT : name of your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE:  sy-dbcnt, 10 'NUMBER OF RECORDS'.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using the &lt;/P&gt;&lt;P&gt;loop &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;end loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-loopc will hold the number of loop lines / rec which you can display at the top-of-page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) you can use many function modules like alsm_excel , msl_excel_ole_standard , gui_download&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or sap has given the option for you to download into excel list--&lt;DEL&gt;-&amp;gt; save as&lt;/DEL&gt;-----&amp;gt;excel format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;srikanth.p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 07:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891958#M1142900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891959#M1142901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for quick response. &lt;/P&gt;&lt;P&gt;I have already tried with that what you suggested me. But the issue is , when I display&lt;/P&gt;&lt;P&gt;multiple records : (Layout is like this)&lt;/P&gt;&lt;P&gt;(Here I am using  I_HTML_TOP_OF_PAGE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant      Storage Location    Batch                 DATE&lt;/P&gt;&lt;P&gt;3000      100                        1000                10/01/2008&lt;/P&gt;&lt;P&gt;3000      100                         444AB              11/04/2008&lt;/P&gt;&lt;P&gt;3000      100                        AAAAAC             14/12/2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Body of the report (Which I am displaying in the alv grid):&lt;/P&gt;&lt;P&gt;This part is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some data in body of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I display the data in top page, you can see the alignment problem where I am getting(Batch and Date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do this with splitting functionality using OOPs(Using two grids in two containers, but I  can't download and print whole data at a time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 07:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891959#M1142901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T07:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891960#M1142902</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;didnt understand exactly..try if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Plant Storage Location Batch DATE&lt;/P&gt;&lt;P&gt;is the header you are considering &lt;/P&gt;&lt;P&gt;then each have specific length.count the total length declare another variable with this lengh or string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the individual variable at the particular offset value.&lt;/P&gt;&lt;P&gt;then finally pass the variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 08:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891960#M1142902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T08:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891961#M1142903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Please use a more informative subject in future&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 11:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report/m-p/4891961#M1142903</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-23T11:14:10Z</dc:date>
    </item>
  </channel>
</rss>

