<?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: F4 Help in Dynamic Document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591991#M1661616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H6&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Hi,&lt;/SPAN&gt;&lt;/H6&gt;&lt;H6&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;You can refer example program RPEGMAN001( Refer the local class lcl_html_header &amp;amp; method handle_button_f4 ). You will find the function module HELP_START being called for this . You can see the down arrow button near to the text box. Its just as similar to the f4 help in se80 input field. For an example refer program DD_ADD_FORM_INPUT where you can see the execute button near to the text box. Replace this execute button with F4 help functionality.&lt;/SPAN&gt;&lt;/H6&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 06:45:03 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2012-03-26T06:45:03Z</dc:date>
    <item>
      <title>F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591990#M1661615</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;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: black;"&gt;I have added an input element of the type CL_DD_INPUT_ELEMENT in my report program (as shown in the below screen shot)&lt;/SPAN&gt;&lt;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: #000000;"&gt;. Now i want to enable F4 help for this input field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: #000000;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/85086" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: #000000;"&gt;I tried using the event HELP_F4 event of the class CL_DD_INPUT_ELEMENT to capture the keystroke but my program does not seems to register the keystroke like it does for F1 or Enter key. Also in SE24, the HELP_F4 event description reads "Not yet implemented in HTML Viewer Control"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: #000000;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/85087" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: #000000;"&gt;Is there a way in which i can achieve the same functionality . Will really appreciate any help in this regard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: justify; background-color: #ffffff; text-indent: 0px; color: #000000;"&gt;Best Regards,&lt;BR /&gt;Sakshi Dogra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 06:32:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591990#M1661615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T06:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591991#M1661616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H6&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;Hi,&lt;/SPAN&gt;&lt;/H6&gt;&lt;H6&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;You can refer example program RPEGMAN001( Refer the local class lcl_html_header &amp;amp; method handle_button_f4 ). You will find the function module HELP_START being called for this . You can see the down arrow button near to the text box. Its just as similar to the f4 help in se80 input field. For an example refer program DD_ADD_FORM_INPUT where you can see the execute button near to the text box. Replace this execute button with F4 help functionality.&lt;/SPAN&gt;&lt;/H6&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 06:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591991#M1661616</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-26T06:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591992#M1661617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kesavadas.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Your reply was very helpful. But again is it not possible to enable F4 Help functionality when the F4 key is pressed instead of using a button or down arrow as natural tendency of the users is to press F4 key on the keyboard.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 07:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591992#M1661617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T07:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591993#M1661618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not possible I think so. You can try executing the same "button" logic by assigning the F4 to a function key. I have not checked this. May be you can try it once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591993#M1661618</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-26T08:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591994#M1661619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas,&lt;/P&gt;&lt;P&gt;I was able to achieve the F4 Help but now i am stuck at assigning the selected value back to the input field. It's not working even in the RPEGMAN001 program.&lt;/P&gt;&lt;P&gt;I tried using the following code for passing the selected value in the F4 Help list to the input1 but it is not working.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; fg_changed = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;'X'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;CALL&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt;"&gt;METHOD&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; input1-&amp;gt;set_value&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = g_inp_value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;Am i doing it wrong or there is some other way to copy the values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;Sakshi Dogra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591994#M1661619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T11:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591995#M1661620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sakshi,&lt;/P&gt;&lt;P&gt;You seem to be doing it commendably However,try using it like :&lt;/P&gt;&lt;P&gt; input1-&amp;gt;set_value( value = g_input_value ).&lt;/P&gt;&lt;P&gt;And please ensure that there is no type mismatch.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aastha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591995#M1661620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T11:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591996#M1661621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The name of the text box in header is input1 and the value returned from search help is stored in g_inp_value. Am I correct ? Do you need to pass g_inp_value to input1 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 12:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591996#M1661621</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-26T12:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: F4 Help in Dynamic Document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591997#M1661622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this way. For more details check the method&amp;nbsp; handle_submit_buttons in program DD_ADD_FORM_INPUT&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;data:obj type ref to CL_DD_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD input1-&amp;gt;SET_VALUE&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; EXPORTING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE = g_inp_value.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD obj-&amp;gt;merge_document.&lt;/P&gt;&lt;P&gt;CALL METHOD obj-&amp;gt;display_document exporting reuse_control = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-dynamic-document/m-p/8591997#M1661622</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-03-26T13:01:39Z</dc:date>
    </item>
  </channel>
</rss>

