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

Similar Messages

  • 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

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

  • Fields missing in SM30 after adding new fields to the table

    Hi ABAPers,
    I added a new field & marked another field as primary key in the table. Then I generated the table maintenance view for the table in SE55 and adjusted Database utility SE14.
    When i saw the table in SM30. The number of fields in the overview screen of SM30 shows less field then existing in table. i.e in my table i have 10 fields(3 primary). in SM30 it shows only 5 fields(3 primary + 2 normal fields)
    In SE51, the overview screen of the table show less fields in the field list..
    I want all the fields in the Table maintenance overview screen. Please suggest me a way forward friends..
    Note: the system is 4.0B.
    Thanks...Suresh Kumar

    Hi
    You have to re-generate your dialog for SM30 by table maitenance generator.
    - From Se11 go to table maitenance generator
    - Choose update icon
    - Set flags for NEW FIELD
    - Go to expert
    - Set flag to re-generate dynpro
    Message was edited by: max bianchi

  • All fields are not displayed in SM30

    Dear All,
    I have created one Z-Table with 5 fields. For that Z-Table I have maintained table maintenance generator. Now in SM30 I am able to see only 3 fields, I have checked all the options but I am not able to find out what is the problem that 2 fields are not getting displayed.
    Please tell me what might be the issue?
    warm regards,
    nishu

    HI,
    While generating the TM there is oneoption which can disable some fields in sm30.
    I think they may be the reason in your case.
    regards,

  • How to maintain Ztable using function module instead of SM30

    Hi Friends,
    please tell me , How to maintain Ztable or view using function module instead of SM30.
    Thanks,
    Veerendra.

    Hi,
    You can design your report and use Function module VIEW_MAINTENANCE_CALL for that.
    You need to use Action type as 'S' for displaying and 'U' for maintaining the table.
    Ex:
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        ACTION                               =  'S'
        VIEW_NAME                            =  'Table Name'
    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
       OTHERS                               = 14.
    Hope this helps.
    Message was edited by: Imtiaz Ahmed

  • How can I maintain two tables content at the same time with SM30

    Hi all,
    I created two customizing tables that I would like to link together for maintenance in SM30. Table 1 is the header and table 2 can have multiple detail records.
    They are linked via the ID key field. I would like to run the Table Maintenance Generator on the first table in SE11 and be able to maintain both table data at the same time in SM30.
    How can I do that without any ABAP programming? Should I use Append or Include structure or else?
    Thank you for giving as much detail as possible.
    Regards,
    Sylvain

    Hi,
    You cant do it w/t abap programing.
    You can code in "EVENT" to achive the same.
    Open table maintainance generator of first table through se56 or se11.
    follow the path: environment>Modification>Event.
    Select sutaible event from drop down like Before Save... and do coding.
    In this way data will be saved in second table automatically when you save in first table.
    In case of any query, please revert.
    regards,
    Dhan

  • How can we protect the  ztable non key fields data in sm30 display.

    Hi experts,
         I have created tablemaintenence generator for one z table, in sm30 user has access to enter the data.
    in that maintenence i have to protect the non key field values data  like once the user saves his data.than in the edit mode it has to show the nonkey fields data  but  dont access to edit some nonkey fields... please help

    Hi
    U need to change the screen flow generated by maintenance view generator: here go to Enviroments->Modifications->Screen; doubleclick on your screen and the system take you to screen painter.
    Here go to screen flow and in PBO add new module in order to protect the field for the old records: u can use the statament LOOP AT SCREEN./ENDLOOP to do it.
    LOOP AT SCREEN.
       IF .....
         SCREEN-INPUT = 0.
         MODIFY SCREEN.
       ENDIF.
    ENDLOOP.
    Max

  • How to capture the data that the user modified in SM30(Maintenance view)

    Hello experts,
    I have a new requirement wherein when the user modifies a particular record in SM30(maintenance view)
    it would also update that certain records in another table. For example, I modified the address
    of record 1 in table1 so I need to automatically update that same record in table2. Help would be greatly appreciated.
    Again, thank you guys and have a nice day!

    Hi again,
    1. But how can I capture the data that was modified
    Yes, u are right.
    We will have to use the event,
    'BEFORE SAVING'.
    2. In that,
      u must fire a select query,
       from the same table,
       for the same record.
    3. In this, u will get the OLD DATA (which was already saved),
    4. Using this,u can compare,
       (either thru LOOP, or field by field)
      to know, which field value has been changed.
    regards,
    amit m.

  • Unable to change the entries in SM30

    Hi all,
    In my program i am inserting records using MODIFY DBTAB.
    COMMIT WORK.
    After the prog execution i hv to change the entries in the DBTAB.
    I am unable to change the created records.
    Can u pls explain me what is happening here?
    Thanks in advance
    Praveen

    To be able to use SM30 to modify any data in a database table you need to have a maintenance dialog generated for that table.
    If you have one generated depending on the type of the dialog (maintenance allowed with restrictions) you will still not be able to modify the data.
    If you need to change data through SM30 you should either create (or change to maintenance allowed without restrictions) and regenerate the table maintenance dialog. Make sure that the existing dialog doesn't have any customization to it because that will all be lost after regeneration.
    The other option to change the data is would be through SE16 and debugger or through a program.
    Hope that helps,
    Michael

  • Add button to the transaction SM30

    HI
       Whether it is possible to add a buton to application tool bar in the transaction SM30.
    help reg this.

    Hi,
    Yes, it is possible to add button for the transaction SM30.
    This is possible through Menu exit.
    Procedure for Menuexit:-
    Go to SM30 ->System -> Status
    Repository data -> Transaction -> Double click on it
    Copy package name
    Go to SMOD
    Press F4 then a popup will open
    Click on information system
    Enter package name and press Enter
    Then we will get Exit
    Put cursor on that exit and press Enter
    Go to change mode and save it.
    Go to CMOD or alternatively we can use the path tools -> ABAP/4 Workbench -> Utilities -> Enhancements ->Project Management
    Specify Project name in the enhancement text box
    Click on Create icon on the application toolbar.
    Enter description for the project and save it
    Click on Enhancement Assignment button on the application toolbar
    Give Exit  and save it
    Go to Components on the application toolbar
    Double Click on MENUS001
    Write function text which we want to add to menu item and save it with an request      number
    Double Click on Exit and write code there to display menu item in the screen
    Activate the include program and finally activate the project.
    Please reward points if helpful.

  • Add button to SM30

    Hi,
    I have a table with a table update generated to update the table from sm30. what appens is that i want to add some button to the screen where i do the update to the table, is that possible? And is there anyway to control when the user do double click  in a line of the table in the same screen?
    thanks,
    Ricardo

    Hi,
    You would have to change the generated function module. A function Module and a screen is generated once you use the table maintenance generator. Please remember that the process of changing the generated code can be cumbersome.
    Hope this helps,
    Sudhi

  • How to create a variant used in SM30,View variant in Parameter transaction?

    Dear Team,
    I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious.
    The question is on TVIMV-VARIANT How can we create a variant which can be used in tcode SM30.
    Delving a  little deeper show that these variants Obsolete since R/3 Release 3.1I: Selection variant for a table or maintenance view.
    Since R/3 Release 4.0, there are view variants instead of selection variants.
    The field only exists for reasons of backwards compatibility.
    If thats is so, How do I use the same in parameter transaction..?
    I have tried creating a view variant and use it parameter transaction but in vain..
    Please help resolve my problem. I hope I am very clear. If still need any clarification, please get back to me.
    Thanks a lot in advance,
    Reagards,
    Sai.
    P.S. Though there are multiple quuestions on simlar subjects none of them has been either answered or is completely relevant to mine.

    Dear Suman,
    Thanks a lot for the answer. Actually the Tcode is getting created if I do what you have said me.
    But when I run the tcode which was created by view variant created, I am not getting the desired details .
    To be more clear..
    Previously there was a variant (TMIMV-VARIANT) created with follwing criteria..
    Table TMIMV.
    TABNAME    VARIANT AS4POS            VIEWFIELD NEGATION OPERATOR     VALUE         AND_OR      TABIX
    V_TCURR     ZTHB     1     KURST     NOT     EQ     M     AND     2          
    V_TCURR     ZTHB     2     KURST     NOT     EQ     DWBP     AND     2          
    V_TCURR     ZTHB     3     TCURR          EQ     THB     OR     4          
    V_TCURR     ZTHB     4     TCURR          EQ     USD     OR     4          
    V_TCURR     ZTHB     5     TCURR          EQ     US$          4     
    When we run tcode created by paramaeter transaction.. viewname as  V_TCURR, TMIMV-VARIANT. I am getting the desired records for updation.
    But if I do the same using View variant with the same selection criteria
    Table            Field name     Operator      Comaparison  AND/OR
                                                                   Value
    TCURR     KURST     NE     'M'     AND
    TCURR     KURST     NE     'DWBP'     AND
    TCURR     TCURR     EQ     THB     OR
    TCURR     TCURR     EQ     USD     OR
    TCURR     TCURR     EQ     US$
    And the run the tcode created by using the view variant .. I am getting No entries found that match selection criteria...
    Could you please help and let me know if I am missing any step.. Kindly also check from your side how this can be achieved.
    Thanks a lot in advance,
    Sai.

  • Maintenance view sm30 thru SE93

    Hi All,
    I have created a tcode thru SE93, using transaction SM30. I had given a viewname.
    My problem is I don't want user to browse table and select a record from there to edit/mtn because the table is too big and results a short dump.
    I want user to key membershipno in or select (by match code)
    how to do that ? to put something in the screen field to get that ?
    Thank You

    Hi,
    When you create the maintenance view, there is a column with heading 'P'. Give the value 'S' for fields which you want to fiter. Then a filter option is shown when you generate the maintenance view.
    Also you can create a report and have selection screens(Mandatory) for the fields of your choice. Then filter on the PBO event accordingly ( you  may also use apposite events) based on the filter to display only relevant records if the size is more.
    Hope this helps.
    Cordially,
    Shankar Narayanan.

Maybe you are looking for

  • Why is my new iPhone 4S and Lion operating system so glitchy and problematic, compared to the 3GS that I had before?

    This is the 2nd time in the same day that I've sought out the Apple support communities after never once having to in the 6 years that I've used Apple products. All of my Apple products (iphone 3GS, 2 ipods, an imac with snow leopard, 2 ibooks) has w

  • No network adapter or drivers seen in windows 7 after Boot Camp 5.0.

    Mac Book Pro (newest). I Did a boot camp install of windows 7 home premium. Allowed 76 Gigs for that partition. Thought that would be enough. Did just fine.  Got all done and I cannot access the internet wifi or eithernet in Windows, when I trouble s

  • Perl problem? Run postflight script

    Yesterday my USB mobile internet aircard wouldn't mount in OS X (10.5.6). I spent hours on the phone with the ISP's tech support, and they ultimately had me download and reinstall the software. When I attempted to install that software, it failed wit

  • Macbook Retina 13"- slow drawing?

    Photoshop CS6 Extended 13.0.4 x64 Macbook Pro Retina 13", Intel HD Graphics 4000, Mac OSX 10.8.3 Hello, I installed Photoshop on my brand new Macbook and was surprised at how slow it was with retouching/drawing - eg signing my name with a paintbrush

  • How to transport mapping format for ELM ????

    Hi All,      I want to know how to transport the Mapping Format that we create for external list management (ELM). I clicked on the Customizing Transport link given in toolbar. But that doesnt seem to create any subtask. Is there any other procedure