Maintenance View & Viewcluster & Check Table

Hi all,
I created a Viewcluster which includes three Maintenance Views. As you know after running the Viewcluster and when you enter a value to a field, the program checks the value according to the check table.
In my example for REVUS field check table is USR02. So whenever I enter a value to REVUS, it checks USR02 table, and it gives an error if I enter incorrect value. The question is if enter just space (blank), it accepts is - it doesn't give error. What is the situation here? How can I prevent to enter blank value to REVUS.
Thanks in advance.

Narendran,
Yes, this solves the problem. When I did like that it gives this error : Message no. 00 055 (Make an entry in all required fields).
I found another solution too. I'd like to share with you.
In the Maintenance View, we can define a Selection Condition  for REVUS field. It should be like that Operator: NE Comparative Value: <blank>. So when we do this the Clusterview doesn't allow to enter blank value and gives this error: Message no. SV 033 (Specify the key within the work area)
It seems that second solution is better because if I choose the first solution when I need to change or modify the maintenance dialog I think I will need to change the screen again.
Thanks,

Similar Messages

  • Maintenance view field check.

    Hi,
    I want to insert new record into maintenance view and check some field that must be inserted.
    If i make them required so when i press "New Entries" all the redcord are ready for new entries and all the fields in each record are required so if the user insert only one record so he get msg that there are still required  fields to enter.
    Other problem is that i can save blank record in the maintenance view.
    Hope there is any good solution for those problem.
    I've tried coding abap in the flow logic of the screen but still it run on all the records.
    Thanks in advance.

    HI it very simple.
    Generate table maintanance generator screen for you maintanance view and wirte your validation in table maintance generator event.  create event new entry(05).
    *first create 05 event and give suroutine name as new_entry.
    form new_entry.
    *----here you have to put your validtion
    if ztable-f1 is not initial and
    ztable-f2 is initial and
    ztable-f3 is initial.
    message 'Enter value in all the fields' type 'E".
    endif.
    endform.
    for creating events in TMG refer below link
    To change top of page in Block ALV list display
    Regards,
    Peranandam
    Edited by: peranandam chinnathambi on Apr 2, 2009 11:18 AM
    Edited by: peranandam chinnathambi on Apr 2, 2009 11:19 AM

  • Maintenance View of Z table

    不知道什么原因,现在用SE55创建Z表的maintenance view的时候,在overview screen中,不能生成table control的形式。但是single screen是正确的。之前在同样的平台下,却可以做到。有什么原因会造成这种情况?
    找到问题了,原来是因为key的设置。
    Edited by: Amy Xie on Mar 16, 2010 7:49 AM

    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.

  • Maintenance View for custom table with foreign key relationship

    Hi Folks,
         I have created a custom table with foreign key relationship with other check tables. I want to create a maintenance view / tablemaintenance generator. What all things I need to take care for the foreign keys related fields while creating the maintenance view / tablemaintenance generator.
    Regards,
      santosh

    Hi,
    You do not have to do anything explicitely for the foreign key relationships in the table maintainance generator.
    Create the table maintainance generator via SE11 and it will take care of all teh foreign key checks by itself.
    Regards,
    Ankur Parab

  • 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

  • How to regenerate a table maintenance view for a table.

    A  new customer defined field(y_status) was added to the table(ykxrdarea). But the field is not reflected in the view maintenance.busiess adviced me to regenerate the table view maintenance.
    Can any one help me how to regenerate the table view maintenance.

    Go to transaction SE11.Enter the table name and choose utilities from the menu and click on table maintenence generator.You will get the table maintenance dialog.Choose generated objects from the menu and click on change.You will get the change generation elements screen.Enter the reason for regeneration.In your case it is new field/sec.table in structure.hit enter and the table maintenance will be regenerated.If you go back and see the maintenance view now you should see your field.
    cheers
    Nishanth

  • How to find T-CODES for maintenance view of custom tables?

    Hi,
    I have a list of custom tables for which maintenance view is generated. Also, many of them might have a T-Codes assigned to them.
    I need to know how to find out these T-codes?
    Is there some table which maintains these or a function module which can give the t-code name?
    Help will be appreciated.
    Thanks.
    Shreyas

    Hi shreyas,
    1. one way is
    2. goto se93
    3. Press Ctrl F
    4. Expand the search criteria (from button on toolbar)
    5. In program name enter SAPMSVMA (This program is for sm30)
    6. In transaction code enter Z*  or Y*
    regards,
    amit m.

  • Maintenance view for standerd table

    hi . i want to update a field in standerd table. i try &sap_edit.but i dont know why people suggest that...its not working...any alternate to update standerd table .

    Hi  ,
    First talk to your Function Consultant  , why the standard table needs tobe updated  .
    if there is a purpose or a reason , then  see the table attribute  whether it is Masterdata/Customdata /Transcation data.
    Masterdata table
    Becuase for all Master data there will be define Transcationcode with screen program .
    Ex: for creating Vendor Master/Customer Master/Hr Master,etc so for all Master data ,there is Change Transcation code also ,so the Functional Consultant can change it  , if it is bulk then just record that  screen using LSMW or BDC so that  you can modify the data in the  Screen which will update the corresponding tabels.
    Customdata table
    If it is Customizing table then there will be  a define Table Maintainance directly or a View with Table maintaintance View. so Again Function Consultant can change the data. one thing here  if that data field is Primary Key ,then in the table maintaince view he or you cannot  change the data directly ,so either way is to delete the entry and create new entry with the changes you/he want .
    Transcationdata table
    If it is Transcation data then you should not do the change's for  the transcaction data  , if still it is required then  there will be reversable entry process (Ex: In Finance if  posting with incorrect entries of Currency or GL, then that  record should be reversed .)likewise  in SD ,HCM also they can reverse .
    Final OPTION is already you are trying already with SAP_EDIT  and also Our Community friends told how to play with editing table data.
    Regards,

  • Authorization for all the maintenance views from one table

    I have one table with data related to 5 systems.
    I have created views with related data for each system.
    These all are from one table only. while i am editing in one view, i must be able to edit the another view also. at a time 2 users cant edit the same view but at a time two users have to edit two different viws from same table.
    I have to provide all authorization to all views at the same time.How to achieve this?.
    Thanks.
    Edited by: pagidala Ramesh on Oct 27, 2008 10:52 AM

    Hi Pagidala,
    This is my idea how much it can help you i am not sure but, create txcode for views and assign the authorizations for the txcodes according to your requirements. May be your issue will resolve.
    Cheers!!
    VEnk@

  • Maintenance view does not bring the default language in the Text table

    Hi Experts,
    I am creating a maintenance view with the join of two tables
    TAB1 has following fields
    MANDT
    CATEGORY
    TAB2 (is the text table for TAB1) has the following fields
    MANDT
    LANGU
    CATEGORY
    DESCRIPTION
    I have created the maintenance view with
    MANDT
    CATEGORY
    DESCRIPTION
    When Itry to maintain the data through the view I can insert teh data in TAB1 but in TAB2 it doesnt take the default language key.
    I want my default language key as 'EN'.
    I have referred V_T77TMC_EDUTYP, but I cannot find the reason why in my custom view I dont get the language key.
    Request your help.
    Thanks
    Anu.

    Hello Anu,
    I believe that according to definition of maintenance view, for text tables there should be an automatic entry for sy-langu in SPRAS field. So, you should be able to get this without activating any TMG events.
    I suppose you have created a maintenance generator for your maintenance view and updating entries using SM30 for that maintenance view.
    Please check that you have created the text table properly. Check while putting TAB1 in SE16n and pressing enter, do you see TAB2 in 'text table' field ???
    Make sure while defining Foreign key relationship, you have used 'Key fields of a Text table' option.
    Do share if you face any problem ?
    regards,
    Diwakar

  • Refresh data in Table Maintenance view

    Hi,
    I have created a table maintenance view for db table A and added my function button to this view. When I click the button I append  a few records to the table A from table B. But this recoreds are not displaied in the view.
    If I rerun the view I can see added records.
    How I have to refresh the view to display added records?
    Regards,
    Ilya

    Hi Jesus,
    COMMIT WORK isn't help me.
    I found that I have to use TOTAL and EXTRACT structures to modify data in maintenance view.
    It's fine. I do something like this in my FM
    MODULE 9CUSTOM_PF_BUTTON INPUT.
    lt_total[] = total[].
    lt_extract[] = extract[].
    CASE function.
          WHEN '9DOWNSH'.
             modify lt_total from wa_total.
             modify lt_extract from wa_extract
    ENDCASE.
    total[]   = lt_total[].
    extract[] = lt_extract[].
    ENDMODULE.                 " 9CUSTOM_PF_BUTTON  INPUT
    But TOTL and EXTRACT tables contain data of  the current maintenance view.
    I work with a view cluster and I have to append or delete records from one view if I do something in other view.
    How I can modify data one view from another maintenance view?
    If I have modified database tables directly I don't see changes in the view cluster.
    Regards,
    Malnor
    Edited by: Malnor on Nov 23, 2010 9:19 AM
    Edited by: Malnor on Nov 23, 2010 9:38 AM

  • Populate table control in maintenance view

    Hi all,
    I need to load data from an excel file and then call the maintenance view from a table through SM30 transaction,
    I want to see the data from the file already loaded in the table control,
    any idea how could I achieve this?
    I don't know how could I do it, I've been working with events but I have no idea how to manage the entire table,
    I just can handle row by row of the table.
    Any help will be appreciated, thanks in advance.

    Ótimo,
    Muito obrigada, vou tentá-lo, falo um pouquinho de português graças a Deus.

  • Possibility to edit datasets, when there is already a maintenance view?

    Hello again,
    is it right that I can modify datasets even when there exists a generated maintenance view for the table?
    It was usual for me, that in the transaction SE16 don't allow that.
    Thank you for your answers!
    Melanie

    Depends on the setting for "delivery and maintenance" in SE11, should be set to "allowed with restrictions" for the underlying tables of the view. Also check the very good F1 help for this field.
    Thomas

  • 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 event for validation when changing data

    Hi All,
    I have a maintenance view on a table that should validate some fields during user input.
    I am using event 05 'Creating a new entry' to validate fields when user creates new entry in the table. That works fine.
    I would like to have the same validations happening when the user changes fields of records already existing in the database. I tried to use event 01 'Before saving the data in the database' but the problem with this is that user can change many fields of many records before clicking 'Save'. I would like to have the error raised for incorrect entry already after the change.
    So far I could not find an event to do this but only by changing the code itself. The problem with that is whenever the code is regenerated the custom part is lost.
    Is there an event I can use that would help me achieve this?
    Thanks in advance.

    Hi Abhishek,
    I tried event 21, I`m playing around with that since that`s the only one triggered when I press Enter.
    The problem with this is that
    - the check runs when you press enter, so you can still change many fields of many records (one step maintenance) before the validation runs
    - you can`t raise an error message, because only the key fields will be input ready, the non-key fields will be readonly
    The way I currently handle is I undo the changes in 21 (get previous field values from TOTAL) and raise an information message i/o an error informing user to check the entry.
    What I`m looking for is an event that will raise a message and set focus on the incorrect field (if there`s one such).

Maybe you are looking for

  • How can i export a blurb lightroom book layout into indesign?

    I've designed a book in lightroom in the BLURB layout. I want to export this layout into INdesign to finetune it. Any suggestions on how to do this?

  • Resetting a combo box

    I have added a combo box to the invoice form and populated the validvalues collection with a list of warehouses for the user to choose from.  This only appears in Add mode.  Everything works well except after adding an invoice, when all the SAP field

  • Icloud with Exchange 2007

    I have the following configuration: iPhone 4S with IOS 5.0.1 Using Icloud for backup Laptop is a MacBook Pro running Lion OSX E-mail Client is Outlook 2011 Multiple email accounts including both Exchange and Gmail Primary email account is exchange. A

  • Acrobat SDK Error

    I try to print (not creating!) PDF files from code (C#) without user intervention. The software I developed is a C# console application which use some objects of SDK Acrobat 9.0. I only have the Adobe Reader 9 installed on the deploying machine - I d

  • Music not syncing between OS 10.8 and iPhone 4 (iOS 6)

    I manage the syncing of music between my Mac and my iPhone 4 but creating multiple playlists on my Mac and syncing some of these playlists with my iPhone. This worked really well until I upgraded by iPhone to iOS6. Now, irrespective of which playlist