<?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 for an editable ALV field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494857#M1063740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the reports/functions are no longer required and F4AVAILABL is not supported (as in ECC 6.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;examle:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  fieldcatalog-ref_fieldname = 'FRGKZ'.
  fieldcatalog-ref_tabname = 'EBAN'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is sufficient if the field has a correponding matchcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Peter Kamenik on Apr 28, 2011 1:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2011 11:54:41 GMT</pubDate>
    <dc:creator>peter_kamenik</dc:creator>
    <dc:date>2011-04-28T11:54:41Z</dc:date>
    <item>
      <title>Match code for an editable ALV field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494853#M1063736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ALV with an editable field. I want to add matchcode with predefined 2 values to it.&lt;/P&gt;&lt;P&gt;I used EDIT option for field catalog to make this field editable.&lt;/P&gt;&lt;P&gt;I defined this field as a custom field in one of the DB table. &lt;/P&gt;&lt;P&gt;The possible values of the field are in the declaration of the DOMAIN. But I still can't see the matchcode with those values when I want to enter a value into this field in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 08:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494853#M1063736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T08:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Match code for an editable ALV field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494854#M1063737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you mention these two you get the F4 help automatically.&lt;/P&gt;&lt;P&gt;You need to mention the REF_FIELD and REF_TABLE name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;x_fieldcat-ref_field = 'ZFIELDNAME'.
x_fieldcat-ref_table = 'TABLENAME'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494854#M1063737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Match code for an editable ALV field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494855#M1063738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you set the field catalog you have to set option F4AVAILABL to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If w_fcat is the field catalog structure then set as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;w_fact-F4AVAILABL = 'X'
w_fact-CHECKTABLE = 'SCARR'
w_fact-REF_TABLE = 'SPFLI'
w_fact-REF_FIELD = 'CARRID'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Refer the standard program BCALV_TEST_GRID_F4_HELP and BCALV_GRID_EDIT_DELTA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this thread for sample code&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2753171"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494855#M1063738</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-09-11T09:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Match code for an editable ALV field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494856#M1063739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, it works now! &lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 09:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494856#M1063739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Match code for an editable ALV field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494857#M1063740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the reports/functions are no longer required and F4AVAILABL is not supported (as in ECC 6.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;examle:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  fieldcatalog-ref_fieldname = 'FRGKZ'.
  fieldcatalog-ref_tabname = 'EBAN'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is sufficient if the field has a correponding matchcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Peter Kamenik on Apr 28, 2011 1:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 11:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code-for-an-editable-alv-field/m-p/4494857#M1063740</guid>
      <dc:creator>peter_kamenik</dc:creator>
      <dc:date>2011-04-28T11:54:41Z</dc:date>
    </item>
  </channel>
</rss>

