<?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 Dynpro button with function type &amp;quot;H&amp;quot;   (Help) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780880#M2023727</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;P&gt;How to handle dynpro button click with assigned function type "H" (Help).? &lt;/P&gt;
  &lt;P&gt;I have dynpro screen with several input fields, some of them are defined as "required". Next to one of these inputfields i created this button. Now what i want is when i fill this input field and click on the button, some code is executed and others inputfields are prefilled with values. &lt;/P&gt;
  &lt;P&gt;I used function type "H" because the function code of button cant trigger PAI (because of required inputfields). Documentation for this function type is not very clear, its says to use ON HELP REQUEST module but i cant use POH because for that i need input-/outputfield (and i have button). &lt;/P&gt;
  &lt;P&gt;Thx in advance&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 06:33:39 GMT</pubDate>
    <dc:creator>juraj14</dc:creator>
    <dc:date>2023-06-08T06:33:39Z</dc:date>
    <item>
      <title>Dynpro button with function type "H"   (Help)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780880#M2023727</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;P&gt;How to handle dynpro button click with assigned function type "H" (Help).? &lt;/P&gt;
  &lt;P&gt;I have dynpro screen with several input fields, some of them are defined as "required". Next to one of these inputfields i created this button. Now what i want is when i fill this input field and click on the button, some code is executed and others inputfields are prefilled with values. &lt;/P&gt;
  &lt;P&gt;I used function type "H" because the function code of button cant trigger PAI (because of required inputfields). Documentation for this function type is not very clear, its says to use ON HELP REQUEST module but i cant use POH because for that i need input-/outputfield (and i have button). &lt;/P&gt;
  &lt;P&gt;Thx in advance&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 06:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780880#M2023727</guid>
      <dc:creator>juraj14</dc:creator>
      <dc:date>2023-06-08T06:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynpro button with function type "H"   (Help)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780881#M2023728</link>
      <description>&lt;P&gt;Isn't ON HELP REQUEST only triggered while F1 button is pressed when the cursor is on certain field? I've did a quick try to code on the POH and it seems that even if you could change the value in the coding, it will soon revert back to the original value before changes.&lt;/P&gt;&lt;P&gt;Not sure about the function type 'H', but in your case, can't you do with setting the auto filled value as recommended instead of required, and do the mandatory field check on the PAI MODULE ... ON INPUT or somewhere else?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 07:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780881#M2023728</guid>
      <dc:creator>xiswanto</dc:creator>
      <dc:date>2023-06-08T07:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynpro button with function type "H"   (Help)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780882#M2023729</link>
      <description>&lt;P&gt;'Now what i want is when i fill this input field and click on the button, some code is executed and others inputfields are prefilled with values.'&lt;/P&gt;&lt;P&gt;So actually you want to trigger a PAI/PBO cycle and not display an help. Your solution shouldn't work. IMHO you should&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;remove the obligatory flag on the fields, and check they are not initial in your PAI logic, &lt;/LI&gt;&lt;LI&gt;Use a classic function code, handled in the PAI logic before the checks for mandatory field &lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 08 Jun 2023 07:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780882#M2023729</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-06-08T07:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynpro button with function type "H"   (Help)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780883#M2023730</link>
      <description>&lt;P&gt;Of course that is solution, but i wanted to use "standard" as much as posible, so using required inputfields ( less programming ) etc. and than working around that with "Z programming" . Also i was kinda curious what "function type H" even do and how to implement it.  &lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 09:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynpro-button-with-function-type-quot-h-quot-help/m-p/12780883#M2023730</guid>
      <dc:creator>juraj14</dc:creator>
      <dc:date>2023-06-08T09:17:49Z</dc:date>
    </item>
  </channel>
</rss>

