<?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: Problem with search help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480809#M1418892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Type p_FTYPE as P_FTYPE &amp;amp; FTYPE as GT_FORMAT-FTYPE. The screen field name should be in CAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. After SY-SUBRC = 0, add this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF sy-subrc EQ 0.
    IF gt_return[] is not Initial.
      Read table gt_return index 1.
      P_FTYPE = li_return-fieldval.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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 18, 2010 6:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 12:39:15 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2010-01-18T12:39:15Z</dc:date>
    <item>
      <title>Problem with search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480807#M1418890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guyz,&lt;/P&gt;&lt;P&gt;this is my code..when i click on f4 its not populating no values eventhough my internal table got values in it.please help.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  gs_format-ftype = '.TXT'.
  APPEND gs_format TO gt_format.
  gs_format-ftype = '.CSV'.
  APPEND gs_format TO gt_format.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
*   DDIC_STRUCTURE         = ' '
      retfield               = 'FTYPE'
*   PVALKEY                = ' '
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = 'p_FTYPE'
*   STEPL                  = 0
*   WINDOW_TITLE           =
*   VALUE                  = ' '
     value_org              = 'S'
*   MULTIPLE_CHOICE        = ' '
*     display                = 'F'
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
* IMPORTING
*   USER_RESET             =
    TABLES
      value_tab              = gt_format
*   FIELD_TAB              =
     return_tab             =  gt_return
*   DYNPFLD_MAPPING        =
   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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BrightSide on Jan 18, 2010 12:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 12:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480807#M1418890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T12:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480808#M1418891</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;Some minor changes required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


 CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
*   DDIC_STRUCTURE         = ' '
      retfield               = 'GS_FORMAT-FTYPE' "&amp;lt;---- fullname ITAB-FIELDNAME
*   PVALKEY                = ' '
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = 'P_FTYPE' "&amp;lt;----------- Capitals required
*   STEPL                  = 0


&lt;/CODE&gt;&lt;/PRE&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, 18 Jan 2010 12:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480808#M1418891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T12:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480809#M1418892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Type p_FTYPE as P_FTYPE &amp;amp; FTYPE as GT_FORMAT-FTYPE. The screen field name should be in CAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. After SY-SUBRC = 0, add this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF sy-subrc EQ 0.
    IF gt_return[] is not Initial.
      Read table gt_return index 1.
      P_FTYPE = li_return-fieldval.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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 18, 2010 6:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 12:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480809#M1418892</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-01-18T12:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480810#M1418893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ensure that internal table's fields are typed via component name or as data element, not as direct type&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:begin of gt_format occurs 0,
        field1 type table-fieldname,             "field typed via table compent name
        field2 type data_element_name,      "field typed via data element
       field3(4) type c,                                "you cannot use direct typing!
      end of gt_format.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 12:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-search-help/m-p/6480810#M1418893</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-01-18T12:45:46Z</dc:date>
    </item>
  </channel>
</rss>

