Is it possible to maintain table data in a maintenance view

hi all,
is it possible to maintain data in a table by using maintenance view.

Hi,
if you maintain texts of your objects in different languages it's better to use a maint. view:
example
1) ZTAB01 - CU-Data
2) ZTAB01T - texts to CU-Data
3) ZTAB01_V - maint.-view of 1) and 2)
hope that helps

Similar Messages

  • Hi experts, how to use open sql to read data from one " maintenance view"?

    i want to use this part of data within report ,so how to use open sql statement to read data from one " maintenance view"?

    Hi
    You can't use OPEN SQl statements to fetch data from maintenance view
    You have to use only Database views
    see the different types of views and the difference
    The followings are different types of views:
    - Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - Help View ( SE54)
    Help views are used to output additional information when the online help system is called.
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
    - Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    - Maintenance View ( SE54 )
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Please have a look at below link. It will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    Reward points for useful Answers
    Regards
    Anji

  • Popup window for data selection in maintenance view

    Hi,
    How to create popup window for data selection in maintenance view. For example when you go to view v_t510 in se16, there you will see a popup window to enter values. after you enter the values in that window, then data related to those values that you entered in the popup window will displayed.
    How can we do that for the custom maintenance view?
    Thanks in advance for your help guys.
    Regards,
    Srinivas.

    In your custom maintainace view, if you select the Data browser / Table view maintainace under the tab "Maint Status" as "Dispaly maintanence allowed with restriction" than system will give you popup to restrict by selection.
    Regards,
    Naimesh Patel

  • Is it possible to maintain ResultEvent data?

    Hi,
    I'm fairly new to Flex and have been frustrated in my attempts to store the result data of a ResultEvent to a global variable for later use but have had no success thus far.
    <fx:Declarations>
         <!-- Place non-visual elements (e.g., services, value objects) here -->
         <fx:String id="sUsername"/>
          <s:RemoteObject id="userutils" destination="userutils" source="dashboard.utils.UserUtils">
                   <s:method name="getUsername" result="getUsernameHandler(event)" fault="faultHandler(event)"/>
          </s:RemoteObject>
    </fx:Declarations>
    //functions
    private function getUsernameHandler(event:ResultEvent):void{
         var retVal:String = event.result.toString();
         sUsername = retVal;
    private function faultHandler(event:FaultEvent):void{
    Alert.show(event.fault.toString());
    public function getUserDetails(corpdomName:String){
         userutils.getUsername(networkName);
         //creates gui
         buildUserView();
    Essentially after the getUsernameHandler completes sUsername remains blank, however if I were to insert an Alert.Show(sUsername) within getUsernameHandler an Alert will display with the correct information. I have had some success in using a SharedObject to store this information but it seems that the Flex application will use the SharedObject from the previous session which has left me even more confused.
    Any ideas if this can be done?
    Thanks in advance for any help.
    -Rab

    Hi,
    if you maintain texts of your objects in different languages it's better to use a maint. view:
    example
    1) ZTAB01 - CU-Data
    2) ZTAB01T - texts to CU-Data
    3) ZTAB01_V - maint.-view of 1) and 2)
    hope that helps

  • How to Extract Data for a Maintenance View, Structure and Cluster Table

    I want to develop  3 Reports
    1) in First Report
    it consists only two Fields.
    Table name : V_001_B
    Field Name1: BUKRS
    Table name : V_001_B     
    Field Name2: BUTXT
    V_001_B is a Maintenance View
    For this one I don't Find any Datasource
    For this Maintenance View, How to Extract the Data.
    2)
    For the 2nd Report also it consists Two Fields
    Table name : CSKSZ
    Field Name1: KOSTL (cost center)
    Table name : CSKSZ
    Field Name2: KLTXT (Description)
    CSKSZ is a Structure
    For this one I don't Find any Datasource
    For this Structure How to Extract the Data
    3)
    For the 3rd Report
    in this Report all Fields are belonging to a Table BSEG
    BSEG  is a Cluster Table
    For this one also I can't Find any Datasource,
    I find very Few Objects in the Datasource.
    For this One, How to Extract the Data.
    Please provide me step by step procedure.
    Thanks
    Priya

    Hi sachin,
    I don't get your point can you Explain me Briefly.
    I have two Fields for the 1st Report
    BUKRS
    BUTXT
    In the 2nd Report
    KOSTL
    KLTXT
    If I use  0COSTCENTER_TEXT   Data Source
    I will get KOSTL Field only
    what about KLTXT
    Thanks
    Priya

  • Retrieve data from a maintenance view

    Hello,
    I created a specefic table.
    i want to add a check when deleting lines from a maintenance view.
    How to retrieve selected data ?
    thanks,
    Meriem.

    Hello Sudeesh,
    I think i must use extract table and Field Symbol <XMARK>.
    Can any body give an exemple.
    thanks,
    Meriem.

  • Querying data from the maintenance view.

    Hi Experts,
    Well, i need the STEXT field value from the maintanance view V_T591A created for the standard table T591A.
    Table T591A has the field Subtype but doesn't have the field Stext, which consists the description of the subtype. The Stext field is there in the maintenance view V_T591A.
    So, if i want to query the respective description of the specific subtype, how do i get the values from the maintenance view?
    Please advice.
    Thanks in anticipation to all!
    Cheers,
    Sundar.

    Atish,
    It is not possible that way! U cannot Query directly from MV as a DB table.
    Anyways, i managed to find the answer.
    Thanks though.
    Regards,
    Sundar.

  • Data validation in maintenance view

    I have a maintenance view which is just simply a projection of a database table.
    I'm trying to add a validation before user save the data, what I have done is add a standard event by using 'Table Maintenance Generator', there is an event 'Before saving the data in the database' which I think is proper place to do the validation.
    Now the problem is if the user input is invalid, after validation and message displayed on the screen, the entry user is editing will be locked, and cannot be back to editable even you click 'Change<->Display' button, user have to back to SM30 screen and re-enter again.
    The idea behavior is the screen stays and the entry is editable, user can correct his input immediately.
    So someone can provide any advice regard this problem?
    Thanks in advance.
    Ben

    Hi
    You can set the flag VIM_ABORT_SAVING in order to abort the saving process and back to maintenance screen without to go out from SM30
    I've found a my old code:
    * Check entries with same sorting key
       loop at t_sort_key_count.
         check t_sort_key_count-tot > 1.
         message i398(00) with <...............>
         vim_abort_saving = 'X'.
         exit.
       endloop.
    I use e message tyoe I instead of E, in order not to lock the process and back to imain screen
    Max

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • Enterprise Manger 11g Table data grid?

    Hello, in Enterprise Manger 11g, is there a grid or spreadsheet edit of a tables data? Not the "View Data", but something where the data can be edited?
    Thanks

    No, use SQL Developer instead. Enterprise Manager is a monitoring and administration tool.
    Werner

  • How to read data in a program from a MAINTENANCE View

    Hi Experts,
    Requirement:
    1. I have maintained a maintenance view on three Database tables.
    2.Data can be entered in the view as it is a Maintenace view as i have created maintenance generator for that and it is a requirement.
    3. In one of my programs i need to read this data, into an internal table, that is maintained through this view.
    Problem: When i am firing a SELECT query on this view, it goves me a syntax error that i cannot get data by select query on a Maintenance view.
    Solution required for: Is there any way i can get the data from this Maintenance view.
    Thanks in advance for your exteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hi,
       Only projection view or database view can be used
       in select query.
        Find the tables used in view and
       Select data into report program by
        joining tables .
    Regards
    Amole

  • Maintenance view Vs Table maintenance

    Hi,
    I would like to know the dif between T.Maintanance And Maintenance view.
    As we know as per the def we know Maintenance view will be used to maintain a table. But I have never created any M.view for the same.
    However we use Table maintenance generator and SM30 for the same. How these 2 concepts are differnet?
    Which one is the best method 2 use?
    what one step and two setp process? Advantage and usage of 2step process?
    Thanks in advance.
    PRa

    Hi Praneet..
    These two are different concepts altogether but they have some connection.
    1. Table Maintenance: To facilitate the Updation / Viewing the Records of a Table thru a Tcode We have to Generate the Table maintenance (program and screens) in Tcode SE54.
    This will generate the Function Groups and Screens required to Maintain the Entries in table.
    Then only we can maintain this Table in Tcode SM30.
    2. Maintenance view: It is one type of View which can be used to update/view the data from multiple tables at a time.
    But after creating a Maintenance view, We must generate the Table maintenance .
    Only then we can maintain the entries using a Maintenance view.
    <b>REWARD IF HELPFUL.</b>

  • Table Maintenance & View Clusters

    Hi,
    I am trying to generate table maintenance views and group them using a view cluster. The following is what I have done so far.
    I created 2 tables. TAB_A is the primary table with TAB_B the description by language table. They are not linked to each other in any way (even though they probably should).
    TAB_A - FLD_A (key, char2)
                  FLD_B (date)
                  FLD_C (time)
                  FLD_D (fltp16)
    TAB_B - FLD_E (key, char2, same type as FLD_A)
                  FLD_F (key, char3, language field)
                  FLD_G (char50)
                  FLD_H (date)
                  FLD_I (time)
                  FLD_J (fltp16)
    I then created 2 maintenance views based on the tables above.
    VIEW_A - FLD_A
              FLD_B (hidden)
              FLD_C (hidden)
              FLD_D (hidden)
    VIEW_B - FLD_E
              FLD_F (hidden)
              FLD_G
              FLD_H (hidden)
              FLD_I (hidden)
              FLD_J (hidden)
    I've then used the table maintenance generator to create the screens as well as the unique events to populate the hidden fields.
    Using SE54, I've created a view cluster. I have added both of my views to the view cluster as follows:
    View/table       TAB_A          TAB_B
    Predecess.       TAB_A          TAB_B
    Dep              R              R
    Pos              1              2
    Start            true
    I have clicked the field-dependence button and generated the dependencies successfully.
    So far everything is okay.
    I now need to change the hierarchy in the cluster, so that TAB_B is dependent on TAB_A.
    What I have tried so far is to add a foriegn key to TAB_B (this worked but is not an ideal solution).
    I also changed the dependency type in the cluster to 'S' (only worked in conjunction with FK)
    The documentation indicates that what I am trying to do is possible, but I'm not sure how.
    So do any of you bright people out there have any ideas?
    Be gentle I'm new to both the forum and SAP in general (hence being given table maintenance).
    Kind regards
    Chris

    In my experience, cluster maintenance view Table 1 keys where always used as foreign keys in Table 2. Then these common fields were used in dependencies and subset.
    - Creation of maintenance view on table 1
    - Then generation of maintenance dialog on Table 1
    - Creation of maintenance view on table 2 defining the keys of Table 1 as subset fields (test the dialog, a popup should appear with the subset fields)
    - Then generation of maintenance dialog on Table 2
    - Creation of the cluster generating the dependency between Table 1 and itself (without specifying any field) and between Table 1 and table 2 using the subset fields (should work automatically)
    Look also at [Create a View Cluster|http://help.sap.com/saphelp_nw04/helpdata/en/d0/999249b2aa11d1a5700000e82deaaa/frameset.htm]
    Regards

  • Read data from maintenance view

    hi all,
    could anyone please tell me if there is any special way to read data from a maintenance view (if at all it is possible).
    i wrote a simple select on it but it gave me a syntax error that the view is not defined in the dictionary. (i am able to see the view definition by double clicking and it is active too).
    the following is my select.
    select single lgnum from v_t320 into (w_lgnum) where werks eq p_i_werks and lgort eq p_i_lgort.
    awaiting answers...
    regards,
    PJ

    Thanx Rich,
    but the documentation on maintenance views says that we can have read access to them. Does that mean the data can only be seen via the DDIC and not from a select written in a program??
    this is what i read...
    Maintenance Status
    The maintenance status of a view controls whether data records can also be changed or inserted in the tables contained in the view.
    The maintenance status can be defined as follows:
    Read only: Data can only be read through the view.
    Read, change, delete, insert: Data of the tables contained in the view can be changed, deleted, and inserted through the view.
    Only read access is permitted for database views that are defined through several tables. If a database view contains only one single table, data can be inserted in this table through the view (see Inserts Through Database Views).
    The following status definitions are also possible for maintenance views:
    Read and change: Existing view entries can be changed. However, records cannot be deleted or inserted.
    Read and change (time-dependent views): Only entries whose non-time-dependent part of the key is the same as that of existing entries may be inserted.
    you surely have earned some points here....just let me be clear of the concept behind this
    regards,
    PJ

Maybe you are looking for

  • WebDAV not working over SSL on CSS11503

    SOME HISTORY As you may recall we had an issue with interoperability between our WebCT Vista application and the Cisco CSS11503 Load Balancer. In a nutshell the Load Balancer would inject custom HTTP headers into HTTP packets, but only into the first

  • Cannot print in word document

    HI, I have a hp 3930 deskjet printer I cannot print in microsoft office,the printer seems to be printing but the pages are blank,  however my printer prints fine in internet explorer, I have windows xp sp3 Can someone help pls?

  • Photos get all blurry when switching between "100%" and "Fit to Screen"

    Hello, I downloaded the Aperture 3 Testversion and I'm trying to create a new book. I managed to design all the pages but when I switch between the views the photos get all blurry until I zoom in and out of the photo. I was wondering if anybody knows

  • Cant print PO - wrong page format

    Hi all I have a smartforms to print PO. I encounter this problem which some PO cant be print while some other PO can be printed. Its quite confusing since only some cant be print. Below is the message: Form TXT_CONTACT has wrong page format. Message

  • Mdx error : Query (11, 9) Two sets specified in the function have different dimensionality.

    Hi all i am getting the fallowing error for the below mdx , what may be the issue? Query (11, 9) Two sets specified in the function have different dimensionality. WITH SET LastSample AS TAIL(NONEMPTY([Date].[Hierarchy].members *[Time].[Hierarchy].mem