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

Similar Messages

  • Is ther any standard report for GR/IR Maintenance Main Tool

    is ther any standard report for GR/IR Maintenance Main Tool ?

    Hi Salsa,
    Use Tcode MB5S --> List of GR/IR Balance.
    Assign pts, if found useful
    Regargds
    Sandeep Acharya

  • VAT Report for Slovakia - Table FOTTDCLITM

    Hello Experts,
    I set up the VAT report RPFISKEVAT according to OSS note 1826197.
    This program is used for Slovakian VAT reporting and should also create a XML file. But the report needs entries in table FOTTDCLITM. This table is empty and I don't know what kind of entries are needed.
    I assume that I have to maintain all relevant tax amounts per period in this table but I am not sure. And also there is no maintenance possibility for this table. Has anyone an idea?
    Thanks in advance for any help!
    Christian

    Hello Oleg,
    I just opend a OSS message and got this answer from SAP:
    Hope it helps you. For me it was useless. Since we did exactly as described here.
    If you have News I would be glad if you would share it whit me.
    Regards
    Conny

  • Validate field in the pop up for a Table Maintenance View

    Hi,
    I have created a maintenance view for a Z table. Among the many fields the table, I needed to display the records based on a selection criterion. So, I have enabled a popup for sales org and customer no'.
    Now the sales org and cust no' are being validated individually at the pop up screen itself.
    The requirement is that I need to validate for presence of records for their combination.
    ( FYI: KNVV is the table with the combination of both)
    Kindly let me know how this requirement can be fulfilled.
    Thanks in Advance.

    Hi,
    Try like this..
    in the Table Maintenance Generator>Environment>Modification-->Events.
    in the event on_save(didn't remember exact name)
    select * from ztable into itab where kunnr in kunnr
                                              and    vkorg in vkorg..
    Regards,
    Nagaraj

  • Report for redundant Tables?

    Hello all
    Would like to see which tables have not been accessed for a certain period (eg. 6 months)
    Does anyone know if there is a report which will be able to list this information?
    Cheers

    You can check table  RODIR  for obsolete tables etc.
    In you case there is tool provided by SAP for the same called CDMC .
    http://help.sap.com/saphelp_smehp1/helpdata/en/d3/4b21cf15464589b84bc63f0da54530/content.htm

  • Using a change document for Z table maintenance generatro to log changes

    Hi Forum,
    I have created a a change document for one of the Z tables now I want to use it in the table maintenance generator of this table so that any changes made to this table using maintenance generator are logged in table CDHDR and CDPOS.
    I am using the event 02     After saving the data in the database
    and have created a new FORM..ENDFORM for this event and it is working fine till here.
    But I am unable to find any table or structure where the information of the action performed in maintenance generator is kept for eg. what action was performed like add, delete or change and on how many records and contents of those records.
    I can update the tables CDHDR and CDPOS only if I have the above information.
    Please guide me as to where can I find all this information within the maintenenace generator program?
    Thank you,
    Anubhav

    Hello Anubhav,
    Are you calling the change document function module in your save event ? The function module needs to be first created using SCDO for your Z table, select the fields on which you want to track the changes.  Auto generate the programs for this change object. Once the FM is generated, you will have to call this FM in your SM30 event.
    The change document tracking also needs to be enabled at the data element level..
    Regards,
    Jay

  • Excise report for fields & table

    HI, Expert
    I want to make a zreport for excise register & also discuss with the ABAPER , he said the functional consultant will provide the fields & tables then i will make the report , can any one tell me where i can find the fields
    regards
    kumar

    Sl.no, Types of doc, No & date of doc, Name of the supplier, Types of Supplier, ECC no of the supplier, date on which input received, value, detail of credit takesn, Cenvat, SED, AED,AED, ADDL, CESS, SHCESS, Description, For the main item in the document

  • Auditing report  for HR table

    I need to make report the data maintains like update the job,qualification, grade so on
    if all data i need found in on table or package whats the name ?
    thanks
    fathi

    If you a referring to using audit trails to keep track of who changed what, pl see MOS Doc 111786.1 (Reference Documentation to Set Up of Audit Trail in Oracle HRMS)
    HTH
    Srini

  • Creating reports for user tables using XL reporter

    Hi all
    i wish to create  a report based on user tables using the XL reporter.
    question is: is it possible? and if so how can it be done?
    appreciate the help
    Yoav

    Hi Yoav,
    XL Reporter cannot pull data from UDTs. However, you can use an Excel template when creating your XL Reporter report and then embed VBA code in the template to pull the UDT data in to the report after the XL Reporter has finished generating the report. It all depends on how you need to combine the UDT data with other SBO data. If you are interested in a report based entirely on UDT data then it would be simpler just to write the report using VBA in Excel (or Crystal).
    Kind Regards,
    Owen

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

  • Table maintenance Vs Maintenance view

    Hi,
    I would like to know the dif between T.Maintanance And Maintenance view.
    As we know as per the def we know Maintenance view will be used to maintain a table. But I have never created any M.view for the same.
    However we use Table maintenance generator and SM30 for the same. How these 2 concepts are differnet?
    Which one is the best method 2 use?
    what one step and two setp process? Advantage and usage of 2step process?
    Thanks in advance.
    PRa

    Praneet
    In SM30 we can enter values manually
    main diff between these two is "Authorization"
    in sm30 authorization for all users not allowed.
    for extended table maintenance see this below link
    http://help.sap.com/saphelp_sm40/helpdata/en/67/86b257415811d1893d0000e8323c4f/frameset.htm
    Reward if usefull
    Regards
    Raghav

  • How to create table maintenance generator?

    Dear Sir/Madam,
        when i am creating table maintenance generator , it asks for function group
      i give 0MB8 , it says u r going to change function group which does not belongs to u,
    then i created a function group yfg9 and given , it then says yfg9 cannot be processed.
    please telll me how to create the table maintenance generator for maintenance view yv_mmim_rep_cust.
    Thanks in advance,
    Dastagiri

    Hi ,
    Table Maintenance generator is used to maintain data in table , instead of giving access to se11 , we create a tcode for this table maintenance generator and we will give this tcode to end-user to maintain data
    To generate table Maintenance generator :
    click on UTILITIES   in menu bar
    -> table maintenance generator
    -> enter Authorization Group as : &NC&
    -> Enter Function Group : name of your table ( so it will create a function group , to check this function group go to tcode se80 : then select function and enter your Table name )
    -> Then click on find screen numbers in Application tool bar.
    -> Then click on create button in Application tool bar
    if it is created successfully , then you will get a status message like table maintained generator is created successfully.

  • Abap WebDynpro: Table Maintenance Generator ??

    ...in ABAP Dictionary there is a tool for generating Table Maintenance for classical "Screen Painter" Dynpro. Is there (or will there ever be?) a similiar tool for generating Table Maintenance for WebDynpro ?

    Have a look at [this|"Table Maintenance Generator" for WD4A?; thread - nothing new until now afaik.
    Regards,
    TW

  • Table maintenance

    Hi,
    There are two ways to maintain Data records in a table :
    1. By program : using insert/delete/modify or update statement.
    2. By table maintenance
    What is the advantage or disadvantage of one process to another.
    Thanks & Regards,
    Abhishek Sarkar

    Hi,
    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
    With the help of the table maintenance generator, you are able to maintain the ENTRIES of the table in SM30 transaction.
    It can be set in transaction SE11 - Tools - Table maintenance generator.
    Table maintenance Generator is used to manually input values using transaction sm30
    follow below steps
    1) go to se11 check table maintenance check box under attributes tab
    2) utilities-table maintenance 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 maintenance generator to move table
    contents to quality and production by assigning it to request.
    4) Select maintenance type as single step.
    5) maintenance screen as system generated numbers this dialog box appears when you click on create button
    6) save and activate table
    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.
    SM30 is used for table maintenance(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 particular 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 function group 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...
    We use SM30 transaction for entering values into any DB table.
    First we create a table in SE11 and create the table maintenance generator for that Table using (utilities-> table maintenance generator) and create it.
    Then it will create a View.
    After that from SM30, enter the table name and Maintain, create new entries, change the existing entries for that table.
    check these links --
    http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    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
    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]
    Re: Regarding Table Mainantance Generator
    Re: table maintenance
    table maintenance generator
    Re: Table maintenance generator
    Regards
    Sudheer

  • Reg. table maintenance generator and function group

    I am trying to create a table maintenance for a custom table. It is asking for a function group. Should I create a new function group for each table maintenance I generate?
    Thanks in advance for your input.

    Hi Krishen,
    You can also assign authorization groups to tables to avoid users accessing tables using general access tools (such as transaction SE16). A user requires not only authorization to execute the tool, but must also have authorization to be permitted to access tables with the relevant group assignments. For this case, we deliver tables with predefined assignments to authorization groups. The assignments are defined in table TDDAT; the checked authorization object is S_TABU_DIS.
    You can assign a table to authorization group Z000. (Use transaction SM30 for table TDDAT) A user that wants to access this table must have authorization object S_TABU_DIS in his or her profile with the value Z000 in the field DICBERCLS (authorization group for ABAP Dictionary objects).
    Please check this link for more info.
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/67129f439b11d1896f0000e8322d00/content.htm
    Regards,
    Ferry Lianto

Maybe you are looking for