<?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: Checking in Selection screen - Matchcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021074#M81194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the AT SELECTION-SCREEN ON HELP-REQUEST FOR &amp;lt;i&amp;gt;select-options2&amp;lt;/i&amp;gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There, you will select the data depending of the values in &amp;lt;i&amp;gt;select-options1&amp;lt;/i&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2005 15:11:10 GMT</pubDate>
    <dc:creator>guillaume-hrc</dc:creator>
    <dc:date>2005-09-28T15:11:10Z</dc:date>
    <item>
      <title>Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021072#M81192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; In the selection screen i'm putting all the key fields of the same table as select option with matchcode object created individually.&lt;/P&gt;&lt;P&gt; If i select some values in the first select option , i need to get the corresponding fields available in the second select option with respect to the value i selected in the first one. In what way i can get the  matchcode to show the matching records depending on the previous selection.&lt;/P&gt;&lt;P&gt; I appreciate ur time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krithika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 14:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021072#M81192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-28T14:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021073#M81193</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;there are several ways to do that, but they depend on how your search help are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you let us know more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think it'll be not easy to do that because you're using select-options and not parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 15:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021073#M81193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-28T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021074#M81194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the AT SELECTION-SCREEN ON HELP-REQUEST FOR &amp;lt;i&amp;gt;select-options2&amp;lt;/i&amp;gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There, you will select the data depending of the values in &amp;lt;i&amp;gt;select-options1&amp;lt;/i&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2005 15:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021074#M81194</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2005-09-28T15:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021075#M81195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Thanks.&lt;/P&gt;&lt;P&gt; This is the codings:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; TABLES STXH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT-OPTIONS : &lt;/P&gt;&lt;P&gt;        S-TDOBJ FOR STXH-TDOBJ MATCHCODE OBJECT ZSHLP1,&lt;/P&gt;&lt;P&gt;        S-TDNAME FOR STXH-TNAME,&lt;/P&gt;&lt;P&gt;        S-TDID FOR STXH-TDID,&lt;/P&gt;&lt;P&gt;        S-TDSPR FOR STXH-TDSPRAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S-TDNAME-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT TDNAME FROM STXH INTO S-TDNAME WHERE TDOBJ IN S-TDOBJ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; -&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not getting it.I created matchcode zshlp1 for the field tdobj.&lt;/P&gt;&lt;P&gt;So when i click s-tdname i should get the corresponding records avalable with respect to the selection done in s-tdobj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krithika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 14:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021075#M81195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T14:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021076#M81196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S-TDNAME-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this event you will not have S_TDOBJ populated if you have not pressed "ENTR" once before pressing F4 on TDNAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In F4 help Screen PAI is not triggerd so values are not transferred from screen to program. Just press enter before pressing F4 and you will get the values.&lt;/P&gt;&lt;P&gt;That was for explanation.&lt;/P&gt;&lt;P&gt;You can get the values of S_TDOBJ using function&lt;/P&gt;&lt;P&gt;DYNP_VALUES_READ ( even if PAI is not triggered). Then use this value in your select statement and your F4 on TDNAME will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2005 15:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021076#M81196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-29T15:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021077#M81197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the function 'DYNP_VALUES_READ' - what is the parameter to be passed for : tables dynpfields.&lt;/P&gt;&lt;P&gt;Though i tried with select option name it is showing error - 'length is incorrect'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 08:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021077#M81197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021078#M81198</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;DYNAME       LIKE D020S-PROG ALUE 'Z2222', program&lt;/P&gt;&lt;P&gt;DYNUMB       LIKE D020S-DNUM VALUE '1000', scr no.&lt;/P&gt;&lt;P&gt;DATA: DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            DYNAME     = DYNAME&lt;/P&gt;&lt;P&gt;            DYNUMB     = DYNUMB&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DYNPFIELDS = DYNPFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 08:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021078#M81198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T08:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021079#M81199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasikumar,&lt;/P&gt;&lt;P&gt; I tried it , it is not showing any error but it is not showing any values when i press F4 in the select-option.&lt;/P&gt;&lt;P&gt;How to fetch it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;Krithi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 09:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021079#M81199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T09:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Checking in Selection screen - Matchcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021080#M81200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you have two problems. First your screen data of other field should be available in POV ( Porcess on Value Req ) module . See the code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;  tables stxh.&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF it_dynp_value_tab OCCURS 0.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE dynpread.&lt;/P&gt;&lt;P&gt;  DATA: END   OF it_dynp_value_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data pprog like sy-repid.&lt;/P&gt;&lt;P&gt; data pdynnr like sy-dynnr.&lt;/P&gt;&lt;P&gt; ranges RTDOBJ FOR STXH-TDOBJECT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE: 'S_TDOBJ-LOW' TO it_dynp_value_tab-fieldname.&lt;/P&gt;&lt;P&gt;  APPEND it_dynp_value_tab.&lt;/P&gt;&lt;P&gt;  MOVE: 'S_TDOBJ-HIGH' TO it_dynp_value_tab-fieldname.&lt;/P&gt;&lt;P&gt;  APPEND it_dynp_value_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname               = pprog&lt;/P&gt;&lt;P&gt;      dynumb               = pdynnr&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = it_dynp_value_tab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE it_dynp_value_tab INDEX 1.&lt;/P&gt;&lt;P&gt;   move it_dynp_value_tab-fieldvalue to RTDOBJ-LOW.&lt;/P&gt;&lt;P&gt;  READ TABLE it_dynp_value_tab INDEX 2.&lt;/P&gt;&lt;P&gt;   move it_dynp_value_tab-fieldvalue to RTDOBJ.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; RTDOBJ-SIGN = 'I' . &lt;/P&gt;&lt;P&gt; IF RTDOBJ-LOW NE SPACE AND RTDOBJ-HIGH EQ SPACE.&lt;/P&gt;&lt;P&gt;    RTDOBJ-OPTION  'EQ'.&lt;/P&gt;&lt;P&gt;    APPEND RTDOBJ.&lt;/P&gt;&lt;P&gt; ELSEIF RTDOBJ-LOW NE SPACE AND RTDOBJ-HIGH NE SPACE . .&lt;/P&gt;&lt;P&gt;     RTDOBJ-OPTION  'BT'.&lt;/P&gt;&lt;P&gt;    APPEND RTDOBJ.&lt;/P&gt;&lt;P&gt; ENDIF.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this RTDOBJ will have values what you have put in seledct option 'S_TDOBJ' on selection screen. This will not mean that values will be dispalyed in F4 help in TDNAME . To display values you have to select all valid values in an internal table using RTDOBJ and then use FM F4IF_INT_TABLE_VALUE_REQUEST to display values .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2005 09:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-in-selection-screen-matchcode/m-p/1021080#M81200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-30T09:37:49Z</dc:date>
    </item>
  </channel>
</rss>

