<?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 F4 values required in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674667#M1448555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;I created two subsceens and called them in one Dialog program main screen.Here my requireent is in first sub screen i have entering or picking the value throw F4 help from one filed (ex country - picked the value india) . After selecting that value in the first sub screen , i want populate revelent values in second subscreen fiield is regions(ex states of india with f4 help ).How can i achive this functionality.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Mar 2010 09:01:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-15T09:01:04Z</dc:date>
    <item>
      <title>F4 values required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674667#M1448555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;I created two subsceens and called them in one Dialog program main screen.Here my requireent is in first sub screen i have entering or picking the value throw F4 help from one filed (ex country - picked the value india) . After selecting that value in the first sub screen , i want populate revelent values in second subscreen fiield is regions(ex states of india with f4 help ).How can i achive this functionality.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 09:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674667#M1448555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T09:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: F4 values required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674668#M1448556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Ravi,
Welcome to SDN.
&amp;lt;li&amp;gt;&lt;STRONG&gt;Please search before you post anything in this forum.&lt;/STRONG&gt; 
&amp;lt;li&amp;gt;Read the first subscreen field value using &lt;STRONG&gt;DYNP_VALUES_READ&lt;/STRONG&gt; in the F4 help portion written for 2nd field in another subscreen. 
&amp;lt;li&amp;gt;For more help on &lt;STRONG&gt;DYNP_VALUES_READ&lt;/STRONG&gt;, please search the forum with term &lt;STRONG&gt;DYNP_VALUES_READ&lt;/STRONG&gt;. 

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 09:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674668#M1448556</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-03-15T09:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: F4 values required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674669#M1448557</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;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fee-low.
  PERFORM show_fee.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  SHOW_FEE
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  --&amp;gt;  p1        text
*  &amp;lt;--  p2        text
*----------------------------------------------------------------------*
form SHOW_FEE .

  DATA: ltab_fields LIKE dynpread OCCURS 0 WITH HEADER LINE.

  DATA : BEGIN OF it_fee OCCURS 0,
          GROUPFEE     TYPE ZGROUP_DE,
          FEE_NUMBER TYPE ZFEE_NUMBER,
          FEE  TYPE ZFEE_NAME,
        END OF it_fee.

* Make sure the parameter name is always in CAPS
  ltab_fields-fieldname = 'CITY'.
  APPEND ltab_fields.
* Call Dynpro read FM
  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname     = sy-cprog
      dynumb     = sy-dynnr
    TABLES
      dynpfields = ltab_fields
    EXCEPTIONS
      OTHERS     = 01.

  READ TABLE ltab_fields INDEX 1.

  IF ltab_fields-fieldvalue IS INITIAL.
 "   MESSAGE 'No City Selected' TYPE 'E'.
  ELSE.
    SELECT GROUPFEE FEE_NUMBER FEE
    FROM ZFICA_CATALOG
    INTO TABLE it_fee
    WHERE CITY_NAME = ltab_fields-fieldvalue.
    SORT it_fee ASCENDING.
    DELETE ADJACENT DUPLICATES FROM it_fee.
* Pass which field in the internal table should be passed in retfield
* Pass which screen field should have selected internal table field
* value in dynprofield
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield        = 'FEE_NUMBER'
        dynpprog        = sy-cprog
        dynpnr          = sy-dynnr
        dynprofield     = 'FEE'
        value_org       = 'S'
      TABLES
        value_tab       = it_fee
      EXCEPTIONS
        parameter_error = 1
        no_values_found = 2
        OTHERS          = 3.
  ENDIF.

endform.                    " SHOW_FEE

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this code will help you.&lt;/P&gt;&lt;P&gt;It's by city which selected,gets relevant fees in other field to the selected city&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Yossi Rozenberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 09:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674669#M1448557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T09:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: F4 values required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674670#M1448558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Yossi Rozenberg&lt;/P&gt;&lt;P&gt;That part already done by me here actually i am getting the one popup but shouldn't come . It simply fill the values in second subscreen field and display based my selection ex ZDDC  relevent bill number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my code is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module GET_VALUES input.   &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;---- this part is done in the PAI of the my screen.&lt;/P&gt;&lt;P&gt;   DATA: ltab_fields LIKE dynpread OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;    data:fld(4) type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      FLD = NAT_SCH."+0(4).&lt;/P&gt;&lt;P&gt; if nat_sch+0(4) IS NOT INITIAL AND FLD = 'ZDDC'.&lt;/P&gt;&lt;P&gt;  DATA:REG2(3) TYPE C.&lt;/P&gt;&lt;P&gt;  DATA:REG3(3) TYPE C.&lt;/P&gt;&lt;P&gt;   CLEAR:it_zddc1 , it_zddc1[].&lt;/P&gt;&lt;P&gt;   if FLD = 'ZDDC'.&lt;/P&gt;&lt;P&gt;    reg3 = REGIO-LOW .&lt;/P&gt;&lt;P&gt;    LOOP AT REGIO.&lt;/P&gt;&lt;P&gt;    CONCATENATE '0' REGIO-LOW INTO REG2.&lt;/P&gt;&lt;P&gt;    REGIO-LOW = REG2.&lt;/P&gt;&lt;P&gt;    MODIFY REGIO.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    select zrb_refno  from zrb_crhdr&lt;/P&gt;&lt;P&gt;                      into  table it_zddc1&lt;/P&gt;&lt;P&gt;                      where  bukrs   in bukrs        and&lt;/P&gt;&lt;P&gt;                             vkorg   in vkorg        and&lt;/P&gt;&lt;P&gt;                             spart   in spart        and&lt;/P&gt;&lt;P&gt;                             regio   in regio        and&lt;/P&gt;&lt;P&gt;                             werks   = werks        and&lt;/P&gt;&lt;P&gt;                             kunnr   in kunnr        and&lt;/P&gt;&lt;P&gt;                             prctr   in prctr&lt;/P&gt;&lt;P&gt;                             .&lt;/P&gt;&lt;P&gt;    LOOP AT REGIO.&lt;/P&gt;&lt;P&gt;    REGIO-LOW = REG3.&lt;/P&gt;&lt;P&gt;    MODIFY REGIO.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  ltab_fields-fieldname = 'FLD'.&lt;/P&gt;&lt;P&gt;  APPEND ltab_fields.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call Dynpro read FM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname     = sy-cprog&lt;/P&gt;&lt;P&gt;      dynumb     = sy-dynnr&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields = ltab_fields&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS     = 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE ltab_fields INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD BIL_NUMB.&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       = 'BILL_NUM'&lt;/P&gt;&lt;P&gt;      dynpprog       = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr         = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield    = 'BIL_NUM'&lt;/P&gt;&lt;P&gt;      value_org      = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab      = it_zddc1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS         = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674670#M1448558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: F4 values required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674671#M1448559</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;In the PBO of the subscreen call the below fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;dyname = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;dynpfields = ltab_fields&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then read the relevalant field in Subscreen 1 is populated by reading itab_fields internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the value is allready entered then move the value of the particular field in Subacreen 2. Don use another FM IF_F4 you will get popup if you use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shanmugavel Chandrasekaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674671#M1448559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: F4 values required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674672#M1448560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;Thnaks for response, but i have problem . i have created one module in the PBO of my main screen 1000(The reqiured field existed in the subscreen 2 .when executing first time is is showing no values found on the status bar. that is correct .After passed the my value in sub screen 1. Then it is not automatically filling the data in sub screen2  filed. it is showing one popup every time by pressing the enter after selecting values the cursor not going to the second subscreen pleas help me&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 11:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-values-required/m-p/6674672#M1448560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-15T11:42:03Z</dc:date>
    </item>
  </channel>
</rss>

