<?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 Print Table Data. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985833#M705073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some ABAP help. Presently im displaying data in a table control and now i want to print the data in that table control. I know about one function module which was mentioned in one of the threads i dont know how to use this function module &lt;/P&gt;&lt;P&gt;( FITRV_PRINT_TABLE_CONTROL_DATA). it will be great of you guys if you can explain this function module or provide me with an alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2007 14:22:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-01T14:22:29Z</dc:date>
    <item>
      <title>Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985833#M705073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some ABAP help. Presently im displaying data in a table control and now i want to print the data in that table control. I know about one function module which was mentioned in one of the threads i dont know how to use this function module &lt;/P&gt;&lt;P&gt;( FITRV_PRINT_TABLE_CONTROL_DATA). it will be great of you guys if you can explain this function module or provide me with an alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 14:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985833#M705073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T14:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985834#M705074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;      Form  print_table_control_data&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;      Print data from table control 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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt; ITAB     = internal table with table control data&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt; TC       = table control&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --  OPTIMIZE = use column optimization when calling ALV&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 print_table_control_data tables ptab&lt;/P&gt;&lt;P&gt;                              using  table_control type cxtab_control&lt;/P&gt;&lt;P&gt;                                     title         type c&lt;/P&gt;&lt;P&gt;                                     optimize      type c&lt;/P&gt;&lt;P&gt;                                     ddic_fields   type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: pgm like sy-repid,&lt;/P&gt;&lt;P&gt;        tc  type cxtab_control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  pgm = sy-repid.&lt;/P&gt;&lt;P&gt;  tc  = table_control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'FITRV_PRINT_TABLE_CONTROL_DATA'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            table_control                  = tc&lt;/P&gt;&lt;P&gt;            callback_program               = pgm&lt;/P&gt;&lt;P&gt;            callback_top_of_list           = 'PRINT_TRIP_HEADER'&lt;/P&gt;&lt;P&gt;            get_curr_quan_fields_from_ddic = ddic_fields&lt;/P&gt;&lt;P&gt;            optimize_column_width          = optimize&lt;/P&gt;&lt;P&gt;            window_title                   = title&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            print_data                     = ptab&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            column_information_missing     = 1&lt;/P&gt;&lt;P&gt;            printing_not_possible          = 2&lt;/P&gt;&lt;P&gt;            others                         = 3.&lt;/P&gt;&lt;P&gt;endform.                               " print_table_control_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the program MP56TFPR. it might help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 14:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985834#M705074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985835#M705075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA: pgm LIKE sy-repid,
        tc  TYPE cxtab_control.

  pgm = sy-repid.
  tc  = table_control. " Your table control name

  CALL FUNCTION 'FITRV_PRINT_TABLE_CONTROL_DATA'
    EXPORTING
      table_control                  = tc   
      callback_program               = pgm
      callback_top_of_list           = 'PRINT_TRIP_HEADER'   " Make this perform for header
      get_curr_quan_fields_from_ddic = ddic_fields  " pass blank 
      optimize_column_width          = optimize      "pass blank
      window_title                   = title             " pass blank
    TABLES
      print_data                     = ptab   " your data tab
    EXCEPTIONS
      column_information_missing     = 1
      printing_not_possible          = 2
      OTHERS                         = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 14:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985835#M705075</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-01T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985836#M705076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could get the function module to work. But for the list headings its printing blank on the top of the list. What should i do to populate the headings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 15:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985836#M705076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985837#M705077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to print the header too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 20:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985837#M705077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985838#M705078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;copied the function module and changed it to suit my needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985838#M705078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Print Table Data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985839#M705079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am stuck at header. How to get the header info? please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 20:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-table-data/m-p/2985839#M705079</guid>
      <dc:creator>saradas</dc:creator>
      <dc:date>2013-04-25T20:21:52Z</dc:date>
    </item>
  </channel>
</rss>

