<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766625#M644416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;just you want to do is populate your own table (you define the fields) and call function module F4IF_INT_TABLE_VALUE_REQUEST for F4 values. You need to put your code in the AT SELECTION-SCREEN block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cnpj.&lt;/P&gt;&lt;P&gt;  REFRESH: ti_cnpj, ti_fieldtab, ti_returnval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT cgc_branch name&lt;/P&gt;&lt;P&gt;  FROM j_1bbranch&lt;/P&gt;&lt;P&gt;  INTO TABLE ti_cnpj&lt;/P&gt;&lt;P&gt;  WHERE bukrs = 'CNBR'.&lt;/P&gt;&lt;P&gt;  CLEAR ti_fieldtab.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-tabname = 'TI_CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-fieldname = 'CGC_BRANCH'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-position = '1'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-outputlen = '4'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-inttype = 'C'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-intlen = '4'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-rollname  = 'Cod CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_s = 'Cód CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_m = 'Cód CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_l = 'Cód CNPJ'.&lt;/P&gt;&lt;P&gt;  APPEND ti_fieldtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ti_fieldtab.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-inttype = 'C'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-tabname = 'TI_CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-position = '2'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-offset = '4'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-outputlen = '30'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-intlen = '30'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-rollname  = 'NOME'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-fieldname = 'NOME'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_s = 'Nome'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_m = 'Nome'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_l = 'Nome'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND ti_fieldtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the function module F4IF_INT_TABLE_VALUE_REQUEST for F4 values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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        = 'CGC_BRANCH'&lt;/P&gt;&lt;P&gt;            window_title    = 'Cód CNPJ'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;            multiple_choice = ' '  " (for muliple selection)&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            value_tab       = ti_cnpj&lt;/P&gt;&lt;P&gt;            field_tab       = ti_fieldtab&lt;/P&gt;&lt;P&gt;            return_tab      = ti_returnval&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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Star for For single values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE ti_returnval INDEX 1.&lt;/P&gt;&lt;P&gt;    p_cnpj = ti_returnval-fieldval.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End for the single values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2007 17:52:45 GMT</pubDate>
    <dc:creator>rodrigo_paisante3</dc:creator>
    <dc:date>2007-09-06T17:52:45Z</dc:date>
    <item>
      <title>match code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766624#M644415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have a task. In &amp;lt;b&amp;gt;cor3&amp;lt;/b&amp;gt; tcode when we press f4 at the purchase order field in te search help we have different tabs. In that window I need to add one more tab and enable the user to select the &amp;lt;b&amp;gt;purchse order by the batch numbers&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch numbers are present in the table &amp;lt;b&amp;gt;AFPOD&amp;lt;/b&amp;gt; and the field is &amp;lt;b&amp;gt;CHARG.&amp;lt;/b&amp;gt; I dont know how to add this tab. Plz help me in this regard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 17:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766624#M644415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T17:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: match code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766625#M644416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;just you want to do is populate your own table (you define the fields) and call function module F4IF_INT_TABLE_VALUE_REQUEST for F4 values. You need to put your code in the AT SELECTION-SCREEN block. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cnpj.&lt;/P&gt;&lt;P&gt;  REFRESH: ti_cnpj, ti_fieldtab, ti_returnval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT cgc_branch name&lt;/P&gt;&lt;P&gt;  FROM j_1bbranch&lt;/P&gt;&lt;P&gt;  INTO TABLE ti_cnpj&lt;/P&gt;&lt;P&gt;  WHERE bukrs = 'CNBR'.&lt;/P&gt;&lt;P&gt;  CLEAR ti_fieldtab.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-tabname = 'TI_CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-fieldname = 'CGC_BRANCH'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-position = '1'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-outputlen = '4'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-inttype = 'C'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-intlen = '4'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-rollname  = 'Cod CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_s = 'Cód CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_m = 'Cód CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_l = 'Cód CNPJ'.&lt;/P&gt;&lt;P&gt;  APPEND ti_fieldtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ti_fieldtab.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-inttype = 'C'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-tabname = 'TI_CNPJ'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-position = '2'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-offset = '4'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-outputlen = '30'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-intlen = '30'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-rollname  = 'NOME'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-fieldname = 'NOME'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_s = 'Nome'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_m = 'Nome'.&lt;/P&gt;&lt;P&gt;  ti_fieldtab-scrtext_l = 'Nome'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND ti_fieldtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the function module F4IF_INT_TABLE_VALUE_REQUEST for F4 values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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        = 'CGC_BRANCH'&lt;/P&gt;&lt;P&gt;            window_title    = 'Cód CNPJ'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;            multiple_choice = ' '  " (for muliple selection)&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            value_tab       = ti_cnpj&lt;/P&gt;&lt;P&gt;            field_tab       = ti_fieldtab&lt;/P&gt;&lt;P&gt;            return_tab      = ti_returnval&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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Star for For single values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE ti_returnval INDEX 1.&lt;/P&gt;&lt;P&gt;    p_cnpj = ti_returnval-fieldval.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End for the single values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 17:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766625#M644416</guid>
      <dc:creator>rodrigo_paisante3</dc:creator>
      <dc:date>2007-09-06T17:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: match code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766626#M644417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But the transaction is a sap std transaction. So I cant modify the code as such.Plz tell me if there is any other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 17:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766626#M644417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T17:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: match code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766627#M644418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, its true, sorry.&lt;/P&gt;&lt;P&gt;I dont know if it is possible to create this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 18:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766627#M644418</guid>
      <dc:creator>rodrigo_paisante3</dc:creator>
      <dc:date>2007-09-06T18:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: match code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766628#M644419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I was able to fine the solution. Just created a database view and then I created a search help with this view. Then added this elementary search help to the std collective help. Thanks anyway for the quick responese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2007 18:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-code/m-p/2766628#M644419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-06T18:59:50Z</dc:date>
    </item>
  </channel>
</rss>

