<?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 dialog program help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649937#M610780</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;     Good day, how are you doing, I need a help from you for the dialog programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing table validations. &lt;/P&gt;&lt;P&gt;I have a two fields like &lt;/P&gt;&lt;P&gt;1. Program&lt;/P&gt;&lt;P&gt;2. Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program contains 3 objects &lt;/P&gt;&lt;P&gt;         1. Indigents&lt;/P&gt;&lt;P&gt;         2. Reathusa&lt;/P&gt;&lt;P&gt;         3. Progressive write-off&lt;/P&gt;&lt;P&gt;Status contains 11 fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both Program and Status values are getting by search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when ever I select program 1,2,3, I need to view only selected values from 11 values.&lt;/P&gt;&lt;P&gt;please give me replays asap.&lt;/P&gt;&lt;P&gt;ragards &lt;/P&gt;&lt;P&gt;surya ramireddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2007 15:14:20 GMT</pubDate>
    <dc:creator>surya_ramireddy</dc:creator>
    <dc:date>2007-08-21T15:14:20Z</dc:date>
    <item>
      <title>dialog program help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649937#M610780</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;     Good day, how are you doing, I need a help from you for the dialog programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing table validations. &lt;/P&gt;&lt;P&gt;I have a two fields like &lt;/P&gt;&lt;P&gt;1. Program&lt;/P&gt;&lt;P&gt;2. Status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program contains 3 objects &lt;/P&gt;&lt;P&gt;         1. Indigents&lt;/P&gt;&lt;P&gt;         2. Reathusa&lt;/P&gt;&lt;P&gt;         3. Progressive write-off&lt;/P&gt;&lt;P&gt;Status contains 11 fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both Program and Status values are getting by search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when ever I select program 1,2,3, I need to view only selected values from 11 values.&lt;/P&gt;&lt;P&gt;please give me replays asap.&lt;/P&gt;&lt;P&gt;ragards &lt;/P&gt;&lt;P&gt;surya ramireddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 15:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649937#M610780</guid>
      <dc:creator>surya_ramireddy</dc:creator>
      <dc:date>2007-08-21T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: dialog program help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649938#M610781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create your own search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have fun&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 15:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649938#M610781</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2007-08-21T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: dialog program help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649939#M610782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi surya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this code might be ur looking for other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid the standard F4 help to be show, insert the event PROCESS ON-VALUE-REQUEST request in the program and add a field statement for the field that should trigger the F4 help. In the module called from PROCESS ON-VALUE-REQUEST request, call function module F4IF_FIELD_VALUE_REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process before output.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;FIELD sflight-carrid MODULE f4_help_for_carrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE f4_help_for_carrid INPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NOTE:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tabname/fieldname is the name of the table and field&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for which F4 should be shown.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Dynprog/Dynpnr/Dynprofield are the names of the Progran/Dynpro/Field&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;in which the f4 value should be returned.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Value: The value of the Dynpro field when calling the F4 help.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You can limit the values shown, by inseting a value in this parameter&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;e.g 'A*' to show only values beginning with A&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;tabname = 'SFLIGHT'&lt;/P&gt;&lt;P&gt;fieldname = 'CARRID'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SEARCHHELP = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SHLPPARAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;dynpprog = 'ZDANY_F4_OWN_CALL'&lt;/P&gt;&lt;P&gt;dynpnr = '0100'&lt;/P&gt;&lt;P&gt;dynprofield = 'SFLIGHT-CARRID'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STEPL = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;value = 'A*'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DISPLAY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SUPPRESS_RECORDLIST = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_PROGRAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RETURN_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FIELD_NOT_FOUND = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_HELP_FOR_FIELD = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INCONSISTENT_HELP = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUES_FOUND = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " F4_help_for_carrid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To control F4 help in a selection screen use the AT SELECTION-SCREEN ON VALUE-REQUEST FOR event.Note that for ranges both the low and high value of the field must have there own ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.&lt;/P&gt;&lt;P&gt;PERFORM f4_help_carrid.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-high.&lt;/P&gt;&lt;P&gt;PERFORM f4_help_carrid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 15:31:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-help/m-p/2649939#M610782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T15:31:48Z</dc:date>
    </item>
  </channel>
</rss>

