<?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 Problem with in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695064#M623698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the below function to attach the search help to 1 of my field.&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               = ZDISPOSITION&lt;/P&gt;&lt;P&gt;      DYNPPROG            = 'SAPLZ10_TEST'&lt;/P&gt;&lt;P&gt;      DYNPNR                 = '0200'&lt;/P&gt;&lt;P&gt;      DYNPROFIELD       = P_DISP_FIELD&lt;/P&gt;&lt;P&gt;      VALUE_ORG          = 'S'&lt;/P&gt;&lt;P&gt;      DISPLAY                = 'F'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB              = I_DISP&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;I my internal table I_DISP, I have only 2 fields, DISPOSITION_IND (type ZDISPOSITION) &amp;amp; DISP_DESC (type ZDESC). When I run my program, and click on f4, the search help display without any problem. However, when I select an entry, the DISP_DESC is displayed in my screen field instead of DISPOSITION_IND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this happen since I have defined in the function parameter that the DISPOSITION_IND need to be returned to the screen field? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2007 09:01:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-18T09:01:52Z</dc:date>
    <item>
      <title>Problem with</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695064#M623698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the below function to attach the search help to 1 of my field.&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               = ZDISPOSITION&lt;/P&gt;&lt;P&gt;      DYNPPROG            = 'SAPLZ10_TEST'&lt;/P&gt;&lt;P&gt;      DYNPNR                 = '0200'&lt;/P&gt;&lt;P&gt;      DYNPROFIELD       = P_DISP_FIELD&lt;/P&gt;&lt;P&gt;      VALUE_ORG          = 'S'&lt;/P&gt;&lt;P&gt;      DISPLAY                = 'F'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB              = I_DISP&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;I my internal table I_DISP, I have only 2 fields, DISPOSITION_IND (type ZDISPOSITION) &amp;amp; DISP_DESC (type ZDESC). When I run my program, and click on f4, the search help display without any problem. However, when I select an entry, the DISP_DESC is displayed in my screen field instead of DISPOSITION_IND. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this happen since I have defined in the function parameter that the DISPOSITION_IND need to be returned to the screen field? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 09:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695064#M623698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T09:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695065#M623699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;generally we pass a single field internal table for the fun module&lt;/P&gt;&lt;P&gt;see the sample code below and do accordingly&lt;/P&gt;&lt;P&gt;See the following ex:&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_MBLNR,&lt;/P&gt;&lt;P&gt;MBLNR LIKE MKPF-MBLNR,&lt;/P&gt;&lt;P&gt;END OF TY_MBLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;data: it_ret like ddshretval occurs 0 with header line.&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_mat-low.&lt;/P&gt;&lt;P&gt;Select MBLNR from mkpf into table it_mblnr.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RETFIELD = 'MBLNR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PVALKEY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPPROG = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPNR = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPROFIELD = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STEPL = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WINDOW_TITLE =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALUE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DISPLAY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_PROGRAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MARK_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_RESET =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = IT_MBLNR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FIELD_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RETURN_TAB = IT_RET&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPFLD_MAPPING =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;read table it_ret index 1.&lt;/P&gt;&lt;P&gt;move it_ret-fieldval to S_mat-low.&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;Go through the test program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Ztest_HELP .&lt;/P&gt;&lt;P&gt;TABLES : MARA.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_MATNR(10) TYPE C.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;SELECT MATNR&lt;/P&gt;&lt;P&gt;FROM MARA&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;UP TO 10 ROWS.&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 = 'MATERIAL NUMBER'&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 = 'P_MATNR'&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 you wants to have both fields help create a search help in se11 and use with multiple fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 09:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695065#M623699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695066#M623700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for your reply, but previously, I was able to pass multiple fields internal table to this FM and it works well. Just that this time it's not working well and I can't seems to find any variants between my old program and this one, which I think is weird.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 09:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695066#M623700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T09:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695067#M623701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to create search help instead of using Function module,i always prefer Search help instead of F4 Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have multiple option and use search help name in screen layout directlly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there might be some change since it is working earlier and it is not working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the Version management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 09:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695067#M623701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T09:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695068#M623702</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;It seems that you have stored the return field and dynpro field names in variables and passing to function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode check the values stored in the variables ZDISPOSITION and P_DISP_FIELD.  May be mistake lies in the values stored in these variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as multiple column F4 help is concerned, it very well works.  It is not compulsory that F4 help should display only one field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2007 14:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with/m-p/2695068#M623702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-19T14:32:09Z</dc:date>
    </item>
  </channel>
</rss>

