<?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 ALV with multiple header &amp; dynamic columns in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381707#M528682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where in I need to print multiple header in alv. &lt;/P&gt;&lt;P&gt;For eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Name : &amp;lt;Name_1&amp;gt;&lt;/P&gt;&lt;P&gt;Channel     : &amp;lt;Channel_1&amp;gt;&lt;/P&gt;&lt;P&gt;Sale Org    : &amp;lt;Sales Org_1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8&lt;/P&gt;&lt;P&gt; -       -        -     -      -         &lt;/P&gt;&lt;P&gt; -       -         -&lt;/P&gt;&lt;P&gt;User Name : &amp;lt;Name_2&amp;gt;&lt;/P&gt;&lt;P&gt;Channel     : &amp;lt;Channel_2&amp;gt;&lt;/P&gt;&lt;P&gt;Sale Org    : &amp;lt;Sales Org_2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8&lt;/P&gt;&lt;P&gt; -       -        -     -      -         &lt;/P&gt;&lt;P&gt; -       -         -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no of columns (Col1 , col2 )  are dynamic  . Which would be the best alv type do I need do use?  Is it possible using simple alv grid display. How to handle dynamic column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 14:56:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T14:56:03Z</dc:date>
    <item>
      <title>ALV with multiple header &amp; dynamic columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381707#M528682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where in I need to print multiple header in alv. &lt;/P&gt;&lt;P&gt;For eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Name : &amp;lt;Name_1&amp;gt;&lt;/P&gt;&lt;P&gt;Channel     : &amp;lt;Channel_1&amp;gt;&lt;/P&gt;&lt;P&gt;Sale Org    : &amp;lt;Sales Org_1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8&lt;/P&gt;&lt;P&gt; -       -        -     -      -         &lt;/P&gt;&lt;P&gt; -       -         -&lt;/P&gt;&lt;P&gt;User Name : &amp;lt;Name_2&amp;gt;&lt;/P&gt;&lt;P&gt;Channel     : &amp;lt;Channel_2&amp;gt;&lt;/P&gt;&lt;P&gt;Sale Org    : &amp;lt;Sales Org_2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8&lt;/P&gt;&lt;P&gt; -       -        -     -      -         &lt;/P&gt;&lt;P&gt; -       -         -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no of columns (Col1 , col2 )  are dynamic  . Which would be the best alv type do I need do use?  Is it possible using simple alv grid display. How to handle dynamic column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 14:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381707#M528682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T14:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: ALV with multiple header &amp; dynamic columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381708#M528683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vimal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try with the ALV Block list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this demo report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BALVBT01                       Testprogram  ALV: Block list
BALVBT02                       Testprogram ALV: Block list without block modules&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 15:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381708#M528683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T15:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV with multiple header &amp; dynamic columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381709#M528684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not possible with normal grid or list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is possible by using ALV Block list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified below program to get mutiple header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT z_alv_block_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Type-pools&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Data declarations.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF t_vbak OCCURS 0,&lt;/P&gt;&lt;P&gt;        vbeln TYPE vbeln,&lt;/P&gt;&lt;P&gt;        bstnk TYPE vbak-bstnk,&lt;/P&gt;&lt;P&gt;        erdat TYPE vbak-erdat,&lt;/P&gt;&lt;P&gt;        kunnr TYPE vbak-kunnr,&lt;/P&gt;&lt;P&gt;      END OF t_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_vbap OCCURS 0,&lt;/P&gt;&lt;P&gt;        vbeln  TYPE vbeln,&lt;/P&gt;&lt;P&gt;        matnr  TYPE vbap-matnr,&lt;/P&gt;&lt;P&gt;        netpr  TYPE vbap-netpr,&lt;/P&gt;&lt;P&gt;        waerk  TYPE vbap-waerk,&lt;/P&gt;&lt;P&gt;        kwmeng TYPE vbap-kwmeng,&lt;/P&gt;&lt;P&gt;        meins  TYPE vbap-meins,&lt;/P&gt;&lt;P&gt;      END OF t_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA: v_repid         TYPE syrepid.&lt;/P&gt;&lt;P&gt;DATA: s_layout        TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;DATA: v_tabname       TYPE slis_tabname.&lt;/P&gt;&lt;P&gt;DATA: t_events        TYPE slis_t_event.&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;start-of-selection event.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  v_repid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the fieldcatalog for the first block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM get_fieldcat1 CHANGING t_fieldcatalog1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the fieldcatalog for the second block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM get_fieldcat2 CHANGING t_fieldcatalog2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the data for the first block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;         INTO TABLE t_vbak&lt;/P&gt;&lt;P&gt;         FROM vbak WHERE vbeln &amp;gt; '0060000100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the data for the second block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT vbeln matnr netpr waerk kwmeng meins UP TO 10&lt;/P&gt;&lt;P&gt;ROWS&lt;/P&gt;&lt;P&gt;         INTO TABLE t_vbap&lt;/P&gt;&lt;P&gt;         FROM vbap WHERE vbeln &amp;gt; '0060000100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;init&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            i_callback_program = v_repid.&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;First block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  v_tabname = 'ITAB1'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            is_layout   = s_layout&lt;/P&gt;&lt;P&gt;            it_fieldcat = t_fieldcatalog1&lt;/P&gt;&lt;P&gt;            i_tabname   = v_tabname&lt;/P&gt;&lt;P&gt;            it_events   = t_events&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab    = t_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Second block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  v_tabname = 'ITAB2'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            is_layout   = s_layout&lt;/P&gt;&lt;P&gt;            it_fieldcat = t_fieldcatalog2&lt;/P&gt;&lt;P&gt;            i_tabname   = v_tabname&lt;/P&gt;&lt;P&gt;            it_events   = t_events&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab    = t_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Display&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'&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;LI level="1" type="ul"&gt;&lt;P&gt;      FORM GET_FIELDCAT1                            &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;      Get the field catalog for the first block     &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;P&gt;FORM get_fieldcat1 CHANGING lt_fieldcatalog TYPE&lt;/P&gt;&lt;P&gt;slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: s_fieldcatalog TYPE slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Order number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '1'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'VBELN'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Customer purchase order.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '2'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'BSTNK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'BSTNK'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Creation date.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '3'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'ERDAT'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'ERDAT'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '4'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'KUNNR'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&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;      FORM GET_FIELDCAT2                            &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;      Get the field catalog for the second block    &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;P&gt;FORM get_fieldcat2 CHANGING lt_fieldcatalog TYPE&lt;/P&gt;&lt;P&gt;slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: s_fieldcatalog TYPE slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Order number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '1'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'VBELN'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Material number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '2'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'MATNR'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Net price&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '3'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'NETPR'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'NETPR'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-cfieldname    = 'WAERK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ctabname      = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Currency.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '4'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'WAERK'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'WAERK'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '5'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'KWMENG'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'KWMENG'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-qfieldname    = 'MEINS'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-qtabname      = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;UOM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  s_fieldcatalog-col_pos       = '6'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-fieldname     = 'MEINS'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-tabname       = 'T_VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_tabname   = 'VBAP'.&lt;/P&gt;&lt;P&gt;  s_fieldcatalog-ref_fieldname = 'MEINS'.&lt;/P&gt;&lt;P&gt;  APPEND s_fieldcatalog TO lt_fieldcatalog.&lt;/P&gt;&lt;P&gt;  CLEAR s_fieldcatalog.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 15:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381709#M528684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T15:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV with multiple header &amp; dynamic columns</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381710#M528685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the details.. any idea how to handle dynamic columns ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 15:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-with-multiple-header-dynamic-columns/m-p/2381710#M528685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T15:55:09Z</dc:date>
    </item>
  </channel>
</rss>

