<?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: Changing ALV Subtotal Text..??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463258#M1251502</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;Need to Modify...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE lt_events WITH KEY name = slis_ev_subtotal_text into ls_event.

if sy-subrc = 0.
move 'gc_formname_subtotal_text to ls_event-form.
MODIFY lt_events FROM  ls_event TRANSPORTING form INDEX SY-TABIX.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2009 12:23:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-29T12:23:51Z</dc:date>
    <item>
      <title>Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463256#M1251500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ABAP ers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am dealing with the event SUTOTAL_TEXT in ALV, to change sub total text in the screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the event is not triggered and the control is not going to that FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************************************&lt;/P&gt;&lt;P&gt;FORM eventtab_build CHANGING lt_events TYPE slis_t_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: gc_formname_subtotal_text TYPE slis_formname value 'SUBTOTAL_TEXT',&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 = lt_events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE  lt_events WITH KEY name = slis_ev_subtotal_text into ls_event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move 'gc_formname_subtotal_text to ls_event-form.&lt;/P&gt;&lt;P&gt;append ls_event to lt_events.&lt;/P&gt;&lt;P&gt;endif.&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;/P&gt;&lt;P&gt;FORM alv.&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 = g_repid&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;it_sort = gt_sort[]&lt;/P&gt;&lt;P&gt;it_events = gt_events[]&lt;/P&gt;&lt;P&gt;is_print = gs_print&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables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.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "subtotal_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the control is not coming to the above break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANY SUGGESTIONS FLOKS???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srihari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463256#M1251500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463257#M1251501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the code as specified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = lt_events.

READ TABLE lt_events WITH KEY name = slis_ev_subtotal_text into ls_event.

if sy-subrc = 0.
move 'gc_formname_subtotal_text to ls_event-form.
*append ls_event to lt_events.
modify lt_events from ls_event index sy-tabix. " Not too sure of the syntax,
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not too sure of the Modify syntax, but you have to modify the lt_events itab and not append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463257#M1251501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463258#M1251502</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;Need to Modify...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE lt_events WITH KEY name = slis_ev_subtotal_text into ls_event.

if sy-subrc = 0.
move 'gc_formname_subtotal_text to ls_event-form.
MODIFY lt_events FROM  ls_event TRANSPORTING form INDEX SY-TABIX.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463258#M1251502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463259#M1251503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m doing MODIFY in my code, and the internal table GT_EVENTS is updated with the respective FORM name against the event SUBTOTAL_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still Control is not going to that form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463259#M1251503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463260#M1251504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one trick...&lt;/P&gt;&lt;P&gt;you need to have one extra dummy field, for that field populate fieldcatalog and set it as Tech field. and Populate the Sort For that field. then it will trigger..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the thread...&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1052710"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463260#M1251504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463261#M1251505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change the text for the subtotal..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463261#M1251505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ALV Subtotal Text..???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463262#M1251506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes even i am talking about that...did you check the above mentioned thread...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-alv-subtotal-text/m-p/5463262#M1251506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T12:54:19Z</dc:date>
    </item>
  </channel>
</rss>

