[Maintenance View] Mass maintenance of Z-Table

Hi,
I was wondering what were the options when dealing with mass maintenance of Z-table entries.
SM30 is OK for maintenance view but you cannot process more than a given number of lines (34 entries or so) per page.
Ideally, it should be possible to enter data from Excel file of even clipboard.
SE16N is great for this since it allows pasting of clipboard data but it does not work with maintenance views (it switches to the SM30 dynpro).
Besides, if I create a database view, it is not possible to save entries because it joins several table together (even if I only need additional fields for display only).
I tried the FM 'SE16_INTERFACE' but it dumps with an CX_SY_DYNAMIC_OSQL_SEMANTICS error (SAPSQL_NO_DBTAB_OR_VIEW). (you can only query table or database view but no maintenance view)
Thanks in advance for your ideas/advice.
Best regards,
Guillaume

Hi,
Developing a generic tool won't take much time probably 6 hours at an experience level of 2+ years!!!
Once you develop you can use it for ever.
What all you need to do is create a field-symbol of type standard table. Get the table name and the file from the selection screen.
Create a dynamic internal table with reference to the table name entered in the selection screen. Upload the data and update the database.
Limitations in the design:
1. File should be in correct format and with the correct data. (Specific validations can't be done)
2. Table maintenance events can't be tackled.
eg: On entering the material number, Material description should automatically come.
Creating BDC for SM30 is ok. But this works only at a table level. We may not be able to make it generic as the screen field names changes based on table name.
So think and choose the right approach!!!
All the best:)
Thanks,
Vinod.

Similar Messages

  • How to convert maintenance view 'v_t001k_assign' to inner join tables

    Dear friends,
    I found I could not select the fields of view 'v_t001k_assign' using SQL, and I found there are some tables joined together as below:
    T001     MANDT     =     T001K     MANDT
    T001     BUKRS     =     T001K     BUKRS
    T001K     MANDT     =     TASSIGN_MM_T001W     MANDT
    T001K     BWKEY     =     TASSIGN_MM_T001W     BWKEY
    T001W     MANDT     =     TASSIGN_MM_T001W     MANDT
    T001W     WERKS     =     TASSIGN_MM_T001W     WERKS
    T001W_EXT     MANDT     =     TASSIGN_MM_T001W     MANDT
    T001W_EXT     WERKS     =     TASSIGN_MM_T001W     WERKS_EXT
    So how to convert this maintenance view 'v_t001k_assign' to inner join tables for SQL selection?
    Thanks a lot!
    Edited by: Qiwei Yin on May 27, 2009 10:35 AM

    Hi,
    You should use the 'Search help exit' to select the data for yourself from the database. Go into the search help maintenance screen and press F1 on field 'search help exit'; follow the links. There is actually a pretty good documentation.
    Regards, Gerd Rother

  • Aotu numbering in table maintenance view

    Hi experts,
    Can anybody help me in auto genereating serial number in table maintenance view. I have created table maintanance view for a z table for which first field is serial no. The requirement is this serial number should be auto genereted. increment by 1. I have writeen the code for the same in PAI event, but it getting incremented by number of rows. e.g for secind row counter is incremented by +2. for thrid row it is +3 and so on....
    plz help to achieve consistency .
    Thnks n regards,
    Ashmita Singh

    What happens if the user deletes a recird from the table?
    Suhas,
    Happy New Year
    Disable delete function and provide a deletion indicator. This should be fine right.
    The problem would be when the maintenance dialog is regenerated.
    @OP - So as suggesgted use events.
    Similar threads were discussed before many times. May be you culd search it once.

  • 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>

  • Maintenance view program for a table

    Hi All,
    How can i create a maintenance view program for a table. i did maintenance view in sm30 for that table. now it needs a transaction code for maintenance. can somebody help me with this.
    Thanks,
    Kiran

    Hi
    Create a new transaction Z**** linked to SM30 for that table:
    - trx SE93: while creating trx choose transaction with parameter and insert these data:
    - TRANSACTION = SM30
    - set the flag SKIP INITIAL SCREEN
    At the end of screen, section Default Value, if you want to open dialog for updating:
    NAME OF SCREEN FIELD     VALUE
    VIEWNAME                 <here insert the table name>
    UPDATE                    X
    ...for displaying:
    NAME OF SCREEN FIELD     VALUE
    VIEWNAME                 <here insert the table name>
    SHOW                      X
    Max

  • Maintenance view on the standard table

    Hi,
    We need to have a maintenance view on the standard XYZ table .
    Since it is a std table. we would not be able to create a maintenance view since we need an access key.
    So we have to :
    1. Copy the table XYZ into a Z_table. (just the structure alone).
    2. Create a table maintenance generator on this table.
    3. When the data is being saved in the maintenance view, update the record in the XYZ.
    How we can populate the XYZ when the Z_table is populated with data?
    Can anyone help in this regard.
    Thanks and regards,
    Kapil

    Hi Rich,
            Thanks for your reply.
    I am referring to standard table "comc_settyp_attr" in SAP-CRM system . I have copied it and created a z_table. But its not allowing me to create a maintainance view. Its giving an error :
    GUID in table key (Field name CUSTINFO) not supported.
    But when i create the z_table without the GUID(char 32) as key field, it generates table maintenance. But the key field is required.
    Can you help me in this regard.
    Regards,
    Kapil

  • 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

  • HIde table field in maintenance view

    HI ,
    i have table with 5 column and i want to create new maintenance view  but hide one of the field for maintenance ,
    i need to deliver this table to prod so i need to keep the changes on transport .
    i don't want to do it via code since when i regenerate the maintenance view again it will deleted .
    there is another option ?
    Regards
    Nina
    Moderator message - moved to the correct forum.
    Edited by: Rob Burbank on Oct 1, 2009 4:26 PM

    Hi
    1 ) I need to delete the maintenance that i do to the table like i mention in previous post ?
    Yes u can delete the maintenance program created for your Z (transparent table): it'll be useless, anyway it's not necessary to delete it, but if you think it won't be used, it's better to delete it.
    2 ) create to the table maintenance view and i hide the field
    Yes, u need to create a maintenance view based on your Z (transparent) table and set the flag for the fields to be hidden.
    when i create it in the tab view fields i see just the key fields of the table why ?
    Because the system inserts the key fields by default, the other fields has to be placed manually, u can also decide to insert only the fields u need to show and manage in maintenace program, i.e. the maintenance view (but in generally a table view) can have only certain fields of a transparent table, it's not necessary it has all fields.
    in the table join condition i just put the table name do i need to do something else ?
    No u don't need to do anythingelse
    Max

  • Mass Maintenance of Maintenance Plans

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/a1/5959394ba2cd4ae10000000a114084/frameset.htm
    Procedure
    If you want to change maintenance plans with the mass maintenance function, proceed as follows:
    1. Choose Logistics ®
    2. Plant Maintenance ® Planned Maintenance ® Maintenance Planning ® Maintenance Plans ® Mass Maintenance for Maint. Plans ® Mass Maintenance for Maint. Plans or use the transaction code mch01 and choose Enter. The Mass Changes for Maintenance Plans screen appears.
    3. Enter an appropriate variant name or your selection data in the areas of the screen called Maintenance plan selection, Maintenance item selection, Hierarchy or Work scheduling/task list data.
    Note
    If you want to make similar changes to data often, you can create a variant to ease data entry.
    4. Choose Execute.
    The Mass Maintenance: Table View screen appears.
    (The Mass Maintenance: Field View dialog box appears if you choose Execute field view from the Mass Changes for Maintenance Plans screen).
    5. Choose the appropriate tab page according to whether you want to make changes to the maintenance plans, maintenance cycles or the maintenance items.
    6. Select the objects that you want to change.
    You can select the fields that you want to change using the Select fields function.
    7. You can check your changes by using the Test changes function.
    8. Your changes are saved to the database when you choose Save.
    9. The system displays all the changes you have made and any errors that may have occurred in a log. You can save this log if you wish.
    Result
    Your changes have an immediate effect on all the selected objects.
    I have a need to enable this program which was delivered in one of the enhancement packs.  We have thousands of maintenance plans that need to be modified.
    A couple of questions:
    1) how do I activate as little as possible to allow me to use this program
    2) With this enhancement activated, am I going to be putting myself on a new support pack line.

    hi,
    I just know go to transaction SFW5 to check whether all components required for the operation of system are activated (switched on). But I do not know exactly which component is affected for this function.
    Hope it helps.

  • Issue on a maintenance view

    I want to fetch the data from a maintenance view: V_001_B.
    I used the select statement to retrieve the data.But, I got a message saying that "it's not a table or a database view or a projection view".
    Any body please help me, how to retrieve data from a maintenance view.

    these r the 3 tables which r connected to ur view - T882,T001,T001Z
    if u want data based on some join on these 3 tables then put a join in ur code on these 3 tables and then fetch ur record..if u want datra specific to one table only then u can directly select tht frm a single table..
    amit

  • Additional Field in standard maintenance view

    Hi Experts,
    I would like to add an additional field plant in maintenance view V_TKZU3_CO (SPRO PATH: Controlling --> Product cost controlling -->Product cost planning --> Basic settings for material costing -->Overhead -->Define costing sheets ).
    What I'm planning to do is to modify the standard maintenance view V_TKZU3_CO and regenerate the table maintenance generator so that the new field will be added and populate a ztable a copy of table TKZU3 + plant...
    However what I'm afraid of is when I regenerated the table maintenance generator using the standard function group OCOE, it might impact some other standard object included..
    Do you have any idea on how can I add the additional field without modifying the standard? Or if I will apply the standard modification I'm planning.. what are the possible impacts?
    Thanks in advance!

    Hi
    U can create a new table view like V_TKZU3_CO, insert your new fields and create the maintenance view program for it.
    Max

  • Maintenance View - update field on SAVE

    Hi folks,
    I need to create a maintenance view on top of a table. If a user modifies and saves one field I would like to set a time stamp in a further field of the same table. How do I have to do that?
    Thanks for your help.

    In the se11 -> table maintenance generator ->  Environment -> Modification -> Events
    Here you can create routine to add a time stamp to automatically add when some user will modify / update any table row.
    Kuntal

  • Maintenance view with MARA joined twice

    Hello,
    I have a Z table which contains 2 fields containing material number, say: MATNR_1 and MATNR_2. Both have foreign keys pointing to MARA table.
    Now I'd like to create a maintenance view for that Z table which will contain texts for both of those matnr fields, taken from MAKT table. So I need a maintenance view which has that Z table as the main table of the view and MARA+MAKT tables joined <u>twice</u>: first for the field MATNR_1 and next for field MATNR_2.
    It looks like it is impossible to achieve by just clicking in SE11 - the system takes only the first matnr field into account (MATNR_1) and joining MARA for the second time (for field MATNR_2) seems not possible.
    Has anyone an idea how to achieve this ?

    I found a solution myself - actually a workaround, here it is if someone is interested:
    You can have data from a secondary table (a table that you cannot join by defining the view) filled "manually" at the screen level. When you generate a maintenance objects with the maintenance generator, modify the generated screen by adding a new field to it (for data that you need to be displayed). In PBO of that screen call your additional PBO module which just reads the data from the db table (or from anywhere you want) and fills that field.
    You can check standard transaction FI12 to have an example: field BNKA-BANKA is filled exactly with this technique (see PBO of that screen).

  • 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

  • Get db view of maintenance view

    Hi. I am quite new to ABAP and i have to create a program that will replace some SPRO customizing. The idea is that for Time sheet customizing, the user will update the tables without transport, directly in productive system.
    Now, because i do not want to do everything from scrach, i want to use some of the views provided by SAP standard to be used in my program for update / delete / insert, but the problem is that those views are maintenance views (Exemple : V_TCATX_LEVE2TYP ).
    Can i find the database view linked to this maintenance view ?
    Thank you,
    Cristian.

    There is not a database view linked to a maintenance view, the maintenance view are programmatically interpreted and not maintained at database level.
    So go to SE11 and create a database view (if possible) or program the join/select in your program.
    Proposal
    - Copy the view(s) as Z-view and generate new maintenance dialogs without transport
    - Try to call FM like VIEW_GET_DATA or VIEW_MAINTENANCE_NO_DIALOG to get and update the data disabling the transport
    - Fully develop a new program
    Regards

Maybe you are looking for

  • Upgrade from 3.0.0.00.20 to 3.1.2

    Hi, Could I please get clarification on my options to upgrade my current apex version 3.0.0.00.20 to 3.1.2. Can I just do a full download of 3.1.2 and run apexins.sql where it should pick up that it is not a new installation and upgrade? Thanks.

  • DB TABLE

    hi In me22n there is one field PO delivery date it showing the field name as EEIND can anyone tell me the db table name for this field.... SIRI

  • Deleting music in the library

    Hi, If I delete my music library and start again will I lose my purchased song as well

  • Missing Header Window when using despatch time "4"

    I set the despatch time to "4" for billing message type. When a new invoice was created in VF01, a spool was added. However, the top portion of the invoice spool was missing. When I use VF02 to preview the same invoice, I could see it. Can someone as

  • Mass setting of delivery completed indicator

    Hi, The delivery completed indictor has not been set as a mandatory field in SPRO settings for one of the Plants. Now,is there any transaction code or, program which can be used to set the delivery completed indicator in that Plant when the PO qty. b