<?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 Error in FM 'DYNP_VaLUEs_READ' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507890#M1066325</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;    I am new to ABAP and i am facing the following problem, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i enter value into p_vbeln (from f4 i am selecting vbak-vbeln into p_vbeln) and based on p_vbeln i want to generate f4 help for p_posnr, the following code not able to capture p_vbeln value, it's showing blank value (i used all the codes' available in sdn for dynp_values_read but not able to successed) Any wrong in my below code. Appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: p_vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;            p_posnr type vbap-posnr.&lt;/P&gt;&lt;P&gt;write: p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Selection-screen on value-request for p_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Data: Begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;          posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;          matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;          arktx type vbap-arktx,&lt;/P&gt;&lt;P&gt;        end of help_item.&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;dynfields-fieldname = 'p_vbeln'.&lt;/P&gt;&lt;P&gt;append dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpfields = dynfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;invalid_dynprofield = 2&lt;/P&gt;&lt;P&gt;invalid_dynproname = 3&lt;/P&gt;&lt;P&gt;invalid_dynpronumber = 4&lt;/P&gt;&lt;P&gt;invalid_request = 5&lt;/P&gt;&lt;P&gt;no_fielddescription = 6&lt;/P&gt;&lt;P&gt;invalid_parameter = 7&lt;/P&gt;&lt;P&gt;undefined_error = 8&lt;/P&gt;&lt;P&gt;double_conversion = 9&lt;/P&gt;&lt;P&gt;stepl_not_found = 10&lt;/P&gt;&lt;P&gt;others = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table dynfields with key fieldname = 'p_vbeln'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_vbeln = dynfields-fieldvalue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2008 16:28:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-19T16:28:20Z</dc:date>
    <item>
      <title>Error in FM 'DYNP_VaLUEs_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507890#M1066325</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;    I am new to ABAP and i am facing the following problem, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i enter value into p_vbeln (from f4 i am selecting vbak-vbeln into p_vbeln) and based on p_vbeln i want to generate f4 help for p_posnr, the following code not able to capture p_vbeln value, it's showing blank value (i used all the codes' available in sdn for dynp_values_read but not able to successed) Any wrong in my below code. Appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: p_vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;            p_posnr type vbap-posnr.&lt;/P&gt;&lt;P&gt;write: p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Selection-screen on value-request for p_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Data: Begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;          posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;          matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;          arktx type vbap-arktx,&lt;/P&gt;&lt;P&gt;        end of help_item.&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;dynfields-fieldname = 'p_vbeln'.&lt;/P&gt;&lt;P&gt;append dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpfields = dynfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;invalid_dynprofield = 2&lt;/P&gt;&lt;P&gt;invalid_dynproname = 3&lt;/P&gt;&lt;P&gt;invalid_dynpronumber = 4&lt;/P&gt;&lt;P&gt;invalid_request = 5&lt;/P&gt;&lt;P&gt;no_fielddescription = 6&lt;/P&gt;&lt;P&gt;invalid_parameter = 7&lt;/P&gt;&lt;P&gt;undefined_error = 8&lt;/P&gt;&lt;P&gt;double_conversion = 9&lt;/P&gt;&lt;P&gt;stepl_not_found = 10&lt;/P&gt;&lt;P&gt;others = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table dynfields with key fieldname = 'p_vbeln'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_vbeln = dynfields-fieldvalue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 16:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507890#M1066325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in FM 'DYNP_VaLUEs_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507891#M1066326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you pass the hardcoded value to any field, it should be in UPPER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change this two statements:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
dynfields-fieldname = 'P_VBELN'.
read table dynfields with key fieldname = 'P_VBELN'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 16:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507891#M1066326</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-09-19T16:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in FM 'DYNP_VaLUEs_READ'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507892#M1066327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify the code like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: p_vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;p_posnr type vbap-posnr.&lt;/P&gt;&lt;P&gt;write: p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: Begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;arktx type vbap-arktx,&lt;/P&gt;&lt;P&gt;end of help_item.&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_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynfields-fieldname = 'P_VBELN'.                             &amp;lt;&amp;lt;&amp;lt;Change to Upper case&lt;/P&gt;&lt;P&gt;append dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpfields = dynfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;invalid_dynprofield = 2&lt;/P&gt;&lt;P&gt;invalid_dynproname = 3&lt;/P&gt;&lt;P&gt;invalid_dynpronumber = 4&lt;/P&gt;&lt;P&gt;invalid_request = 5&lt;/P&gt;&lt;P&gt;no_fielddescription = 6&lt;/P&gt;&lt;P&gt;invalid_parameter = 7&lt;/P&gt;&lt;P&gt;undefined_error = 8&lt;/P&gt;&lt;P&gt;double_conversion = 9&lt;/P&gt;&lt;P&gt;stepl_not_found = 10&lt;/P&gt;&lt;P&gt;others = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table dynfields with key fieldname = 'P_VBELN'.       &amp;lt;&amp;lt;&amp;lt;Change to Upper case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_vbeln = dynfields-fieldvalue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 16:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-fm-dynp-values-read/m-p/4507892#M1066327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T16:51:25Z</dc:date>
    </item>
  </channel>
</rss>

