Query on Table Maintenance

Hi
I have created a Z Custom table. I have also created a Table maintenance for this table. Whenever i maintain entries through SM35 Table maintenance, it prompts me for a request number. I donot want it to ask me a request number for maintaining table entries.
Any suggestions.
Murali

Hi,
In the Delivery Class field (Delivery and Maint. tab) of SE11 for that table, you would have specified C (Customizing table). Make that to A (application data) and it will not prompt for Tr. request.
Regards,
Ravi
Note :Please mark the helpful answers

Similar Messages

  • Field validation in table maintenance generator and input value grey out.

    i have created ztable with 3 fields as em_no,em_no and addrnumber.
    first two fields are custom fields but the third custom field need to validate the standard table adrc contains the value of the field addrnumber.
    i need the query of field validation query which we write in create entry events in table maintenance generator and also if we give wrong value for addrnumber in sm30 maintain table, the input field need not to be grey out for next entry...
    please help.

    Hi,
    create method -
    >before saving data.....write the logic between the method
    go to utilities->table maintanance ,,,after creating generator ---go to envirnment->modification->events.
    create event -.>.as zsave select event  type 1(before saving data to table) write code in include....
    consider data for field3 is 10 .
    lv_new = ztbr(table name)-field3.
    select field3  from ADRC(ZTABLE) into wa_new (TYPE ZTABLE) where field3 = lv_new.
    if sy-subrc = 0.
         working fine
         else.
        message  i888(sabapdocu) with 'data invalid'.
    endform.
    This will help u...
    Thank u.........

  • Query in Table Maintanance Generator

    Hi,
    I have a query in table maintanance generator. In tables Extract and Total we have all the entries. Is it possible to get the entry which we made in the record. I mean i need the record in this i made the changes. I cant use above tqo tables because special characters are coming. Any body can suggest.
    Regards,
    Maheedhar

    Maheedhar,
    You will have to modify the program/code that was generated from the table maintenance generator to fit your requirements. 
    You can accomplish this by digging through the transport that you created, or by debugging through SM30 when you add a new entry or hit the save button.  You should be able to find a place to add your custom logic.
    Note:  If you modify this code, anytime in the future if someone re-generates this table maintenance, your custom code will be over-written.
    Thanks,
    David

  • Table Maintenance Generator giving Error in PRD.

    Hello Experts,
    I am receiving below error in PRD for a Table Maintenance generator for Z-Table. PFA Screen Shot.
    My Query is that though the information icon narrates to goto T-code SE54 & Re-generate TMG for the specified Function group. Which Option should 1 select after i had selection the option for Edit Function group->Re-generate group specific program.
    The info icon in the first pic says to do the following.
    Choose 'Edit Function Group' in the transaction SE54, enter the function group name 'ZOTMTRDPROFITSEG' and choose 'Regenerate Group-Specific Programs'. Choose 'Refresh Structure-Spec. Data Declarations' in the next selection window.
    Would like to add a point that this Function grp also contains TMG for other tables as well, will it impact other TMG's.
    Best Regards
    Priyesh Shah

    regenerate the TM object via SE11 - Table maintenance.
    normally should do the trick.
    However, keep the func groups & tables 1:1 saves a lot of this kind of problem.
    Don't mix them up i.e. more than 1 tab maint for a func group - never ending hassle you will get!!!
    go into Expert mode and regen it again. Remove the maint from this func group and create new func group for the table.

  • MII report for MII table maintenance

    Hi Experts
    My functional consultants want an easy way to update data in bespoke tables within the MII database.
    They want to do mass updates. This is so they can run a demo of some interfaces, then reset the MII data to its previous state.
    They cannot log on to SQL.
    My plan is to enable this using an MII report running an update query/queries.
    Has anyone done something similar? Can anyone give an example of an MII report to show table data and then allow the data to be updated in the underlying table (I suppose using an update query, allowing flexible updates)?
    Or is there an easier way to enable a user-friendly table maintenance? Has to be something quick to build
    Many thanks,       Ben

    2. in Web, create irpt with this script
    function Selection(){
         var myApplet = document.iGridBatchData;
         var myGridObject = myApplet.getGridObject();
         var rowCount = myGridObject.getSelectedRowCount();
         var txt = "";
         for (i=1; i <=rowCount; i++) {
              var RowNumber = myGridObject.getSelectedRowAt(i);
               txt= txt + "," + myGridObject.getCellValueByName(RowNumber,"DateTime") ;          
         var txtLength = txt.length;
         txt =txt.substring(1, txtLength);
         var SQL = "SELECT * FROM x where DATETIME not in " + "(" + txt + ")";
         document.getElementById('TT1').value=SQL;     
    in body
    <APPLET NAME="iGridBatchData" CODEBASE="/XMII/Classes" CODE="iGrid" ARCHIVE="illum8.zip" WIDTH="640" HEIGHT="400" TABINDEX=1 MAYSCRIPT>
         <PARAM NAME="QueryTemplate" VALUE="Default/MultipleSelection/TagHistory">
         <PARAM NAME="DisplayTemplate" VALUE="Default/MultipleSelection/GridMultiple">
         <PARAM NAME="SelectionEvent" VALUE="Selection">
    </APPLET> </p>
       <input type="text" id="TT1"  class="txtField"  maxlength="400" size="200"> </p>
    The answer is something like this
    SELECT * FROM x where DATETIME not in (Aug 12, 2011 11:55:01 AM,Aug 12, 2011 11:56:01 AM)
    Aug 12, 2011 11:55:01 AM,Aug 12, 2011 11:56:01 AM is from 2 rows selection and it will increate for multiple rows you selected. Now you just need to change the SQL to update statement.
    regards
    sengkiang
    Edited by: Seng Kiang Hoe on Aug 12, 2011 1:09 PM

  • In disable fields in table maintenance

    Hi,
    In table maintenace I have done with save user id and last changed date. Now I need to make this fields disable(in gray), means no it should not be edited  manually in table maintenance. It should only pick up the system.
    if any one have code for this and also in which maintain event i need to do this, please post me.
    Thanks in Advance,
    Ravi

    hi,
    in SE80
    goto Function Group
    then click on Screen
    then click on Element List Tab
    below u can see list of ur fields strting with ZTT-......
    and against that u can have to uncheck the checkbox in INPUT column ......
    so that the input for the field will be disabled..... when u go in edit mode......
    if any query revert back........
    reward points if useful.......:-)
    and mark the post answered once ur problem is solved ....

  • When we create a table maintenance generator what is the program object

    When we create a table maintenance generator what is the program object
         & What is the database object is being created?

    check links
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
    http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Rewards if useful.....................
    Minal

  • Table for table maintenance

    Hi SDN's,
    Which table gives the information if a Z table has table maintenance or not?
    Which means i need the list of all Z tables which do not have a table maintenance generated?
    Regards
    Pratyusha

    Hi,
       For checking if table maintenance is allowed:
    You can query the table DD02L for TABNAME = Z* where MAINFLAG = 'X' (Display/Maintenance Allowed) or SPACE (Display/Maintenance Allowed with Restrictions).
    If you want to check if there is a table maintenance is actually defined:
    Query the table TVDIR with TABNAME = Z* (Both Z Tables and Z Views)
    Regards
    Kiran Sure

  • Table Maintenance screen giving dump

    Hi All
    I have inserted a new key field in a existing Z table. After that i have adjusted the database and tried to recreate the table maintenance generator, it is giving the warning message as follows
    Table ZUPI_WIP is extendable without limits
    Field ZUPI_WIP-REVAL_FLAG shortened (new visible length: 000015)
    Field ZUPI_WIP-MATNR shortened (new visible length: 000009)
    Field ZUPI_WIP-REVAL_FLAG shortened (new visible length: 000007)
    Field ZUPI_WIP-AUFNR shortened (new visible length: 000006)
    Field ZUPI_WIP-MATNR shortened (new visible length: 000004)
    Field ZUPI_WIP-CHARG shortened (new visible length: 000003)
    Field ZUPI_WIP-REVAL_FLAG shortened (new visible length: 000003)
    When i tried to maintain this table through SM30 it is giving dump.
    Kindly help me in resolving this issue.
    Thanks & Regards
    Madhu

    Hi!
    You are making changes in the ztable after u have created the table maintenence generator so you need to again modify the table maintenece generator code also.
    so,
    in the table maintenence screen you must do these steps....like
    go this way...
    Utilities->table maintenence generator
    there
    in generated objects->change .
    check all screens and modify the table maintenece generator.
    the error will be removed.
    also the errors are warnings actually the source code is taking that much lenght in its source code try to shorten the field lenghts for which u are getting errors.
    If you still have issues plz revert yout query.
    Regards.

  • How to use table maintenance view in module pool screen

    hi ,
    want to use table maintenance view in a module pool screen so that i can edit, insert, delete and update date in to the ztable.please help.

    You can simply call it via SM30.   Or you can call the table maintence view from any program(report or module pool) using a function module.
      call function 'VIEW_MAINTENANCE_CALL'
           exporting
                action                       = 'U'
                view_name                    = 'Z_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.
    Regards,
    RIch Heilman

  • Fieldname in not being displayed in the table maintenance

    Hi Experts,
                     I have created a table maintenance for a custom table.The table contains 10 fields out of which first 3 are key fields.
    on the 3rd key field i have supplied F4 help so as to populate the 4th field automatically based on the selection of 3rd field.
    everything is working fine but last 6 'fieldname' is not being displayed on the column bar.instead of fieldname there is '+' sign on the column. And i have checked in layout(screen) also only first four fields being displayed.
    plz help.
    Thanks n Regards,
    Mukesh

    Hello Mukesh,
    As you know, data element or pre-defined data type will be assigned as field type to the fields in a table. If you are assigning the data element, then the data element has the option to give the field label.
    If you are assigning the data element and the field label is empty, then + sign will come. In other case -  if you assigning the pre-defined data type also, the screeen column header will be shown as + sign.
    In both the above cases, you can change the column header manually in the layout.
    Regards,
    Selva K.

  • Open T-code on double click of field in table maintenance

    Hi Gurus,
    I have one scenario, I have to show a transaction on double click event on a field of Table Maintence.
    Please guide me in this .
    Is there is any event in Table Maintenance Events to capture double_click of a field.
    Regards,
    Sowmen

    1. In the field attributes of the particular field there is a chechbox  in display tab which says respond to double click, check that.
    2. Assign the fuction code "PICK" for function code F2 in GUI status.
    3.Now whenver you double click the field function code "PICK" gettes triggeed.
    Now you can wrie yyou code based on this function code.
    CASE sy-comm.
    WHEN 'PICK'.
    *If you want the name of the field and the value in that field use the below code.
    GET CURSOR FIELD gv_field VALUE gv_cursor_value.
    *DO your operation based on the field and the value.
    ENDCASE.
    Regards,
    Smithesh

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • How to create event in table maintenance generator

    Hi guys,
    I need to create an event for my table maintenace generator such that when the field land1 is filled, the landx field should take its data from t005t table. and the ladnx field should be display only, it can not be modified in table maintenance.
    How can i create an event in table maint. gen? How am i going to do it?
    thanks always,
    mark

    Hi,
    As mentioned in the last post go to the event screen by
    Environment --> Modifications --> Events.
    There you click on new entries and try writing your logic for event 21 i.e. after selecting 21 give some name of your event and write down the logic how you want to do this.
    If event number 21 does not work then try 1. One of these two should work.
    Hope this helps!!!
    Regards,
    Lalit

  • How can I create a query with tables in INFOSET?

    Dear Gurus,
    How can I create a query with tables in INFOSET?
    Just tables and fields INFOSET?
    Kind Regards,

    Hello
    Check following SCN Article for your understanding/reference:
    - [Using Infoset Query ,SAP Query and Quick Viewer|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5]
    Regards
    JP

Maybe you are looking for

  • Does SAP Provide any standard conversion program for Batch Managment activa

    Hi, An idea if SAP Provides any standard program to conversion of non batch managed material to batch managed material in a productive SAP Environment and close open documents, It would be great help if somebody can reply to these queries. Thanks in

  • Reader 9.3 Security Question

    The new version of Adobe Reader (9.3) has some new security restrictions to do with accessing untrusted sites. This has dealt quite a big blow to my current process which is (in short)... 1) Create PDF with form that sends data to my server 2) Email

  • Alert Configuration / Alert Inbox - "404   Not Found"  in PI 7.0

    Hi , We are trying configure Alert Framework in PI 7.0. When we are opening the Alert Configuration page through the link http://<Hostname>:5<Sys.No>00/rwb/index.jsp -> Alert Configuration we are getting error " 404   Not Found" But when we changed t

  • How to create a blank theme with no embedded textures?

    Hi, I have created a custom theme based on the "White" theme thinking that it was truly blank. But when I save my new theme, I see that it weighs a hefty 11Mb. After looking in the package contents, I see that there are marble textures remaining from

  • Aperture to PE on a PC

    Is it possible to transfer my aperture library to Photoshop Elements on a windows computer?