<?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: Code for F4 in Dialog Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583552#M862734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION &lt;STRONG&gt;'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Mar 2008 09:59:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-30T09:59:30Z</dc:date>
    <item>
      <title>Code for F4 in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583547#M862729</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;How to get f4 in dialog programs?&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, 29 Mar 2008 06:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583547#M862729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T06:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Code for F4 in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583548#M862730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a search help in se11, and then attach it to the particular field in the screen editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 06:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583548#M862730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T06:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Code for F4 in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583549#M862731</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data : begin of irejcode occurs 0,
        descr like yyw013-descr,
        code like yyw013-code,
       end of irejcode.
select * from yyw013 into corresponding fields of table irejcode
                             where codetype = '0008'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
  EXPORTING
*   DDIC_STRUCTURE         = ' '
    RETFIELD               = 'ITAB-REJCODE'
*   PVALKEY                = ' '
   DYNPPROG               =  SY-REPID
   DYNPNR                 =  SY-DYNNR
   DYNPROFIELD            = 'ITAB-REJCODE'
*   STEPL                  = 0
   WINDOW_TITLE           =  'List of Rejection Codes'
*   VALUE                  = ' '
   VALUE_ORG              = 'S'
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
* IMPORTING
*   USER_RESET             =
  TABLES
    VALUE_TAB              = irejcode
*   FIELD_TAB              =
*   RETURN_TAB             =
*   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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V.Balaji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Usefull...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 06:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583549#M862731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T06:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Code for F4 in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583550#M862732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one of the examples of F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters file LIKE rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      program_name = repid&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name    = file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;siddu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2008 06:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583550#M862732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-29T06:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Code for F4 in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583551#M862733</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;1) First write process on value-request in flow logic after process after input.&lt;/P&gt;&lt;P&gt;process on value-request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field ztable-fieldname module rec_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Now double click on module rec_help for code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;module rec_help input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of it_tmp occurs 2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldname  like ztable-fieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldname2  like ztable-fieldname2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data : end of it_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: progname like sy-repid,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynnum like sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_return like ddshretval occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh it_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ztable client specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where mandt = sy-mandt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and fieldname2= ztable1-fieldname2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-corresponding ztable to it_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append it_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&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;&lt;/P&gt;&lt;P&gt;retfield = 'fieldname1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpprog = progname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpnr = dynnum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynprofield = 'fieldname1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value_tab = it_tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return_tab = t_return&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;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table t_return index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ztable-fieldname1 = t_return-fieldval.&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;&lt;/P&gt;&lt;P&gt;Reward if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 09:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583551#M862733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Code for F4 in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583552#M862734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION &lt;STRONG&gt;'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 09:59:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-f4-in-dialog-program/m-p/3583552#M862734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T09:59:30Z</dc:date>
    </item>
  </channel>
</rss>

