<?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: selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977486#M949997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sriram,&lt;/P&gt;&lt;P&gt;its not a standard program.&lt;/P&gt;&lt;P&gt;its a Z program.&lt;/P&gt;&lt;P&gt;but how can i change the F4 values particular to a company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 06:37:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T06:37:52Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977484#M949995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;Can't we modify standard selection screen.&lt;/P&gt;&lt;P&gt;for a particular company code can we control the F4 of bankid in the standard selection screen.&lt;/P&gt;&lt;P&gt;if so plz help me.&lt;/P&gt;&lt;P&gt;if found satisfactory will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 06:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977484#M949995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T06:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977485#M949996</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;If the program is  SAP standard program, you cannot do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy the standard program to Z and add search help to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try for any OSS notes available for that TCode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 06:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977485#M949996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T06:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977486#M949997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sriram,&lt;/P&gt;&lt;P&gt;its not a standard program.&lt;/P&gt;&lt;P&gt;its a Z program.&lt;/P&gt;&lt;P&gt;but how can i change the F4 values particular to a company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 06:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977486#M949997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T06:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977487#M949998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you want to modify your's program selection screen.&lt;/P&gt;&lt;P&gt;If yes ,then i am giving you a sample code where for F4 help is brought by programming on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------" /&gt;&lt;P&gt;DATA:W_NAME1 TYPE DFIES-FIELDNAME,&lt;/P&gt;&lt;P&gt;      W_NAME2 TYPE HELP_INFO-DYNPROFLD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-023.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:S_PIDNUM FOR ZMST_PERMIT-ZPIDNUM ,&lt;/P&gt;&lt;P&gt;               S_ENGDSC FOR ZMST_PERMIT-ZENGDSC NO INTERVALS LOWER CASE,&lt;/P&gt;&lt;P&gt;               S_ARBDSC FOR ZMST_PERMIT-ZARBDSC NO INTERVALS LOWER CASE,&lt;/P&gt;&lt;P&gt;               S_TARIFF FOR ZMST_PERMIT-ZTARIFF NO INTERVALS,&lt;/P&gt;&lt;P&gt;               S_PERNUM FOR ZMST_PERMIT-ZPERNUM NO INTERVALS,&lt;/P&gt;&lt;P&gt;               S_ARRPRT FOR ZMST_PERMIT-ZARRPRT NO INTERVALS MATCHCODE OBJECT ZMST_PORTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER:P_PERTYP(2) TYPE C AS LISTBOX VISIBLE LENGTH 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-LOW.&lt;/P&gt;&lt;P&gt;  W_NAME2 = 'S_PIDNUM-LOW'.&lt;/P&gt;&lt;P&gt;  W_NAME1 = 'ZPIDNUM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-HIGH.&lt;/P&gt;&lt;P&gt;  W_NAME2 = 'S_PIDNUM-HIGH'.&lt;/P&gt;&lt;P&gt;  W_NAME1 = 'ZPIDNUM'.&lt;/P&gt;&lt;P&gt;  PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ENGDSC-LOW.&lt;/P&gt;&lt;P&gt;  W_NAME2 = 'S_ENGDSC'.&lt;/P&gt;&lt;P&gt;  W_NAME1 = 'ZENGDSC'.&lt;/P&gt;&lt;P&gt;  PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ARBDSC-LOW.&lt;/P&gt;&lt;P&gt;  W_NAME2 = 'S_ARBDSC'.&lt;/P&gt;&lt;P&gt;  W_NAME1 = 'ZARBDSC'.&lt;/P&gt;&lt;P&gt;  PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TARIFF-LOW.&lt;/P&gt;&lt;P&gt;  W_NAME2 = 'S_TARIFF'.&lt;/P&gt;&lt;P&gt;  W_NAME1 = 'ZTARIFF'.&lt;/P&gt;&lt;P&gt;  PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PERNUM-LOW.&lt;/P&gt;&lt;P&gt;  W_NAME2 = 'S_PERNUM'.&lt;/P&gt;&lt;P&gt;  W_NAME1 = 'ZPERNUM'.&lt;/P&gt;&lt;P&gt;  PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  F4_HELP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME&lt;/P&gt;&lt;P&gt;                    W_VAR1 TYPE HELP_INFO-DYNPROFLD .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;DEL&gt;&lt;STRONG&gt;Fetching data from zmst_permit for F4 help on PERMIT ID No.&lt;/STRONG&gt;&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF IT_PERMIT[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT ZPIDNUM&lt;/P&gt;&lt;P&gt;           ZENGDSC&lt;/P&gt;&lt;P&gt;           ZARBDSC&lt;/P&gt;&lt;P&gt;           ZTARIFF&lt;/P&gt;&lt;P&gt;           ZPERNUM&lt;/P&gt;&lt;P&gt;           ZARRPRT&lt;/P&gt;&lt;P&gt;           ZEFFDT&lt;/P&gt;&lt;P&gt;           ZEXPDT&lt;/P&gt;&lt;P&gt;           FROM ZMST_PERMIT INTO CORRESPONDING FIELDS OF TABLE IT_PERMIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&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        = W_NAME1 " 'ZPIDNUM'&lt;/P&gt;&lt;P&gt;      DYNPPROG        = 'ZMSTR0022'&lt;/P&gt;&lt;P&gt;      DYNPNR          = SY-DYNNR&lt;/P&gt;&lt;P&gt;      DYNPROFIELD     = W_NAME2 "'S_PIDNUM'&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_PERMIT&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;  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;ENDFORM.                                                    " F4_HELP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 06:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977487#M949998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T06:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977488#M949999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sandip,&lt;/P&gt;&lt;P&gt;i have tried the logicwhich has been provided by you but it did not work.&lt;/P&gt;&lt;P&gt;it is not taking the values of s_bukrs after input and accordingly it is not fetching the values of the bankid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block b1 with frame title text-001.

parameters: s_bukrs like bseg-bukrs obligatory.
select-options: s_belnr for bseg-belnr obligatory.
parameters: BANKID(4) obligatory." like BSEG-HBKID obligatory.   "Bank ID
parameters: p_gjahr like bseg-gjahr obligatory.
selection-screen end of block b1.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR bankid.
W_NAME2 = 'BANKID'.
W_NAME1 = 'BANKID'.
v_bukrs = s_bukrs.
PERFORM F4_HELP USING W_NAME1 W_NAME2 .

FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME
W_VAR1 TYPE HELP_INFO-DYNPROFLD .
*--Fetching data from zmst_permit for F4 help on PERMIT ID No.--------
select * from t012 into table it_bankid where bukrs = v_bukrs.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = W_var " 'ZPIDNUM'
DYNPPROG = sy-repid
DYNPNR = SY-DYNNR
DYNPROFIELD = W_var1 "'S_PIDNUM'
VALUE_ORG = 'C'
TABLES
VALUE_TAB = IT_bankid
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

ENDFORM. " F4_HELP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 08:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977488#M949999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T08:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977489#M950000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-month.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-month.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-date.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-date.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-field-with-ztable.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-field-with-ztable.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/f4-help-for-z-table.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/f4-help-for-z-table.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 08:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977489#M950000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T08:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977490#M950001</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 could get the values of bankid when i hardcode the bukrs as 5000 in the earlier code.&lt;/P&gt;&lt;P&gt;but if i give s_bukrs it could not take the value of the company code.&lt;/P&gt;&lt;P&gt;how to get the value of the company code into s_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: samarendra penugonda on Jun 16, 2008 12:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 10:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977490#M950001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977491#M950002</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;Got it guys.&lt;/P&gt;&lt;P&gt;i have to read the value of the selection screen into an internal table using a FM and then use that value to fetch the records accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thankyou all&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 10:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977491#M950002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T10:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977492#M950003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 10:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3977492#M950003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T10:50:50Z</dc:date>
    </item>
  </channel>
</rss>

