SM30- EVENTS in Table maintanance

Hi All ,
I have created a table maintainance for  my Ztable . User wants the EXCEL button to down load the data into excel .Hence , I was able to Give the EXCEL Button in Application tool bar  of table maintainance  GUI which is copied from Standard one .
But what  is the correct EVENT to code the functionality of downloading into excel? . Please adivise me on this . How can i make use of the events insated of Changing in the PAI modules .
Please revert me if you need any other info to understand the issue ...
Thanks in advance ,
Dharma .

Hi Dharma,
Your requirement is a functionality of downloading the list of entries to EXCEL. This is not a standard View maintenance Event offered. Events, are usually called when a particular step/process is triggered. In your case, the requirement seems like the download to Excel can be executed at any point of time on the screen, right?
It is therefore perfectly ok to simply add a button on your screen, and modify the PAI to include the action specifier for your new button. While implementing this PAI, just make sure you do not write it into the standard View Maintenance Generated includes. Use a seperate one for user-modifications.
If you are very specific about using an EVENT, then you could go for ST - which is a GUI menu main program. But using this just for one extra button is not really necessary, but you could decide.
Regards,
Rekha

Similar Messages

  • Events in Table Maintanance

    Hi Friends,
    Can anybody tell me how to implement the events in table maintanance.
    Regards,
    Manjula

    Hi
    The following links might be useful for you.
    [link1|events in table maintanance generator]
    [link2|EVENTS in table maintenance Generator]
    [link3|table maintanance generator, event 01 and 05]
    Regards
    Arun.P

  • Events in Table maintanance generator

    Hi All,
        Iam creating the events in the table mainatanance generator.
       My requiremnt is : I need to validate the non-key field. If i give an erro message the field is going to dispaly mode.so i tried to give an warning message dispaly like error. But after user re enters the value , i couldn't handle the value in that field.
    i could not find the event which will trigger after  the entering the value.
    Please help me.
    Thanks in advance.
    Kiran Kumar.

    Hi Kiran,
    The following is a very useful PDF link about IMPLEMENTING EVENTS IN TABLE MAINTENANCE which should solve your problem
    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
    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->
    again from the MENU
    ENVIRONMENT->MODIFICATION->EVENTS
    you can find different events for this Table mainteance
    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.
    chk this link
    http://help.sap.com//saphelp_470/helpdata/EN/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    Reward if it helps..
    Regards,
    Omkar.

  • Table maintanance generator.........

    Hi,
    I heard that client will be able to access ztable through tablemaintanance generator(tmg).so What operations the client  can be done in tmg for the ztable purpose.
    Plz provide me any exact answers.
    i ma posting this questn after completn of search from sdn fourm.
    Regards
    pavan

    Hi,
    He can enter the new values or he can change the Existing values.
    For the details:
    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.
    EVENTS:
    http://help.sap.com/saphelp_nw70/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
    Regards,
    Shiva Kumar

  • 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

  • Table Maintanance genarator

    Hi Friends ,
    I am working on CIN Programs (Standard programs )
    I am creating 'Table Maintenance Generator ' for table J_1IEWTECESS .
    Steps I followed
    - Go to change mode for the table J_1IEWTECESS.
    - Go to Utilities -> Table Maintenance Generator.
    - Create the table maintenace using the "Create" button.
    - Assign the function group J_1IEFILE for the package J1IN .
    while try to save giving message that  " You are changing a function group which does not belong to you"  and cursor is placed on AUTHORIZATION GROUP.
    Can U help me in this regard.
    Thanks
    Rohan .A

    Hi
    see this and do again correctly
    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.
    Reward points if useful
    Regards
    Anji

  • 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

  • Regarding Changing data in Table Maintanance Generator

    hi all,
        I Created one Z Table for Five fields Sales District( BZIRK) , Sales District Description (BZTXT) , Vendor No , Vendor Name and Person Incharge. I Created Table Maintanance Generator for five fields.
        In my ZTable after giving Vendor No when i enter Vendor Name is coming automatically and record is Created.For these i used Event No 5.
    When i am going again and When I change Vendor No When I Press enter Vendor No is not coming automatically. 
    Which Event Should i use.
    How can i achieve this . Plz send detailed process.
    Please suggest.
    Regards
    Rami

    Hi,
    Please eloberate u r question. and give some code.
    Regards,
    Nandha

  • Changes in Table Maintanance

    Hi All,
       I have one requirement in table maintanance generator.I have 4 fields werks,matnr and to other fields for uper and lower limit.I want to display only those entry in the table maintanance for which user is authorized.
    I want to check authorization on plant.I want to write some logic  for this where I will check the user id for auth. in authorization object and based on the authorization plant I will select those entries and display.
      If somebody know something then please suggest.
    Regards,
    Rajesh

    hi rajesh,
    se54 -> menue "environment" -> events.
    i think you should try AA instead of the standard routine. i think the generated subroutine is named get_<viewname>.
    either you can edit the where-statement or you can work with the result itab TOTAL which ahs the fields of your view and the fields of vimflagtab.
    so i would recommend to define a itab
    TYPES: BEGIN OF t_itab.
            INCLUDE STRUCTURE <your_view>t.
            INCLUDE STRUCTURE vimflagtab.
    TYPES: END OF t_itab,
           ti_itab TYPE STANDARD TABLE OF t_itab.
    and then move the TOTAL to your itab.
    Hope this is getting you closer to the solution.
    robert

  • What is authorisation object  in table maintanance generator

    Hi,
    what is authorisation object and authorisation group in table maintanance generator
    can u pls let me know what are these??  and y do we need these?
    Thanks in advance
    Rama

    hi,
    Access to the transactions SM30 and SE16 is often regarded as a security risk on productive system. But with the right use of the authorization object S_TABU_DIS and the rarely used S_TABU_LIN, this isn’t so.
    With S_TABU_DIS you have the option to control access to groups of tables, and you have the option to distinguish between Update and Display access. If you don’t want to give access to an entire table group, it’s quite easy in transaction SE54 to create a new authorization group and to reassign one or more tables/view to this group, thus achieving control of access to these specific tables.
    If you’re anxious about giving access to an entire table group, due to the fact that some tables have an open interface which allows table maintenance even in transaction SE16, the check this report – developed and posted to the SAP Fans security forum by John A. Jarboe.
    With the authorization object S_TABU_LIN you can even go a step further and control access to a table on record level, based on the key fields of the table. You can find an overall presentation of the object here.
    The How-To guide below will demonstrate how to set up and use this authorization object.
    The example is based on a small table ZMYTABLE. I have created a maintenance view and parameter transaction based on SM30 around this table.
    Please notice that the parameter transaction is calling SM3o in update mode.
    If the object is to be used with SE16 you’ll need to implement OSS note 763269.
    S_TABU_LIN Customizing
    We can find the customizing entries in the IMG under SAP NetWeaver à Application Server àSystem Administration àUsers and Administration à Line-oriented Authorizations.
    First we need to define the organizational criteria’s. 
    In here create new criteria by pushing the “New entries” button.
    In this example we will like to control access based on the key field Country, in order to do so create a criteria called Z_Country_Grp, with the name Country Grp. If we flag the table-ind flag the criteria will affect maintenance of all tables whose key fields are related to the domains specified in the attribute later.
    In this example we only want to control the access to the specific table ZMYTABLE – so we will leave it blank
    Save the entry and assign it to a transport request.
    Now mark the created line and switch to attributes
    Create a new entry with the data shown below.
    Save it and assign it to the transport request.
    Notice that you can have up to 8 organizational criterion attributes.
    Now we need to assign a table and a field to our attribute
    In order to do so mark the attribute and switch to Table Fields
    In here create a new entry and assign, in this example, the table ZMYTABLE, and the field name country to the attribute.
    Please notice that only Key fields can be used !
    Save and assign to transport request
    Now we are ready for activating our organizational criteria – this is the second bullet in the IMG
    Just check the active flag and the check is activated.
    Incorporate the authorization object in a role
    We have now implemented the authorization check; next step is to implement it in the required roles.
    In this example I have created a parameter transaction – ZMYTRANSACTION - using SM30 around the table ZMYTABLE. I have create a small test role ICC_TEST, including only the transaction ZMYTRANSACTION, and a few “support” transactions.
    In the authorization part – I have inserted the object S_TABU_LIN manually – (best practice is of course to assign it in SU24), but a manual insert will also do the trick J
    Now when we change one the authorization fields by pushing the pencil – the profile generator will ask us for the criteria.
    Here we chose the Z_COUNTRY_GRP criteria that we have created.
    We’ll now get the following popup, in this case we will grant change access, so we choose 02 – Change for activity
    In the list below we’ll see the Organizational Attributes that we have created – we have the option to use up to 8 attributes – in the example we had only defined one attribute – “Country Grp”  - we assign the value DK – thus only granting access to records with DK in the key field country.
    To transfer the selection back to the profile generator press th transfer button  or press F5.
    Now we just need to generate the profile and assign it to a test user.
    Now when this test user signs on to and executes the transaction only entries for Cty DK is displayed.
    If the transaction is executed by a user with SAP_ALL all records are displayed,
    Important Links For u:[http://www.sapsecurity.co.uk/sap-authorisation-objects.html]
    Thanks And if helpful please reward points

  • Restricting the table maintanance

    hi experts,
    i have created a table and generated a table maintenance using "table maintanance generator" in utilities menu. in the authorization group i have put "w/o auth grp" and authorization object system has proposed S_TABU_DISP. i want to limit the access to this maintenance table only to certain users. i mean even the user has the SM30 access, certain people only should be able to enter or change the entries in the table. how do i achieve this
    thanks

    hi abaper,
    thanks for the reply. i have gone through the link. so basically i have understood the funda of assigning authorisation group in the table maintenance generator screen and assigning to auth object. but i could not understand the second option , which is about tcode. lets say i have created a tcode for maintenance table , now how do i restrict that only certail users have access to that tcode. can u give me the detail steps required.
    also what do u think is the best and safe option.
    thanks

  • Making row of Table Maintanance uneditable

    Hi All,
    I am developing a Table Maintanance of a ZTable. The ZTable contains 13 fields. The user have to key in data into the ZTable through Table Maintanance. One of the field in the ZTable is "Approval". If the User marks "X" into the Approval field then the entire row in the Table Maintanance would become uneditable for a certain end user but would remain editable to higher Managers (Through SY-UNAME).
    Pls suggest, how do I create the entire row uneditable for certain end user but the same row editable for the other higher Managers.
    Appreciate if you can provide the code or provide some documents on that.
    Regards,
    Rubel.

    Hi,
    Thanx Karthik.
    Can you pls suggest what is the correct Authorization Object we can use for this senario. Can we use:-
    Object : S_TABU_DIS
    Text    : Table Maintenance (via standard tools such as SM30)
    Class  : BC_A
    If there are some more Authorization Object then pls refer the name.
    OR, do we have to create a new Authorization Object? If Yes, then pls give the steps as to how can we create a new authorizaton object with new class.
    Regards,
    Rubel.

  • Regarding Table Maintanance

    Hi Gurus
      I was created a table with 8 columns .
    And as I am maintaining table I was created many enries for all 8 columns using sm30(table Maintanance generator).
    Now my problem is :I want to delete 2 columns in the table, I am able to do that in se11 but when i am going for sm30 to maintain that table,it's giving dump.
    How can I correct this? Please suggest me?
    <b>Points are assured for useful answers.</b>
    Regards,
    Sree

    hi sree ram,
    you have to adjust the table using se14
    after doing modifications(del/insert) for the table.
    and activate the table again.
    delete the table maintenance generator and recreate the table maintenance generator again.
    <b><i>Reward points if useful</i></b>
    Chandra

  • 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 to Create Event polling table

    hi,
    1)How to Create Event polling table
    2) wahts RPD stands for.
    3) when we are prefer Dynamic variables.
    thanks.
    raj

    1) http://obiee101.blogspot.com/2008/07/obiee-managing-cache-emptyingpurging.html
    2) Repository Project Design ?
    - More than likely the extension RPD was not used by anything else when Siebel Analytics first started using it, no doubt the 'RP' is repository, so use 'Definition' or 'Design' as you like. Im pretty sure there is nothing in the documentation but i've not checked, maybe you could check and let us know?
    3) Dynamic variables would be something like 'CURRENT_MONTH' where the same query does not need to fire per user (ie SESSION variable) but needs to be periodically refreshed. Another use of you dynamic variable might be 'LAST_ETL_DATE' or somethng similar which might implement with your event polling table. By including the Variable within a Business Model, all cache for the Business Model is purged whenever the Variable's value changes.

Maybe you are looking for

  • My 4 Gen with IOS 4.2.1 cannot connect iTune and I want to upgrade IOS.

    My 4 Gen with IOS 4.2.1 cannot connect iTune and I want to upgrade IOS. Q1) What's wrong with my touch that iTunes cannot detect it? What should I do? Q2) Is there any method to upgrade IOS without connect to iTunes?

  • Steps to create a purchase order in SAP r/3

    Hi All,     I need to create a purchase order in SAP R/3,I am very new to SAP R/3 just started using material managements module in R/3.Could any one please help me to know what all steps i need to take for creating a PO.Do i require some pre-requisi

  • HT4759 How can I set up a Password in iCloud

    How can I create a password for iCloud ?

  • Outlook-crashed

    Dear Concern, I have been using Outlook 2010 since July 2014. Certainly last Saturday my outlook crashed. I had no back up. All my important official mails lost. I am in huge problem. But my HP system is all fine. Please assist in recovering back the

  • Enchancing the field in But000 and in BAPIBUS1006_CENTRAL_PERSON Structure

    Hi All,      Please help me to resolve the issue. I have a requiremtent in E-rec, during external candidate creation, I have to include 3 fields along with personal data (Nationality, marital status and Total years of experience). In BUT000, there is