<?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_INT_TABLE_VALUE_REQUEST not returing a value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825905#M1315826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gouri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are still no returned values after changing the VALUE_ORG to 'C'. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 09:59:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-30T09:59:23Z</dc:date>
    <item>
      <title>F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825901#M1315822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a specific code below which gives me a return value for the screen field. However, if I include the table wich contains the LABEL name of the hitlist in F4, there is no return value. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM 'F4IF_INT_TABLE_VALUE_REQUEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 TYPES:  BEGIN OF final2,
         field  TYPE char10,
         field2 TYPE char40,
         END OF final2.
DATA:    final_tab1 TYPE TABLE OF final2,
         ret_tab LIKE TABLE OF ddshretval.
DATA: it_field_tab LIKE dfies OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'DDIF_NAMETAB_GET'
    EXPORTING
      tabname   = 'ZBPORG'
    TABLES
      dfies_tab = it_field_tab.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'FIELD'
      dynpprog    = progname
      dynpnr      = dynnum
      dynprofield = 'ZSDYN_LIADEF-BP_NUMBER'
      window_title = 'BP/Org Number'
      value_org   = 'S'
    TABLES
      value_tab   = final_tab1
*      field_tab   = it_field_tab.
      RETURN_TAB  = ret_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that if I remove it_field_tab, a return value is displayed in the field. But the problem is that the column label in the hitlist contains F001 and Char instead of the desired labels (Org_Unit and Description). Thus, I need to include it_field_tab for the label. Unfortunately, no value is being returned/displayed in the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you know the possible problem in this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask your help on this guys. Message replies are well appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;RE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 07:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825901#M1315822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T07:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825902#M1315823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reymar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After calling FM with it_field_tab, you can try calling 'DYNP_VALUES_UPDATE' for updating specific fields with values from value table. This FM is used when we need to update more than one field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gouri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825902#M1315823</guid>
      <dc:creator>former_member215917</dc:creator>
      <dc:date>2009-06-30T08:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825903#M1315824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gouri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion but unfortunately, there is still no value returned. Even before updating the screen, the ret_tab table doesn't contain a value. Thus, there will be no field value to be updated in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 09:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825903#M1315824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T09:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825904#M1315825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try passing VALUE_ORG = 'C' instead of 'S'? Then may be you will be able to return values and you can try callling FM 'DYNP_VALUES_UPDATE' to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gouri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 09:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825904#M1315825</guid>
      <dc:creator>former_member215917</dc:creator>
      <dc:date>2009-06-30T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825905#M1315826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gouri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are still no returned values after changing the VALUE_ORG to 'C'. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 09:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825905#M1315826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T09:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825906#M1315827</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 Reymar,
Have a look at the sample program. It works . change accordingly.
&lt;PRE&gt;&lt;CODE&gt;REPORT zvenkat_f4_for_parameters MESSAGE-ID zmsg .
*&amp;amp;---------------------------------------------------------------------*
" Declaration part
*&amp;amp;---------------------------------------------------------------------*
TYPES:
   BEGIN OF t_t001w,
     werks       TYPE t001w-werks,
     name1       TYPE t001w-name1,
   END OF t_t001w,
   t_return_tab  TYPE ddshretval.
DATA:
    w_t001w      TYPE t_t001w,
    w_return_tab TYPE t_return_tab.
DATA:
    i_t001w      TYPE STANDARD TABLE OF t_t001w,
    i_return_tab TYPE STANDARD TABLE OF t_return_tab.
*&amp;amp;---------------------------------------------------------------------*
"SELECTION-SCREEN
*&amp;amp;---------------------------------------------------------------------*

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS :p_werks TYPE t001w-werks,
            p_name1 TYPE t001w-name1.
SELECTION-SCREEN END OF BLOCK b1.

*&amp;amp;---------------------------------------------------------------------*
" AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks
*&amp;amp;---------------------------------------------------------------------*
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
  PERFORM f4_help_for_palant.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  f4_help_for_palant
*&amp;amp;---------------------------------------------------------------------*
FORM f4_help_for_palant.

  DATA:
      w_dynpfields TYPE dynpread,
      i_dynpfields LIKE STANDARD TABLE OF dynpread.

  IF i_t001w[] IS INITIAL.
    SELECT werks name1
    FROM t001w
    INTO TABLE i_t001w.
  ENDIF.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'WERKS'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'P_WERKS'
      value_org   = 'S'
    TABLES
      value_tab   = i_t001w
      return_tab  = i_return_tab.

  READ TABLE i_return_tab INTO w_return_tab INDEX 1.
  p_werks = w_return_tab-fieldval.

ENDFORM.                    " f4_help_for_palant&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825906#M1315827</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-06-30T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825907#M1315828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:  BEGIN OF final2,
         field  TYPE char10,
         field2 TYPE char40,
         END OF final2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change your Definition of the internal table , try to refer the field Orgunit data element , instead of Char10.  and remove it_Field_Tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't use generic types, use relevant data element for defining the fields of internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825907#M1315828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825908#M1315829</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;What does &lt;STRONG&gt;final_tab1&lt;/STRONG&gt; hold? It seems that you are trying to show empty table. Populate this table with entries from &lt;STRONG&gt;it_field_tab&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825908#M1315829</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-06-30T10:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825909#M1315830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code above also works just the same with your suggested code. However, I am not sure if your code displays the Column Label of the values when an F4 function is performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm expecting to have F4 hitlist values with this format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BP_ORG_NUMBER       Description&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1010101010                  Org Unit 1&lt;/P&gt;&lt;P&gt;1010101012                  Org Unit 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without using the field_tab, my F4 displays like this and the selected value is displayed in the screen field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;F0001                           Char&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1010101010                  Org Unit 1&lt;/P&gt;&lt;P&gt;1010101012                  Org Unit 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the &lt;STRONG&gt;field_tab&lt;/STRONG&gt;, value_tab and return_tab, the F4 displays the correct column label; however, the selected value is not displayed in the screen field. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;RE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825909#M1315830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T10:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825910#M1315831</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 internal table FINAL2 give reference field (NOT char10 or CHAR40). The description you get in F4 help comes from data element level of the reference field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:  BEGIN OF final2,
         field  TYPE char10,     " Refer the data element for description something like MARA-MATNR or ZBPORG-FIELD
         field2 TYPE char40,    " Refer the data element for description
         END OF final2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825910#M1315831</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2009-06-30T10:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST not returing a value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825911#M1315832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RE&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 EVERYONE!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Reymar Ellazo on Jun 30, 2009 6:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-not-returing-a-value/m-p/5825911#M1315832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T10:37:35Z</dc:date>
    </item>
  </channel>
</rss>

