<?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 help in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431092#M1411001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a module pool program. I have a field employee id. I am creating a F4 help for it using 'F4IF_FIELD_VALUE_REQUEST' FM. I used the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'PA0001'
fieldname = 'PERNR'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'EMP_ID' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting F4 values in above case. When I refer to a ztable field i am getting message in task bar as no input help available. Please tell me whether is it not possible to use custom tables and only standard tables should be used for F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2009 07:46:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-10T07:46:52Z</dc:date>
    <item>
      <title>F4 help in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431092#M1411001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a module pool program. I have a field employee id. I am creating a F4 help for it using 'F4IF_FIELD_VALUE_REQUEST' FM. I used the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'PA0001'
fieldname = 'PERNR'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'EMP_ID' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting F4 values in above case. When I refer to a ztable field i am getting message in task bar as no input help available. Please tell me whether is it not possible to use custom tables and only standard tables should be used for F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 07:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431092#M1411001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431093#M1411002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; We can use F4 help for standard and Custom tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try the below function module.&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        = 'YRDES'&lt;/P&gt;&lt;P&gt;      DYNPPROG        = SY-CPROG&lt;/P&gt;&lt;P&gt;      DYNPNR          = SY-DYNNR&lt;/P&gt;&lt;P&gt;      DYNPROFIELD     = 'IT_SPOC-YRDES'&lt;/P&gt;&lt;P&gt;      WINDOW_TITLE    = 'Unbilled Reason Code'&lt;/P&gt;&lt;P&gt;      VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    DISPLAY         =  GS_SPOC_DISPLAY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB       = T_YRECO&lt;/P&gt;&lt;P&gt;      RETURN_TAB      = RETURN_TAB&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;Return_tab table will contain the field selected by the user. it will be in RETURN_TAB-FIELDVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return table type is like given below.&lt;/P&gt;&lt;P&gt;      RETURN_TAB LIKE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the necessary values and try the same.&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;Sanil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 07:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431093#M1411002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T07:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431094#M1411003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this small code for reference and try again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF w_entry EQ space.  "If No Entry Has Been Made For System Status
* Select from the system status table and move records into value table
    SELECT *
      FROM tj02t
      INTO TABLE t_tj02t
      WHERE spras EQ sy-langu.
    IF sy-subrc EQ 0.
      LOOP AT t_tj02t INTO wa_tj02t.
        MOVE: wa_tj02t-txt04 TO wa_values-txt04,
              wa_tj02t-txt30 TO wa_values-txt30.
        APPEND wa_values TO t_values.
        CLEAR wa_values.
      ENDLOOP.
    ENDIF.
    w_entry = c_x.  " Once System Status Parameter Is Filled, Flag's Switched
  ENDIF.

* Function module to get possible entries for system status
  REFRESH t_return[].
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield         = c_txt04
      value_org        = c_s
      callback_program = sy-repid
    TABLES
      value_tab        = t_values
      return_tab       = t_return
    EXCEPTIONS
      parameter_error  = 1
      no_values_found  = 2
      OTHERS           = 3.
  IF sy-subrc EQ 0.
    SORT t_return BY fieldname.
    READ TABLE t_return INTO wa_return INDEX 1.
    IF sy-subrc EQ 0.
      w_syst = wa_return-fieldval.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 10:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-in-module-pool-program/m-p/6431094#M1411003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T10:43:30Z</dc:date>
    </item>
  </channel>
</rss>

