<?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: ALV grid with 2 headers - using OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588030#M1274048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI nimish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please develop a smal gm. so tha it will help full for us..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 11:33:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T11:33:50Z</dc:date>
    <item>
      <title>ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588025#M1274043</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 have a requirement wherein I need to display 2 headers using ALV Grid. I am using cl_gui_alv_grid-&amp;gt;set_table_for_first display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                Header1                    Header2 &lt;/P&gt;&lt;P&gt;Col1	Col2	Col3	Col4	Col5&lt;/P&gt;&lt;P&gt;1	2	3	4	5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest if this is possible, if yes, how to acheive it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Smita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 09:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588025#M1274043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T09:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588026#M1274044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not achieveable if you use the header created by the ALV. You need to create headers in the Splitter container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Splitter container with 2 Rows first. In the first Row, create 2 columns. Now, use these two container to display your Headers. User the Bottom part for the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check Report RSDEMO_SPLITTER_CONTROL for Splitter control.&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>Tue, 12 May 2009 13:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588026#M1274044</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-05-12T13:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588027#M1274045</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;just check out this program BCALV_TEST_HIERSEQ_LIST_EVENTS,must be possible with small manupulations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 12:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588027#M1274045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T12:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588028#M1274046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Smita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose there is no direct way to achieve this. I once simulated this by using two ALV grids. The first grid only displayed the header and the second grid both the header and the rows. However my requirement was simple as no toolbar or title was required for the grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Simulating a grid with 2 headers|http://picasaweb.google.com/lh/photo/UufBPgLYLkKjhuDV6CYtwg?feat=directlink]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ramneek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 15:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588028#M1274046</guid>
      <dc:creator>Ramneek</dc:creator>
      <dc:date>2009-05-15T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588029#M1274047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI RAM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have did same like what you said. but iam not getting. Below is the pgm what i have dev. please correct it and let me knwo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: I_CATLOG TYPE slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;      W_CATLOG TYPE SLIS_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;      I_CATLOG2 TYPE slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;      W_CATLOG2 TYPE SLIS_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;      V_PGM TYPE SY-REPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;        HEADER1(10) TYPE C,&lt;/P&gt;&lt;P&gt;        HEADER2(10) TYPE C,&lt;/P&gt;&lt;P&gt;      end of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        vbeln like vbak-vbeln,&lt;/P&gt;&lt;P&gt;        posnr like vbap-posnr,&lt;/P&gt;&lt;P&gt;        MATNR LIKE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;        MATWA LIKE VBAP-MATWA,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln&lt;/P&gt;&lt;P&gt;       posnr&lt;/P&gt;&lt;P&gt;       MATNR&lt;/P&gt;&lt;P&gt;       MATWA&lt;/P&gt;&lt;P&gt;  from vbap&lt;/P&gt;&lt;P&gt;  up to 20 rows&lt;/P&gt;&lt;P&gt;  into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_catlog-seltext_l = 'HEADER1'.&lt;/P&gt;&lt;P&gt;w_catlog-datatype  = 'CHAR'.&lt;/P&gt;&lt;P&gt;w_catlog-outputlen = 10.&lt;/P&gt;&lt;P&gt;W_CATLOG-tabname = 'ITAB1'.&lt;/P&gt;&lt;P&gt;append w_catlog2 to i_catlog2.&lt;/P&gt;&lt;P&gt;clear  w_catlog2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_catlog-seltext_l = 'HEADER2'.&lt;/P&gt;&lt;P&gt;w_catlog-datatype  = 'CHAR'.&lt;/P&gt;&lt;P&gt;w_catlog-outputlen = 10.&lt;/P&gt;&lt;P&gt;W_CATLOG-tabname = 'ITAB1'.&lt;/P&gt;&lt;P&gt;append w_catlog2 to i_catlog2.&lt;/P&gt;&lt;P&gt;clear  w_catlog2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;w_catlog-seltext_l = 'Sales Document'.&lt;/P&gt;&lt;P&gt;w_catlog-datatype  = 'CHAR'.&lt;/P&gt;&lt;P&gt;w_catlog-outputlen = 10.&lt;/P&gt;&lt;P&gt;w_catlog-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;W_CATLOG-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;append w_catlog to i_catlog.&lt;/P&gt;&lt;P&gt;clear  w_catlog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_catlog-seltext_l = 'ITEM'.&lt;/P&gt;&lt;P&gt;w_catlog-datatype  = 'NUMC'.&lt;/P&gt;&lt;P&gt;w_catlog-outputlen = 6.&lt;/P&gt;&lt;P&gt;w_catlog-fieldname = 'POSNR'.&lt;/P&gt;&lt;P&gt;W_CATLOG-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;append w_catlog to i_catlog.&lt;/P&gt;&lt;P&gt;clear  w_catlog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_catlog-seltext_l = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;w_catlog-datatype  = 'CHAR'.&lt;/P&gt;&lt;P&gt;w_catlog-outputlen = 18.&lt;/P&gt;&lt;P&gt;w_catlog-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;W_CATLOG-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;append w_catlog to i_catlog.&lt;/P&gt;&lt;P&gt;clear  w_catlog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_catlog-seltext_l = 'Material entered'.&lt;/P&gt;&lt;P&gt;w_catlog-datatype  = 'CHAR'.&lt;/P&gt;&lt;P&gt;w_catlog-outputlen = 18.&lt;/P&gt;&lt;P&gt;w_catlog-fieldname = 'MATWA'.&lt;/P&gt;&lt;P&gt;W_CATLOG-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;append w_catlog to i_catlog.&lt;/P&gt;&lt;P&gt;clear  w_catlog.&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                = V_PGM&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                       = I_CATLOG2&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    T_OUTTAB                          = ITAB1&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;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&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;   I_CALLBACK_PROGRAM                = V_PGM&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                       = I_CATLOG&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    T_OUTTAB                          = ITAB&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;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 11:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588029#M1274047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T11:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588030#M1274048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI nimish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please develop a smal gm. so tha it will help full for us..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 11:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588030#M1274048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T11:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588031#M1274049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I don't think you can use the function 'REUSE_ALV_GRID_DISPLAY' twice in the same report to display two ALV grids. You will have to create a screen with two grids and then call this screen in your report to display the two grids. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do let me know if you need more information on this.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ramneek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 13:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588031#M1274049</guid>
      <dc:creator>Ramneek</dc:creator>
      <dc:date>2009-05-20T13:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588032#M1274050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hope it is possible with ALV list display only.&lt;/P&gt;&lt;P&gt;REPORT  ZSAI_ALV_5.&lt;/P&gt;&lt;P&gt;TYPE-POOLS: SLIS.&lt;/P&gt;&lt;P&gt;DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;L_LAYOUT type slis_layout_alv,&lt;/P&gt;&lt;P&gt;x_events type slis_alv_event,&lt;/P&gt;&lt;P&gt;it_events type SLIS_T_EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;VBELN LIKE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;POSNR LIKE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;MALE type i,&lt;/P&gt;&lt;P&gt;female type i,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN&lt;/P&gt;&lt;P&gt;POSNR&lt;/P&gt;&lt;P&gt;FROM VBAP&lt;/P&gt;&lt;P&gt;UP TO 20 ROWS&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-SELTEXT_L = 'VBELN'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS = 1.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'POSNR'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-SELTEXT_L = 'POSNR'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS = 2.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'MALE'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-SELTEXT_L = 'MALE'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS = 3.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'FEMALE'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-SELTEXT_L = 'FEMALE'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS = 3.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt;x_events-NAME = SLIS_EV_TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;x_events-FORM = 'TOP_OF_PAGE'.&lt;/P&gt;&lt;P&gt;APPEND x_events TO iT_EVENTS.&lt;/P&gt;&lt;P&gt;CLEAR x_events .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_LAYOUT-NO_COLHEAD = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_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;IS_LAYOUT = L_LAYOUT&lt;/P&gt;&lt;P&gt;IT_FIELDCAT = IT_FIELDCAT&lt;/P&gt;&lt;P&gt;it_events = it_events&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = ITAB&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;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&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;&lt;/P&gt;&lt;P&gt;*-To display the headers for main list&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_HEADING.&lt;/P&gt;&lt;P&gt;WRITE: / SY-ULINE(103).&lt;/P&gt;&lt;P&gt;WRITE: / SY-VLINE,&lt;/P&gt;&lt;P&gt;(8) ' ' ,&lt;/P&gt;&lt;P&gt;SY-VLINE,&lt;/P&gt;&lt;P&gt;(8) ' ' ,&lt;/P&gt;&lt;P&gt;SY-VLINE,&lt;/P&gt;&lt;P&gt;(19) 'SEX'(015) centered,&lt;/P&gt;&lt;P&gt;sy-vline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / SY-VLINE,&lt;/P&gt;&lt;P&gt;(8) 'VBELN'(013) ,&lt;/P&gt;&lt;P&gt;SY-VLINE,&lt;/P&gt;&lt;P&gt;(8) 'POSNR'(014) ,&lt;/P&gt;&lt;P&gt;SY-VLINE,&lt;/P&gt;&lt;P&gt;(8) 'MALE'(016) ,&lt;/P&gt;&lt;P&gt;sy-vline,&lt;/P&gt;&lt;P&gt;(8) 'FMALE'(017) ,&lt;/P&gt;&lt;P&gt;sy-vline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORMAT COLOR OFF.&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;Edited by: sai kumar  B on May 21, 2009 7:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 05:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588032#M1274050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T05:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid with 2 headers - using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588033#M1274051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way. It is not possible in ALV. But you can do in different manner. That is append the header values in the internal table at first 2 record and make the color differentiate using ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 20:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-with-2-headers-using-oops/m-p/5588033#M1274051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T20:07:23Z</dc:date>
    </item>
  </channel>
</rss>

