Event to be used for Table Maitaince Generator ?

Hi Experts,
I got any issue where i am unable to figure out which event to be used.
my requirement is :
I created a Ztable and assigend mataince genarator to it. suppose the ztable  have some entries in that so when i enter new entry then based on some fields values  entred i have to check is there any data exists for the values entred in ztable if exists then i have to change date fields of the old record in ztable  and also new recored which i am entering.
for this requirement which event i required to use? coz i based on selection given while entering new record i need to check data which is already existing in that ztable and do the required manupulations and save the data.
Thanks,
Sunil kairam.

Hi Shiva,
Yes , i am using event - 01 ( before saving data in data base ) but wht happening is i kept break -point in that but while saving the entires it is not going their.
And can you please tell me how to validate existing entires? do i need to write select qurey ?
Thanks,
Sunil kairam.

Similar Messages

  • Logic regarding EVENTS OnFilter and OnLeadSelect for table ui element

    provide me logic regarding EVENTS OnFilter and OnLeadSelect for table ui element for webdynpro abap application.

    OnLeadSelect - What kind of logic do you want?  There are many different things that you could do inthe OnLeadSelect
    onFilter- Generally you use IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER  to perform the filter operation.
    In the onFilter itself you probably just have one line of code:
    wd_this->table_method_hndl->apply_filter( ).
    In your WDDOMODIFYVIEW you probably have this code to capture the table_method_hndl object:
    if first_time = abap_true.
      * Get reference of the table view element
      l_table ?= view->get_element( 'TABLE' ).
    * Get reference to the Filter & Sorting API
      wd_this->table_method_hndl ?= l_table->_method_handler.
    endif.

  • Reg : Tcode for table maintance generator

    Hello,
       I have created the Tcode for Table maintance generator of a table using SE93 which directly goes to the table maintaince generator. My requirement is if i open the tcode i  need to display the custom selection screen before going to the table maintaince generator. How do i do it. please can give me the steps to fulfil the above req.
    regards
    haritha

    Check below thread will be useful to you.
    Re: Sending Payment Advice as Email to Vendors
    For more information:
    Search sdn with key words tcode + table maintainence generator
    Regards

  • What is the use of table maintance generator and how it is used ddic

    hi dear friends
      i would like to know about how the table maintaience generator is used in ddic .i have the step by step processor of that but i would like to know importance and advantages of it .

    Nani,
      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 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
    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 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 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.
    For further help look into these links
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21eb6e446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    Table
    Don't forget to reward if useful.....

  • How to make use of Table Maintanance Generator?

    PLs sany one can explain me how to maek use of Table maintanance Generator?
    Regards and cheers,
    Giri

    Hi,
        table maintainence 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
       using sm30 you can create entries manually.
    also check below thread to assign transaction code to
    table generator
    /message/240993#240993 [original link is broken]
    0#2409930  
    Regards
    amole

  • Space Allocated and Space used for Table.

    Hi,
    Is there any way, we can find Space Allocated and Space used for Table wise.
    I know USER_TABLESPACES help use to find table space wise. But I would like to know, the space utilized by each table in the specific table space.

    Check this link from Tom Kyte about it.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:2092735390859556::::P11_QUESTION_ID:231414051079

  • Can substitution strings be used for table name references?

    Hi,
    I was wondering if it's possible to use substituion strings for table names in SQL queries. This would allow for me to edit all references to a table at one location. For instance, if a table name or dblink changed, I could edit the substitution string or application item to ensure all the queries reference the new table.
    For example:
    select * from &table1.
    table1 would be the substitution string for the actual table name
    I know this is possible if I used a pl/sql function returning a query, but I would much rather use a substition string in a SQL query.
    Thanks in advance.
    Brian

    i think not
    because how create the fields of * in this case
    in the other because all is dynamic, i think that you obtain only an error

  • How to create Transaction code for Table Maintanance generator.?

    Hi,
    I have created a Z Table. and I maintained the Table maintenance generator for the same. Now, my requirement is.. I have to create Transaction code for maintain and Display of this Z table.
    Can someone help me how to create the transaction code for Maintain and Display of the table. I know that we have to create a Transaction code for 'SM30'. Can someone tell me the steps to do the same. When I goto SE93 and say CREATE transaction, I get 5 options, Which one to select and what are the details should I provide in the subsequent screens.
    Thanks in advance.
    Best Regards,
    Paddu,

    Hi,
         Check the below steps......
    1. Go to Tcode u2018se93u2019.
    2. Select ' Transaction with parameters'.
    3. Then Transaction 'SM30' with click on skip initial screen
          VIEWNAME : XXX9tABLE NAME)
          UPDATE   : X
    4. Maintain the  Table maintenance generator
      Authorization group : &NC&
      Authorization object :
      Function group : name(xxx)
    Maintenance Screens :
    Maintenance type : One step
    Maint Screen No : Overview screen (2)
    If still u have problem I will send u steps with Screen shot ...send me Yr id.
    Regards,
    Biswanath

  • How to create transaction for table maintinance generator

    what is the procedure(steps) to create transaction for a table maintinance generator

    Hi,
    The link will be useful for ur requirement.
    allaboutsap.blogspot.com/2007/04/table-maintenance-in-sap-step-by-step.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc
    REgards,
    Sarosh

  • Where used for table fields

    I have list of 3600 fields , I need to get info related to these fields are used in which screens. Any easy way ?
    PS : Please donot suggest to use se11--> and make whereused list for field
    a®s
    Edited by: a®s on Jul 31, 2009 12:34 PM

    Hello,
    1. Get the table name in which all the data elements are stored.
    2. Write select for that table to find all the table names using required data elements for table field.
    Check if this helps,
    Thanks,
    Augustin.

  • Question about using for-loop to generate array from DAQmx. Thanks!

    I have a laser system with a frequency of 1kHz, I am using this 1kHz signal to trigger the DAQmx and get the data from a photodetector, e.g. I will get 1000 data points during 1 second from DAQmx, but I need to separate this 1000 data points into the even and odd list, which is two list of 500 data points, e.g.. The 1st, 3rd, ... 99th data is one array, the 2nd, 4th,... 10th data is another array, then I will do further calculations based on these two arrays.
    To seperate the even and odd data, the only way I can find is put these 1000 points into an array and then seperate them afterwards.
    Can I do things like this pic?
    I don't know the speed of the for loop, because the 1kHz trigger is always there, once it is triggered, the DAQmx read will give a data point, if the speed of the for-loop( the time from the end of a loop to the beginning of the next loop) is slower than the 1kHz trigger, then the for-loop will miss data point, then the ordering of the 1000 points in 1 second will be changed.
    Or I need to put everything, e.g. AI Voltage, Trigger, sample clock, into the for-loop and then return a Y? Thanks! 

    Clarification:
    The VI you have posted will work as following:
    1) The task will read 2 analog inputs (ai0, ai3).
    2) The acquisition starts, oncece digital signal (trigger) is detected on PFI0
    3) The sampling rate will be as specified in "rate" control - it is continuous analog input acquisition, which means that after trigger is received (point 2), the board will start to generate hardware clock with frequency you specify as "rate"
    4) with each rising edge of that hardware clock, the measurement is taken, and stored into buffer of driver.
    5) DAQmx read will try to read "number of samples per channel" number of samples each time is called - and if there is not enough measurement stored in buffer (step 4), then DAQmx read will wait until DAQ card will measure reaquested number of samples (or timeout occurs before requested number of samples has been acquired)
    6) DAQmx read will be then called 1000 times - so totaly you will read 1000 * "number of samples per channel"  number of samples.
    You do not have to be worried about speed of the loop. In fact, if you need to read just 1000 samples, with 1kS/s, then you can remove for loop and you can change measurement mode from continuous to finite samples, and specify number of samples to read to be 1000. You will read them all properly. I recomend you to read User Manual for your DAQ device - lets say M Series User Manual.
    I hope it is clear now.
    regards,
    stefo

  • How to use a table to generate customized data?

    I have a table with two columns: month, count. The values are like the following:
    Jan-2007 50
    Feb-2007 46
    Mar-2007 55
    Apr-2007 76
    Jan-2009 67
    Feb-2009 86
    Mar-2009 55
    I want to show the data like this:
    Month 2007 2008 2009
    January 50 76 67
    Febuary 46 45 86
    How to do that?
    Thanks.
    Jen

    If you want to show data for all months, regardless of it being present in your base data, then:
    test@ORA10G>
    test@ORA10G> --
    test@ORA10G> WITH t AS
      2       (SELECT 'Jan-2007' MONTH, 50 COUNT FROM DUAL UNION ALL
      3        SELECT 'Feb-2007', 46 FROM DUAL UNION ALL
      4        SELECT 'Mar-2007', 55 FROM DUAL UNION ALL
      5        SELECT 'Apr-2007', 76 FROM DUAL UNION ALL
      6        SELECT 'Sep-2008', 99 FROM DUAL UNION ALL
      7        SELECT 'Jan-2009', 67 FROM DUAL UNION ALL
      8        SELECT 'Feb-2009', 86 FROM DUAL UNION ALL
      9        SELECT 'Mar-2009', 55 FROM DUAL)
    10  --
    11  SELECT   TO_CHAR (x.rundt, 'Month') MONTH,
    12           MAX (DECODE (x.yr, '2007', COUNT, 0)) "2007",
    13           MAX (DECODE (x.yr, '2008', COUNT, 0)) "2008",
    14           MAX (DECODE (x.yr, '2009', COUNT, 0)) "2009"
    15      FROM (SELECT TO_DATE (MONTH, 'Month') dt,
    16                   TO_CHAR (TO_DATE (MONTH, 'Mon-yyyy'), 'Month') mth,
    17                   TO_CHAR (TO_DATE (MONTH, 'Mon-yyyy'), 'yyyy') yr,
    18                   COUNT, iter.pos, iter.rundt
    19              FROM (SELECT     ADD_MONTHS (dt.mindt, LEVEL - 1) rundt,
    20                               LEVEL pos
    21                          FROM (SELECT MIN (TO_DATE (MONTH, 'Mon-yyyy')) mindt,
    22                                       TO_NUMBER (TO_CHAR (MIN (TO_DATE (MONTH, 'Mon-yyyy')),'yyyy')) minyr,
    23                                       TO_NUMBER (TO_CHAR (MAX (TO_DATE (MONTH, 'Mon-yyyy')),'yyyy')) maxyr
    24                                  FROM t) dt
    25                    CONNECT BY LEVEL <= (dt.maxyr - dt.minyr + 1) * 12
    26                   ) iter,
    27                   t
    28             WHERE iter.rundt = TO_DATE (t.MONTH(+), 'Mon-yyyy')
    29           ) x
    30  GROUP BY TO_CHAR (x.rundt, 'Month')
    31  ORDER BY TO_DATE (TO_CHAR (x.rundt, 'Month'), 'Month');
    MONTH           2007       2008       2009
    January           50          0         67
    February          46          0         86
    March             55          0         55
    April             76          0          0
    May                0          0          0
    June               0          0          0
    July               0          0          0
    August             0          0          0
    September          0         99          0
    October            0          0          0
    November           0          0          0
    December           0          0          0
    12 rows selected.
    test@ORA10G>isotope

  • Can firefox be used for table

    i just bought a table can i put firefox on it i love used it
    duplicate of [/questions/1022323]

    Firefox will not run on Microsoft Windows RT. If you are running Windows on an Intel or AMD CPU then you can get Firefox from https://www.mozilla.org/firefox/all/

  • Is table maintenance generator only for custom table?

    hi ,
    i have doubt is table maintenance generator only for custom table?

    hi swamya,
    Table Maintanance Generator is used to create/change/delete table entries in a particular table.
    In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.To view the contents of the database table, we will use SE16n in Production system. All these authorizations will be maintained by BASIS team, by creating access profiles.So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system.
    The second reason is, we can edit or create multiple entries at a time, using tablemaintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance screen SM30.
    hope this helps in clearing ur doubt.
    Regards
    Saurabh

  • Problem in table maintainance generator

    Hi,
    I have  a requirement in table maintainance generator i.e. when I clcik on se11,enter the table name and then click on new entries ,my table control that I see on the screen will have some entries that were entered earlier.
    But in my case the entire table control has to be blank when I click on new entries and it should be in output mode only.So please can someone tell me how I can clear the entries .Which event should I use for this?
    Another requirement is that for my table maintaianance generator,I have been asked to remove on field from the table control and place it above the table control as a text field.Now this text field is a key field.When I enter some value in this text field and click on enter,it should give me the values corresponding to this key field.Please can someone help me out with this?Which event should I use for this?
    Regards,
    Sushanth H.S.

    Hi Sushant,
    Considering there are considerable modifications to your table maintenance I would suggest you create a small module pool transaction for your requirement with a table control and code the flow logic (PBO/PAI) yourself.
    For the DB update, you can use the SQL commands. Since it would be an alternative to the table maintenance for a single table, I think the database update part wouldnt be complex to handle at all.
    You would need a table control same as the one in the maintenance however a wizard will make that job very easy for you.
    Finally, assign a transaction to your module pool and you are good to go.
    This is in my opinion not a complex development and also would be easier than trying to modify a SAP generated table maintenance, because adding a text field on top etc. would be drastic changes which cannot be accomplished by events alone.
    Cheers.

Maybe you are looking for