Creating Maintenance Views

I've done this before, but now I can't seem to pull it together.
How do I <b>create a maintenance view that I can edit in SM30?</b>I created the view in SE11 already and it has the appropriate table and fields populated as well as the proper maintenance status information.

Hi,
U can try this out too
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
Thanks & Regards,
Judith.

Similar Messages

  • Error while creating maintenance view

    Hi Freinds,
    I have 2 tables
    zemp and zdept and also i have defined foriegn key relationship between this two tables using a comman field DEPTNO. when i trying to create Maintenance View, its showing the following error
    *No database view exists for view ZMAINVIEW*_
    can any one help me how to solve thos problem
    thanks
    Sri

    Hi sri,
            First open se11 and go for views and select maintainence views and copy then it shows screen asking table name here first its enough if u specify one table and go for relationships then you can have pop up showing that what are the tables having relations wiht your basic table if it shows that 2 tables then it is correct if not something wrong in when you assigned foregin key to the table.
    with regards
    diwakar

  • Need to create maintenance view for a custom infotype

    A custom infotype 90XX is created. The data cannot be modified or created through PA30 in this infotype. Through PA 40 actions only we can create/change the record/data. We have created some 1000 records in it. Now can we create a maintenance view for the infotype so that we can create, delete or change the data in the infotype as and when we want.

    Hi,
    pls chk dat u have maintained the 'Infotype Charecteristics' and 'Technical Attributes' correctly.
    thanks,
    teja.

  • Creating maintenance view

    Hi!
    I've tried to create a maintenance view for two tables with help of sap liblary:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    but it haven't work for some reason.
    Colud anyone give a detailed example of creating simplest maintenance view for two tables (with correct definition of a foreign key)? One of them is a text table for another.
    The view should insert records in both tables simultaneously.
    Thanks!

    Hi,
    go through this link.
    Link:[http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm]
    Link :[table maintanace generator;
    hope this help u out.
    Regards,
    Sneha.
    Edited by: sneha kumari on Jun 16, 2009 8:33 AM

  • Create T-Code for Maintenance View

    Hi all,
    I created Maintenance View and i want to create a T-Code for the maintenace view.
    I go to SE93 and enter the name and push a create push button. But i dont know the category i must select for the maintenace view.
    Would you please help me out and please advise me step-by-step.
    Thank you in advance,
    Regards,
    Peerasit

    Follow these steps :
    1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
    2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
    3. In the next screen enter default values:
    transaction : SM30
    check the check box skip initial screen
    4. Scroll down you will find a table control for default values
    Name of the screen field | value
    VIEWNAME | your ztable name
    SHOW | X
    Save your work.
    Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.

  • Maintenance View for checktables

    Hi,
    I had a scenario where I had to create around 30 check tabels(Z Tables). I have to create maintenance view for these tables. Instead of creating 30 transactions is there a better way to do this.
    If I create a report for this purpose with radio buttons in the selection screen for each table, can I call transaction SM30 and pass the table name, skip the first screen and do the entries.
    Thanks,
    Viswas

    Hi,
    There is no need to go for call transaction
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
          EXPORTING
            ACTION      = 'U'
            VIEW_NAME   = 'ZTAB'
          TABLES
            DBA_SELLIST = IT_RANGETAB
          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 <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    aRs

  • Maintenance view subset P = S in combination with a non-key.

    We are trying to create a maintenance view with subset selection based
    on a non-key field. However no dialog screen will be created in order to
    select the right data (subset) for list display. We found a referenced
    note of this problem: sap note nr 624459 "subset field is not
    transferred" which is already available in the L7D system.
    -> Does the subset P = S only work in combination with a key field?

    Hi,
    I presume the P = S works for only Primary Key combinations. For eg: If you create maintenance view on MARD table and give values P= S to say only MATNR and WERKS fields. You generate the Table Maintenance. You get the filter for Material and Plant but there is a button F7 new selection .. if you press that you can select the third key field Storage Location as well. Presumably it works for the key fields alone.
    Cordially,
    Shankar Narayanan.

  • Table maintenance view not saving changes

    Hi experts
      I have created a Z table with corresponding maintenance view (with transaction). Also, there is a Z program to insert records into the table from xls file.
      When accesing the maintenance view, I can add and remove entries, but the problem is:
           when I update a record, if the records has been created using the maintenance view, then changes are saved to database, but if I try to modify a record added by using the Z program, none of the modifications are saved to DB.
      I have re-created maintenance view, and table properties (delivery class A, display/maintenance allowed ...) seem to be OK.
    Can someone provide some help with this?.
    Many thanks in advance for your help.
    Best  regards,
    Carlos.

    HI
      Thanks for your answer, but didn't work.
      Below my program (
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_fin
          i_begin_col             = 1
          i_begin_row             = 2
          i_end_col               = 9
          i_end_row               = 9999
        TABLES
          intern                  = gt_fichero
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      LOOP AT gt_fichero INTO gs_fichero.
        CASE gs_fichero-col.
          WHEN 1. "Proyecto
            "Validaciones
            gs_unidades-proyecto = gs_fichero-value.
          WHEN 2. "Tipología
            "Validaciones
            gs_unidades-tipologia = gs_fichero-value.
          WHEN 3. "Alias
            "Validaciones
            gs_unidades-identificador = gs_fichero-value.
          WHEN 4. "Superficie
            "Validaciones
            TRANSLATE gs_fichero-value USING ',.'.
            gs_unidades-superficie = gs_fichero-value.
          WHEN 5. "Estado
            "Validaciones
            gs_unidades-estado = gs_fichero-value.
          WHEN 6. "Entrega
            "Validaciones
            gs_unidades-entrega = gs_fichero-value.
          WHEN 7. "PVPCoste
            "Validaciones
            TRANSLATE gs_fichero-value USING ',.'.
            gs_unidades-pvpcoste = gs_fichero-value.
            "Se añade el registro a la tabla de datos maestros
            INSERT ztt_fi_unidades FROM gs_unidades.
            CLEAR gs_unidades.
            IF sy-subrc EQ 0.
              gv_total_correctos = gv_total_correctos + 1.
            ELSE.
              gv_total_erroneos = gv_total_erroneos + 1.
            ENDIF.
            gv_total_registros = gv_total_registros + 1.
          WHEN OTHERS.
        ENDCASE.
      ENDLOOP.

  • Maintenance view of two tables

    I need to update two tables Header and Item with the hepl of maintenance view.There structure is as follows :
    Header - GRPKEY (Pr. Key)
                  Printchk
    Items :- GRPKEY ( Foreign key - check table Header-GRPKEY)
                fieldname ( Key)
               descr type char255
    Now i am creating maintenance view using header as base table. In this case its not showing fields of items in View fields tab and i can't have those fields for data entry.
    If i use items table as base table when i create data through this view header table doesn't get updated.
    Please suggest.
    Thanks

    Hi,
    My real question is, Will a maintenance view really enables me to enter data into two tables simultaneously?
    OR
    Is it just one table that I can enter data into and the fields from other table will appear based on the join condition?
    All SAP documentations talk about entering data into multiple tables using a maintenance view. But it was not practically possible for me when I tried.
    Regards,
    Mahesh

  • Help on maintenance view SM30

    Hi all,
    Can someone help me with giving step by step detials of how to create Maintenance View using SM30, or atleast a pointer showing the information location..
    Regards,
      -Ashok Hansraj

    <b>Please take time to read all the responses given to you in other posts, reward them appropriately and close them if answered.</b>
    SM30 uses the maintenance view you create, it does not create it. You have to create maintenance view by following the path in SE11>Change>Utilities-->Table Maintenance Generator.
    Alternatively, you can also use SE54. Enter your table name and then select 'Generated Objects' radiobutton, press 'create'.
    Srinivas

  • What is maintenance View . Why do we need to go for maintenance View

    Hi,
    I wanted to create maintenance view. Before that i wanted to know what is maintenance veiw and why do we go for maintenance view

    SE11, enter the table name click change. In the next screen, click Utitlies-->table maintenance generator.
    Enter &NC& as the auth group.
    Enter the function group to use  (ex. Z_TABMAINT)
    click One Step, enter '1' as the screen number. Click the create button.
    Once generated, you can use it by going to SM30, enter table name and click maintain

  • Regarding Maintenance view

    Hi guys.
    we have created Maintenance view for addon table in 46C. so was Created Function group ZMXXXXX having below structure.
    ZMXXXXX
    -Func module
        Table frame ZMXXX
        TableProc ZMXXX
    -Dictionary objects
    -Dynpro
    -Include
      LSVIXXXX
      LSVIXF01
      LSVIXF02
      LSVIXF03
      LSVIXF04
    Now after upgrade to ECC, we found that all above standard includes are using SADR table. not sure whether it affects our logic.
    Now how to go with this problem. We need to recreate the Mainteance view in ECC or need to copy as Z-include and Modify the SADR table with ADRC.
    Please confirm
    thanks
    Jaichan

    Any suggestion please.

  • Maintenance View Validations

    I have a custom table for which I am maintaining a Maintenance View.
    I want to provide some validations and checks on the fields entered by the user in that maintenance view.
    For example, if the user enters a value greater than 1000 in quantity field, I want to display a message saying that " enter only values below 1000". This is part of customer requirement.
    Can I provide validations on fields in Maintenance view and if yes, then how ?
    Thanks,
    Urmila

    Hi this may help u.
    Maintenance views offer easy ways to maintain complex application objects.
    Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
    A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    All the tables in a maintenance view must be linked with foreign keys, that is the join conditions for maintenance views are always derived from the foreign key (see Foreign Key Relationship and Join Condition). You cannot directly enter the join conditions as for database views.
    There are some restrictions for the attributes of the foreign keys with which the tables in a maintenance view can be linked (see Restrictions for Maintenance and Help Views).
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    Maintenance mechanisms, like screens and processing programs, must be created from the view definition with the transaction Generate Table View (SE54). This makes it possible to create easy-to-use maintenance interfaces in a simple manner.
    You can find out how to create such maintenance mechanisms in the documentation BC - Generate Table Maintenance Dialog.
    Creating Maintenance Views
    Procedure
    Enter an explanatory short text in the field Short text.
    You can for example find the view at a later time using this short text.
    Enter the primary table of the view under Tables in the Tables/Join conditions tab page.
    Only those tables that are linked with the primary table (indirectly) with a foreign key can be included in the maintenance view.
    If required, include more tables in the view. In a maintenance view you can only insert tables that are linked to one another with foreign keys.
    Place the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the required foreign key and choose Copy. The secondary table used in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Foreign Key Relationship and Join Condition) are displayed.
    You can also insert tables that are linked by foreign key with one of the secondary tables that was already inserted. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.
    For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.
    On the View fields tab page, select the fields that you want to copy to the view.
    Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.
    All key fields of the primary table must be included in a maintenance view. In addition, all key fields of secondary tables that are not involved in the foreign key (that is, which are not linked via a join condition to a key field already included in the view) must be included in the view.
    This ensures that the records inserted with a maintenance view can be written correctly in the tables contained in the view.
    On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records that can be displayed with the view (see Maintaining Selection Conditions for Views).
    The selection conditions define the data records that can be selected with the view.
    In the Maintenance status tab page, define the maintenance status of the view.
    The maintenance status defines how you can access the view data with the standard maintenance transaction (SM30).
    Choose .
    At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, the activation log is automatically displayed.
    Go to Transaction SE54 with Environment ® Tab.maint.generator.
    From the view definition you can generate maintenance modules and maintenance interfaces that distribute the data entered with the view to the base tables of the view. You can find more information in Creating a Maintenance Dialog.
    Other Options
    Recording documentation: You can create information about using the view with Goto ® Documentation. This documentation is output for example when you print the view.
    Changing the data element of a view field: Select column Mod (modification) for the view field. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again.
    Enter the delivery class of the view: In the Maintenance status tab page, select the delivery class of the maintenance view. If you assign the delivery class G or E to the view, you must also maintain a customer namespace (key block) for the view entries. To navigate to the appropriate maintenance transaction, choose Define Customer Namespace.
    Entering the maintenance attributes of the view field: In the View fields tab page you can define the Maintenance Attributes of the view field in column F.
    Check functions: With Extras ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the definitions in the runtime object of the view. With Extras ® Runtime object ® Display you can display the runtime object of the view.
    table maintai9nenece generator
    The Table Maintenance Generator is used to create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator.
    Table maintenance allows you to create entries for that table
    Follow these steps to generate table maintenance
    1) Go to SE11 and check table maintanance check box under attributes tab.
    2) Go to menu Utilities -> Table Maintanance Generator ->
    Create function group and assign it under function group input box. You can enter same as table name for function group. Also assign authorization group default &NC& .
    3) Select standard recording routine radio in table table mainitainence generator to move table contents to quality and production by assigning it to request.
    4) Select maintenance type as single step.
    5) Maintainence screen as system generated numbers this dialog box appears when you click on create button.
    6) Save and activate table.
    useful links
    http://www.saptechies.com/how-to-create-table-maintenance-generator/
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecdf446011d189700000e8322d00/content.htm
    http://www.saptechies.com/table-maintainance-generator/
    with regards,
    Hema Sundara.
    pls reward if u find it helpful.

  • How to create a variant to a maintenance view (trans: SM31)

    Hi gurus.
    I have created a maintenance view (called z_jest). By running it from SM31 there is a variant option. However, I am not able to create the variant which I want to filter a selection upon in this transaction.
    I have even looked into transaction SE54 and created a variant for the maintenance table view there( called z_jestv). Then going back to transaction SM31 and view z_jest, i push 'Variant' radiobutton and type as variant: 'z_jestv', I only get the message: "Variant z_jestv for object z_jest does not exist".
    Can anybody please advice on how to create and/or connect the variant to the maintenance view?
    Regards LL.

    Hi Mahalakshmi
    Thanks for reply.
    When I look into the procedure, there is a prerequisite: "The basis dialog for which the maintenance variant is created already exists."
    I am a little bit unsertain if I miss this 'Basic dialog'. Can you please advice on how to check / create this 'basic dialog' before I go on to create the variant. (I need this 'basic dialog' as input in the procedure you sent.)
    (Note: I have already created a 'maintenance dialog' for the view, but I have a feeling, that is something different...)

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

Maybe you are looking for

  • Issue in developing cross tab report with wizard in 10.1.3.2.1

    Hi Gurus, We are trying to develope group above cross tab report with wizard in BI Publisher 10.1.3.2.1 . i am unable to achieve multiple level columns dynamically.Using cross tab wizard i can achieve single level measure column ,but not the second l

  • Selecting Music For Slide Show

    I have created a slideshow and want to add music in iphoto 6. I know I was able to select a specific song from itunes before but for some reason I can't now. It only gives me the titles like recently played, etc. I have closed the programs and reopen

  • Touble connecting ipod to computer

    Ok, i am having a huge problem and the more i try to fix it the more it messes up. I believe the problem lies in that itunes thinks that the ipod has one ipod update, when it fact it has a more outdated update. It all started when some of the files o

  • WLC discovery using DNS

    Hi Has anyone successfully got AP's discovering the WLC using the DNS name CISCO-LWAPP-CONTROLLER? I cant seem to get the dns server to work properly. I added a host called CISCO-LWAPP-CONTROLLER but it keeps appending the domain name to the end of i

  • Changing tthe url of application developed by HTMLDB

    Hi all, I have developed an application using htmldb. I have this htmldb in windows environment. Right now i am using url as http://localhost:7777/pls/htmldb/f?p=107:101 now i want to change the url some http://site1.xyz.com i have tried by putting f