<?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: Question : 'DYNP_VALUES_READ' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662211#M293369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI RICH! when i put this sentences a DUMP appeared in the FM:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;wa-fieldname = 'FKDAT'.&lt;/P&gt;&lt;P&gt;append wa to table.&lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Dump description is "Invalid screen field specified".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;any suggest??what do you think?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;thank you for your Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andrew83&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2006 16:34:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-20T16:34:20Z</dc:date>
    <item>
      <title>Question : 'DYNP_VALUES_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662209#M293367</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;here is the code i'm using in a Field-Exit al the VF01 to test de FM 'DYNP_VALUES_READ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************************************************&lt;/P&gt;&lt;P&gt;data : table like DYNPREAD occurs 0 .&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                         = 'SAPMV60A'&lt;/P&gt;&lt;P&gt;    dynumb                         = '6105'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    dynpfields                     = table.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     filename                    = 'c:\testfieldexit.txt'&lt;/P&gt;&lt;P&gt;     filetype                    = 'ASC'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt; data_tab                        = table.&lt;/P&gt;&lt;P&gt;output = 'E0001'.&lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the download doesn't work. the file downloaded is 0 byte, so there are no info at the table 'Table'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please if someone  realise what i'm doing wrong, tell me!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be rewards for help as a gratefulness!!&lt;/P&gt;&lt;P&gt;thank in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 16:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662209#M293367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T16:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question : 'DYNP_VALUES_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662210#M293368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must add the specific field names to the TABLE before calling the function module, this will tell the FM which fields to get the values for.  You must fill the fieldname into the TABLE that you want to get the value of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: table like DYNPREAD occurs 0 .
&amp;lt;b&amp;gt;data: wa like line of table.&amp;lt;/b&amp;gt;


&amp;lt;b&amp;gt;wa-fieldname = 'A_FIELD'.
append wa to table.&amp;lt;/b&amp;gt;

CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
     &amp;lt;b&amp;gt;DYNAME = sy-repid
        dynumb = sy-dynnr&amp;lt;/b&amp;gt;
    tables
        dynpfields = table.


&lt;/CODE&gt;&lt;/PRE&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>Fri, 20 Oct 2006 16:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662210#M293368</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-20T16:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Question : 'DYNP_VALUES_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662211#M293369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI RICH! when i put this sentences a DUMP appeared in the FM:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;wa-fieldname = 'FKDAT'.&lt;/P&gt;&lt;P&gt;append wa to table.&lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Dump description is "Invalid screen field specified".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;any suggest??what do you think?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;thank you for your Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andrew83&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 16:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662211#M293369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T16:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question : 'DYNP_VALUES_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662212#M293370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would appear that the field name FKDAT is not valid for that screen,  make sure that it is the valid name of the field on the screen and that it is in the right screen number, it could be that it is in a subscreen which would have a differnt screen number, in which case you may have to hardcode the screen number when calling function module as you have done to start with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, check that FKDAT is the valid field name.  Check the screen number and program name that you are passing.&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>Fri, 20 Oct 2006 16:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-dynp-values-read/m-p/1662212#M293370</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-20T16:38:23Z</dc:date>
    </item>
  </channel>
</rss>

