<?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 Module Pogramming POV Validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264280#M1529322</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;&lt;/P&gt;&lt;P&gt;I have a requirement, i am having a Table Control and 3 fields FIELD1, FIELD2, FIELD3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume FIELD1 = '1002'. Now my requirement is to add a F4 help in FIELD2 based on FIELD1 = '1002' selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunatly the value of FIELD1 (1002) i couldnt able to retreive them in the Process On Value-Request (POV) of FIELD2 so that i can add this FIELD in my select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyony help me in resolving this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 06:22:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-06T06:22:44Z</dc:date>
    <item>
      <title>Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264280#M1529322</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;&lt;/P&gt;&lt;P&gt;I have a requirement, i am having a Table Control and 3 fields FIELD1, FIELD2, FIELD3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume FIELD1 = '1002'. Now my requirement is to add a F4 help in FIELD2 based on FIELD1 = '1002' selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunatly the value of FIELD1 (1002) i couldnt able to retreive them in the Process On Value-Request (POV) of FIELD2 so that i can add this FIELD in my select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyony help me in resolving this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 06:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264280#M1529322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T06:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264281#M1529323</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;Please check the below thread explaining the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7545179"&gt;&lt;/A&gt;&lt;/P&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, 06 Oct 2010 06:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264281#M1529323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T06:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264282#M1529324</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;Use the function module 'DYNP_VALUES_READ' to read the existing values on the screen into a internal table.&lt;/P&gt;&lt;P&gt;read that internal table with the field name that of on the screen which you want and you can get its corresponding value in fieldvalue column the internal table. see example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname               = sy-repid
      dynumb               = sy-dynnr
    TABLES
      dynpfields           = gt_dynpfields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      invalid_parameter    = 7
      undefind_error       = 8
      double_conversion    = 9
      stepl_not_found      = 10
      OTHERS               = 11.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ELSE.
    READ TABLE gt_dynpfields INTO gs_dynpfields
         WITH KEY fieldname = 'T012K-HBKID'.
    IF sy-subrc = 0.
      l_hbkid = gs_dynpfields-fieldvalue.
      CLEAR gs_dynpfields.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&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>Wed, 06 Oct 2010 06:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264282#M1529324</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2010-10-06T06:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264283#M1529325</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;&lt;/P&gt;&lt;P&gt;thanks for your quick reply. But still doesnt works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD FIELD2  MODULE FIELD2_F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE get_meter_preffix INPUT.&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-repid  &lt;/P&gt;&lt;P&gt;      dynumb                               = sy-dynnr          " This is a sub screen and the field is one of field in the TABLE CONTROL&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields                           = lt_dyn.                         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" The table lt_dyn is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264283#M1529325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T07:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264284#M1529326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked the link I gave earlier I have used the solution provided in this thread and worked also and I think it will be&lt;/P&gt;&lt;P&gt;better also than using 'DYNP_VALUES_READ' FM.&lt;/P&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, 06 Oct 2010 07:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264284#M1529326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T07:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264285#M1529327</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;You need to pass the fieldname to the table before calling the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR gs_dynpfields.
  gs_dynpfields-fieldname = 'T012K-HBKID'.
  APPEND gs_dynpfields TO gt_dynpfields.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then pass this table to the FM, which will return the filedvalues.&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>Wed, 06 Oct 2010 07:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264285#M1529327</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2010-10-06T07:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264286#M1529328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All Thanks Once again for your quick reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes u treid the link and also the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But surprisingly i found out that once the PAI is triggered the value is passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a way to forcefully trigger the PAI to retrieve the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again in advance.&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264286#M1529328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T07:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pogramming POV Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264287#M1529329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;check this url&lt;/P&gt;&lt;P&gt;Link: [&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="502409"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is shown over there:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code  
         EXPORTING new_code = 'EXECUTE'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it'll help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Sachin Bhatt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 11:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pogramming-pov-validations/m-p/7264287#M1529329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T11:39:32Z</dc:date>
    </item>
  </channel>
</rss>

