<?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 Match Codes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029566#M83377</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 am trying to use a single select option in the report &lt;/P&gt;&lt;P&gt;s_acct FOR bsid-kunnr DEFAULT 9999990000 TO 9999999999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,I have two radio buttons&lt;/P&gt;&lt;P&gt;p_ap RADIOBUTTON GROUP r1,&lt;/P&gt;&lt;P&gt;p_ar RADIOBUTTON GROUP r1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I AM TRYING TO ACHIEVE:(F4 functionality depending on the radio buttons selected)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If p_ap is selected i am trying to get match codes(F4)&lt;/P&gt;&lt;P&gt;of Vendors(bsik-lifnr) and if p_ar is selected get the match code of Customer(bsid-kunnr). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there is any easy workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2005 21:40:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-07T21:40:34Z</dc:date>
    <item>
      <title>Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029566#M83377</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 am trying to use a single select option in the report &lt;/P&gt;&lt;P&gt;s_acct FOR bsid-kunnr DEFAULT 9999990000 TO 9999999999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,I have two radio buttons&lt;/P&gt;&lt;P&gt;p_ap RADIOBUTTON GROUP r1,&lt;/P&gt;&lt;P&gt;p_ar RADIOBUTTON GROUP r1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I AM TRYING TO ACHIEVE:(F4 functionality depending on the radio buttons selected)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If p_ap is selected i am trying to get match codes(F4)&lt;/P&gt;&lt;P&gt;of Vendors(bsik-lifnr) and if p_ar is selected get the match code of Customer(bsid-kunnr). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there is any easy workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 21:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029566#M83377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-07T21:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029567#M83378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can do that using function module F4_SEARCH_HELP in AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_acct. You can check if p_ap is checked then pass vendor search help for above FM else pass Customer search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 22:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029567#M83378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-07T22:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029568#M83379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using AT SELECTION-SCREEN ON RADIOBUTTON GROUP after assigning radio button groups to ur radio buttons and then calling the search help based on te group selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;sharmistha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 22:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029568#M83379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-07T22:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029569#M83380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot use F4_SEARCH_HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i run my report, depending on the radio button selected i should use the select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if i select p_ap , in my report the selection should retrieve vendors and similarly for the other radio button , we should select customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using &lt;/P&gt;&lt;P&gt;if p_ap eq 'X'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    TABNAME                   = 'BSIK'&lt;/P&gt;&lt;P&gt;    FIELDNAME                 = 'LIFNR'&lt;/P&gt;&lt;P&gt;   SEARCHHELP                 = 'KRED'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this gives me the desired vedor functionality, but i dont want any prompt ..just need to selction vendors or customers based on radio buttons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 01:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029569#M83380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T01:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029570#M83381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you use one select option you will have to do some processing to differentiate in your database selections in report . Why dont you use two select options like this ( Only one will be displayed on screen at a time depending on radibutton and you don't need to code for F4 ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TABLES : LFA1, KNA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_ap RADIOBUTTON GROUP r1 USER-COMMAND VEN default 'X',&lt;/P&gt;&lt;P&gt;             p_ar RADIOBUTTON GROUP r1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_VEN FOR LFA1-LIFNR MODIF ID LIF.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_CUS FOR KNA1-KUNNR MODIF ID KUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT .&lt;/P&gt;&lt;P&gt; IF P_AP EQ 'X'.&lt;/P&gt;&lt;P&gt;   LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;     CHECK SCREEN-GROUP1 EQ 'KUN'.&lt;/P&gt;&lt;P&gt;     SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;     MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;   LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;     CHECK SCREEN-GROUP1 EQ 'LIF'.&lt;/P&gt;&lt;P&gt;     SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;     MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt; ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later in the program you can always copy both selction options to another ranges variable which you can use if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 02:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029570#M83381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T02:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029571#M83382</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 think it is not possible to assign match codes or F4 help to a screen field on some condition.&lt;/P&gt;&lt;P&gt;You can do onething &lt;/P&gt;&lt;P&gt;define two fields one with the first search help and the other with the other search help.&lt;/P&gt;&lt;P&gt;For this go to the screen field attributes you can see the search help parameter over there.&lt;/P&gt;&lt;P&gt;Assign the search help you have created to that particular screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then while declaring the select-options declare it as&lt;/P&gt;&lt;P&gt;select-options:so_xxx for table-field modif id abc.&lt;/P&gt;&lt;P&gt;select-options:so_xyz for table-field modif id xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt; if radiobutton1 EQ 'X' and screen-group1 EQ 'ABC'.&lt;/P&gt;&lt;P&gt;   screen-active EQ 0.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;   screen-active EQ 1.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 06:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029571#M83382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T06:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Match Codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029572#M83383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for the feedback.&lt;/P&gt;&lt;P&gt;I have put a request for two selction parameters&lt;/P&gt;&lt;P&gt;and greatly appreciate all your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 14:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/match-codes/m-p/1029572#M83383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T14:59:39Z</dc:date>
    </item>
  </channel>
</rss>

