<?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: processing field on value-request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258700#M1631863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The content of field is not automatically passed to program in module pool programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below or similar code in your module to get value of field on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : lv_VALUE TYPE zcityname ,
       lv_field TYPE char40 VALUE 'TRAVEL_ROUTE-FROMCITY__D' .

  GET CURSOR FIELD lv_field VALUE lv_land1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 10:29:29 GMT</pubDate>
    <dc:creator>Pawan_Kesari</dc:creator>
    <dc:date>2011-09-21T10:29:29Z</dc:date>
    <item>
      <title>processing field on value-request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258698#M1631861</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;I am working on a module to create a custom input help.This is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS ON VALUE-REQUEST.
  FIELD travel_route-fromcity__d  MODULE f4_fromcity.
" ...
" this is the declaration of travel_route-fromcity__d
DATA travel_route-fromcity__d  TYPE zcityname." descr of departure CITY
" zcityname is CHAR 60&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that while processing the module, any value put on the dynpro field is blanked. Is this correct?&lt;/P&gt;&lt;P&gt;If for example, user in field &lt;EM&gt;travel_route-fromcity__d&lt;/EM&gt; put something, I cannot see it in module.&lt;/P&gt;&lt;P&gt;I cannot understand why. I think value present should be passed or anyway present in variable of the report with same name of dynpro element .&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 10:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258698#M1631861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T10:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: processing field on value-request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258699#M1631862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use DYNPRO_STRING_READ or DYNP_VALUES_READ to get this value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 10:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258699#M1631862</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-09-21T10:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: processing field on value-request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258700#M1631863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The content of field is not automatically passed to program in module pool programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below or similar code in your module to get value of field on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : lv_VALUE TYPE zcityname ,
       lv_field TYPE char40 VALUE 'TRAVEL_ROUTE-FROMCITY__D' .

  GET CURSOR FIELD lv_field VALUE lv_land1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 10:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258700#M1631863</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2011-09-21T10:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: processing field on value-request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258701#M1631864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;both solutions works. It seems to be normal for this kind of modules: debugging I saw that just before module, value in program is blanked and after modules it's restored with original value on dynpro (if not overwritten in module).. I cannot understand why anyway: I think it's a loss of time forcing developer to retrieving value in this ways, while having dynpro value directly in modules would not create any trouble.&lt;/P&gt;&lt;P&gt;BAH&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 10:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-field-on-value-request/m-p/8258701#M1631864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T10:43:59Z</dc:date>
    </item>
  </channel>
</rss>

