<?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: F4IF_FIELD_VALUE_REQUEST, in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429830#M205657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST - used to disply a field when u press F4 on the field&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST -used to disply a table when u press F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the follwing code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: t001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it001 occurs 0,&lt;/P&gt;&lt;P&gt;bukrs type t001-bukrs,&lt;/P&gt;&lt;P&gt;butxt type t001-butxt,&lt;/P&gt;&lt;P&gt;ort01 type t001-ort01,&lt;/P&gt;&lt;P&gt;land1 type t001-land1,&lt;/P&gt;&lt;P&gt;end of it001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_bukrs for t001-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs butxt ort01 land1 into table it001 from t001&lt;/P&gt;&lt;P&gt;where land1 = 'US'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it001 ascending by bukrs.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it001 comparing bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_bukrs-low.&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;retfield = 'BUKRS'&lt;/P&gt;&lt;P&gt;dynprofield = 'S_BUKRS'&lt;/P&gt;&lt;P&gt;dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = it001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jothi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do close the thread if your problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2006 09:01:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-24T09:01:15Z</dc:date>
    <item>
      <title>F4IF_FIELD_VALUE_REQUEST,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429826#M205653</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;&lt;/P&gt;&lt;P&gt;Please Explain how the Functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are used with an example code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 08:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429826#M205653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-24T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_FIELD_VALUE_REQUEST,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429827#M205654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jitendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. sample code (just copy paste)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;UNAME LIKE USR01-BNAME,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : RETURN_TAB LIKE DDSHRETVAL occurs 0 .&lt;/P&gt;&lt;P&gt;data : RETURN_wa LIKE DDSHRETVAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;PARAMETERS : A(12) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------" /&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-UNAME = 'U01'. APPEND ITAB.&lt;/P&gt;&lt;P&gt;ITAB-UNAME = 'U02'. APPEND ITAB.&lt;/P&gt;&lt;P&gt;ITAB-UNAME = 'U03'. APPEND ITAB.&lt;/P&gt;&lt;P&gt;&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 = 'ITAB-UNAME'&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 = 'A'&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 = FTAB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RETURN_TAB = return_tab&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;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;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 08:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429827#M205654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-24T08:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_FIELD_VALUE_REQUEST,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429828#M205655</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;F4IF_INT_TABLE_VALUE_REQUEST is used for displaying F4 help for a parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*-----------Parameter

PARAMETERS       : p_regtyp TYPE char1.


*
*---------------Selection Screen Help-------------------*
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_regtyp.
  PERFORM f1000_show_f4help_regtyp .


*------------------Form----------------------------------------------------*
FORM f1000_show_f4help_regtyp .

  TYPES: BEGIN OF ty_summary_stat,
            reg_type TYPE char1,
            reg_text TYPE char20,
         END OF ty_summary_stat.

  CONSTANTS : lc_reg_type LIKE dfies-fieldname     VALUE 'REG_TYPE',
              lc_pregtyp  LIKE help_info-dynprofld VALUE 'P_REGTYP'.


  DATA : lit_summary_in  TYPE TABLE OF ty_summary_stat,
         ls_help_input   TYPE ty_summary_stat.

  ls_help_input-reg_type = lc_l.
* Loss &amp;amp; Reg
  ls_help_input-reg_text = text-018.
  APPEND ls_help_input TO lit_summary_in.

* Standard Process
  ls_help_input-reg_type = lc_s.
  ls_help_input-reg_text = text-019.
  APPEND ls_help_input TO lit_summary_in.

* Function Module to Call F4 Help
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = lc_reg_type
      dynpprog        = sy-repid
      dynpnr          = sy-dynnr
      dynprofield     = lc_pregtyp
      value_org       = 'S'
    TABLES
      value_tab       = lit_summary_in
    EXCEPTIONS
      parameter_error = 1
      no_values_found = 2
      OTHERS          = 3.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

ENDFORM.                    " f1000_show_f4help_regtyp


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 08:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429828#M205655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-24T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_FIELD_VALUE_REQUEST,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429829#M205656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZHELP                             .&lt;/P&gt;&lt;P&gt;TABLES : MARA.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_MATNR(10) TYPE C.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;       MATNR TYPE MATNR,&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 P_MATNR.&lt;/P&gt;&lt;P&gt;  SELECT MATNR&lt;/P&gt;&lt;P&gt;         FROM MARA&lt;/P&gt;&lt;P&gt;         INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;         UP TO 10 ROWS.&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        = 'MATERIAL NUMBER'&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     = 'P_MATNR'&lt;/P&gt;&lt;P&gt;      VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB       = ITAB&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 08:59:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429829#M205656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-24T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_FIELD_VALUE_REQUEST,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429830#M205657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST - used to disply a field when u press F4 on the field&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST -used to disply a table when u press F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the follwing code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: t001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it001 occurs 0,&lt;/P&gt;&lt;P&gt;bukrs type t001-bukrs,&lt;/P&gt;&lt;P&gt;butxt type t001-butxt,&lt;/P&gt;&lt;P&gt;ort01 type t001-ort01,&lt;/P&gt;&lt;P&gt;land1 type t001-land1,&lt;/P&gt;&lt;P&gt;end of it001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_bukrs for t001-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs butxt ort01 land1 into table it001 from t001&lt;/P&gt;&lt;P&gt;where land1 = 'US'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it001 ascending by bukrs.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it001 comparing bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_bukrs-low.&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;retfield = 'BUKRS'&lt;/P&gt;&lt;P&gt;dynprofield = 'S_BUKRS'&lt;/P&gt;&lt;P&gt;dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = it001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jothi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do close the thread if your problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2006 09:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-field-value-request/m-p/1429830#M205657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-24T09:01:15Z</dc:date>
    </item>
  </channel>
</rss>

