<?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 how to use this FUNCTION VIEW_MAINTENANCE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746068#M638355</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 create a table zxxxx and set Data Browser/Table View Maint:&lt;/P&gt;&lt;P&gt;                                              Display/Maintenance Allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to use the function of "VIEW_MAINTENANCE" to update and create new&lt;/P&gt;&lt;P&gt;inforation the TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't know VIEW_MAINTENANCE which of parameter meaning.&lt;/P&gt;&lt;P&gt;and how to control it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;who can give demo show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'VIEW_MAINTENANCE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        VIEW_ACTION               = 'S' "DISPLAY&lt;/P&gt;&lt;P&gt;        VIEW_NAME                 = W_VIEWNAME "W_TABNAME&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        X_HEADER                  = L_VIMDESC&lt;/P&gt;&lt;P&gt;        X_NAMTAB                  = L_VIMNAMTAB&lt;/P&gt;&lt;P&gt;        DBA_SELLIST               = L_VIMSELLIST&lt;/P&gt;&lt;P&gt;        EXCL_CUA_FUNCT            = L_VIMEXCLFUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what meaning and availability value : EXCL_CUA_FUNCT-FUCNTION ,&lt;/P&gt;&lt;P&gt;how to use         X_HEADER   &lt;/P&gt;&lt;P&gt;        X_NAMTAB            &lt;/P&gt;&lt;P&gt;        DBA_SELLIST       these parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2007 07:57:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-11T07:57:33Z</dc:date>
    <item>
      <title>how to use this FUNCTION VIEW_MAINTENANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746068#M638355</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 create a table zxxxx and set Data Browser/Table View Maint:&lt;/P&gt;&lt;P&gt;                                              Display/Maintenance Allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to use the function of "VIEW_MAINTENANCE" to update and create new&lt;/P&gt;&lt;P&gt;inforation the TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't know VIEW_MAINTENANCE which of parameter meaning.&lt;/P&gt;&lt;P&gt;and how to control it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;who can give demo show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'VIEW_MAINTENANCE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        VIEW_ACTION               = 'S' "DISPLAY&lt;/P&gt;&lt;P&gt;        VIEW_NAME                 = W_VIEWNAME "W_TABNAME&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        X_HEADER                  = L_VIMDESC&lt;/P&gt;&lt;P&gt;        X_NAMTAB                  = L_VIMNAMTAB&lt;/P&gt;&lt;P&gt;        DBA_SELLIST               = L_VIMSELLIST&lt;/P&gt;&lt;P&gt;        EXCL_CUA_FUNCT            = L_VIMEXCLFUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what meaning and availability value : EXCL_CUA_FUNCT-FUCNTION ,&lt;/P&gt;&lt;P&gt;how to use         X_HEADER   &lt;/P&gt;&lt;P&gt;        X_NAMTAB            &lt;/P&gt;&lt;P&gt;        DBA_SELLIST       these parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 07:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746068#M638355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T07:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to use this FUNCTION VIEW_MAINTENANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746069#M638356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check doucmentation maintained for FM - VIEW_MAINTENANCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUA functions to be deactivated dynamically&lt;/P&gt;&lt;P&gt;At runtime, the table EXCL_CUA_FUNCT must contain all those functions which are not to be callable in data processing , i.e. which are to be dynamically deactivated in the CUA interface at runtime. This is useful, e.g. for the following functions whose handling in cluster maintenance is ambiguous:&lt;/P&gt;&lt;P&gt;- 'ANZG' --&amp;gt; switch from 'Change' to 'Display' mode,&lt;/P&gt;&lt;P&gt;makes no sense in a maintenance cluster&lt;/P&gt;&lt;P&gt;- 'AEND' --&amp;gt; switch from 'Display' to 'Change' mode&lt;/P&gt;&lt;P&gt;makes no sense in a display cluster&lt;/P&gt;&lt;P&gt;- 'xxxx' --&amp;gt; other functions at the callers discretion.&lt;/P&gt;&lt;P&gt;The table must have the structure VIMEXCLFUN, as follows:&lt;/P&gt;&lt;P&gt;FUNCTION(4) TYPE C, ---&amp;gt; contains the function codes to be deactivated dynamically&lt;/P&gt;&lt;P&gt;MESSAGE(3) TYPE C. ---&amp;gt; online help auxiliary field (not yet supported)&lt;/P&gt;&lt;P&gt;Return -&amp;gt;&lt;/P&gt;&lt;P&gt;CUA functions to be deactivated dynamically &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database Access Selection Conditions The table DBA_SELLIST contains the database access selection conditions. The following fields must be filled:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Field name Contents	   &lt;/P&gt;&lt;P&gt;NEGATION NOT, if the condition is to be negated	   &lt;/P&gt;&lt;P&gt;SPACE otherwise	   &lt;/P&gt;&lt;P&gt;VIEWFIELD name of the field to which the condition is to apply	   &lt;/P&gt;&lt;P&gt;OPERATOR logical operator of the condition (e.g. 'EQ', 'NE',...)	   &lt;/P&gt;&lt;P&gt;VALUE comparison value of the condition in external format	   &lt;/P&gt;&lt;P&gt;AND_OR AND, if the next line of the condition is to be linked	   &lt;/P&gt;&lt;P&gt;to the current line by logical AND	   &lt;/P&gt;&lt;P&gt;OR , if the next line of the condition is to be linked	   &lt;/P&gt;&lt;P&gt;to the current line by logical OR	   &lt;/P&gt;&lt;P&gt;SPACE, if no further line follows	   &lt;/P&gt;&lt;P&gt;DDIC S, if the view field in DD is flagged as a subset field	   &lt;/P&gt;&lt;P&gt;(PM = 'S')	   &lt;/P&gt;&lt;P&gt;SPACE otherwise	   &lt;/P&gt;&lt;P&gt;TABIX Index of the view field in the view nametab	 &lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;1. Valid operators are: (see also ABAP doc.)&lt;/P&gt;&lt;P&gt;EQ - equals&lt;/P&gt;&lt;P&gt;NE - not equal to&lt;/P&gt;&lt;P&gt;GT - greater than&lt;/P&gt;&lt;P&gt;GE - greater than or equal to&lt;/P&gt;&lt;P&gt;LT - less than&lt;/P&gt;&lt;P&gt;LE - less than or equal to&lt;/P&gt;&lt;P&gt;CA - only for strings: contains at least one character of the comparison string&lt;/P&gt;&lt;P&gt;CN - only for strings: negation of CA&lt;/P&gt;&lt;P&gt;CO - only for strings: contains only characters from the comparison string&lt;/P&gt;&lt;P&gt;NA - only for strings: negation of CO&lt;/P&gt;&lt;P&gt;CP - only for strings: contains the pattern in the comparison string&lt;/P&gt;&lt;P&gt;NP - only for strings: negation of CP&lt;/P&gt;&lt;P&gt;CS - only for strings: contains the string in the comparison string&lt;/P&gt;&lt;P&gt;NS - only for strings: negation of CS&lt;/P&gt;&lt;P&gt;LK - like the LIKE operator in a SELECT ... WHERE clause&lt;/P&gt;&lt;P&gt;2. The function module does not (yet) check whether the selection conditions passed here are compatible with any conditions in the Data Dictionary view definition. The caller must ensure that this is the case.&lt;/P&gt;&lt;P&gt;Return -&amp;gt;&lt;/P&gt;&lt;P&gt;Database Access Selection Conditions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 08:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746069#M638356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T08:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to use this FUNCTION VIEW_MAINTENANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746070#M638357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZSKC_TEST2.

PARAMETER : P_VIEW TYPE OCUS-TABLE.
START-OF-SELECTION.

CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
  EXPORTING
    ACTION                               = 'S'
    VIEW_NAME                            = P_VIEW
  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
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Inside this VIEW_MAINTENANCE_CALL, FM - VIEW_MAINTENANCE is called. You can check the parameters there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-this-function-view-maintenance/m-p/2746070#M638357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:18:15Z</dc:date>
    </item>
  </channel>
</rss>

