<?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 in alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819592#M1127941</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;   Use hierarchial ALV's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;BBR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 11:28:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T11:28:30Z</dc:date>
    <item>
      <title>problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819588#M1127937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a report based on customer information in alv list..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this list output is like..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer no.  : 1&lt;/P&gt;&lt;P&gt;customer name.  :aaa&lt;/P&gt;&lt;P&gt;comes as top of alv.&lt;/P&gt;&lt;P&gt;detail of defined customer 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;than &lt;/P&gt;&lt;P&gt;customer no.  : 2&lt;/P&gt;&lt;P&gt;customer name.  :rrr&lt;/P&gt;&lt;P&gt;comes as top of alv.&lt;/P&gt;&lt;P&gt;detail of defined customer 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and same as others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it with &lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_INIT, &lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_APPEND,&lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i can't get proper output . plz help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ankita patel on Dec 2, 2008 12:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 11:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819588#M1127937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T11:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819589#M1127938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to triger top of page for every customer.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 11:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819589#M1127938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819590#M1127939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with this 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&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 = GS_EXTRACT1-REPORT&lt;/P&gt;&lt;P&gt;            I_STRUCTURE_NAME = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;            I_SAVE           = 'A'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            T_OUTTAB         = GT_SFLIGHT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 11:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819590#M1127939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T11:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819591#M1127940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also tried with this but not getting output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 11:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819591#M1127940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819592#M1127941</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;   Use hierarchial ALV's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;BBR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 11:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819592#M1127941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T11:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819593#M1127942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT TEST NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;*"General Data&lt;/P&gt;&lt;P&gt;TYPE-POOLS: SLIS.&lt;/P&gt;&lt;P&gt;DATA: GT_OUTTABH TYPE SCARR OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      GT_OUTTAB TYPE SFLIGHT OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      GT_SORT TYPE SLIS_T_SORTINFO_ALV WITH HEADER LINE ,&lt;/P&gt;&lt;P&gt;      GS_LAYOUT TYPE SLIS_LAYOUT_ALV,&lt;/P&gt;&lt;P&gt;      GS_KEYINFO  TYPE SLIS_KEYINFO_ALV,&lt;/P&gt;&lt;P&gt;      G_REPID LIKE SY-REPID.&lt;/P&gt;&lt;P&gt;DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE .&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;    GT_EVENTS      TYPE SLIS_T_EVENT,&lt;/P&gt;&lt;P&gt;    GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,&lt;/P&gt;&lt;P&gt;    G_STATUS_SET   TYPE SLIS_FORMNAME VALUE 'PF_STATUS_SET',&lt;/P&gt;&lt;P&gt;    G_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND',&lt;/P&gt;&lt;P&gt;    G_TOP_OF_PAGE  TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',&lt;/P&gt;&lt;P&gt;    G_TOP_OF_LIST  TYPE SLIS_FORMNAME VALUE 'TOP_OF_LIST',&lt;/P&gt;&lt;P&gt;    G_END_OF_LIST  TYPE SLIS_FORMNAME VALUE 'END_OF_LIST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;define keyinfo&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR GS_KEYINFO.&lt;/P&gt;&lt;P&gt;  GS_KEYINFO-HEADER01 = 'CARRID'.&lt;/P&gt;&lt;P&gt;  GS_KEYINFO-ITEM01   = 'CARRID'.&lt;/P&gt;&lt;P&gt;  GS_KEYINFO-HEADER02 = SPACE.&lt;/P&gt;&lt;P&gt;  GS_KEYINFO-ITEM02   = 'CONNID'.&lt;/P&gt;&lt;P&gt;  G_REPID = SY-REPID.&lt;/P&gt;&lt;P&gt;  GS_LAYOUT-GROUP_CHANGE_EDIT = 'X'.&lt;/P&gt;&lt;P&gt;  GT_SORT-FIELDNAME = 'CURRCODE'.&lt;/P&gt;&lt;P&gt;  GT_SORT-tabNAME = '1'.&lt;/P&gt;&lt;P&gt;  GT_SORT-SPOS      = 1.&lt;/P&gt;&lt;P&gt;  GT_SORT-UP        = 'X'.&lt;/P&gt;&lt;P&gt;  GT_SORT-SUBTOT    = 'X'.&lt;/P&gt;&lt;P&gt;  GT_SORT-GROUP    = '*'.&lt;/P&gt;&lt;P&gt;  APPEND GT_SORT.&lt;/P&gt;&lt;P&gt;  GT_SORT-FIELDNAME = 'CARRID'.&lt;/P&gt;&lt;P&gt;  GT_SORT-tabNAME = '1'.&lt;/P&gt;&lt;P&gt;  GT_SORT-SPOS      = 2.&lt;/P&gt;&lt;P&gt;  GT_SORT-UP        = 'X'.&lt;/P&gt;&lt;P&gt;  GT_SORT-SUBTOT    = 'X'.&lt;/P&gt;&lt;P&gt;  GT_SORT-GROUP    = ' '.&lt;/P&gt;&lt;P&gt;  APPEND GT_SORT.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-FIELDNAME    = 'PRICE'.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-tabname    = '2'.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-outputlen    = 12.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-DO_SUM       = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND GT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-FIELDNAME    = 'CARRID'.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-tabname    = '1'.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-outputlen    = 6.&lt;/P&gt;&lt;P&gt;  GT_FIELDCAT-DO_SUM       = space.&lt;/P&gt;&lt;P&gt;  APPEND GT_FIELDCAT.&lt;/P&gt;&lt;P&gt;  PERFORM EVENTTAB_BUILD USING GT_EVENTS[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  SELECT * FROM SCARR INTO CORRESPONDING FIELDS&lt;/P&gt;&lt;P&gt;       OF TABLE GT_OUTTABH.&lt;/P&gt;&lt;P&gt;  SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS&lt;/P&gt;&lt;P&gt;  OF TABLE GT_OUTTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            I_CALLBACK_PROGRAM      = G_REPID&lt;/P&gt;&lt;P&gt;            I_STRUCTURE_NAME_HEADER = 'SCARR'&lt;/P&gt;&lt;P&gt;            I_STRUCTURE_NAME_ITEM   = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;            IS_KEYINFO              = GS_KEYINFO&lt;/P&gt;&lt;P&gt;            IS_LAYOUT               = GS_LAYOUT&lt;/P&gt;&lt;P&gt;            IT_FIELDCAT             = GT_FIELDCAT[]&lt;/P&gt;&lt;P&gt;            I_TABNAME_HEADER        = '1'&lt;/P&gt;&lt;P&gt;            I_TABNAME_ITEM          = '2'&lt;/P&gt;&lt;P&gt;            IT_EVENTS               = GT_EVENTS[]&lt;/P&gt;&lt;P&gt;            IT_SORT                 = GT_SORT[]&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            T_OUTTAB_HEADER         = GT_outtabh&lt;/P&gt;&lt;P&gt;            T_OUTTAB_ITEM           = GT_outtab.&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 EVENTTAB_BUILD                                           *&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 EVENTTAB_BUILD USING RT_EVENTS TYPE SLIS_T_EVENT.&lt;/P&gt;&lt;P&gt;*"Registration of events to happen during list display&lt;/P&gt;&lt;P&gt;  DATA: LS_EVENT TYPE SLIS_ALV_EVENT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            I_LIST_TYPE = 0&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            ET_EVENTS   = RT_EVENTS.&lt;/P&gt;&lt;P&gt;  READ TABLE RT_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE&lt;/P&gt;&lt;P&gt;                           INTO LS_EVENT.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    MOVE G_TOP_OF_PAGE TO LS_EVENT-FORM.&lt;/P&gt;&lt;P&gt;    APPEND LS_EVENT TO RT_EVENTS.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&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 TOP_OF_PAGE                                              *&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 TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;  DATA: LS_LINE TYPE SLIS_LISTHEADER.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  REFRESH GT_LIST_TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;  CLEAR LS_LINE.&lt;/P&gt;&lt;P&gt;  LS_LINE-TYP  = 'H'.&lt;/P&gt;&lt;P&gt;  LS_LINE-INFO = '&amp;lt;Header&amp;gt;'.&lt;/P&gt;&lt;P&gt;  APPEND LS_LINE TO GT_LIST_TOP_OF_PAGE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STATUS LINE: TYPE S&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR LS_LINE.&lt;/P&gt;&lt;P&gt;  LS_LINE-TYP  = 'S'.&lt;/P&gt;&lt;P&gt;  LS_LINE-KEY  = '&amp;lt;Status1&amp;gt;'.&lt;/P&gt;&lt;P&gt;  LS_LINE-INFO = GT_OUTTABH-CURRCODE.&lt;/P&gt;&lt;P&gt;  APPEND LS_LINE TO GT_LIST_TOP_OF_PAGE.&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 = GT_LIST_TOP_OF_PAGE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819593#M1127942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819594#M1127943</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;Try to create bloack alv. Refer Below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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;  wa_layout1-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;&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                  = wa_layout1&lt;/P&gt;&lt;P&gt;            it_fieldcat                = it_fieldcat[]&lt;/P&gt;&lt;P&gt;            i_tabname                  = 'it_final'&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                   = it_final&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error              = 1&lt;/P&gt;&lt;P&gt;            maximum_of_appends_reached = 2&lt;/P&gt;&lt;P&gt;            OTHERS                     = 3.&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;  LOOP AT it_fieldcat INTO wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lv_index = sy-tabix.&lt;/P&gt;&lt;P&gt;    IF wa_fieldcat-fieldname = 'ERDAT'.&lt;/P&gt;&lt;P&gt;      wa_fieldcat-fieldname = 'TITLE'.&lt;/P&gt;&lt;P&gt;      wa_fieldcat-seltext_m = text-026.&lt;/P&gt;&lt;P&gt;      wa_fieldcat-outputlen = 10.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODIFY it_fieldcat FROM wa_fieldcat INDEX lv_index TRANSPORTING&lt;/P&gt;&lt;P&gt;                                        fieldname seltext_m outputlen.&lt;/P&gt;&lt;P&gt;    CLEAR : wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  wa_layout2-no_colhead = 'X'.&lt;/P&gt;&lt;P&gt;  wa_layout2-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;&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                  = wa_layout2&lt;/P&gt;&lt;P&gt;            it_fieldcat                = it_fieldcat[]&lt;/P&gt;&lt;P&gt;            i_tabname                  = 'it_total'&lt;/P&gt;&lt;P&gt;            it_events                  = it_event1&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                   = it_total&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error              = 1&lt;/P&gt;&lt;P&gt;            maximum_of_appends_reached = 2&lt;/P&gt;&lt;P&gt;            OTHERS                     = 3.&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;  wa_layout3-no_colhead = 'X'.&lt;/P&gt;&lt;P&gt;&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                  = wa_layout3&lt;/P&gt;&lt;P&gt;            it_fieldcat                = it_fieldcat2[]&lt;/P&gt;&lt;P&gt;            i_tabname                  = 'it_ship'&lt;/P&gt;&lt;P&gt;            it_events                  = it_event2&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                   = it_ship&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error              = 1&lt;/P&gt;&lt;P&gt;            maximum_of_appends_reached = 2&lt;/P&gt;&lt;P&gt;            OTHERS                     = 3.&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;  IF NOT it_final IS INITIAL OR&lt;/P&gt;&lt;P&gt;     NOT it_total IS INITIAL OR&lt;/P&gt;&lt;P&gt;     NOT it_ship IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'&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;      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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819594#M1127943</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2008-12-03T10:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819595#M1127944</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;Try to create bloack alv. Refer Below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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;  wa_layout1-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;&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                  = wa_layout1&lt;/P&gt;&lt;P&gt;            it_fieldcat                = it_fieldcat[]&lt;/P&gt;&lt;P&gt;            i_tabname                  = 'it_final'&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                   = it_final&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error              = 1&lt;/P&gt;&lt;P&gt;            maximum_of_appends_reached = 2&lt;/P&gt;&lt;P&gt;            OTHERS                     = 3.&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;  LOOP AT it_fieldcat INTO wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lv_index = sy-tabix.&lt;/P&gt;&lt;P&gt;    IF wa_fieldcat-fieldname = 'ERDAT'.&lt;/P&gt;&lt;P&gt;      wa_fieldcat-fieldname = 'TITLE'.&lt;/P&gt;&lt;P&gt;      wa_fieldcat-seltext_m = text-026.&lt;/P&gt;&lt;P&gt;      wa_fieldcat-outputlen = 10.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODIFY it_fieldcat FROM wa_fieldcat INDEX lv_index TRANSPORTING&lt;/P&gt;&lt;P&gt;                                        fieldname seltext_m outputlen.&lt;/P&gt;&lt;P&gt;    CLEAR : wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  wa_layout2-no_colhead = 'X'.&lt;/P&gt;&lt;P&gt;  wa_layout2-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;&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                  = wa_layout2&lt;/P&gt;&lt;P&gt;            it_fieldcat                = it_fieldcat[]&lt;/P&gt;&lt;P&gt;            i_tabname                  = 'it_total'&lt;/P&gt;&lt;P&gt;            it_events                  = it_event1&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                   = it_total&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error              = 1&lt;/P&gt;&lt;P&gt;            maximum_of_appends_reached = 2&lt;/P&gt;&lt;P&gt;            OTHERS                     = 3.&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;  wa_layout3-no_colhead = 'X'.&lt;/P&gt;&lt;P&gt;&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                  = wa_layout3&lt;/P&gt;&lt;P&gt;            it_fieldcat                = it_fieldcat2[]&lt;/P&gt;&lt;P&gt;            i_tabname                  = 'it_ship'&lt;/P&gt;&lt;P&gt;            it_events                  = it_event2&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            t_outtab                   = it_ship&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            program_error              = 1&lt;/P&gt;&lt;P&gt;            maximum_of_appends_reached = 2&lt;/P&gt;&lt;P&gt;            OTHERS                     = 3.&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;  IF NOT it_final IS INITIAL OR&lt;/P&gt;&lt;P&gt;     NOT it_total IS INITIAL OR&lt;/P&gt;&lt;P&gt;     NOT it_ship IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'&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;      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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819595#M1127944</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2008-12-03T10:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819596#M1127945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you can use 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' function module .&lt;/P&gt;&lt;P&gt;you can take two internal table one is header and other the detail information and pass to the function module and you can get the data as required by you.&lt;/P&gt;&lt;P&gt;so many standard program are there you can go and look into the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 10:38:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819596#M1127945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T10:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem in alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819597#M1127946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Ankita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go though this lick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure.This link will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/search/label/SALV%20Tutorial" target="test_blank"&gt;http://help-abap.blogspot.com/search/label/SALV%20Tutorial&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarangi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 11:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-alv/m-p/4819597#M1127946</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2008-12-03T11:09:15Z</dc:date>
    </item>
  </channel>
</rss>

