<?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 creating F4 help with restricted values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663597#M293938</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;I created a table and table maintenance program.&lt;/P&gt;&lt;P&gt;The table consists of a few fields.&lt;/P&gt;&lt;P&gt;When inserting new lines, the user should fill the first value and the value he fills should determine&lt;/P&gt;&lt;P&gt;the range of values for the second field.&lt;/P&gt;&lt;P&gt;How can I implement restricting the range of values of the second field based on the selection of the first field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Promise to award points...&lt;/P&gt;&lt;P&gt;Ruthie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2006 11:54:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-26T11:54:59Z</dc:date>
    <item>
      <title>creating F4 help with restricted values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663597#M293938</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;I created a table and table maintenance program.&lt;/P&gt;&lt;P&gt;The table consists of a few fields.&lt;/P&gt;&lt;P&gt;When inserting new lines, the user should fill the first value and the value he fills should determine&lt;/P&gt;&lt;P&gt;the range of values for the second field.&lt;/P&gt;&lt;P&gt;How can I implement restricting the range of values of the second field based on the selection of the first field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Promise to award points...&lt;/P&gt;&lt;P&gt;Ruthie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 11:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663597#M293938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T11:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: creating F4 help with restricted values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663598#M293939</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;This sample code will help you.It will deal with F4 help for a field.You can two similar code for your requirement.&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;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;FIELD s_begru MODULE abc ON INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process on value-request.&lt;/P&gt;&lt;P&gt;field s_begru module f4_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZZZ_JAYTEST1                            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables kna1.&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;begin of t_values occurs 2,&lt;/P&gt;&lt;P&gt;value like kna1-begru,&lt;/P&gt;&lt;P&gt;end of t_values,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_return like ddshretval occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data s_begru like kna1-begru.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 9000.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  f4_help  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module f4_help input.&lt;/P&gt;&lt;P&gt;*do your logic to populate t_values &lt;/P&gt;&lt;P&gt;call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;retfield = 'BEGRU'&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = t_values&lt;/P&gt;&lt;P&gt;return_tab = t_return&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;parameter_error = 1&lt;/P&gt;&lt;P&gt;no_values_found = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;read table t_return index 1.&lt;/P&gt;&lt;P&gt;s_begru = t_return-fieldval.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " f4_help  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  abc  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module abc input.&lt;/P&gt;&lt;P&gt;read table t_values with key value = s_begru.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;clear s_begru.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " abc  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 12:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663598#M293939</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-26T12:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: creating F4 help with restricted values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663599#M293940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jayanthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am familiar with the code you wrote.&lt;/P&gt;&lt;P&gt;But - how can I combine the code of the screen with a database system table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ruthie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 12:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-f4-help-with-restricted-values/m-p/1663599#M293940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T12:16:04Z</dc:date>
    </item>
  </channel>
</rss>

