Maintenance view Events for description in details

hello i have a maintenance view with 2 screen ( one overview other details ) i want fill a label in the details screen with the description of some code ( custom table with all custom fills )
but i don't find what event is the right , i try the event 26 , i put a break-point just for check but dont get trigger that event when i display the item in details screen
Thanks

thanks i add the form to the event 01 but the breakpoint is not called , i even change the maintenance view i select create modules but don't work , any idea ? maybe i am missing something
pd: when i create the firts time the form i select create new include

Similar Messages

  • Maintenance view event for validation when changing data

    Hi All,
    I have a maintenance view on a table that should validate some fields during user input.
    I am using event 05 'Creating a new entry' to validate fields when user creates new entry in the table. That works fine.
    I would like to have the same validations happening when the user changes fields of records already existing in the database. I tried to use event 01 'Before saving the data in the database' but the problem with this is that user can change many fields of many records before clicking 'Save'. I would like to have the error raised for incorrect entry already after the change.
    So far I could not find an event to do this but only by changing the code itself. The problem with that is whenever the code is regenerated the custom part is lost.
    Is there an event I can use that would help me achieve this?
    Thanks in advance.

    Hi Abhishek,
    I tried event 21, I`m playing around with that since that`s the only one triggered when I press Enter.
    The problem with this is that
    - the check runs when you press enter, so you can still change many fields of many records (one step maintenance) before the validation runs
    - you can`t raise an error message, because only the key fields will be input ready, the non-key fields will be readonly
    The way I currently handle is I undo the changes in 21 (get previous field values from TOTAL) and raise an information message i/o an error informing user to check the entry.
    What I`m looking for is an event that will raise a message and set focus on the incorrect field (if there`s one such).

  • Can I use classes and methods for a maintenance view events?

    Hello experts,
    Instead of perform/form, can I instead use classes and methods, etc for a given maintenance view event, lets say for example I want to use event '01' which is before saving records in the database. Help would be greatly appreciated. Thanks a lot guys!

    Hi viraylab,
    1. The architecture provided by maintenance view
       for using EVENTS and our own code inside it -
       It is provided using FORM/PERFORM
       concept only.
    2. At this stage,we cannot use classes.
    3. However, inside the FORM routine,
       we can write what ever we want.
       We can aswell use any abap code, including
       classes and methods.
      (But this classes and methods won't have any
       effect on the EVENT provided by maintenance view)
    regards,
    amit m.

  • Maintenance view program for a table

    Hi All,
    How can i create a maintenance view program for a table. i did maintenance view in sm30 for that table. now it needs a transaction code for maintenance. can somebody help me with this.
    Thanks,
    Kiran

    Hi
    Create a new transaction Z**** linked to SM30 for that table:
    - trx SE93: while creating trx choose transaction with parameter and insert these data:
    - TRANSACTION = SM30
    - set the flag SKIP INITIAL SCREEN
    At the end of screen, section Default Value, if you want to open dialog for updating:
    NAME OF SCREEN FIELD     VALUE
    VIEWNAME                 <here insert the table name>
    UPDATE                    X
    ...for displaying:
    NAME OF SCREEN FIELD     VALUE
    VIEWNAME                 <here insert the table name>
    SHOW                      X
    Max

  • Maintenance view event

    Hi,
    in a maintenance view if i want to control when a record table has been deleted, first i need to
    select the table record and then press save.the question is that inside this event (before save) how can i know that i´ve pressed before the delete button?.
    Best regards.

    Look at the following link
    <a href="http://help.sap.com/saphelp_47x200/helpdata/EN/91/ca9f0ba9d111d1a5690000e82deaaa/frameset.htm">Event Before Save</a>
    There is an example. Pay special attention to the link <b>field symbols <ACTION> and <ACTION_TEXT></b> within the documentation.
    in short when you loop at the internal table TOTAL, <ACTION> and <ACTION_TEXT> are populated with relevant indicators for new, changed and deleted entries.
    Cheers!
    Rishi

  • Check Table data in Maintenance View event

    Dear all, i created a maintenance view for a customer table and a must carry out a validation over the whole table when any record is created, modified or deleted.
    The table has a column with percentages and after save a modification I have to verify that the values in this columns make 1 (100%).
    For this, I created a routine in the event 01 (Before Saving the Data in the Database  ) of the maintenance view, but I can find the way to read all the records of the table.
    I tried with the tables TOTAL and EXTRACT, but these have '#####' as values in the percentages column.
    If someone need further information please let me know.
    I´d be grateful if someone lead me to a solution.
    Thanks in advance.
    Mariano.

    Hi, thx Madan Kochana .
    I prefer do not modify the screen.
    The column is defined as dec 3,2 and is filled with values like 0.25 or 0.10 in the view.
    Thanks for your help; i'll appreciate any kind of solution.
    Mariano.

  • Table maintenance view Events

    Hi
    In My Z Table maintenance view i  had implemented a new event 01- Before save. But my table entry's are not getting saved now and also i am not getting any error message.
    Please help me on this.
    Regards,
    Naidu Vecahalapu.

    Hi Naidu,
    In the event code of the table maintenance view, please ensure that the SY-SUBRC is ZERO before exiting the sub-routine. Otherwise your changes (insert, update or delete) won't get updated and also you won't get any error message.
    Regards
    Suresh

  • Popup window for data selection in maintenance view

    Hi,
    How to create popup window for data selection in maintenance view. For example when you go to view v_t510 in se16, there you will see a popup window to enter values. after you enter the values in that window, then data related to those values that you entered in the popup window will displayed.
    How can we do that for the custom maintenance view?
    Thanks in advance for your help guys.
    Regards,
    Srinivas.

    In your custom maintainace view, if you select the Data browser / Table view maintainace under the tab "Maint Status" as "Dispaly maintanence allowed with restriction" than system will give you popup to restrict by selection.
    Regards,
    Naimesh Patel

  • Disable delete button in a maintenance view

    Hi,
    Does anyone knows how can I disable the delete button in a maintenance view so when a user that is not authorized can´t delete any row, or how can I lock the delete subroutine.
    Thanks!

    Hello Moises
    The problem with this solution is that if you ever need to modify your maintenance view (i.e. regenerate the dynpros because you may want to add new fields) your coding is gone.
    This is not the case if you are using event 19. Below you see same sample coding:
    ***INCLUDE LZUS_SDN_MAINTF01 .  " Function Group with maintenance views
    * Event 19: After Init. Global Variables, Field Symbols, etc.
    * http://help.sap.com/saphelp_nw2004s/helpdata/en/91/ca9f44a9d111d1a5690000e82deaaa/content.htm
    FORM exclude_gui_function.
    * define local data
      DATA: ls_excl   TYPE vimexclfun.
      ls_excl-function = 'DELE'.  " taken from standard GUI-status 'ZULG'
    BREAK-POINT.
      AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
               ID 'BUKRS' FIELD '1000'
               ID 'ACTVT' FIELD '02'.
      IF ( syst-subrc NE 0 ).
        APPEND ls_excl TO excl_cua_funct.
      ENDIF.
      APPEND ls_excl TO excl_cua_funct.  " Just for the purpose of demonstration
    ENDFORM.                    "exclude_gui_function
    Regards
      Uwe

  • Horizontal scroll bar in maintenance view

    Hi all,
             i have a ztable  which has ony two fields id and description. Maintenance view exists for same.
    Can anybody suggest me how to set 'HORIZONTAL SCROLL BAR' for this view as sometimes description is too large and not able to see the description. plz suggest me.
    plz help.
    thnks n Regards,
    Ashmita Singh

    You can do one of two things:
    1. When you are at the maintenance view, manually drag the right edge of the columns to make them narrower.
    2. If you can change the maintenance view, go to the function group with the same name as the maintenance view (which should be the one automatically generated, such as from SE54), and then find the screen in the function group. Open the screen, click "Layout", and the SAP GUI painter will display the screen layout. Over there, click the upper-left corner of the table, and the control TCTRL_<your_view_name> will be selected. Open the "attribute window" or press F2, and then you can set the number of Fixed Columns. Try reducing the number and re-test the effect.

  • Unable to edit maintenance view in SM30

    hi everyone.
    need your help, I have one custom table, let's call it YTAB.  This table has several maintenance views created for it, depending on company code.  For YTAB, i have created a maintenance view YTABX. 
    When we moved YTABX to PRD, we cannot edit it in SM30.  The user ID has the right authorization.  The error message is "client 100 not modifiable".  When I try to edit the mother table YTAB in PRD, I am able to go in and do the changes.
    I have already compared the settings for YTABX with the other existing views, they are the same.  My settings for the view are:
    Access: Read, change, delete & insert
    Delivery Class: C
    In the table maintenance generator, i have a 2-step maintenance type, recording routine is Standard recording routine and compare flag is automatically adjustable. 
    Attributes for table YTAB also has delivery class C, table category is transparent table, table maintenance is allowed.
    Thank you in advance.

    Hello roch,
    the direction in which mark points is right but i think you should get some more information on the principles of table types and sap system landscape.
    Usually you should not be able to directly maintain any table. This is not only bad style but also a huge risk for the system consistency. That's why application data is always maintained via some kind of application which ensures that the data is vilidated before it is stored.
    Customizing data should only be maintained within a development system and then transported through the landscape. To maintain these table you can use generated views, customer developed maintenance views, view clusters which all include automatical link to the transport system. If you would maintain these tables directly in the productiion system it would have another configuration than the development and the quality/test system which makes them more or less useless as you can no longer make any serious test if the server configurations differ.
    To prohibit changes of customizing tables on production and test servers the admins lock the systems which results in the message you got. This setting is made in TCODE SCC4. Even if you have for any reason the authorization to use this transaction you should in no case change these settings without approval of basis / system owner. 
    Kind Regards
    Roman

  • Additional Field in standard maintenance view

    Hi Experts,
    I would like to add an additional field plant in maintenance view V_TKZU3_CO (SPRO PATH: Controlling --> Product cost controlling -->Product cost planning --> Basic settings for material costing -->Overhead -->Define costing sheets ).
    What I'm planning to do is to modify the standard maintenance view V_TKZU3_CO and regenerate the table maintenance generator so that the new field will be added and populate a ztable a copy of table TKZU3 + plant...
    However what I'm afraid of is when I regenerated the table maintenance generator using the standard function group OCOE, it might impact some other standard object included..
    Do you have any idea on how can I add the additional field without modifying the standard? Or if I will apply the standard modification I'm planning.. what are the possible impacts?
    Thanks in advance!

    Hi
    U can create a new table view like V_TKZU3_CO, insert your new fields and create the maintenance view program for it.
    Max

  • Add a field in  maintenance view V_FMC_B

    i want to add a field SORTL from LFA1 table  in maintenance view V_FMC_B  for checking the duplicate vendor name and search term. how it is possible?

    Hi,
    Copy the view V_FMC_B into ZV_FMC_B and the you will be able to add new fields to that standard view V_FMC_B
    OR
    Just request for the access key from your Basis Admin so that you will be able to add that new field in the standard view V_FMC_B.
    Regards,
    koolspy.

  • Maintenance View Validations

    I have a custom table for which I am maintaining a Maintenance View.
    I want to provide some validations and checks on the fields entered by the user in that maintenance view.
    For example, if the user enters a value greater than 1000 in quantity field, I want to display a message saying that " enter only values below 1000". This is part of customer requirement.
    Can I provide validations on fields in Maintenance view and if yes, then how ?
    Thanks,
    Urmila

    Hi this may help u.
    Maintenance views offer easy ways to maintain complex application objects.
    Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
    A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    All the tables in a maintenance view must be linked with foreign keys, that is the join conditions for maintenance views are always derived from the foreign key (see Foreign Key Relationship and Join Condition). You cannot directly enter the join conditions as for database views.
    There are some restrictions for the attributes of the foreign keys with which the tables in a maintenance view can be linked (see Restrictions for Maintenance and Help Views).
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    Maintenance mechanisms, like screens and processing programs, must be created from the view definition with the transaction Generate Table View (SE54). This makes it possible to create easy-to-use maintenance interfaces in a simple manner.
    You can find out how to create such maintenance mechanisms in the documentation BC - Generate Table Maintenance Dialog.
    Creating Maintenance Views
    Procedure
    Enter an explanatory short text in the field Short text.
    You can for example find the view at a later time using this short text.
    Enter the primary table of the view under Tables in the Tables/Join conditions tab page.
    Only those tables that are linked with the primary table (indirectly) with a foreign key can be included in the maintenance view.
    If required, include more tables in the view. In a maintenance view you can only insert tables that are linked to one another with foreign keys.
    Place the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the required foreign key and choose Copy. The secondary table used in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Foreign Key Relationship and Join Condition) are displayed.
    You can also insert tables that are linked by foreign key with one of the secondary tables that was already inserted. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.
    For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.
    On the View fields tab page, select the fields that you want to copy to the view.
    Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.
    All key fields of the primary table must be included in a maintenance view. In addition, all key fields of secondary tables that are not involved in the foreign key (that is, which are not linked via a join condition to a key field already included in the view) must be included in the view.
    This ensures that the records inserted with a maintenance view can be written correctly in the tables contained in the view.
    On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records that can be displayed with the view (see Maintaining Selection Conditions for Views).
    The selection conditions define the data records that can be selected with the view.
    In the Maintenance status tab page, define the maintenance status of the view.
    The maintenance status defines how you can access the view data with the standard maintenance transaction (SM30).
    Choose .
    At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, the activation log is automatically displayed.
    Go to Transaction SE54 with Environment ® Tab.maint.generator.
    From the view definition you can generate maintenance modules and maintenance interfaces that distribute the data entered with the view to the base tables of the view. You can find more information in Creating a Maintenance Dialog.
    Other Options
    Recording documentation: You can create information about using the view with Goto ® Documentation. This documentation is output for example when you print the view.
    Changing the data element of a view field: Select column Mod (modification) for the view field. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again.
    Enter the delivery class of the view: In the Maintenance status tab page, select the delivery class of the maintenance view. If you assign the delivery class G or E to the view, you must also maintain a customer namespace (key block) for the view entries. To navigate to the appropriate maintenance transaction, choose Define Customer Namespace.
    Entering the maintenance attributes of the view field: In the View fields tab page you can define the Maintenance Attributes of the view field in column F.
    Check functions: With Extras ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the definitions in the runtime object of the view. With Extras ® Runtime object ® Display you can display the runtime object of the view.
    table maintai9nenece generator
    The Table Maintenance Generator is used to create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator.
    Table maintenance allows you to create entries for that table
    Follow these steps to generate table maintenance
    1) Go to SE11 and check table maintanance check box under attributes tab.
    2) Go to menu Utilities -> Table Maintanance Generator ->
    Create function group and assign it under function group input box. You can enter same as table name for function group. 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 maintenance 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.
    useful links
    http://www.saptechies.com/how-to-create-table-maintenance-generator/
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecdf446011d189700000e8322d00/content.htm
    http://www.saptechies.com/table-maintainance-generator/
    with regards,
    Hema Sundara.
    pls reward if u find it helpful.

  • How to create transaction code for maintenance view

    hai friends,
    i hope every thing goes good.
    i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
    i tried and i donot know the screen number and program name and where can i give the view name.
    if any one know please post in details.
    thanks in advance.

    Hi Elam,
    You need to create a "Parameter Transaction".
    What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
    Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
    Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
    Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
    Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
    Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
    Now save the transaction and there you have it.
    Hope this helps.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

Maybe you are looking for

  • PC at Work - Mac at Home - use both with iPhone?

    I have a PC at work and a couple of Macs at home. I plan on using my iPhone for both personal and work use. From a work perspective, I would like to get to email, contacts, calendar etc (they are all on outlook. From a personal perspective, I am inte

  • Email notification for user created through reconciliation in OIM

    Hi.. I have done the following configurations for email notification when user is created through reconciliation in OIM Configuring IT Resource      Name     Email Server      Type      Mail Server      Authentication     FALSE      Server Name     *

  • My Macbook Slow even in Basic App opening

    EtreCheck version: 2.0.11 (98) Report generated November 4, 2014 at 1:28:29 AM GMT+4 Hardware Information: ℹ️   MacBook Pro (15-inch, Mid 2010) (Verified)   MacBook Pro - model: MacBookPro6,2   1 2.66 GHz Intel Core i7 CPU: 2-core   4 GB RAM Upgradea

  • Chapter TOCs

    To preface, I'm at best a journeyman with FrameMaker and haven't used it in something like three years. Remember the basic stuff, the finer points and cool things that make FrameMaker wonderful...forget it. Just so you know what you're dealing with (

  • Browser IE7.0 does not support WebDynpro in Quality and production only

    Hi All, Our portal version is NW04 SP15 adn NWDI is on NW700.We have Development ,Quality and production portal.We are using browser IE6.0 to see the WebDynpro application as we are unable to see the webdynpro application on browser IE7.0.We are gett