<?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: Select VAlues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539789#M576986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 11:49:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T11:49:34Z</dc:date>
    <item>
      <title>Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539779#M576976</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;Am using the code below in which i my requirement is as follows if i enter the company code as 3456 i want the corresponding values of PERNR with reapect to 3456 but not all the values in the field of PERNR...please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK a01.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:code LIKE bkpf-bukrs  OBLIGATORY .&lt;/P&gt;&lt;P&gt;PARAMETERS:year LIKE bkpf-gjahr OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS:pernr1 LIKE zissue_master-pernr OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS:bookn LIKE zissue_master-bookno OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS:new LIKE zissue_master-pernr OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK a01.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539779#M576976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539780#M576977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;select pernr&lt;/P&gt;&lt;P&gt;from dbtable&lt;/P&gt;&lt;P&gt;into internal table&lt;/P&gt;&lt;P&gt;where code = 3456.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539780#M576977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539781#M576978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;Check below code,&lt;/P&gt;&lt;P&gt;Replace your screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE it_hlp LINES wk_lines.&lt;/P&gt;&lt;P&gt;  IF wk_lines = 0.&lt;/P&gt;&lt;P&gt;    SELECT belnr gjahr bldat budat INTO CORRESPONDING FIELDS OF it_hlp&lt;/P&gt;&lt;P&gt;    FROM bkpf&lt;/P&gt;&lt;P&gt;           WHERE bukrs = b_bukrs AND&lt;/P&gt;&lt;P&gt;                 bstat = ' ' AND&lt;/P&gt;&lt;P&gt;                 blart IN s_blart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND it_hlp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&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    = 'BELNR'&lt;/P&gt;&lt;P&gt;      dynprofield = 'P_BELNR'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-cprog&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = it_hlp.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539781#M576978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539782#M576979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;just add the where condition as done below. &lt;/P&gt;&lt;P&gt;You will get the pernrs for that company code only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You just need to add the BUKRS validation in your select query, thats all you will get all the PERNRs related to that company code.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* F4 on PERNR1
at selection-screen on value-request for PERNR1.
 
  select PERNR from ZISSUE_MASTER
           into IT_F4PERNR
           where BUKRS = CODE.
  if SY-SUBRC = 0.
    sort IT_F4PERNR by PERNR.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward all useful answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539782#M576979</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-10T07:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539783#M576980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopi &lt;/P&gt;&lt;P&gt;I did as you mentioned but this time the F4 fuctionality is not working...please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539783#M576980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539784#M576981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the ZISSUE_MASTER Table has a BUKRS (Company Code)?&lt;/P&gt;&lt;P&gt;the possibilites are the table might not have a relation with BUKRS. If so we can not get the PERNR's related to a company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please paste your code here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539784#M576981</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-10T08:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539785#M576982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Suggest using the logical database PNP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539785#M576982</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-07-10T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539786#M576983</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;Check the following steps of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***This function returns the entered value of BUKRS (company CODE)&lt;/P&gt;&lt;P&gt;   call function &amp;lt;b&amp;gt;'DYNP_VALUES_READ'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;In the &amp;lt;b&amp;gt;select query&amp;lt;/b&amp;gt; use this company code and then&lt;/P&gt;&lt;P&gt; call the &amp;lt;b&amp;gt;F4IF_INT_TABLE_VALUE_REQUEST&amp;lt;/b&amp;gt; function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539786#M576983</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-07-10T08:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539787#M576984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi narayan&lt;/P&gt;&lt;P&gt;Please specify the fields that i need o give in the FUNCTION 'DYNP_VALUES_READ' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 10:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539787#M576984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T10:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539788#M576985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this Program, It helps lot I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************************&lt;/P&gt;&lt;P&gt;type-pools: vrm.&lt;/P&gt;&lt;P&gt;tables: zbankcode,&lt;/P&gt;&lt;P&gt;	zuserdata,&lt;/P&gt;&lt;P&gt;	zuserdetails,&lt;/P&gt;&lt;P&gt;	zselord,&lt;/P&gt;&lt;P&gt;	zbuyord,&lt;/P&gt;&lt;P&gt;	zexch,&lt;/P&gt;&lt;P&gt;	sscrfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v type vrm_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: dropdown like line of v.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VARS for dynamic screen population&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: progname type sy-repid,&lt;/P&gt;&lt;P&gt;      dynnum type sy-dynnr,&lt;/P&gt;&lt;P&gt;      dynpro_values type table of dynpread,&lt;/P&gt;&lt;P&gt;      field_value like line of dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: return type table of ddshretval with header line.&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;*VARS for selection-screen population&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_clde like zexch-stock,&lt;/P&gt;&lt;P&gt;      t_currpr like zexch-currpr,&lt;/P&gt;&lt;P&gt;      t_char(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of temp_itab occurs 0,&lt;/P&gt;&lt;P&gt;        st_code like zexch-stock,&lt;/P&gt;&lt;P&gt;        st_name like zexch-st_name,&lt;/P&gt;&lt;P&gt;        currpr like zexch-currpr,&lt;/P&gt;&lt;P&gt;      end of temp_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block b1 with frame title text-002,&lt;/P&gt;&lt;P&gt;                  begin of line,&lt;/P&gt;&lt;P&gt;		  position 1,&lt;/P&gt;&lt;P&gt;		  comment 1(10) text-r01 for field buy.&lt;/P&gt;&lt;P&gt;parameters: buy radiobutton group g1.&lt;/P&gt;&lt;P&gt;selection-screen: position 16,&lt;/P&gt;&lt;P&gt;		  comment 16(10) text-r02 for field sell.&lt;/P&gt;&lt;P&gt;parameters: sell radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: exch(3) type c as listbox visible length 10,&lt;/P&gt;&lt;P&gt;            st_name like zexch-st_name,&lt;/P&gt;&lt;P&gt;            st_code like zexch-stock,&lt;/P&gt;&lt;P&gt;	    currpr like zexch-currpr,&lt;/P&gt;&lt;P&gt;	    limpr like zbuyord-limpr,&lt;/P&gt;&lt;P&gt;	    qty like zbuyord-qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;*VARS for dynamic screen population&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;progname = sy-repid.&lt;/P&gt;&lt;P&gt;dynnum = sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*VARS for population of dropdown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dropdown-key = '1'.&lt;/P&gt;&lt;P&gt;dropdown-text = 'BSE'.&lt;/P&gt;&lt;P&gt;append dropdown to V.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dropdown-key = '2'.&lt;/P&gt;&lt;P&gt;dropdown-text = 'NSE'.&lt;/P&gt;&lt;P&gt;append dropdown to V.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;P&gt;	ID = 'EXCH'&lt;/P&gt;&lt;P&gt;    values = V&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;id_illegal_name = 1&lt;/P&gt;&lt;P&gt;others = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT selection-screen on value request for st_name.&lt;/P&gt;&lt;P&gt;clear: field_value, dynpro_values.&lt;/P&gt;&lt;P&gt;refresh dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field_value-fieldname = 'EXCH'.&lt;/P&gt;&lt;P&gt;append field_value to dynpro_values.&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 = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;translate_to_upper = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;dynpfields = dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table dynpro_values index 1 into field_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field_value-fieldvalue is not initial.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0 and field_value-fieldvalue = 1.&lt;/P&gt;&lt;P&gt;	field_value-fieldvalue = 'BSE'.&lt;/P&gt;&lt;P&gt;elseif sy-subrc = 0 and field_value-fieldvalue = 2.&lt;/P&gt;&lt;P&gt; 	field_value-fieldvalue = 'NSE'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select stock&lt;/P&gt;&lt;P&gt;       st_name&lt;/P&gt;&lt;P&gt;       currpr&lt;/P&gt;&lt;P&gt;  from zexch&lt;/P&gt;&lt;P&gt;  into table temp_itab&lt;/P&gt;&lt;P&gt; where exch = field_value-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;callfunction 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;retfield = 'ST_NAME'&lt;/P&gt;&lt;P&gt;dynpprog = SY-CPROG&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'ST_NAME'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = TEMP_ITAB&lt;/P&gt;&lt;P&gt;RETURN_TAB = RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT STOCK&lt;/P&gt;&lt;P&gt;       CURRPR&lt;/P&gt;&lt;P&gt;  FROM ZEXCH&lt;/P&gt;&lt;P&gt;  INTO (T_CODE, T_CURRPR)&lt;/P&gt;&lt;P&gt; WHERE ST_NAME = RETURN-FIELDVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR DYNPRO_VALUES[].&lt;/P&gt;&lt;P&gt;FIELD_VALUE-FIELDNAME = 'ST_NAME'.&lt;/P&gt;&lt;P&gt;FIELD_VALUE-FIELDVALUE = RETURN-FIELDVAL.&lt;/P&gt;&lt;P&gt;APPEND FIELD_VALUE TO DYNPRO_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD_VALUE-FIELDNAME = 'ST_CODE'.&lt;/P&gt;&lt;P&gt;FIELD_VALUE-FIELDVALUE = T_CODE.&lt;/P&gt;&lt;P&gt;APPEND FIELD_VALUE TO DYNPRO_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD_VALUE-FIELDNAME = 'CURRPR'.&lt;/P&gt;&lt;P&gt;FIELD_VALUE-FIELDVALUE = T_CURRPR.&lt;/P&gt;&lt;P&gt;APPEND FIELD_VALUE TO DYNPRO_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*update the dynpro values.&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-CPROG&lt;/P&gt;&lt;P&gt;	DYNUMB = SY-DYNNR&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;	DYNFIELDS = DINPRO_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&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;Manju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539788#M576985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select VAlues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539789#M576986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-values/m-p/2539789#M576986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T11:49:34Z</dc:date>
    </item>
  </channel>
</rss>

