<?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 problem with matchcode in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348859#M518346</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 problem with an ALV i'm doing... the problem is with a filed's matchcode: i have a column declared as it is on a Z table. the Z element is a Z domain and this domain has all the possible values declared. when i push the matchcode in, for example, line 5 of the alv and choose one of the possible values, line 1 is always updated but instead line 5 (or 2, or, 3, or whatever line i choose..). I think it's something with the focus but don't know what... i'm using ALV OO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace !!&lt;/P&gt;&lt;P&gt;regads, &lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 10:59:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T10:59:04Z</dc:date>
    <item>
      <title>problem with matchcode in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348859#M518346</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 problem with an ALV i'm doing... the problem is with a filed's matchcode: i have a column declared as it is on a Z table. the Z element is a Z domain and this domain has all the possible values declared. when i push the matchcode in, for example, line 5 of the alv and choose one of the possible values, line 1 is always updated but instead line 5 (or 2, or, 3, or whatever line i choose..). I think it's something with the focus but don't know what... i'm using ALV OO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace !!&lt;/P&gt;&lt;P&gt;regads, &lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 10:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348859#M518346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348860#M518347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link,which ll give you idea how to crete a matchcode for ALV,hope this ll give you some idea to solve the problem&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/code/abap28.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/code/abap28.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 11:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348860#M518347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348861#M518348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks.. but the matchcode is allready created, as the data element Z is created as a domain Z, which has a value range defined...&lt;/P&gt;&lt;P&gt;the problem is when i push the matchcode, the debug goes to perforn "handle_datachanged", where i have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT p_data-&amp;gt;mt_mod_cells INTO ls_mod_cell.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  para chequear el dato insertado&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CLEAR d_sw_ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE i_zpp00dbar INDEX ls_mod_cell-row_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CASE ls_mod_cell-fieldname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Sólo interesa controlar las celdas modificables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        WHEN 'MAT_DOC'.&lt;/P&gt;&lt;P&gt;             MODIFY i_zpp00dbar INDEX ls_mod_cell-row_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       (.....)&lt;/P&gt;&lt;P&gt;       ENDCASE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; p_data-&amp;gt;mt_mod_cells is empty..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 11:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv/m-p/2348861#M518348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T11:14:14Z</dc:date>
    </item>
  </channel>
</rss>

