<?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 + ALV Grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604527#M1085186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;show the F4 event code..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2008 10:35:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-15T10:35:01Z</dc:date>
    <item>
      <title>F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604523#M1085182</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;I have a ALV grid with 2 fields.&lt;/P&gt;&lt;P&gt;I implemented F4 for field1 using the FM below.&lt;/P&gt;&lt;P&gt;I get a list of values as expected when i use 'F4', however the selected value is not written back to the ALV grid field!&lt;/P&gt;&lt;P&gt;What am i missing here?&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;P&gt;        retfield        = lv_retfield_name&lt;/P&gt;&lt;P&gt;        value_org       = 'S'&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        value_tab       = lt_f4tabletmodel&lt;/P&gt;&lt;P&gt;        field_tab       = lt_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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Note: the internal table lt_return_tab[], contains the value i selected, but i expect this to be written to the ALV grid field for which F4 was performed.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance and Regards&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 08:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604523#M1085182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T08:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604524#M1085183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using Object Oriented ALV. if so check the example BCALV_EDIT_08 . after you select the value you have to update the value and use refresh_table_display method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:28:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604524#M1085183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T09:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604525#M1085184</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 function module u have to pass the parameter dynpro field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:   dynprofield     = 'P_ID_LOW' // that is ur parameter or select option low or high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 09:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604525#M1085184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T09:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604526#M1085185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'll try to be more precise.&lt;/P&gt;&lt;P&gt;I have a ALV grid with 2 columns.&lt;/P&gt;&lt;P&gt;I add a row to a grid.&lt;/P&gt;&lt;P&gt;For the first field in the newly added row, i perform a F4 using the FM mentioned.&lt;/P&gt;&lt;P&gt;I get the values also.So far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However on selecting a value from the popup, the value doesnt' get transferred to the grid&lt;/P&gt;&lt;P&gt;The refresh_table_display method instead also removes the new line i added to the grid!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 10:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604526#M1085185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T10:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604527#M1085186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;show the F4 event code..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 10:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604527#M1085186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604528#M1085187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*Method definition&lt;/P&gt;&lt;P&gt;***********&lt;/P&gt;&lt;P&gt;      handle_on_f4&lt;/P&gt;&lt;P&gt;         for event onf4 of cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;             importing e_fieldname&lt;/P&gt;&lt;P&gt;                       E_FIELDVALUE "Importing  Type  LVC_VALUE&lt;/P&gt;&lt;P&gt;                       es_row_no&lt;/P&gt;&lt;P&gt;                       er_event_data&lt;/P&gt;&lt;P&gt;                       et_bad_cells&lt;/P&gt;&lt;P&gt;                       e_display.&lt;/P&gt;&lt;P&gt;***********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Method implementation&lt;/P&gt;&lt;P&gt;**********************&lt;/P&gt;&lt;P&gt;  method handle_on_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    type-pools sesi .&lt;/P&gt;&lt;P&gt;    data:   lt_f4tabletmodel  type table of str_classification_values,&lt;/P&gt;&lt;P&gt;            ls_f4tabletmodel  type str_classification_values,&lt;/P&gt;&lt;P&gt;            lt_return_tab     type table of ddshretval,&lt;/P&gt;&lt;P&gt;            ls_return_tab     type ddshretval,&lt;/P&gt;&lt;P&gt;            lv_retfield_name  type dfies-fieldname,&lt;/P&gt;&lt;P&gt;            lr_class_metadata type ref to cl_er_class_metadata,&lt;/P&gt;&lt;P&gt;            lt_class_systems  type stty_er_classification_system,&lt;/P&gt;&lt;P&gt;            wa_class_systems  type line of stty_er_classification_system,&lt;/P&gt;&lt;P&gt;            lv_class_system   type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call method cl_er_class_metadata=&amp;gt;s_instance&lt;/P&gt;&lt;P&gt;      receiving&lt;/P&gt;&lt;P&gt;        r_instref = lr_class_metadata.&lt;/P&gt;&lt;P&gt;    if registry_name is initial.&lt;/P&gt;&lt;P&gt;      message i100(ws_tool). exit.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;read from cache-DB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    try.&lt;/P&gt;&lt;P&gt;      call method lr_class_metadata-&amp;gt;read_db_data&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          i_registry                   = registry_name&lt;/P&gt;&lt;P&gt;        importing&lt;/P&gt;&lt;P&gt;          e_tab_classification_systems = lt_class_systems.&lt;/P&gt;&lt;P&gt;    endtry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at lt_class_systems into wa_class_systems.&lt;/P&gt;&lt;P&gt;      clear ls_f4tabletmodel.clear lv_class_system.&lt;/P&gt;&lt;P&gt;      lv_class_system = wa_class_systems-tmodel_key.&lt;/P&gt;&lt;P&gt;      ls_f4tabletmodel-class_name = lv_class_system.&lt;/P&gt;&lt;P&gt;      append ls_f4tabletmodel to lt_f4tabletmodel.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;    lv_retfield_name = 'CLASS_NAME'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;f4-Popup&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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        = lv_retfield_name&lt;/P&gt;&lt;P&gt;        value_org       = 'S'&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        value_tab       = lt_f4tabletmodel&lt;/P&gt;&lt;P&gt;        return_tab      = lt_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;    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;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get Value that has been chosen in F4-Help&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    read table lt_return_tab into ls_return_tab index 1. "Always only one entry...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If empty, nothing has been chosen on the F4-Help, so just return&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    check ls_return_tab is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;change datatable, adding new F4 Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    case e_fieldname.&lt;/P&gt;&lt;P&gt;      when 'CLASS_NAME'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       &amp;lt;lf_f4_data&amp;gt;-class_VALUE = ls_return_tab-fieldval.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      when 'CLASS_VALUE'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       &amp;lt;lf_f4_data&amp;gt;-class_VALUE = ls_return_tab-fieldval.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 10:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604528#M1085187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T10:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: F4IF_INT_TABLE_VALUE_REQUEST + ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604529#M1085188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;lf_f4_data&amp;gt; is your internal table ..? where are you modifying the record of the internal table..? and after modification call the refresh_table_display method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 11:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4if-int-table-value-request-alv-grid/m-p/4604529#M1085188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T11:45:26Z</dc:date>
    </item>
  </channel>
</rss>

