<?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: print internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669329#M1289256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi....&lt;/P&gt;&lt;P&gt;try use this simple example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************************&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_V1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF STRUC,&lt;/P&gt;&lt;P&gt;         EBELN  TYPE EKKO-EBELN,"Purchasing Document Number&lt;/P&gt;&lt;P&gt;         BUKRS  TYPE EKKO-BUKRS,"Company Code&lt;/P&gt;&lt;P&gt;         BSTYP  TYPE EKKO-BSTYP,"Purchasing Document Category&lt;/P&gt;&lt;P&gt;         BSART  TYPE EKKO-BSART,"Purchasing Document Type&lt;/P&gt;&lt;P&gt;       END OF STRUC.&lt;/P&gt;&lt;P&gt;DATA : IT_EKKO TYPE TABLE OF STRUC,&lt;/P&gt;&lt;P&gt;       WA_EKKO TYPE STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS : SLIS.&lt;/P&gt;&lt;P&gt;DATA : IT_FIELDCAT   TYPE SLIS_T_FIELDCAT_ALV,  "For fieldcat definitionTABLE OF lvc_s_fcat,&lt;/P&gt;&lt;P&gt;       WA_LAYOUT     TYPE SLIS_LAYOUT_ALV,      "For layout definition&lt;/P&gt;&lt;P&gt;       WA_FIELDCAT   LIKE LINE OF IT_FIELDCAT.  "Work area for fieldcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  BEGIN OF BLOCK B1. "with frame title t001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_ebeln FOR Ekko-ebeln.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  PERFORM GETDATA.&lt;/P&gt;&lt;P&gt;  PERFORM ALV.&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;      Form  getdata&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 GETDATA.&lt;/P&gt;&lt;P&gt;  SELECT EBELN&lt;/P&gt;&lt;P&gt;         BUKRS&lt;/P&gt;&lt;P&gt;         BSTYP&lt;/P&gt;&lt;P&gt;         BSART&lt;/P&gt;&lt;P&gt;    from ekko&lt;/P&gt;&lt;P&gt;    into table it_ekko&lt;/P&gt;&lt;P&gt;    where ebeln in s_ebeln[].&lt;/P&gt;&lt;P&gt;ENDFORM.                    "getdata&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  alv&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 ALV.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'EBELN'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Purchace No'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-COL_POS = 1.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'BUKRS'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Company Code'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-COL_POS = 2.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'BSTYP'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Document Category'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-COL_POS = 3.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&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;      is_layout               = wa_layout&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT             = IT_FIELDCAT[]&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                = IT_ekko.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "alv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;johnson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 May 2009 12:35:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-24T12:35:39Z</dc:date>
    <item>
      <title>print internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669326#M1289253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to output an internal table in grid format .&lt;/P&gt;&lt;P&gt;and how to give field names while giving the output.&lt;/P&gt;&lt;P&gt;can anyone help me,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 12:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669326#M1289253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-24T12:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: print internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669327#M1289254</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;1.	The simple list display&lt;/P&gt;&lt;P&gt;a.	Leading function-module&lt;/P&gt;&lt;P&gt;ii.	REUSE_ALV_GRID_DISPLAY (the current version)&lt;/P&gt;&lt;P&gt;These function modules take various internal table, and generate a standard display, on an ALV-standard screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.	How to pass on the fields to be printed&lt;/P&gt;&lt;P&gt;This is done by passing an internal table called the field-catalog. It consists typically of the &lt;/P&gt;&lt;P&gt;u2022	internal table-field name, &lt;/P&gt;&lt;P&gt;u2022	the output length, &lt;/P&gt;&lt;P&gt;u2022	the name to be displayed for the column, &lt;/P&gt;&lt;P&gt;u2022	the justification&lt;/P&gt;&lt;P&gt;u2022	formatting, like number of decimals, bold/normal and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_GRID_DISPLAY :  This is the function module which prints the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.	Export :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.	I_callback_program        : report id&lt;/P&gt;&lt;P&gt;ii.	I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status&lt;/P&gt;&lt;P&gt;iii.	I_callback_user_command  : routine where the function codes are handled&lt;/P&gt;&lt;P&gt;iv.	I_structure name     : name of the dictionary table &lt;/P&gt;&lt;P&gt;v.	Is_layout                 :  structure to set the layout of the report&lt;/P&gt;&lt;P&gt;vi.	It_fieldcat               : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module  REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;vii.	It_events     : internal table with a list of all possible events of ALV and their corresponding form names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II.	Tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                       i.  t_outtab  : internal table with the data to be output&lt;/P&gt;&lt;P&gt;                         &lt;/P&gt;&lt;P&gt;Also, if we are using a data-dictionary structure for the display, we can &lt;/P&gt;&lt;P&gt;avoid creating this internal table by making use of the function &lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.	REUSE_ALV_FIELDCATALOG_MERGE :  This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      The Important Parameters are :&lt;/P&gt;&lt;P&gt;I.	Export :&lt;/P&gt;&lt;P&gt;                                i.            I_program_name    : report id&lt;/P&gt;&lt;P&gt;ii.	I_internal_tabname  : the internal output table&lt;/P&gt;&lt;P&gt;iii.	I_inclname              : include or the report name where all the dynamic forms are handled.&lt;/P&gt;&lt;P&gt;       II  Changing&lt;/P&gt;&lt;P&gt;        ct_fieldcat      : an internal table with the type SLIS_T_FIELDCAT_ALV which is  &lt;/P&gt;&lt;P&gt;                                  declared in the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 12:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669327#M1289254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-24T12:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: print internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669328#M1289255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,,&lt;/P&gt;&lt;P&gt;Formatting the same text clearly again..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_LIST_DISPLAY :  This is the function module which prints the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I.	Export :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i.	I_callback_program        : report id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ii.	I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iii.	I_callback_user_command  : routine where the function codes are handled&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iv.	I_structure name     : name of the dictionary table&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;v.	Is_layout                 :  structure to set the layout of the report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vi.	It_fieldcat               : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module  REUSE_ALV_FIELDCATALOG_MERGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vii.	It_events     : internal table with a list of all possible events of ALV and their corresponding form names.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;II.	Tables :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                       &lt;STRONG&gt;i.  t_outtab  : internal table with the data to be output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.	REUSE_ALV_FIELDCATALOG_MERGE :  This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;The Important Parameters are :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I.	Export :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                &lt;STRONG&gt;i.            I_program_name    : report id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ii.	I_internal_tabname  : the internal output table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;iii.	I_inclname              : include or the report name where all the dynamic forms are handled.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;II  Changing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;ct_fieldcat      : an internal table with the type SLIS_T_FIELDCAT_ALV which is&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;                                  &lt;STRONG&gt;declared in the type pool SLIS.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 12:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669328#M1289255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-24T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: print internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669329#M1289256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi....&lt;/P&gt;&lt;P&gt;try use this simple example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************************&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_V1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF STRUC,&lt;/P&gt;&lt;P&gt;         EBELN  TYPE EKKO-EBELN,"Purchasing Document Number&lt;/P&gt;&lt;P&gt;         BUKRS  TYPE EKKO-BUKRS,"Company Code&lt;/P&gt;&lt;P&gt;         BSTYP  TYPE EKKO-BSTYP,"Purchasing Document Category&lt;/P&gt;&lt;P&gt;         BSART  TYPE EKKO-BSART,"Purchasing Document Type&lt;/P&gt;&lt;P&gt;       END OF STRUC.&lt;/P&gt;&lt;P&gt;DATA : IT_EKKO TYPE TABLE OF STRUC,&lt;/P&gt;&lt;P&gt;       WA_EKKO TYPE STRUC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS : SLIS.&lt;/P&gt;&lt;P&gt;DATA : IT_FIELDCAT   TYPE SLIS_T_FIELDCAT_ALV,  "For fieldcat definitionTABLE OF lvc_s_fcat,&lt;/P&gt;&lt;P&gt;       WA_LAYOUT     TYPE SLIS_LAYOUT_ALV,      "For layout definition&lt;/P&gt;&lt;P&gt;       WA_FIELDCAT   LIKE LINE OF IT_FIELDCAT.  "Work area for fieldcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  BEGIN OF BLOCK B1. "with frame title t001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_ebeln FOR Ekko-ebeln.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  PERFORM GETDATA.&lt;/P&gt;&lt;P&gt;  PERFORM ALV.&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;      Form  getdata&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 GETDATA.&lt;/P&gt;&lt;P&gt;  SELECT EBELN&lt;/P&gt;&lt;P&gt;         BUKRS&lt;/P&gt;&lt;P&gt;         BSTYP&lt;/P&gt;&lt;P&gt;         BSART&lt;/P&gt;&lt;P&gt;    from ekko&lt;/P&gt;&lt;P&gt;    into table it_ekko&lt;/P&gt;&lt;P&gt;    where ebeln in s_ebeln[].&lt;/P&gt;&lt;P&gt;ENDFORM.                    "getdata&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  alv&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 ALV.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'EBELN'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Purchace No'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-COL_POS = 1.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'BUKRS'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Company Code'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-COL_POS = 2.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-FIELDNAME = 'BSTYP'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-SELTEXT_M = 'Document Category'.&lt;/P&gt;&lt;P&gt;  WA_FIELDCAT-COL_POS = 3.&lt;/P&gt;&lt;P&gt;  APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  CLEAR WA_FIELDCAT.&lt;/P&gt;&lt;P&gt;&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;      is_layout               = wa_layout&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT             = IT_FIELDCAT[]&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                = IT_ekko.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "alv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;johnson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 12:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-internal-table/m-p/5669329#M1289256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-24T12:35:39Z</dc:date>
    </item>
  </channel>
</rss>

