<?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: Dynamic values in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967574#M397277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Will you please explain to me indetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 07:47:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-23T07:47:43Z</dc:date>
    <item>
      <title>Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967572#M397275</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;     I need to do one task in which I have to display 2 selection screen fields e.g IDNUMBER and CITY.Whenever user selects a value from the search help of IDNUMBER OR CITY fields I have to display tha other values which are in the search help along with these IDNUMBER and CITY values.For e.g in search help if we have 0001 nnnn ttt if we selct the IDNUMBER as 0001 then I need to display nnn and ttt on  the selection screen in the same row of IDNUMBER by giving space.Please tellme how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967572#M397275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967573#M397276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giri,&lt;/P&gt;&lt;P&gt; For the selectoption which u r going to select add a USERCOMMAND&lt;/P&gt;&lt;P&gt; so when ever u select the one record in the search help the user command will triger. so that u can handile it AT SELECTION SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967573#M397276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967574#M397277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Will you please explain to me indetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967574#M397277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967575#M397278</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 AT SELECTION-SCREEN event, you will get the IDNUMBER values which is selected from the Search help, if you have the other value then move that to CITY and update the Selection scrren with that value. if you do not get the City value then write a simple select to get the correct value and move it to the selection screen field CITY and update the Selection screen using 'DYNP_VALUES_UPDATE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967575#M397278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967576#M397279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          You want to display the otehr fields value's in a seperate input filed or label or in the same input filed as the IDNUMBER. I mean you want to append IDNUMBER and other fields seperated by space and then show it on to the IDNUMBER FIELD?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case then first you need to see if IDNUMBER field can hold data of length which is equal to the combined lenght of all the fileds, if this is possible then you can take the other values into corresponding fields and then in PBO append them on to the IDNUMBER field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to display them using a LABEL then you just need to add labels to the screen and assign then the type of the fileds that are exported from the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:50:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967576#M397279</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-02-23T07:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967577#M397280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the at-selection event and search help exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You acn take of following sample code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*attach search help to field1&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for filed1.&lt;/P&gt;&lt;P&gt;  perform f_search_help1 changing field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for field2.&lt;/P&gt;&lt;P&gt;  perform f_search_help2 changing field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  f_search_help1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f_search_help1  CHANGING P_FIELD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Search help data declaration&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;retval&amp;gt; TYPE ddshretval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Data declaration to hold return value and pass field name.&lt;/P&gt;&lt;P&gt;  DATA: l_return_tab TYPE TABLE OF ddshretval INITIAL SIZE 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*internal table to hold the values&lt;/P&gt;&lt;P&gt;  DATA: begin of l_ITAB occurs 0,&lt;/P&gt;&lt;P&gt;            ***include field&lt;/P&gt;&lt;P&gt;             end of l_prodh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Populate internal table&lt;/P&gt;&lt;P&gt;  select fields&lt;/P&gt;&lt;P&gt;              from tables into your i_ITAB internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*call search help function module.&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        = 'FIELD1'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = l_ITAB&lt;/P&gt;&lt;P&gt;      return_tab      = l_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;P&gt;*if successful only then pass the value&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    READ TABLE l_RETURN_TAB INDEX 1 ASSIGNING &amp;lt;retval&amp;gt;.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;       P_FIELD1 = &amp;lt;retval&amp;gt;-fieldval.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967577#M397280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967578#M397281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giri,&lt;/P&gt;&lt;P&gt;The process will be like this.&lt;/P&gt;&lt;P&gt;If you know how to use the FM F4IF_INT_TABLE_VALUE_REQUEST then&lt;/P&gt;&lt;P&gt;the process to display the search help with the values depending on the value in other field is if you have idnumber then make aselect statement which selects the values of city based on idnumber.&lt;/P&gt;&lt;P&gt;now place this values in the internal table.&lt;/P&gt;&lt;P&gt;Now AT SELECTION SCREEN ON VALUE REQUEST FOR CITY.&lt;/P&gt;&lt;P&gt;PASS THE VALUES OF INTERNAL TABLE TO F4IF_INT_TABLE_VALUE_REQUEST. NOW YOU WILL BE ABLE TO DIAPLSY THE VALUES OF CITY BASED ON IDNUMBER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;RAVI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 07:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967578#M397281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T07:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic values in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967579#M397282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi giri,&lt;/P&gt;&lt;P&gt;here a short example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: MARA.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PARAMETERS: P_MTART LIKE MARA-MTART.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_MATNR LIKE MARA-MATNR.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: DYNFIELDS TYPE TABLE OF DYNPREAD WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MTART.&lt;/P&gt;&lt;P&gt;  P_MATNR = '592'.  "here your own matchcode&lt;/P&gt;&lt;P&gt;  P_MTART = 'KAUF'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  DYNFIELDS-FIELDNAME = 'P_MTART'.&lt;/P&gt;&lt;P&gt;  dynfields-FIELDVALUE = p_mtart.&lt;/P&gt;&lt;P&gt;  APPEND DYNFIELDS.&lt;/P&gt;&lt;P&gt;  DYNFIELDS-FIELDNAME = 'P_MATNR'.&lt;/P&gt;&lt;P&gt;  dynfields-FIELDVALUE = p_matnr.&lt;/P&gt;&lt;P&gt;  APPEND DYNFIELDS.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_UPDATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DYNAME     = SY-REPID&lt;/P&gt;&lt;P&gt;      DYNUMB     = SY-DYNNR&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DYNPFIELDS = DYNFIELDS.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;  P_MATNR = '400'. "here your own matchcode&lt;/P&gt;&lt;P&gt;  P_MTART = 'DIEN'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  DYNFIELDS-FIELDNAME = 'P_MTART'.&lt;/P&gt;&lt;P&gt;  dynfields-FIELDVALUE = p_mtart.&lt;/P&gt;&lt;P&gt;  APPEND DYNFIELDS.&lt;/P&gt;&lt;P&gt;  DYNFIELDS-FIELDNAME = 'P_MATNR'.&lt;/P&gt;&lt;P&gt;  dynfields-FIELDVALUE = p_matnr.&lt;/P&gt;&lt;P&gt;  APPEND DYNFIELDS.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_UPDATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DYNAME     = SY-REPID&lt;/P&gt;&lt;P&gt;      DYNUMB     = SY-DYNNR&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DYNPFIELDS = DYNFIELDS.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-values-in-selection-screen/m-p/1967579#M397282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T08:20:47Z</dc:date>
    </item>
  </channel>
</rss>

