<?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: Error while closing F4 help window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559799#M1076326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Das,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your  function &lt;STRONG&gt;dynpprog = sy-repid&lt;/STRONG&gt; replace with &lt;STRONG&gt;dynpprog = sy-cprog.&lt;/STRONG&gt; And check whether all declarations is been done or not for the definations in the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the time been try to declare a variable for dynprofield and test that may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Oct 2008 07:07:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-04T07:07:31Z</dc:date>
    <item>
      <title>Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559798#M1076325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used FM F4IF_INT_TABLE_VALUE_REQUEST, to add F4 help to input element of my screen, but when I try to select a value from the list or close the input help window, the control goes to dump with following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program attempted to issue a " " message during "F4" processing.&lt;/P&gt;&lt;P&gt;This is an illegal operation.&lt;/P&gt;&lt;P&gt;The program was terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&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               = 'LIFNR'&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            = 'WA_YCT3-LIFNR'&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_lfa1&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 = 1.&lt;/P&gt;&lt;P&gt;    RAISE parameter_error.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc = 2.&lt;/P&gt;&lt;P&gt;    RAISE no_values_found.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Unknown error occured while processing request' TYPE 'E'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 06:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559798#M1076325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559799#M1076326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Das,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your  function &lt;STRONG&gt;dynpprog = sy-repid&lt;/STRONG&gt; replace with &lt;STRONG&gt;dynpprog = sy-cprog.&lt;/STRONG&gt; And check whether all declarations is been done or not for the definations in the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the time been try to declare a variable for dynprofield and test that may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 07:07:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559799#M1076326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T07:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559800#M1076327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggestion, but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 07:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559800#M1076327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559801#M1076328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Das,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This time i have tried one code and i am able to get the F4 help for LIFNR field correctly. Copy paste the code and execute it will work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : return like ddshretval occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of dynpfields occurs 0.&lt;/P&gt;&lt;P&gt;include structure dynpread.&lt;/P&gt;&lt;P&gt;data: end of dynpfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_lifnr like LFA1-LIFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LIFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH ITAB.&lt;/P&gt;&lt;P&gt;SELECT lifnr FROM lfa1 INTO TABLE 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 = 'lifnr'&lt;/P&gt;&lt;P&gt;dynprofield = 'P_lifnr'&lt;/P&gt;&lt;P&gt;dynpprog = sy-REPID&lt;/P&gt;&lt;P&gt;dynpnr = sy-dynnr&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;return_tab = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_lifnr = return-fieldval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh return.&lt;/P&gt;&lt;P&gt;clear return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my answer helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 08:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559801#M1076328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T08:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559802#M1076329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Das,&lt;/P&gt;&lt;P&gt;Let me own is it working fine or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 09:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559802#M1076329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T09:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559803#M1076330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the same but no luck, I still have the same problem, my program is of type module pool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 09:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559803#M1076330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T09:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559804#M1076331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sai,&lt;/P&gt;&lt;P&gt;You are raising error message on sy-subrc = 0 ( Succcessful case ) also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy.subrc 1..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;if sy-subrc 2..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else..&lt;/P&gt;&lt;P&gt;(( At this place your control goes even in case of success )) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 09:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559804#M1076331</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-10-04T09:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559805#M1076332</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;Can you pass your TOP and PBO declarations completely so that i will try to debug and find the error. No need to send F4_int_table...function code i will view from first post. There is no luck in this world it all depends on our concentration and focus thats it. I will solve your issue post the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 09:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559805#M1076332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while closing F4 help window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559806#M1076333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Abhishek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2008 10:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-closing-f4-help-window/m-p/4559806#M1076333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-04T10:33:45Z</dc:date>
    </item>
  </channel>
</rss>

