SM30 Maintainence

Hi i am maintaining a table through SM30. and i have used one display field in transaction for that table. when i am entering data through transaction that disply is getting displayed when i press ENTER. but when maintaining through SM30 that display field is not gettin displayed even i pressed enter. pls help me.
for example ,
    i am having 2 fields . one is employee number and other is employee name.
             name is a display field. when i enter employee number , and press enter name should be appear in screen.  it is coming in transaction which i created to enter data into table but it is not coming when i tried to entr data through sm30.give me some ideas.
                                         Kumar.

Here is the steps for making table maintaince generator ...
Procedure
1.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.
2.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.
3.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.
4.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.
5.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.
6.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).
7.Choose activate
8.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.
here is the link for creating Tcode .
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
reward  points if it is usefull....
Girish

Similar Messages

  • Will values move if maintained in table maintainence sm30

    hi,
    i have one doubt , i have created a table maintainence sm30, and maintained some values, now if i moved it in to production, will values also move or i have to maintain values in productiona also,
    cheers,
    vijay

    It depends ,but most of the time we maintain data separately i mean system wise.
    You can maintain values in production by using SM30 Transaction.
    If your client needs transfer data from one system to other system,then you need to create transport request.
    Search in forum like " How to transport database records''
    Thanks
    Seshu

  • Table Maintainence generator Error Special Character '_' in generic key

    Hello,
    I have created a Table which contain 6 fields. All the fields of the table are primary key. The combined length of all the primary key is 163 characters. In the activation Log of the table we have a warning message which states "Key length > 120 (Restricted functionality)". Initially we are able maintain the entries using SM30. BUt now when we are making the entreis in the table an error message comes. The error is Special character "_" in generic key.and we are not able to save the entries.
    I have deleted the table maintainence generator and have regenerated it. But the same error is coming.
    Please provide your suggestion.
    Thanks,
    Mohit

    Please provide your suggestions
    Thanks,
    Mohit

  • How to avoid dual maintainence of BP in R/3 and CRM

    Hello Everyone,
    As you are all aware we cannot maintain financial information (like company code data) in the CRM system and at the same time we cannot maintain marketing attributes in SAP R/3. What is the preferred approached used by Clients to over come the issue of having to login to two systems to complete the maintainence of BP information?
    Logically it seem to me that the BP should be created in R/3 first and then when the BP is transferred to CRM using the middleware, we can go ahead and assign the marketing attributes to it. However my client wants a one stop solution where in they can maintain all the information of a BP at one place.
    Is there a way to achieve this using Portals? Can we create a Iview that displays the R/3 Customer maintainence screen and add the Marketing attributes tab page of CRM to it as a tab page which automatically pulls up the business partner for maintaining the marketing attributes? Has anyone done this before?
    I would appreciate your feed back on this issue with some real time solutions you have used to overcome this.
    ARP

    Hello,
    This needs a development on R/3 side.
    1. You need to create a separate screen using some screen exit in R/3 Customer Master. This screen shall have all the requried extra fields .
    2. Goto SM30 and maintain an entry in table TBE24 and maintain the following:
    Product = DE_EIOUT
    Text = <Any Suitable text>
    Active = X
    3. Goto SM30 and maintain an entry in the table TBE34
    Event = DE_EIOUT
    Product = DE_EIOUT
    Function Module = <some Zfuniton module>
    4. Now this Z- Funciton module's interface can be copied from Funcionm module
    SAMPLE_FCTMODULE_DE_EIOUT. In this Z module, you write the code to read R/3 Zfields and put them in the datastructures of this module's interface
    When you create/ change a customer, the data while getting replicated to CRM, will pass through this Funciton module and here we fill the Z-data into Standard available CRM fields.
    Hope this works for you...
    Sharif.

  • Problem with maintain table views SM30 Transaction

    Hello All,
    i have a problem with the table maintenance view SM30, it doesn't permit me to modify the rows in the table.
    we have added a field into the table and when i tried to change the table view from menu: Utilities ==> table maintenance generator==> change the system propose me a message that the screen 0001 will be deleted and recreated...but the system has deleted the screen and doesn't recreate it...in somewehere on internet we find that we should use the transaction SE55 menu:
    Environment==> modification ==> Maintenance screen ==> button Layout which open the tool Screen Painter and from that we have created our screen with 4 fields of our table...our result that the screen is created and i can see it from the SM30 transaction but i can't insert rows in the table...when i try to go to maintain table: menu: Utilities ==> Table maintenance generator to try if i can modify something the system give me a message: "set the compare flag dialog ZIV_DP_PLCHAR_LA"
    the ZIV_DP_PLCHAR_LA is the name of my table...
    can you give me some advices please how should i do to fix this problem to insert rows in table throughout the transaction
    SM30 "maintain table views: initial screen"
    if i want to delete the screen from the SE55 transaction to recreate it newly what should i do to take care about some options
    to have a new screen?
    thanks for all
    Bilal

    Hi
    First delete the old table maintainence generator.
    Now Recreate the screen and your table is good to go..
    These error messages come when we add new fields and different version of the table maintainence generator in database.

  • Maintainence View Problem

    I have created a ztable, and have used that table in maintainence view, but when i use that view in sm30 for entering the data, one of the field description is not coming it is just showing '+' ., what would be the problem .

    in the ztable for that field u might have used a data element which has no description. If there is no description for a field then in SM30 it will be shown as +.
    To solve this, for this field create a new dataelement and assign the dataelement to the field. Then goto table maintenance, delete the one existing, create a new one and activate it.
    Now, when U go to SM30, u will see the description instead of +.
    Award Points...Useful...

  • How to see all the table contents in SM30

    Hi All,
    I have created a Z-table. In that records are stored based on the dates.
    Suppose :
    The fields and their values in the table are as below,
    Field1 Field2 Field3
    A 22/02/2008 31/12/9999
    A 12/01/2006 21/02/2008
    B 10/11/2007 31/12/9999
    B 27/05/2006 09/11/2007
    But in if we go in SM30 transaction, it is showing only recent records i.e.as below,
    Field1 Field2 Field3
    A 22/02/2008 31/12/9999
    B 10/11/2007 31/12/9999
    Please tell me how can I get the full contents of the table in SM30.

    Hi suman,
    Is this Ztable is created by you or someone else
    Because while creating the Table maintainence, they might have created a logic at events in table maintainence as
    (at new) statement.
    So while displaying it is picking only the first record with Primary key. please check it.
    REward me if helpful.

  • Table maintainence

    Hello guys,
    I have a requirement here. Please help me.
    I had created a custom table and had developed a custom program for creating new entries in that table.
    Basically the functionality of this program is similar to SM30.
    When I click NEW ENTRIES tab (table maintainence screen) for this table, 24 empty rows will be displayed with some default value say 'ABCD'in one of the columns for all 24 rows(pulling ABCD value from domain assigned to that field/column).
    Now my requirement is I have to change that default value 'ABCD' to some other value say 'PQRS' with out changing domain value range when I clicked NEW ENTRIES tab.
    How should I add this in PBO event of my program??
    Any suggestions???
    Thanks in advance.

    Hi,
    Do the following :
    In PBO 
      LOOP .
      assign new value here.
        MODULE test.
      update data from internal table to table control .
        MODULE update_data.
      ENDLOOP.
    MODULE test OUTPUT.
      zztest2-zztest = 'CDEF'.
    ENDMODULE.                 " test  OUTPUT
    MODULE update_data OUTPUT.
      DATA : lin TYPE i.
      lin = tc1-current_line + tc1-top_line.
      READ TABLE itab1 INDEX lin.
      IF sy-subrc = 0.
        zztest2-vbeln =   itab1-vbeln.
        zztest2-zztest = itab1-zztest.
      ENDIF.
      tc1-lines = sy-loopc.
    ENDMODULE.                 " update_data  OUTPUT
    Here ZZTEST are the screen fields ( zztest2-zztest change the default value ) and data is in ITAB1.
    Hope this work for you.
    regards,
    Gagan

  • Sm30.

    For what we use sm30 transaction.

    Hi Sasidhar,
    table maintanance Generator is used to manually
    input values using transaction sm30
    follow below steps
    1) go to se11 check table maintanance check box under
    attributes tab
    2) utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.
    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 maintaience 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
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    /message/2831202#2831202 [original link is broken]
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    Table maintenance is used to maintain data in the tables created (ZTABLE)
    Generally for inserting new records into custom table thru transaction SM30, we need to enter all the values manually and save the record.
    When certain data for the key fields needs to be populated automatically while creating entries, the steps involved are:
    Maintaining the subroutine in view V_TVIMF for a particular custom table.
    Logic for extracting relevant data for the fields entered, when user press enter button.
    Check this blog for more information on extracting data in table maintenance.
    /people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
    check this link --
    http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    refer.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Regarding SM30

    anybody explain when and where we use the SM30 and Sm31 transactions we use extensively?????
    purpose of its use.........
    good answers rewarded with maxi points........

    HI.
    SM30 is used for table maintainence(addition or deletion of records),
    For all the tables in SE11 for which Table maintenance is selected , they can be maintained in SM30
    Sm30 is used to maintain the table ,i.e to delete ,insert or modify the field values and all..It creates the maintenance screen for u for the aprticular table as the maintenance is not allowed for the table..
    In the SE11 delivery and maintenance tab, keep the maintenance allowed..
    Then come to the SM30 and then enter the table name and press maintain..,
    Give the authorization group if necessary and give the functiongroup and then select maintenance type as one step and give the screen numbers as system specified..
    Then create,,,
    Then u will able to see the maintenance view for the table in which u can able to insert and delete the table values...
    <b>SM31 and SM30</b> can also be used to display and update table data. SM31 is an older version of SM30 that has less functionality. The input field on the first screen of SM30 is long enough to accommodate any table name; on SM31 it is only five characters long. Before you can use either one, a special program called a standard maintenance dialog must be generated for the table you want to display.
    A standard maintenance dialog is an ABAP/4 program that you generate. When you invoke SM31 or SM30, the data browser will automatically find and invoke that generated program. It provides a more complex interface and more functionality than SE16. For more information on maintenance dialogs and the procedure to create them, consult the R/3 Library help.
    <b>SM31 is called Standard Table Maintainance Tool & SM30 is called as Enhanced Table Maintainance.
    Both SM30 and SM31 use the same program SAPMSVMA. But not all Table can use the Transaction SM30.</b>
    SM30 can be use to Call View Maintenance
    SM31 can Call View Maintenance Like SM30.
    Thats why it is maintained separately in SAP R/3.
    rewards if useful,
    regards,
    nazeer

  • Unable to edit maintenance view in SM30

    hi everyone.
    need your help, I have one custom table, let's call it YTAB.  This table has several maintenance views created for it, depending on company code.  For YTAB, i have created a maintenance view YTABX. 
    When we moved YTABX to PRD, we cannot edit it in SM30.  The user ID has the right authorization.  The error message is "client 100 not modifiable".  When I try to edit the mother table YTAB in PRD, I am able to go in and do the changes.
    I have already compared the settings for YTABX with the other existing views, they are the same.  My settings for the view are:
    Access: Read, change, delete & insert
    Delivery Class: C
    In the table maintenance generator, i have a 2-step maintenance type, recording routine is Standard recording routine and compare flag is automatically adjustable. 
    Attributes for table YTAB also has delivery class C, table category is transparent table, table maintenance is allowed.
    Thank you in advance.

    Hello roch,
    the direction in which mark points is right but i think you should get some more information on the principles of table types and sap system landscape.
    Usually you should not be able to directly maintain any table. This is not only bad style but also a huge risk for the system consistency. That's why application data is always maintained via some kind of application which ensures that the data is vilidated before it is stored.
    Customizing data should only be maintained within a development system and then transported through the landscape. To maintain these table you can use generated views, customer developed maintenance views, view clusters which all include automatical link to the transport system. If you would maintain these tables directly in the productiion system it would have another configuration than the development and the quality/test system which makes them more or less useless as you can no longer make any serious test if the server configurations differ.
    To prohibit changes of customizing tables on production and test servers the admins lock the systems which results in the message you got. This setting is made in TCODE SCC4. Even if you have for any reason the authorization to use this transaction you should in no case change these settings without approval of basis / system owner. 
    Kind Regards
    Roman

  • How to retreive data from a maintainence view?

    Hi all,
    I have used select query to retreive data from a maintainence view. But it gave me a syntactical error that XYZ is not in abap dictionary , it's a database / projection view?
    So can't we get data from a view using select query?
    Please share if u have answers.
    Thanks & regards,
    Chandru

    Hi,
    Maintenance view will be created for database tables only.
    Just display the maintainence from SE11 and click Tables tab in the screen
    Here you can find the list of tables used to created for Maintainence view.
    YOu can use these tables to write SELECT.
    If you give us the maintainence table, we will help you.
    Thanks,
    Ramakrishna

  • Error while maintaining a table in SM30

    Hi experts,
    Im getting the following error when trying to add entries (Maintain) in table T5ASRAUTHMETHOD  in SM30 transaction.
    The error is " The maintenance dialog foor T5ASRAUTHMETHOD is incomplete or not defined".
    Pls tell me how to correct this error.

    Hi Shanthi,
    the Delivery Class, and the existence of a tablemaintenance dialog,
    and the "recording routine" setting. All of this would
    be visible through SE11.
    Regards,
    Md Ziauddin

  • Can I manipulate data in a table maintenance view (SM30)?

    Hi Everybody,
    I have a "z" transparent table with 3 fields:
    Field 1: User
    Field 2: Name
    Field 3: Address
    In its maintenance view (SM30) I want next:
    When I capture the "User", I want to populate the "Name" and "Address" automatically. (Obviously with a previous calculate of "Name" and "Address")
    Is it possible? How?

    check this blog
    Extracting data in Table maintenance

  • Data Maintenance view exist - but unable to modify data in SM30.

    Dear all,
    Had created a customized table, with "Display/Maintenance Allowed". Table maintenance is also generated. So data in the customized table can now be maintained via SM30 in the Development server.
    However, when the customized table is transported into Testing server -- when attempting to modify the table in SM30,
    an info message pop up stating "Client 003 has status not modifiable". With that, could not maintain the table directly.
    Kindly shed so light on the matter above.
    Thanks in advance.

    Your table maintenace generated is flaggedas 'Standard recording routine' - check in - table maintenance -> 'Dialog data transport details'.
    If you want to allow to maintain in QA or in Prod box please set the flag to 'no, or user, recording routine' .

Maybe you are looking for