<?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: Restrict   F4 values for users in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656882#M1445706</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;Thanks for your reply &lt;/P&gt;&lt;P&gt;           but how this can be aceived in SAP standard Transactions like  FB02, ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Mar 2010 09:28:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-17T09:28:54Z</dc:date>
    <item>
      <title>Restrict   F4 values for users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656880#M1445704</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;I want restrict the F4 values for different user in SAP &lt;/P&gt;&lt;P&gt;     For example GL Account  f4 if one user is valid to post or select only 2 GL  accounts then only those 2 GL accounts must be viewed by the user when he press F4 key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 09:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656880#M1445704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T09:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict   F4 values for users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656881#M1445705</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;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fee-low.
  PERFORM show_fee.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  SHOW_FEE
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  --&amp;gt;  p1        text
*  &amp;lt;--  p2        text
*----------------------------------------------------------------------*
form SHOW_FEE .

  DATA: ltab_fields LIKE dynpread OCCURS 0 WITH HEADER LINE.

  DATA : BEGIN OF it_fee OCCURS 0,
          GROUPFEE     TYPE ZGROUP_DE,
          FEE_NUMBER TYPE ZFEE_NUMBER,
          FEE  TYPE ZFEE_NAME,
        END OF it_fee.

    SELECT GROUPFEE FEE_NUMBER FEE
    FROM ZFICA_CATALOG
    INTO TABLE it_fee
    WHERE CITY_NAME = ltab_fields-fieldvalue.  
    SORT it_fee ASCENDING.
    DELETE ADJACENT DUPLICATES FROM it_fee.
* Pass which field in the internal table should be passed in retfield
* Pass which screen field should have selected internal table field
* value in dynprofield
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield        = 'FEE_NUMBER'
        dynpprog        = sy-cprog
        dynpnr          = sy-dynnr
        dynprofield     = 'FEE'
        value_org       = 'S'
      TABLES
        value_tab       = it_fee
      EXCEPTIONS
        parameter_error = 1
        no_values_found = 2
        OTHERS          = 3.

endform.                    " SHOW_FEE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Just make your select based on your condition (user or something) and your population which you want to display.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Yossi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 09:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656881#M1445705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict   F4 values for users</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656882#M1445706</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;Thanks for your reply &lt;/P&gt;&lt;P&gt;           but how this can be aceived in SAP standard Transactions like  FB02, ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 09:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-f4-values-for-users/m-p/6656882#M1445706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-17T09:28:54Z</dc:date>
    </item>
  </channel>
</rss>

