<?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 not working with F4IF_INT_TABLE_VALUE_REQUEST   function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975708#M1159486</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;use FM  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DYNP_VALUES_READ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  to capture the entered screen value ( here s_vbeln ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2009 12:29:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-05T12:29:12Z</dc:date>
    <item>
      <title>f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975697#M1159475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The  F4 help is not working properly for the second field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is , the second field f4 values shud dipslay only those based on the first field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i press enter then its showing the values for the second field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z1159_TEST12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: S_VBELN TYPE VBAK-VBELN ,&lt;/P&gt;&lt;P&gt;                        S_POSNR TYPE VBAP-POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;            POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;          END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT POSNR FROM VBAP INTO TABLE ITAB WHERE VBELN EQ S_VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DDIC_STRUCTURE         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        RETFIELD                   =  'POSNR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PVALKEY                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       DYNPPROG                = SY-REPID&lt;/P&gt;&lt;P&gt;       DYNPNR                     = SY-DYNNR&lt;/P&gt;&lt;P&gt;       DYNPROFIELD            = 'S_POSNR'&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;LI level="1" type="ul"&gt;&lt;P&gt;  WINDOW_TITLE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VALUE                           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       VALUE_ORG              = 'S'&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;  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;  MARK_TAB               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_RESET             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        VALUE_TAB              = ITAB[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_TAB              =&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;  DYNPFLD_MAPPING        =&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;  PARAMETER_ERROR        = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                 = 3&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975697#M1159475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975698#M1159476</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;Please refer to this link will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_45b/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_45b/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:23:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975698#M1159476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975699#M1159477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Refer this below example FM 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data: l_retfield      type  dfies-fieldname,
          it_return       type  ddshretval occurs 0 with header line,
           it_help_fields  like  dfies      occurs 0 with header line.  
      move 'T500P' to it_help_fields-tabname.         
      move  'PERSA' to it_help_fields-fieldname.
      append it_help_fields.
      move 'NAME1' to it_help_fields-fieldname.
      append it_help_fields.
      move  'BUKRS' to it_help_fields-fieldname.
      append it_help_fields.
      move  'MOLGA' to it_help_fields-fieldname.
      append it_help_fields.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            RETFIELD                          = l_retfield
            DISPLAY                           = disp_flag
            WINDOW_TITLE                 = 'Personalbereich'(peb)
          TABLES
            VALUE_TAB                      = value_tab
            FIELD_TAB                        = it_help_fields
            RETURN_TAB                    = it_return
          EXCEPTIONS
           PARAMETER_ERROR        = 1
           NO_VALUES_FOUND         = 2
           OTHERS                            = 3.
       if it_return[] is not initial.
            read table it_return index 1.
            q1008-persa = it_return-fieldval.
       endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975699#M1159477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975700#M1159478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sushma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont give field name in single quote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if you are taking column use value_org = 'C' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start of Data Declaration for F4IF_INT_TABLE_VALUE_REQUEST				&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: I_RETURN TYPE DDSHRETVAL OCCURS 0 WITH HEADER LINE,				&lt;/P&gt;&lt;P&gt;      I_FIELDS LIKE DFIES OCCURS 0 WITH HEADER LINE,				&lt;/P&gt;&lt;P&gt;      LV_RETFIELD LIKE DFIES-FIELDNAME.				&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End of Data Declaration for F4IF_INT_TABLE_VALUE_REQUEST				&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;				&lt;/P&gt;&lt;P&gt;  REFRESH I_FIELDS.				&lt;/P&gt;&lt;P&gt;  LOOP AT I_TABNAME.				&lt;/P&gt;&lt;P&gt;   I_FIELDS-FIELDNAME = I_TABNAME-FIELDNAME .				&lt;/P&gt;&lt;P&gt;   I_FIELDS-TABNAME   = I_TABNAME-TABNAME.				&lt;/P&gt;&lt;P&gt;   I_FIELDS-GENKEY    = I_TABNAME-SELECTFLAG.&lt;/P&gt;&lt;P&gt;   APPEND I_FIELDS.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LV_RETFIELD = 'BLART'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     DDIC_STRUCTURE         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       RETFIELD               = LV_RETFIELD&lt;/P&gt;&lt;P&gt;       WINDOW_TITLE           = ' '&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;   IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     USER_RESET             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       VALUE_TAB              = I_TABFAB&lt;/P&gt;&lt;P&gt;       FIELD_TAB              = I_FIELDS				&lt;/P&gt;&lt;P&gt;       RETURN_TAB             = I_RETURN				&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     DYNPFLD_MAPPING        =				&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 I_RETURN IS NOT INITIAL.				&lt;/P&gt;&lt;P&gt;     S_BLART-LOW  = I_RETURN-FIELDVAL.				&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975700#M1159478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975701#M1159479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code is absolutely correct....only press "ENTER" after putting the value of VBELN...then press the F4 help of POSNR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975701#M1159479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975702#M1159480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sushma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly how the F4 functionality will work because this is what you have code for &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the functionality you want? If you need any additional functionality you need to change your coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz revert back with more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jan 5, 2009 11:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975702#M1159480</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-05T10:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975703#M1159481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the F4 help for posnr shud come without pressing enter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975703#M1159481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975704#M1159482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you have to write this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    PERFORM read_dynprofield USING 'YTDSRATE-TAX_TYPE'
                               CHANGING ytdsrate-tax_type.


    SELECT DISTINCT tax_code
           INTO CORRESPONDING FIELDS OF TABLE it_withcd2
           FROM ytdsrate
           WHERE tax_type EQ ytdsrate-tax_type
           AND mark_for_del NE 'X'
            .

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield        = 'TAX_CODE'
        dynpprog        = sy-repid
        dynpnr          = sy-dynnr
        dynprofield     = 'YTDSRATE-TAX_CODE'
        value_org       = 'S'
      TABLES
        value_tab       = it_withcd2
      EXCEPTIONS
        parameter_error = 1
        no_values_found = 2
        OTHERS          = 3.

  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  READ_DYNPROFIELD
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_0387   text
*      &amp;lt;--P_YTDSRATE_TAX_TYPE  text
*----------------------------------------------------------------------*
FORM read_dynprofield  USING    p_fieldname
                       CHANGING p_value.
  DATA it_dynfield TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname               = sy-repid
      dynumb               = sy-dynnr
      request              = 'A'
      translate_to_upper   = 'X'
    TABLES
      dynpfields           = it_dynfield
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      invalid_parameter    = 7
      undefind_error       = 8
      double_conversion    = 9
      stepl_not_found      = 10
      OTHERS               = 11.

  READ TABLE it_dynfield WITH KEY fieldname = p_fieldname.

  p_value = it_dynfield-fieldvalue.


ENDFORM.                    " READ_DYNPROFIELD
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is sample code.....First you have to read the value of VBELN from Dynpro..then find POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975704#M1159482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975705#M1159483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sushma ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;       TABLES&lt;/P&gt;&lt;P&gt;&amp;gt;         VALUE_TAB              = ITAB[]&lt;/P&gt;&lt;P&gt;&amp;gt; *   FIELD_TAB              =&lt;/P&gt;&lt;P&gt;&amp;gt; *   RETURN_TAB             =&lt;/P&gt;&lt;P&gt;**-&amp;gt; Uncomment the return tab and put it to itab1 where itab1 is same as itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 11:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975705#M1159483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T11:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975706#M1159484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;--&amp;gt; if i enter the value manually in s_vbeln and without pressing enter if i click on f4 button for s_posnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     then its gigvign no values foumd error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; in debugiing i found that S_VBELN  field is initial, so the select statement is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 11:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975706#M1159484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T11:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975707#M1159485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this problem solved now?&lt;/P&gt;&lt;P&gt;If so please give the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Shanmuga Priyan on Jan 5, 2009 1:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 12:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975707#M1159485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975708#M1159486</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;use FM  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DYNP_VALUES_READ&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  to capture the entered screen value ( here s_vbeln ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 12:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975708#M1159486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T12:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975709#M1159487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;You need to use DYNP_VALUES_READ fm to capture S_VBELN value , b4 calling F4IF_INT_TABLE_VALUE_REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_POSNR.&lt;/P&gt;&lt;P&gt;*Fill Dynpread Table&lt;/P&gt;&lt;P&gt;  wa_dynpread-fieldname = 'S_VBELN'.&lt;/P&gt;&lt;P&gt;  wa_dynpread-fieldvalue = S_VBELN.&lt;/P&gt;&lt;P&gt;  append wa_dynpread to it_dynpread.&lt;/P&gt;&lt;P&gt;*Call Dynp_read to read screen values&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               = v_prog&lt;/P&gt;&lt;P&gt;      dynumb               = v_dynnr&lt;/P&gt;&lt;P&gt;      translate_to_upper   = 'X'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      dynpfields           = it_dynpread&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    read table it_dynpread into wa_dynpread index 1.&lt;/P&gt;&lt;P&gt;    S_VBELN = wa_dynpread-fieldvalue .&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT POSNR FROM VBAP INTO TABLE ITAB WHERE VBELN EQ S_VBELN.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;DDIC_STRUCTURE = ' ' &lt;/P&gt;&lt;P&gt;RETFIELD = 'POSNR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PVALKEY = ' ' &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 = 'S_POSNR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEPL = 0 &lt;/P&gt;&lt;P&gt;WINDOW_TITLE = &lt;/P&gt;&lt;P&gt;VALUE = ' ' &lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MULTIPLE_CHOICE = '' &lt;/P&gt;&lt;P&gt;DISPLAY = ' ' &lt;/P&gt;&lt;P&gt;CALLBACK_PROGRAM = ' ' &lt;/P&gt;&lt;P&gt;CALLBACK_FORM = ' ' &lt;/P&gt;&lt;P&gt;MARK_TAB = &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;USER_RESET = &lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = ITAB[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD_TAB = &lt;/P&gt;&lt;P&gt;RETURN_TAB = &lt;/P&gt;&lt;P&gt;DYNPFLD_MAPPING = &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;&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 12:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975709#M1159487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T12:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: f4 help not working with F4IF_INT_TABLE_VALUE_REQUEST   function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975710#M1159488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 06:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-not-working-with-f4if-int-table-value-request-function-module/m-p/4975710#M1159488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T06:34:20Z</dc:date>
    </item>
  </channel>
</rss>

