<?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: MODIFY MULTIPLE SCREEN VALUES IN --&amp;gt; 'AT SELECTION SCREEN ON VALUE REQUEST' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429638#M205551</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;AT SELECTION SCREEN ON VALUE REQUEST pa_filename.&lt;/P&gt;&lt;P&gt;use the FM F4_FILENAME after calling that&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;f_name = p_file.&lt;/P&gt;&lt;P&gt;write:/ f_name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2006 14:08:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-06T14:08:00Z</dc:date>
    <item>
      <title>MODIFY MULTIPLE SCREEN VALUES IN --&gt; 'AT SELECTION SCREEN ON VALUE REQUEST'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429637#M205550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created a F4-Help for a filename with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF BLOCK 001 WITH FRAME TITLE text-001.
  PARAMETERS: pa_filename(1024) TYPE C,
              pa_filepath(1024) TYPE C.
SELECTION-SCREEN END OF BLOCK 001.

...

AT SELECTION-SCREEN OUTPUT.

...

AT SELECTION SCREEN ON VALUE REQUEST pa_filename.

..
Finally i am splitting the full path into 

lv_filename
lv_filepath

and assigning the values to the screen value
...

MOVE lv_filename TO pa_filename.
MOVE lv_filepath TO pa_filepath.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that pa_filepath gets not updated on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Addi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429637#M205550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T14:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY MULTIPLE SCREEN VALUES IN --&gt; 'AT SELECTION SCREEN ON VALUE REQUEST'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429638#M205551</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;AT SELECTION SCREEN ON VALUE REQUEST pa_filename.&lt;/P&gt;&lt;P&gt;use the FM F4_FILENAME after calling that&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;f_name = p_file.&lt;/P&gt;&lt;P&gt;write:/ f_name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429638#M205551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T14:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY MULTIPLE SCREEN VALUES IN --&gt; 'AT SELECTION SCREEN ON VALUE REQUEST'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429639#M205552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use the fm: dynp_values_update.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429639#M205552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T14:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY MULTIPLE SCREEN VALUES IN --&gt; 'AT SELECTION SCREEN ON VALUE REQUEST'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429640#M205553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Addi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link out...This also has the same requirement... You can solve the problem using the FM &lt;/P&gt;&lt;P&gt;DYNP_VALUES_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/value-request-for-parameter.htm" target="test_blank"&gt;http://www.sap-img.com/abap/value-request-for-parameter.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Close the thread once the problem is solved.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429640#M205553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T14:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY MULTIPLE SCREEN VALUES IN --&gt; 'AT SELECTION SCREEN ON VALUE REQUEST'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429641#M205554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see this sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .


data: dynfields type table of dynpread with header line.
data: return type table of ddshretval with header line.

selection-screen begin of block 001 with frame title text-001.
parameters: pa_fname type localfile,
            pa_fpath type localfile.
selection-screen end of block 001.

at selection-screen output.


at selection-screen on value-request for pa_fname.


  call function 'KD_GET_FILENAME_ON_F4'
       exporting
            static    = 'X'
       changing
            file_name = pa_fname.



  data: lv_filename type rlgrap-filename,
        lv_filepath type rlgrap-filename.

  call function 'SO_SPLIT_FILE_AND_PATH'
       exporting
            full_name     = pa_fname
       importing
            stripped_name = lv_filename
            file_path     = lv_filepath.


  dynfields-fieldname = 'PA_FNAME'.
  dynfields-fieldvalue = lv_filename.
  append dynfields.

  dynfields-fieldname = 'PA_FPATH'.
  dynfields-fieldvalue = lv_filepath.
  append dynfields.

* Update the dynpro values.
  call function 'DYNP_VALUES_UPDATE'
       exporting
            dyname     = sy-cprog
            dynumb     = sy-dynnr
       tables
            dynpfields = dynfields
       exceptions
            others     = 8.

start-of-selection.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 14:24:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-multiple-screen-values-in-gt-at-selection-screen-on-value-request/m-p/1429641#M205554</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-06T14:24:21Z</dc:date>
    </item>
  </channel>
</rss>

