<?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: match code on alv output list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419311#M821250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES
t_outtab = it_ystet142
from the function.

***
FORM user_command USING l_ucomm LIKE sy-ucomm
l_selfield TYPE slis_selfield.

CASE l_ucomm.
WHEN 'REFR'.
PERFORM progress_indicator_anzeigen USING text-014.

CLEAR xx_dbcnt.
PERFORM data_selection.

l_selfield-refresh = c_true.
l_selfield-col_stable = c_true.
l_selfield-row_stable = c_true.
ENDCASE.

ENDFORM. " user_command

**
FORM progress_indicator_anzeigen USING l_text.





Progress-Indicator im aktuellen Window anzeigen 
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING

PERCENTAGE = 
text = l_text.

ENDFORM. " progress_indicator_anzeigen
***
FORM data_selection.
CLEAR: it_ystet142,
it_ystet142[].

SELECT erdat
ertim
werks
piid
aufnr
plnum
matnr
exidv
mblnr
bwart
uname
FROM ystet142
INTO CORRESPONDING FIELDS OF TABLE it_ystet142
WHERE erdat IN so_erdat
AND ertim IN so_ertim
AND werks IN so_werks
AND aufnr IN so_aufnr
AND plnum IN so_plnum
AND exidv IN so_exidv
AND uname IN so_uname.

SORT it_ystet142
BY erdat ASCENDING
ertim DESCENDING
matnr
werks
aufnr
plnum.

IF pa_lruem = c_true.
DELETE ADJACENT DUPLICATES FROM it_ystet142
COMPARING werks aufnr plnum matnr.
ENDIF.

DESCRIBE TABLE it_ystet142 LINES xx_dbcnt.

ENDFORM. " daten_selektieren

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 11:33:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T11:33:03Z</dc:date>
    <item>
      <title>match code on alv output list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419310#M821249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am outputting field on ALV and 2 of those fields modifiable by user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field1 is of type DATE&lt;/P&gt;&lt;P&gt;field2 is of type c and has as filter value 1 2 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i activate the match code on ALV so that when user click on the matchcode button on field1 the calender appear and when user click on field2 option 1 2 3 appear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note i am using REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 11:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419310#M821249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T11:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: match code on alv output list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419311#M821250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES
t_outtab = it_ystet142
from the function.

***
FORM user_command USING l_ucomm LIKE sy-ucomm
l_selfield TYPE slis_selfield.

CASE l_ucomm.
WHEN 'REFR'.
PERFORM progress_indicator_anzeigen USING text-014.

CLEAR xx_dbcnt.
PERFORM data_selection.

l_selfield-refresh = c_true.
l_selfield-col_stable = c_true.
l_selfield-row_stable = c_true.
ENDCASE.

ENDFORM. " user_command

**
FORM progress_indicator_anzeigen USING l_text.





Progress-Indicator im aktuellen Window anzeigen 
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING

PERCENTAGE = 
text = l_text.

ENDFORM. " progress_indicator_anzeigen
***
FORM data_selection.
CLEAR: it_ystet142,
it_ystet142[].

SELECT erdat
ertim
werks
piid
aufnr
plnum
matnr
exidv
mblnr
bwart
uname
FROM ystet142
INTO CORRESPONDING FIELDS OF TABLE it_ystet142
WHERE erdat IN so_erdat
AND ertim IN so_ertim
AND werks IN so_werks
AND aufnr IN so_aufnr
AND plnum IN so_plnum
AND exidv IN so_exidv
AND uname IN so_uname.

SORT it_ystet142
BY erdat ASCENDING
ertim DESCENDING
matnr
werks
aufnr
plnum.

IF pa_lruem = c_true.
DELETE ADJACENT DUPLICATES FROM it_ystet142
COMPARING werks aufnr plnum matnr.
ENDIF.

DESCRIBE TABLE it_ystet142 LINES xx_dbcnt.

ENDFORM. " daten_selektieren

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 11:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419311#M821250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: match code on alv output list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419312#M821251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please explain what part u did the match code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-on-alv-output-list/m-p/3419312#M821251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:34:24Z</dc:date>
    </item>
  </channel>
</rss>

