<?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: F4 HELP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975629#M1159459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi U ill be using at selection-screen event and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code for a POP up to ask the user to enter the table name.. use that table and write a select and fetch data.. and append to the table before passing to F4IF_INT_TABLE_VALUE_REQUEST..FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in the pop up user hits X or close .. you need to go with ur usual process.. plan some thing like this... its possible.... sample code is not available you got to figure out with this inputs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jan 2009 16:54:58 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2009-01-01T16:54:58Z</dc:date>
    <item>
      <title>F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975622#M1159452</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;I have created a F$ serach help for a filed of a tbale on a selection screen using the FM F4IF_INT_TABLE_VALUE_REQUEST ,everything is working fine but now my doubt is,&lt;/P&gt;&lt;P&gt;If I want to add more values to this filed thorugh the search help, means when I press F4 on the textbox presetn on the screen it should ask me the name of the table or value to enetr and when I enter the value it automaticcaly append the data in the table from where search help redaing the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do it this way or I have to add the values in the table through SM30 or SE16 only to finally reflect back the values at time of PROCESS_ON_VALUE REQUEST EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to get an answer quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;search before posting and use meaningful subject&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Jan 2, 2009 4:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 07:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975622#M1159452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975623#M1159453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Pooja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think its not possible, &lt;/P&gt;&lt;P&gt;if you want to add data to the your search help table you have to make another separate program part for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 07:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975623#M1159453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T07:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975624#M1159454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to add the values in the table through SM30 or SE16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or design a screen where you can add new entries and save to table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 07:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975624#M1159454</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2009-01-01T07:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975625#M1159455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nelson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you elaborate your answer with the help of sample code or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pooja Gupta on Jan 1, 2009 8:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 07:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975625#M1159455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T07:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975626#M1159456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try this code. u can always append new values to internal table to get f4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        ekgrp like t024-ekgrp,&lt;/P&gt;&lt;P&gt;        eknam like t024-eknam,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v1 like DFIES-FIELDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_s_parnr      LIKE help_info-dynprofld VALUE 'S_EKGRP-LOW',&lt;/P&gt;&lt;P&gt;           c_s_parnr_high LIKE help_info-dynprofld VALUE 'S_EKGRP-HIGH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_EKGRP FOR EKKO-EKGRP OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS: V_EKGRP LIKE T024-EKGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V1 = 'EKGRP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_EKGRP-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Values to be appended into the Internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;itab-ekgrp = 'P01'.&lt;/P&gt;&lt;P&gt;itab-eknam = 'CORP'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-ekgrp = 'P02'.&lt;/P&gt;&lt;P&gt;itab-eknam = 'MFG'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY ekgrp ASCENDING.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM itab.&lt;/P&gt;&lt;P&gt;&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        = v1&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     = c_s_parnr&lt;/P&gt;&lt;P&gt;      window_title    = 'Search help'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = itab&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_EKGRP-HIGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Values to be appended into the Internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;itab-ekgrp = 'p01'.&lt;/P&gt;&lt;P&gt;itab-eknam = 'corp'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-ekgrp = 'p02'.&lt;/P&gt;&lt;P&gt;itab-eknam = 'mfg'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY ekgrp ASCENDING.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM itab.&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        = v1&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     = c_s_parnr_high&lt;/P&gt;&lt;P&gt;      window_title    = 'Search help'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = itab&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>Thu, 01 Jan 2009 08:02:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975626#M1159456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T08:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975627#M1159457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Pooja Gupta &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think that following code will help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen on value-request for sorsmid-low.

  types: begin of t_sh_rsmid,
    rsmid like zsdo-rsmid,
    ename like pa0001-ename,
  end of t_sh_rsmid.

  data: it_sh_rsmid type standard table of t_sh_rsmid with header line.

  select distinct zsdo~rsmid pa0001~ename
    into corresponding fields of table it_sh_rsmid
    from zsdo left outer join pa0001 on ( zsdo~rsmid = pa0001~pernr and pa0001~endda = '99991231' )
    where zsdo~kunnr in sokunnr.

  delete it_sh_rsmid where rsmid = '00000000'.
  sort it_sh_rsmid by rsmid.

" here Before calling the FM you can append some more values to your internal table "IT_SH_RSMID".

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
     retfield               = 'RSMID'
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = 'rsmid'
     value_org              = c
    tables
     value_tab              = it_sh_rsmid
     return_tab             = i_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replay if any problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 09:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975627#M1159457</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-01T09:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975628#M1159458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Krishna and Faisal but still my question is unanswered, I want to append the itab at run time as user might not know latter how to write an ABAP program to append the value in the itab,and in both of the code provided we are appending the itab before calling the f4 help. Is there any way we can do it or this is the only way to append into itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 09:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975628#M1159458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T09:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975629#M1159459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi U ill be using at selection-screen event and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code for a POP up to ask the user to enter the table name.. use that table and write a select and fetch data.. and append to the table before passing to F4IF_INT_TABLE_VALUE_REQUEST..FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in the pop up user hits X or close .. you need to go with ur usual process.. plan some thing like this... its possible.... sample code is not available you got to figure out with this inputs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 16:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975629#M1159459</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-01-01T16:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975630#M1159460</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;Please check the following Import parameters of the FM&lt;/P&gt;&lt;P&gt;CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;CALLBACK_FORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the Corresponding documentation about how to use it and check if suits your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2009 09:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975630#M1159460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-02T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975631#M1159461</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; Below code will may help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SETNAME DESCRIPT INTO CORRESPONDING FIELDS OF TABLE IT_GRUOP FROM &lt;/P&gt;&lt;P&gt;SCTHEADERT WHERE SET CLASS = 'Q106' SUBCLASS = 'SETS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_GOPUP.&lt;/P&gt;&lt;P&gt;VALUETAB = IT_GROPU-SETNAME.&lt;/P&gt;&lt;P&gt;APPEND VALUETAB.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;        RETFIELD = 'SETNAME'&lt;/P&gt;&lt;P&gt;        DYNPROG = 'ZF1R0052'  (PROGAME NAME)&lt;/P&gt;&lt;P&gt;        DYNPNR = 1000&lt;/P&gt;&lt;P&gt;        DYNPROFIELD = 'P_GROUP'  (FIELD NAME)&lt;/P&gt;&lt;P&gt;        WINDOW-TITLE = 'ALLOED VALUES'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;        VALUE_TAB  = VALUETAB.&lt;/P&gt;&lt;P&gt;         FIELD_TAB   = LV_FIELDTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS.&lt;/P&gt;&lt;P&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;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2009 09:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4975631#M1159461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-02T09:52:13Z</dc:date>
    </item>
  </channel>
</rss>

