<?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: Process on Value Request of Table Maintenance Generator Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342670#M1639234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;    Apologies for the slight misunderstanding. So field1 is what you want at the POV event .right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THe code should be something like this , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;FIELD ztable-FIELD2 MODULE set_search_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the module set_search_help, write the following code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_dynpfields type standard table of DYNPREAD,&lt;/P&gt;&lt;P&gt;      wa_dynpfields type dynpread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_dynpfields-fieldname = 'ZTABLE-FIELD1'.&lt;/P&gt;&lt;P&gt;wa_dynpfields-stepl = 1.     &lt;STRONG&gt;- Important&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;append wa_dynpfields to it_dynpfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The above piece of code is what you probably missed out on.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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                               = &lt;STRONG&gt;sy-repid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    dynumb                               = '9000' -          &lt;STRONG&gt;whatever screen number you have specified.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    dynpfields                           = it_dynpfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the function module is called, read the it_dynpfield table, you are sure to find the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 10:40:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-11T10:40:39Z</dc:date>
    <item>
      <title>Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342667#M1639231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a table maintenance generator for a customized table. The requirement is to fill FIELD3, based on the input from FIELD2. The search help of FIELD2 should be filtered based on the input in FIELD1. I created a PROCESS ON VALUE-REQUEST block in the screen Flow Logic as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;  FIELD ztable-FIELD2 MODULE set_search_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is, in set_search_help module, I cannot find any global variable to get the value of FIELD1 to use as a basis for the search help values of FIELD2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 08:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342667#M1639231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-11T08:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342668#M1639232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Do you mean that the Field2 is not available in the POV module that you have coded or do you mean that the value that you populate on the screen for Field 2is available at the program level in the POV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field2 should be available and is normally  Tablename-Field2.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if it is not populated with the value that you have passed in the screen, then use the Function Module DYNP_VALUES_READ to read the value from the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters that need to be passed are : DYNAME , DYNUMB and the table DYNPFIELDS will return the values from the screen and you can read it for FIELD 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this is what you are asking for or whether my understanding of your issue is not right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 09:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342668#M1639232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-11T09:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342669#M1639233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FIELD1 is the field I need to check because I need this to filter the search help for FIELD2. I tried using DYNP_VALUES_READ but the table returned is empty. When I checked ZTABLE in debug mode, it has no contents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 09:48:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342669#M1639233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-11T09:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342670#M1639234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;    Apologies for the slight misunderstanding. So field1 is what you want at the POV event .right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THe code should be something like this , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;FIELD ztable-FIELD2 MODULE set_search_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the module set_search_help, write the following code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_dynpfields type standard table of DYNPREAD,&lt;/P&gt;&lt;P&gt;      wa_dynpfields type dynpread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_dynpfields-fieldname = 'ZTABLE-FIELD1'.&lt;/P&gt;&lt;P&gt;wa_dynpfields-stepl = 1.     &lt;STRONG&gt;- Important&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;append wa_dynpfields to it_dynpfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The above piece of code is what you probably missed out on.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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                               = &lt;STRONG&gt;sy-repid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    dynumb                               = '9000' -          &lt;STRONG&gt;whatever screen number you have specified.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    dynpfields                           = it_dynpfields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the function module is called, read the it_dynpfield table, you are sure to find the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 10:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342670#M1639234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-11T10:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342671#M1639235</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;In Module pool, if you have entered some value for Field1 and without pressing Enter, you click on the f4 help for Field2, there is no way in which you can read the value of field1 in the module under process on value request. &lt;/P&gt;&lt;P&gt;This is because when a user enters a value on the screen and then clicks on the F4 help for a field on the same screen, the 'Process on value request' is triggered first followed by PAI. Since the PAI is triggered after POV, the value of field1 id not read. &lt;/P&gt;&lt;P&gt;The only way to solve this is:-&lt;/P&gt;&lt;P&gt;1) Enter the value for Field1 - Press Enter. - By this way the PAI event is triggered and the value of field 1 is recorded&lt;/P&gt;&lt;P&gt;2) Now click on the F4 help for Field2 = This will trigger the POV. Since Field1 value has been recorded, you can use it to populate the F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference lies in the way we are testing. &lt;/P&gt;&lt;P&gt;Check the code should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 13:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342671#M1639235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-11T13:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342672#M1639236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    It is to bypass this exact problem that i suggested the function module 'DYNP_VALUES_READ'.   We very well know that  if enter is not pressed then the data does not flow from the screen to the module pool program PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think before making sweeping statements like ' it is not possible to get the value ' , some research should be done to explore all the possibilities. This is to ensure that people who post queries are not misguided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a suggestion from my side with no animosity directed against anyone &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 14:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342672#M1639236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-11T14:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342673#M1639237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! That solved my problem. In addition, I used the FM below to get the current index in the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_GET_STEPL'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      povstepl        = lv_stepl&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      stepl_not_found = 1&lt;/P&gt;&lt;P&gt;      OTHERS          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;abapGenin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 02:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342673#M1639237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T02:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Process on Value Request of Table Maintenance Generator Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342674#M1639238</link>
      <description>&lt;P&gt;Please share the process followed&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 07:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-on-value-request-of-table-maintenance-generator-program/m-p/8342674#M1639238</guid>
      <dc:creator>gowripujithakapu</dc:creator>
      <dc:date>2022-02-10T07:25:39Z</dc:date>
    </item>
  </channel>
</rss>

