Stop user to maintain table thru SM30 !!!!

Hi Guys..
I have created a tcode for a table maintanance. It is working fine. Also i have unchecked Checkbox 'Table Maintance Allowed' to stop table updation thru SE16.
Now i  want to stop user to access SM30 to make new entry in that table. User can update table only using that created Tcode.
Is it possible?? if yes, then how..
plz put you views on this..
Thnks in Advance.
Prashant Malik

hi,
  if u go to the table Maintenance generator screen,
SE11-> Utlilities->Table Maintenance Generator.
u will see the maintenance screen number. just double click on the screen number and u will get into the flow logic of the screen. get the access key and write the code there to validate the transaction..
Hope this solves ur problem
Thanks,
NJV
Edited by: Nivin Joseph Varkey on Apr 7, 2008 3:26 PM

Similar Messages

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

  • I want to write condition while creating table/maintaining table using SM30

    Hello all,
    I am creating table Z_CUST with only 2 fields Client, Customer number using SE11 transcation then maintain using SM30 transcation.
    User should only be allowed to enter customer number that is in account group(KNA1-KTOKD) ‘Z011’. This  validation should be performed during data entry.

    Hi,
    Crete the table maintenance generator for your Ztable.
    below is the brief procedure to create table maintenance.
    Table maintenance generator is basically used to do table operations like (insert, delete, modify...).
    if you create table maintenance for your table it will build a module pool program, by using you do the above operations.
    below is the procedure to create table maintenance generator.
    1) Create one function group.
    2) after activating your Ztable, choose 'Utilities'----> 'Table maintenance genrator'.
    3) then give the authorization group and function group created abobe in the next screen.
    4) Then choose the "create" button in your application tool bar, which will creates the module pool program.
    5) then create one Tcode by chosing "Transaction with parameters( parameter transaction)".
    6) in transaction field give "SM30", select the check box "Skip initial screen".
    7) in the below of that screen you can find the "Default values" frame.
    8) there under the "name of screen field" select the "View name' and 'update".
    9) in value column against to "view name" give you table name, and against to "Update" put 'X' in capital letters.
    save it then you can straight away use this newly created Tcode to maintain your table.
    Note:- 1) make the modification while saving the data into your table using this newly generated program to carry out your validation (even though it looks like standard program; no need to enter the access key).
    2) if you do any changes to your table and press the activate button automatically the table maintenace generator will be goes off, you need to create this again.
    Reward if useful.
    Thanks,
    Sreeram.

  • Do validations on fields while User enters data thru SM30

    Hi All,
    I am creating a custom table and would like to validate the data when user is entering the data thru SM30 manually and display appropiate status or error messages if the data entered is wrong. Also i have to allow only those users that are assigned for that role to access the table and should be able to Add and Update but not delete any record from the table. This is Urgent as i have to get this done real quick and then test my program on it. Any help will be greatly appreciated.
    Thanks in advance,
    David.

    David,
    For doing validations you need to make use of modification event
    <b>01     Before saving the data in the database</b>
    Refer to link for list of events available
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm">Extended Table Maintenance Events</a>
    To control with authorization please refer to the link below.
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/a7/5134d2407a11d1893b0000e8323c4f/frameset.htm">Maintain authorization groups</a>
    Refer to this blog for event creations
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc</a>
    Regds
    Manohar

  • How to populate date & time when user enter data for custom table in sm30

    Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
      Req is
      i have custom table and using sm30 user can enter data.
    after saving date i want to update date & time in table
    Pls let me know where to write the code?
    Thanks in Advance

    You have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
    FORM update_user_date_time.
      DATA: f_index LIKE sy-tabix.
      DATA: BEGIN OF l_total.
              INCLUDE STRUCTURE zztable.
      INCLUDE  STRUCTURE vimtbflags.
      DATA  END OF l_total.
      DATA: s_record TYPE zztable.
      LOOP AT total INTO l_total.
        IF l_total-vim_action = aendern OR
           l_total-vim_action = neuer_eintrag.
          MOVE-CORRESPONDING l_total TO s_record.
          s_record-zz_user = sy-uname.
          s_record-zz_date = sy-datum.
          s_record-zz_time = sy-uzeit.
          READ TABLE extract WITH KEY l_total.
          IF sy-subrc EQ 0.
            f_index = sy-tabix.
          ELSE.
            CLEAR f_index.
          ENDIF.
          MOVE-CORRESPONDING s_record TO l_total.
          MODIFY total FROM l_total.
          CHECK f_index GT 0.
          MODIFY extract INDEX f_index FROM l_total.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " UPDATE_USER_DATE_TIME
    Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated.

  • Linking intotype listbox to table in sm30 inorder to maintain field values

    Hi All,
    I got a requirment to create custom infotype with some custom fields adding to stndrd infotype an with also some validations .
    So let me know, How to link intotype listbox to table in sm30 inorder to maintain field values?
    Thanks for the same.

    Hi Vinay,
    The best way would be to assign the search help in the table directly and recreate the maintainance...in this manner the search help would be available in the sm30 already..then using "Ëvents" of the table maintainance generator we can validate the fields entered at the time of saving..if a standard search help already exists then t would be availbel in maintainance......
    to create events -> go to se11 -> utilities -> table maintainance generator -> click '
    then go to environment -> modification -> events ..in the table control..create new entries ....and select the suitable event and write the code in the routine to do validations
    Hope it helps
    Pls check and revert
    Regards
    Byju

  • Dump while Accessiing Table maintenance for Table P44V thru SM30

    Hi,
    I need to insert an entry into P44V table thru table maintenance (SM30).
    But, when I try to access this, run time error is coming sayig "DYNPRO_NOT_FOUND"
    Error analysis
        The system attempted to use dynpro 0001 in program "SAPLWIS_PLAN_C".
        This dynpro does not exist.
    Can you please let me know, how can I solve this issue.
    Thanks,
    Sandeep

    GOTO se11 open your table and regenerate the screen for the Table Maintenance Generator...

  • Restricting user to maintain entries in production through table maintenanc

    Dear All,
    I have created one table maintenance generator.
    I am sending entries of table to quality and production server through transport request.
    But user can directly maintain the entries in quality and production server also.
    I want to restrict user that he will not be allowed to maintain the entries directly in quality and production server and entries always go through transport request from development to quality and production server.
    Any idea how to restrict user to maintain entries in quality and production server.
    Any pointers will be helpful and appreciated.
    Kind Regards,
    Tarun

    Hi tarun,
    for your requirement you have to create events(create new entry) in table maintanace generator for creating new entry.
    create 05 event and give suroutine name as new_entry.
    form new_entry.
    message 'authorizatioh restricted for creating new entry' type 'E'.
    or
    create authorization objects then give authorization for perticular user for maintaining data in the table
    by creating authorization objects.
    endform.
    you can also refer below link for how to create events in TMG.
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=7246565
    Regards,'
    Peranandam
    Edited by: peranandam chinnathambi on Apr 1, 2009 4:55 PM

  • 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

  • Creation of user maintainance table

    Hi All,
    I know developing table in se11 but how to develop user maintainance table?

    Hi Kalandar,
    End users will Create, Change or delete using the TMG of the structure that you had created in your Ztable.
    Please go through the links below :
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc?quicklink=index&overridelayout=true
    Please let us know if you require anything regarding same.
    Regards,
    Kittu

  • F4 help for custom table field - to be used when populating data thru SM30

    Hi,
    I have a custom table with 5 fields - say A, B, C, D and E. While populating data to the table through SM30, I need to create a F4 help for the field C. A  custom function module needs to be used.
    I have created a module for the same in the event PROCESS ON VALUE-REQUEST of the function group of the table.
    But the F4 for field C depends on the values put in fields A and B.
    I am not able to get the values of fields A and B from within the module PROCESS ON VALUE-REQUEST.
    Please help me to create the F4 help.

    hii,
    This is the piece of code i have used in one of my SM30 to get f4. mopdify according to ur need and use.
    revert back for further help.
    w_dynpread-fieldname = 'ZSITEDCDATA-SITE'.
      APPEND w_dynpread TO i_dynpread.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = 'SAPLZSITEDCDATA'
          dynumb               = sy-dynnr
          translate_to_upper   = 'X'
        TABLES
          dynpfields           = i_dynpread
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE i_dynpread INTO w_dynpread INDEX 1.
      IF sy-subrc IS INITIAL.
        SELECT land1 FROM t001w
          INTO TABLE i_site
          WHERE werks EQ w_dynpread-fieldvalue.
        IF i_site[] IS NOT INITIAL.
          DATA: lv_line TYPE i.
          CLEAR lv_line.
          DESCRIBE TABLE i_site LINES lv_line.
          IF lv_line GT 1.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                retfield        = 'ZSITEDCDATA-SITE_COUNTRY'
                dynpprog        = 'SAPLZSITEDCDATA'
                dynpnr          = sy-dynnr
                window_title    = 'Site Country'
                value_org       = 'S'
              TABLES
                value_tab       = i_site[]
                return_tab      = i_return
              EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              READ TABLE i_return INTO w_return INDEX 1.
              IF sy-subrc IS INITIAL.
                zsitedcdata-site_country = w_return-fieldval.
              ENDIF.
            ENDIF.
    Thanks ,
    Gaurav

  • How to maintain table 'EDICONFIG'?

    Hi, All
       Our project get a problem: all the persons get a workitem in inbox. Its text is 'The IDoc have no data records'. We have found out the reason. Beacuse the rule 30000001 in task TS30000020 can not obtain the EDI Administrator user ID from table EDICONFIG, the workflow will send this workitme to all. We want create one into table EDICONFIG now. But is there any standard way to maintain talbe 'DEICONFIG'?
    Thanks.

    Hi All,
    We are also facing same issue and every1 receiving workitem for task TS30000020. The FM - EDI_ROLE_FOR_MESSAGE is having query -  
    SELECT * FROM ediconfig INTO TABLE local_ediconfig_tab
                                             WHERE   uname      = ediadmin_uname   " EDIADMIN
                                            AND edi_global = 'X'
                                           AND edi_prog   = '0009'.
    I have check user id - EDIADMIN is not defined in our system. Please advice what what setting I have to do thru Tcode OYEA and do we need to create user with ID - EDIADMIN.
    Thanks.

  • T158 - What's TCODE is used to maintain table T158

    Hi Guru,
    I'm looking for the TCODE or IMG paht that is used to maintain table T158?
    T158 - Transaction Control: Inventory Management.
    Now we're implementing but we don't use standard document type (BLART). We create a new document type such as "GR instead of WE", "GI instead of WA" and "GA instead of PR". Now we have a problem when we goods receipt, the system shown message about   WE  does not exist in T003 (check entry). I've debug it and seen table: T158 determine document type. So I've changed value in T158 directly as "MIGO_GR     H     GR     GA     WE". It's work!! we can post GR but I don't know the IMG path or TCode to maintain that table. Please kindly advice.
    Thank you very much.
    Edited by: Saiyaman on Aug 24, 2009 7:58 PM
    Edited by: Saiyaman on Aug 24, 2009 8:00 PM

    Hi,
    GO to SM30 enter the table name and then click on customization and then click on skip
    regards

  • How to maintain table CABNT in SAP?

    Hi Experts,
    Good day!
    I am executing report ZMCL for Material Characteristics Report but I got no data extracted even if there is data as can be seen in the Classification tab of the material master (MM03). I tried to investigate where this report retreiving the values and found out that it is accessing table CABNT to retrieve the Characteristic Descriptions for the material. When I checked in table CABNT, it turned out that the characteristic descriptions of the material I used is not maintained in table CABNT that's why there is no data extracted when i executed ZMCL. Now I tried to maintain table CABNT in SM30 and SM31 however I got an error message which states that "Create data processing function module".
    Would you know how this table can be maintained?
    Any ideas are highly appreciated. Thanks in advance.
    Regards,
    Rockz

    a characteristic is maintained in CT04

  • Is it possible to restrict changing records in customizing table in SM30?

    Hi.
    Is it somehow possible to set authorizations in a way, that a user could change only certain entries in a customizing table using SM30? What I want to achieve with this - we have an internationally used system, where consultants from different countries are working often on the same customizing tables and we would like to restrict tham to be able to change records only relevant for those countries, so they cannot change the records for other countries by mistake / on purpose. The records are usually identified by a certain "grouping" field (for instance MOLGA in table T511K or MOABW in T554S).
    So far I couldn't find anything apart from the S_TABU_DIS object, which is too rough for this requirement.
    Or maybe is there another way to achieve security in such a scenario?
    Thanks in advance for any ideas.

    Hi dusan,
    1. If u are talking about SM30 for standard table,
       then i don't think there is any such standard feature / facility,
       for restricting.
    2. If its our own Z Table, then we can go for events in table maintenance
      and write our code for same.
    3. But if such restrictions/validations are required,
       then its better to have a module pool for such thing.
      SM30 is for very simple and basic table maintenance.
    regards,
    amit m.

Maybe you are looking for

  • TS1424 Song download error

    I purchased an album on itunes and three of the songs won't download.  I get an error message saying they have been corrupted and to try redownloading them, which I have tried. Under status, the files say "- stopped (err = -100000). Plese help!

  • Data Upload in DB2

    Hi, I have a text file that has some records,this file can either be pipe seperated,comma delimited or any special character seperated. I want to upload this data to the db2 database. I have done the same thin in oracle with the help of sql* loader.

  • Special gl process

    hi, i read that there are 3 types of special gl processes : free offsetting postings, automatic offsetting posting and noted item. 1) only free offsetting posting will impact FS? 2) automatic offset will have notes or only appendix in FS. can conside

  • Main toolbar not showing?

    It is simple question. But frustrated me enough. Why my main toolbar (supposedly consists of save icons, etc) not showing? I ticked the main toolbar already from View-Toolbar-Main It seemed to be folded, but I just cant unfolded it. Regards

  • G,H,Backspace Keys Not Working- G7 Series Notebook

    Product name: HP Pavilion G7-B5Z48UA Operating system: Windows 8 64 bit I purchased this computer about a month ago, and it was fine. A few days ago, I noticed that several of the keys (g,h,',backspace, 8) were not working. After the computer has bee