<?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: function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831402#M921296</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;data: gt_t179      TYPE TABLE OF gty_t179,&lt;/P&gt;&lt;P&gt;      gk_t179      TYPE gty_t179,&lt;/P&gt;&lt;P&gt;	gt_retval    TYPE TABLE OF ddshretval,&lt;/P&gt;&lt;P&gt;      gk_retval    TYPE ddshretval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT prodh&lt;/P&gt;&lt;P&gt;     INTO TABLE gt_t179&lt;/P&gt;&lt;P&gt;       FROM t179&lt;/P&gt;&lt;P&gt;         WHERE stufe EQ gc_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;     MESSAGE e000(zotc) WITH text-e08.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Function Module to populate the internal table Values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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        = 'prod1'&lt;/P&gt;&lt;P&gt;       value           = space&lt;/P&gt;&lt;P&gt;       value_org       = gc_s&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       value_tab       = gt_t179&lt;/P&gt;&lt;P&gt;       return_tab      = gt_retval&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 EQ 0.&lt;/P&gt;&lt;P&gt;       CLEAR gk_retval.&lt;/P&gt;&lt;P&gt;       READ TABLE gt_retval INTO gk_retval INDEX 1.&lt;/P&gt;&lt;P&gt;       s_prod1-low = gk_retval-fieldval.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; Thanks&lt;/P&gt;&lt;P&gt;Sumanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 May 2008 19:05:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-17T19:05:36Z</dc:date>
    <item>
      <title>function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831396#M921290</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am useing function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a meaning on F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;function module &amp;amp; how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 10:48:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831396#M921290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T10:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831397#M921291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this link for usage&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 10:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831397#M921291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T10:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831398#M921292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST:&lt;/P&gt;&lt;P&gt;F4 help that returns the values selected in an internal table. Very handy when programming your very own F4 help for a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;    begin of t_values occurs 2,&lt;/P&gt;&lt;P&gt;      value like kna1-begru,&lt;/P&gt;&lt;P&gt;    end of t_values,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_return like ddshretval occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  t_values = 'PAR*'.&lt;/P&gt;&lt;P&gt;  append t_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  t_values = 'UGG'.&lt;/P&gt;&lt;P&gt;  append t_values.&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        = 'BEGRU'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            value_tab       = t_values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 10:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831398#M921292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T10:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831399#M921293</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;F4 help also returning the value to be displayed in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This module implements the standard help at POV while passing the values to be displayed in a table. The entire dialogue behaves as for a standard F4 help. This module also supports input help control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Before you use this module at POV (Process on Value-Request), reconsider whether a search help could not carry out the same task. You can implement self-defined value selection in a search help exit. This has the advantage that you can attach the search help to a data element or a field of a structure. The F4 help is then automatically available for all users of the data element or structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values to be displayed are passed in table VALUE_TAB. There are different ways to organize the data in VALUE_TAB. These are mainly defined with the parameter VALUE_ORG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. VALUE_ORG = 'S' (Structure)&lt;/P&gt;&lt;P&gt;This option should be used for new developments (despite other default values).&lt;/P&gt;&lt;P&gt;VALUE_TAB is an internal table with a (flat) structure. Every line in VALUE_TAB then corresponds to one line in the list to be displayed.&lt;/P&gt;&lt;P&gt;How the definition of the data struture is passed to the module is described below.&lt;/P&gt;&lt;P&gt;The data in VALUE_TAB is available in internal representation.&lt;/P&gt;&lt;P&gt;2. VALUE_ORG = 'C' (Column)&lt;/P&gt;&lt;P&gt;Each line of VALUE_TAB contains the contents of a single field. The contents of VALUE_TAB are copied to the hit list line by line. The description of the columns is passed in FIELD_TAB. When all fields of FIELD_TAB have been edited, the next line is processed.&lt;/P&gt;&lt;P&gt;In this case the values in VALUE_TAB must be passed in external representation. This means that for types whose external and internal representation differ, the values should be passed to VALUE_TAB with the ABAP command WRITE and not with MOVE (These are for example all the numeric types, date, fields with conversion exit, etc.). Use the extension LEFT-JUSTIFIED for numbers.&lt;/P&gt;&lt;P&gt;Caution: Do not copy any constants directly to VALUE_TAB. For example, if a date is defined as constant "01.01.1998", it can no loner be interpreted for other user-specific settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Narasimha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 10:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831399#M921293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T10:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831400#M921294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-z-table.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-z-table.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-field-with-ztable.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-field-with-ztable.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-month.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-month.html&lt;/A&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;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 10:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831400#M921294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T10:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831401#M921295</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;DATA: BEGIN OF it_bukrs OCCURS 0,&lt;/P&gt;&lt;P&gt;        bukrs LIKE t001k-bukrs,&lt;/P&gt;&lt;P&gt;      END OF it_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK main WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:    p_bukrs(4) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation Section&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT DISTINCT bukrs FROM t001k INTO TABLE it_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.&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;      dynpprog        = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr          = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield     = 'P_BUKRS'&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_bukrs&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 &amp;lt;&amp;gt; 0.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831401#M921295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T11:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831402#M921296</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;data: gt_t179      TYPE TABLE OF gty_t179,&lt;/P&gt;&lt;P&gt;      gk_t179      TYPE gty_t179,&lt;/P&gt;&lt;P&gt;	gt_retval    TYPE TABLE OF ddshretval,&lt;/P&gt;&lt;P&gt;      gk_retval    TYPE ddshretval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT prodh&lt;/P&gt;&lt;P&gt;     INTO TABLE gt_t179&lt;/P&gt;&lt;P&gt;       FROM t179&lt;/P&gt;&lt;P&gt;         WHERE stufe EQ gc_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;     MESSAGE e000(zotc) WITH text-e08.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Function Module to populate the internal table Values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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        = 'prod1'&lt;/P&gt;&lt;P&gt;       value           = space&lt;/P&gt;&lt;P&gt;       value_org       = gc_s&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       value_tab       = gt_t179&lt;/P&gt;&lt;P&gt;       return_tab      = gt_retval&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 EQ 0.&lt;/P&gt;&lt;P&gt;       CLEAR gk_retval.&lt;/P&gt;&lt;P&gt;       READ TABLE gt_retval INTO gk_retval INDEX 1.&lt;/P&gt;&lt;P&gt;       s_prod1-low = gk_retval-fieldval.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; Thanks&lt;/P&gt;&lt;P&gt;Sumanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2008 19:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/3831402#M921296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-17T19:05:36Z</dc:date>
    </item>
  </channel>
</rss>

