<?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 with matchcode in alv for specific field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025842#M1348433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I created a structure as you said, with only the field CTYPE,&lt;/P&gt;&lt;P&gt;and defined the structure as ref_tabname and the field as ref_fieldname.&lt;/P&gt;&lt;P&gt;Now when I execute the program, the matchcode does show up,&lt;/P&gt;&lt;P&gt;but when I click on it, I get a dump: "field symbol has not yet been assigned."&lt;/P&gt;&lt;P&gt;Would I have to create a table instead of a structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't it weird that I can't show a matchcode with the fixed values of a custom field in an ALV without having to create a table for it?&lt;/P&gt;&lt;P&gt;In a selection screen this would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 08:46:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-19T08:46:50Z</dc:date>
    <item>
      <title>problem with matchcode in alv for specific field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025838#M1348429</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 created a customer specific data element ZE_CONFTYPE, with a customer specific domain, and in this domain I have defined a value range with 3 possible single values (partial, final, automatic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later, I have defined a field: CTYPE type ZE_CONFTYPE, and I'm showing this field in an ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    it_fieldcatalog-fieldname = 'CTYPE'.&lt;/P&gt;&lt;P&gt;    it_fieldcatalog-seltext_m = 'Confirmation Type'.&lt;/P&gt;&lt;P&gt;    it_fieldcatalog-col_pos   = 4.&lt;/P&gt;&lt;P&gt;    it_fieldcatalog-edit = 'X'.&lt;/P&gt;&lt;P&gt;    APPEND it_fieldcatalog.&lt;/P&gt;&lt;P&gt;    CLEAR it_fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I was hoping that a matchcode was going to show up in the ALV with the 3 possible values for this field, but apparently I was wrong. What should I do for this matchcode to show up?&lt;/P&gt;&lt;P&gt;THX!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 14:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025838#M1348429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-18T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in alv for specific field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025839#M1348430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the field catalog you may need to provide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ref_fieldname  &lt;/P&gt;&lt;P&gt;ref_tabname    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 14:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025839#M1348430</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-18T14:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in alv for specific field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025840#M1348431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but I have no table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 14:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025840#M1348431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-18T14:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in alv for specific field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025841#M1348432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you may need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
            i_callback_program       = repid
            i_callback_user_command  = 'CALLBACK_FOR_DETAIL'
            is_layout                = is_layout
            it_fieldcat              = ct_fieldcat
       tables
            t_outtab                 = g_itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to write code in "callback_for_detail" with fm F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a structure with the field you mentioned and give structure name as ref_table and field name as ref_fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 15:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025841#M1348432</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-18T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in alv for specific field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025842#M1348433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I created a structure as you said, with only the field CTYPE,&lt;/P&gt;&lt;P&gt;and defined the structure as ref_tabname and the field as ref_fieldname.&lt;/P&gt;&lt;P&gt;Now when I execute the program, the matchcode does show up,&lt;/P&gt;&lt;P&gt;but when I click on it, I get a dump: "field symbol has not yet been assigned."&lt;/P&gt;&lt;P&gt;Would I have to create a table instead of a structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't it weird that I can't show a matchcode with the fixed values of a custom field in an ALV without having to create a table for it?&lt;/P&gt;&lt;P&gt;In a selection screen this would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 08:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025842#M1348433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T08:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with matchcode in alv for specific field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025843#M1348434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After creating a table, the matchcode doesn't show up either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 11:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-matchcode-in-alv-for-specific-field/m-p/6025843#M1348434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T11:25:56Z</dc:date>
    </item>
  </channel>
</rss>

