<?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: Exclude Application Toolbar button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916363#M381098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are calling the VIEW_MAINTENANCE_CALL function module, you can then fill in the tables parameter EXCL_CUA_FUNCT with the function code AEND of that button. That will take care of it. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    it_vimexclfun-function = 'AEND'. &amp;lt;---
    APPEND it_vimexclfun.

  CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
    EXPORTING
      action                               = p_v_action
*   CORR_NUMBER                          = '          '
*   GENERATE_MAINT_TOOL_IF_MISSING       = ' '
*   SHOW_SELECTION_POPUP                 = ' '
      view_name                            = p_table
*   NO_WARNING_FOR_CLIENTINDEP           = ' '
*   RFC_DESTINATION_FOR_UPGRADE          = ' '
*   CLIENT_FOR_UPGRADE                   = ' '
*   VARIANT_FOR_SELECTION                = ' '
*   COMPLEX_SELCONDS_USED                = ' '
*   CHECK_DDIC_MAINFLAG                  = ' '
*   SUPPRESS_WA_POPUP                    = ' '
   TABLES
*   DBA_SELLIST                          =
     excl_cua_funct                       = it_vimexclfun &amp;lt;---
   EXCEPTIONS
     client_reference                     = 1
     foreign_lock                         = 2
     invalid_action                       = 3
     no_clientindependent_auth            = 4
     no_database_function                 = 5
     no_editor_function                   = 6
     no_show_auth                         = 7
     no_tvdir_entry                       = 8
     no_upd_auth                          = 9
     only_show_allowed                    = 10
     system_failure                       = 11
     unknown_field_in_dba_sellist         = 12
     view_not_found                       = 13
     maintenance_prohibited               = 14
     OTHERS                               = 15&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2007 00:23:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-09T00:23:40Z</dc:date>
    <item>
      <title>Exclude Application Toolbar button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916359#M381094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My requirement is to call SM30 skiping the first screen in either display/maintain mode according to the logged in user. I make this check in a program and call VIEW_MAINTEINANCE_CALL in 'U'/'S' mode. but i see even when the screen of SM30 is opened in 'S' /Display mode , we have the Change button which will allow the user to make changes. So i require to exclude this button from the application toolbar. I think ihave to write something like &lt;/P&gt;&lt;P&gt;    SET PF-STATUS 'ZSLG' excluding 'CHANGE'.&lt;/P&gt;&lt;P&gt;but i don't know where do i write this ? Can anyone please help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 10:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916359#M381094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Application Toolbar button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916360#M381095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha,&lt;/P&gt;&lt;P&gt;  You can do this only inside the module pool program of the table maintenance screens.&lt;/P&gt;&lt;P&gt;If you do this, it will get affected in sm30 itself(No longer specific to your program).&lt;/P&gt;&lt;P&gt;Instead, restrict the user based on his role for cetrain transcations.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 10:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916360#M381095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T10:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Application Toolbar button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916361#M381096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is, create a transaction on the table maintenance and then on that create transaction variants from SHDO. While maintaining the transaction variants just exclude the buttons you dont want and based on the user access rights (which you already seem to know) you can call the tranasction with the appropriate variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 20:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916361#M381096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T20:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Application Toolbar button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916362#M381097</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;You can also create a new "maintenance view" in DDIC..And can say Read only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GO TO SE11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the radio button..View..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GIve a view name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press create button..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose the Maintenance view radio button..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the short text..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table/Join conditions tab..Give the table name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the view fields tab..Give the field names..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Maint. status tab..Select the radio button "Read only".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the view..Create a table maintenance for this view..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 20:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916362#M381097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T20:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Application Toolbar button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916363#M381098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are calling the VIEW_MAINTENANCE_CALL function module, you can then fill in the tables parameter EXCL_CUA_FUNCT with the function code AEND of that button. That will take care of it. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    it_vimexclfun-function = 'AEND'. &amp;lt;---
    APPEND it_vimexclfun.

  CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
    EXPORTING
      action                               = p_v_action
*   CORR_NUMBER                          = '          '
*   GENERATE_MAINT_TOOL_IF_MISSING       = ' '
*   SHOW_SELECTION_POPUP                 = ' '
      view_name                            = p_table
*   NO_WARNING_FOR_CLIENTINDEP           = ' '
*   RFC_DESTINATION_FOR_UPGRADE          = ' '
*   CLIENT_FOR_UPGRADE                   = ' '
*   VARIANT_FOR_SELECTION                = ' '
*   COMPLEX_SELCONDS_USED                = ' '
*   CHECK_DDIC_MAINFLAG                  = ' '
*   SUPPRESS_WA_POPUP                    = ' '
   TABLES
*   DBA_SELLIST                          =
     excl_cua_funct                       = it_vimexclfun &amp;lt;---
   EXCEPTIONS
     client_reference                     = 1
     foreign_lock                         = 2
     invalid_action                       = 3
     no_clientindependent_auth            = 4
     no_database_function                 = 5
     no_editor_function                   = 6
     no_show_auth                         = 7
     no_tvdir_entry                       = 8
     no_upd_auth                          = 9
     only_show_allowed                    = 10
     system_failure                       = 11
     unknown_field_in_dba_sellist         = 12
     view_not_found                       = 13
     maintenance_prohibited               = 14
     OTHERS                               = 15&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 00:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exclude-application-toolbar-button/m-p/1916363#M381098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T00:23:40Z</dc:date>
    </item>
  </channel>
</rss>

