<?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: Problem with alv print in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056089#M969607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;try to display with the write statement and check whether the data is proper or not. then check the printpreview or the spool .....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at itab.
   write :/ itab-f1 , itab-f2.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply back..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 04:50:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T04:50:57Z</dc:date>
    <item>
      <title>Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056086#M969604</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;I am using alv grid, there is a problem with print, when i look at print preview it shows only 1 row and even the values in that row are incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me solv the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056086#M969604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056087#M969605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check your internal table which your finally passing to the alv grid display&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056087#M969605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056088#M969606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting list OK, but when I try to look at the print preview, I get the above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied the GUI STATUS &lt;STRONG&gt;STANDARD_FULLSCREEN&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;into my programs status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sai Mohan Das on Jul 10, 2008 10:15 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sai Mohan Das on Jul 10, 2008 10:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056088#M969606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056089#M969607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;try to display with the write statement and check whether the data is proper or not. then check the printpreview or the spool .....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at itab.
   write :/ itab-f1 , itab-f2.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply back..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056089#M969607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056090#M969608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no problem with my list, I can see the output of my list,&lt;/P&gt;&lt;P&gt;but when I try to print it I am facing the above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056090#M969608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056091#M969609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if u dont mine can u send me the code.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056091#M969609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056092#M969610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code&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  DISPLAY&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;P&gt;FORM display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;*data : wa_fieldcat type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;  DATA : t_header  TYPE slis_t_listheader,&lt;/P&gt;&lt;P&gt;         wa_header TYPE slis_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : cnt(3) TYPE c VALUE 0.&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;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; cnt = cnt + 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'XBLNR'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Invoice No'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 8.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'BLDAT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Invoice Date'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 9.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname     = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CT3 No.&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'SGTXT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'CT3 No'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 8.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MBLNR'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'GRR No.'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 10.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname     = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'BUDAT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'GRR DATE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 9.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname     = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'NAME1'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Vendor Name'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 30.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&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;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MATNR'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Material No'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 18.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-no_zero   = 'X'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-key         = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'MAKTX'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Matdesc'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     =  cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   =  30.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-key         = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Excise Duty&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; cnt = cnt + 1.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-fieldname   = 'EDUTY'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-seltext_m   = 'EXCISE DUTY '.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-outputlen   = 30.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-do_sum    = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLEAR  fieldcatalog.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Excise Duty&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'DBDTY'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'DEBIT DUTY '.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 12.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-do_sum    = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Excise Duty&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'CRDTY'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'CREDIT DUTY '.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 12.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-do_sum    = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Credit Date&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'CRDAT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Cr. DATE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 9.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname     = 'it_final'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Closing Balance&lt;/P&gt;&lt;P&gt;  cnt = cnt + 1.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'CL_BALANCE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'BALANCE AMT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = cnt.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 15.&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname   = 'it_final1'.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog TO fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR  fieldcatalog.&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;      i_callback_program       = sy-repid&lt;/P&gt;&lt;P&gt;      i_callback_top_of_page   = 'TOP-OF-PAGE'&lt;/P&gt;&lt;P&gt;      it_fieldcat              = fieldcatalog[]&lt;/P&gt;&lt;P&gt;      i_save                   = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                 = it_final[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      program_error            = 1&lt;/P&gt;&lt;P&gt;      OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "DISPLAY&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;/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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Form  TOP-OF-PAGE                                                 *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;ALV Report Header                                                 *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;P&gt;FORM top-of-page.&lt;/P&gt;&lt;P&gt;*ALV Header declarations&lt;/P&gt;&lt;P&gt;  DATA: t_header TYPE slis_t_listheader,&lt;/P&gt;&lt;P&gt;        wa_header TYPE slis_listheader,&lt;/P&gt;&lt;P&gt;        t_line LIKE wa_header-info,&lt;/P&gt;&lt;P&gt;        ld_lines TYPE i,&lt;/P&gt;&lt;P&gt;        ld_linesc(10) TYPE c,&lt;/P&gt;&lt;P&gt;        v_date1(10),&lt;/P&gt;&lt;P&gt;        v_date2(10).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Title&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_header-typ  = 'H'.&lt;/P&gt;&lt;P&gt;  wa_header-info = 'B-17 BOND REGISTER - INDIGENOUS RAW MATERIALS'.&lt;/P&gt;&lt;P&gt;  APPEND wa_header TO t_header.&lt;/P&gt;&lt;P&gt;  CLEAR wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Date&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  wa_header-key = ' Report generated on Date: '.&lt;/P&gt;&lt;P&gt;  CONCATENATE  sy-datum+6(2) '.'&lt;/P&gt;&lt;P&gt;               sy-datum+4(2) '.'&lt;/P&gt;&lt;P&gt;               sy-datum(4) INTO wa_header-info.   "todays date&lt;/P&gt;&lt;P&gt;  APPEND wa_header TO t_header.&lt;/P&gt;&lt;P&gt;  CLEAR: wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;opening balance&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_header-typ  = 'S'.&lt;/P&gt;&lt;P&gt;  wa_header-key = ' Opening Amount: '.&lt;/P&gt;&lt;P&gt;  wa_header-info = gv_op_balance.   "Opening amount&lt;/P&gt;&lt;P&gt;  APPEND wa_header TO t_header.&lt;/P&gt;&lt;P&gt;  CLEAR: wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_list_commentary = t_header.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    i_logo             = 'ENJOYSAP_LOGO'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDFORM.                    "top-of-page&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:05:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056092#M969610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056093#M969611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  hav u included any customized pf-status  ??&lt;/P&gt;&lt;P&gt;2.  how u r generating the prinpreview ???&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.  check whether u have given change layout option ???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 05:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056093#M969611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T05:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with alv print</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056094#M969612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is solved, I gave wrong internal table name in my field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 09:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-alv-print/m-p/4056094#M969612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T09:10:56Z</dc:date>
    </item>
  </channel>
</rss>

