<?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: matchocodes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001277#M76532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff already gave you the code. If you read his post, he asked you to write the routine code as explained in step 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2005 03:08:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-20T03:08:50Z</dc:date>
    <item>
      <title>matchocodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001273#M76528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i create matchcodes in a textbox in the dynpro screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;donna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 05:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001273#M76528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T05:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: matchocodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001274#M76529</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;Matchcodes can be created in SE11 for dictonary tables.&lt;/P&gt;&lt;P&gt;Now matchcodes are replaced by search helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create search help in SE11 and then attach it to an input / output field in screen attribute PARAM Id.&lt;/P&gt;&lt;P&gt;However you cannot attach it to Text fields. texts fields are kind of static and will have the value which is passed by the ABAP program in the variable of same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 05:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001274#M76529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T05:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: matchocodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001275#M76530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Den,&lt;/P&gt;&lt;P&gt;   Hello! Musta na? You can create a search help object in SE11 (data dictionary). Or you can do it programatically by invoking FM 'F4IF_INT_TABLE_VALUE_REQUEST' under POV (Process on value request).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;1. On your screen flow logic(the main source code of your screen), insert this line of code:&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;Field txt_field module help_text_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In your module code help_text_field, insert the following code:&lt;/P&gt;&lt;P&gt;module help_text_field input.&lt;/P&gt;&lt;P&gt;   perform help_text_field using sy-repid sy-dynnr.&lt;/P&gt;&lt;P&gt;end module.&lt;/P&gt;&lt;P&gt;3. In the routine help_text_field, insert the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a. declare internal table for l_doc_types(your value table):&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    Data: begin of l_doc_types occurs 0,&lt;/P&gt;&lt;P&gt;            auart   like vbak-auart,&lt;/P&gt;&lt;P&gt;            bezei   like tvakt-bezei,&lt;/P&gt;&lt;P&gt;          end of l_doc_types.&lt;/P&gt;&lt;P&gt;  b. declare internal table for return_tab (your return table):&lt;/P&gt;&lt;P&gt;    Data: return_tab type table of ddshretval.&lt;/P&gt;&lt;P&gt;    Data: wa_return_tab type ddshretval.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  b. use this FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            retfield        = &amp;lt;string, value for your return field. e.g. 'V_MATNR'&amp;gt;&lt;/P&gt;&lt;P&gt;            dynpprog        = &amp;lt;your current program&amp;gt;&lt;/P&gt;&lt;P&gt;            dynpnr          = &amp;lt;your current screen&amp;gt;&lt;/P&gt;&lt;P&gt;            dynprofield     = &amp;lt;value for you screen field&lt;/P&gt;&lt;P&gt;e.g. 'MARA-MATNR', 'V_MATNR'&amp;gt;&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;            multiple_choice = &amp;lt;' ' or 'X'&amp;gt;&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            value_tab       = l_doc_types&lt;/P&gt;&lt;P&gt;            return_tab      = return_tab&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            parameter_error = 1&lt;/P&gt;&lt;P&gt;            no_values_found = 2&lt;/P&gt;&lt;P&gt;            others          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;to get the value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      Loop at return_tab into wa_return_tab.&lt;/P&gt;&lt;P&gt;        &amp;lt;variable&amp;gt; = wa_return_tab-fieldval.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy Coding!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 05:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001275#M76530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T05:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: matchocodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001276#M76531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i ask for a sample code for perform help_text_field using sy-repid sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 03:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001276#M76531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T03:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: matchocodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001277#M76532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff already gave you the code. If you read his post, he asked you to write the routine code as explained in step 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 03:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchocodes/m-p/1001277#M76532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T03:08:50Z</dc:date>
    </item>
  </channel>
</rss>

