<?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 Screen Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526237#M1069959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing a screen programing.&lt;/P&gt;&lt;P&gt;In that I have 2 fields.&lt;/P&gt;&lt;P&gt;field1 and field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 has F4 help.I will select the data for field1 from the F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the value of Field1 Field2 should have f4 help values..&lt;/P&gt;&lt;P&gt;If I select Albhabet, then field2 should have F4 values as A,B,C,etc...&lt;/P&gt;&lt;P&gt;if I choose Numeric the its should have f4 values as 1,2,3,etc...&lt;/P&gt;&lt;P&gt;how to achieve this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially the field2 doesnt have F4 help..But based on the input in field1 I will display the field2 F4 values...&lt;/P&gt;&lt;P&gt;How to achieve this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2008 05:11:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-23T05:11:17Z</dc:date>
    <item>
      <title>Screen Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526237#M1069959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing a screen programing.&lt;/P&gt;&lt;P&gt;In that I have 2 fields.&lt;/P&gt;&lt;P&gt;field1 and field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 has F4 help.I will select the data for field1 from the F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the value of Field1 Field2 should have f4 help values..&lt;/P&gt;&lt;P&gt;If I select Albhabet, then field2 should have F4 values as A,B,C,etc...&lt;/P&gt;&lt;P&gt;if I choose Numeric the its should have f4 values as 1,2,3,etc...&lt;/P&gt;&lt;P&gt;how to achieve this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially the field2 doesnt have F4 help..But based on the input in field1 I will display the field2 F4 values...&lt;/P&gt;&lt;P&gt;How to achieve this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526237#M1069959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T05:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526238#M1069960</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;You can do this in POV event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here you want to get F4 help for Field2 wrt Filed1 input.&lt;/P&gt;&lt;P&gt;So here you have to use DYNP_VALUES_READ function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample code..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: dyname like d020s-prog value 'PROGRAM NAME',
          dynumb like d020s-dnum value 'SCREEN NUMBER'.
  data: begin of dynpfields occurs 3.
          include structure dynpread.
  data: end of dynpfields.
  move 'FIELD1' to dynpfields-fieldname.
  append dynpfields.

  call function 'DYNP_VALUES_READ'                          
    exporting
      dyname               = dyname
      dynumb               = dynumb
      translate_to_upper   = 'X'
    tables
      dynpfields           = dynpfields
    exceptions
      invalid_abapworkarea = 01
      invalid_dynprofield  = 02
      invalid_dynproname   = 03
      invalid_dynpronummer = 04
      invalid_request      = 05
      no_fielddescription  = 06
      undefind_error       = 07.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here you can have FIELD1 entry in  dynpfields-fieldvalue. So you can develop for search help &lt;/P&gt;&lt;P&gt;for FIELD2 based on  dynpfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above cod ein POV event..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;process on value-request.
 field FILED2 module f4_FIELD2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526238#M1069960</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-09-23T05:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526239#M1069961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    First u got the F4 help. In the select statement move the data into an internal table. Now based on the first field conditions go and check the field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kasuladevi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:18:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/4526239#M1069961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T05:18:02Z</dc:date>
    </item>
  </channel>
</rss>

