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.

Similar Messages

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

  • How to extract data from maintenance view

    Hi experts,
    How can I select the data from maintenance view. As you know select query doesn't work on the maintenance view. And View name will be known at run time only.
    Thanks
    Yogesh Gupta

    > Let me tell you that I am a SAP certified ABAP consultant having experience of 4.5 years.
    I suspect that we will be hearing more comments about that.
    > Whatever question I asked can't be replied with the basic training (if yes please tell me even one).
    Debugging a macro?
    Another one => FM or BAPI to create the Activity Group in 4.0B No answer is possible? You have to be joking!
    And in How to get email ID fo a SAP user you obviously didn't even try Graham's answer!
    > I closed some of the answered questions since I didn't get the answers for them for a long time and SDN site doesn't allow to keep more than 10 questions open.
    The "comment field" is not mandatory. You don't need to flood the forum with your questions again.
    > I do respect your  concerns but I have no intention to abuse this site as it has been very helpful for me.
    That is the most important part. Thank you. But you seem to be unaware of the "search" functionality.
    If you can imagine that you are not the first person to ask a certain question, then you can be sure that someone else already has and you can find the answers on your own. If you still have doubts, then ask a specific question providing the details.
    Based on your other questions, you are on release 4.0B. Is that still correct?
    Cheers and thanks for responding,
    Julius
    Edited by: Julius Bussche on Jan 23, 2009 12:06 AM

  • How to deselect refrence table fields in Maintenance view.

    Hello,
            Could any one tell me how to deselect all fields here except mara .
    In the first link as below it shows the table selection tab in maintain view window.
    http://postimage.org/image/6701iidlh/
    When i click Relationships after selecting one base table , i get the second link as u see below
    http://postimage.org/image/p7wpknnht/
    I m unable to deselect the referenced tables Could some one throw light on this.
    Thanks
    Edited by: sarat on Nov 23, 2011 11:50 AM

    HI ,
    Find the below thread ,
    Hiding primary key field in Table maintenance generator
    It will help you to deselect refrence table fields in Maintenance view.  
    Regards,
    Saravana.S

  • How  to check  table have  exists any views in oracle

    hi,
    how to check table have exists any views in oracle

    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' You may use dba_dependencies to find views in different schema.

  • I need to load the reference/check table data in to MDM Server - help

    Hi,
      I need to load the referece table/check table data from ECC50 into FTP server/Ports. I am intrested only in Material and vendor extraction. Is this is possible with MDMGX or I need to use old zreports to extract reference table data? Any help on this is appreciated.
    Thanks,
    Daniel.LA

    Hi Daniel,
    U have to use generic extratctor MDMGX to extract reference data(customizing data) from R/3.
    Prerequisite:
    MDMGX to be installed.
    Procedure to use it.
    A)Setup Execution.
    1) Define Object type as per ur requirement (drop down list standard objects are provided like customer,vendor,products etc.).
    2)Define Repository and ftp server name.
    3)Upload ports and check table.
    4)Maintain ports and check table.
    B)Execute Generation and Extraction.
    1)Generate XSD.
    2) Starrt Execution.
    For each check table u have to create a separate port in MDM Repository.
    zreport is a older version ,it can be but neednot contain latest updates in check table .
    Reward Points if helpful.
    Regards,
    Neethu Joy.

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

  • 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

  • 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

  • Populate table control in maintenance view

    Hi all,
    I need to load data from an excel file and then call the maintenance view from a table through SM30 transaction,
    I want to see the data from the file already loaded in the table control,
    any idea how could I achieve this?
    I don't know how could I do it, I've been working with events but I have no idea how to manage the entire table,
    I just can handle row by row of the table.
    Any help will be appreciated, thanks in advance.

    Ótimo,
    Muito obrigada, vou tentá-lo, falo um pouquinho de português graças a Deus.

  • Getting Data from Maintenance view V001N into ABAP program

    Hello Experts,
    I have to fetch data from the maintenance view V001N in my ABAP program.  I have used select statement in my program but I am getting a syntax error  'V001N is not defined in the ABAP Dictionary as a table, projection view or database view. '.  V001N is a Maintenance view.
    Can anybody help me out how to get the data from that maintenance view into the internal table of my ABAP program.
    Regards.

    Sunil,
    check these threads
    https://forums.sdn.sap.com/click.jspa?searchID=18906946&messageID=6074746
    https://forums.sdn.sap.com/click.jspa?searchID=18906946&messageID=6088233
    so query on the tables which are used in the view
    Thanks
    Bala Duvvuri

  • 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

  • Read data from maintenance view

    hi all,
    could anyone please tell me if there is any special way to read data from a maintenance view (if at all it is possible).
    i wrote a simple select on it but it gave me a syntax error that the view is not defined in the dictionary. (i am able to see the view definition by double clicking and it is active too).
    the following is my select.
    select single lgnum from v_t320 into (w_lgnum) where werks eq p_i_werks and lgort eq p_i_lgort.
    awaiting answers...
    regards,
    PJ

    Thanx Rich,
    but the documentation on maintenance views says that we can have read access to them. Does that mean the data can only be seen via the DDIC and not from a select written in a program??
    this is what i read...
    Maintenance Status
    The maintenance status of a view controls whether data records can also be changed or inserted in the tables contained in the view.
    The maintenance status can be defined as follows:
    Read only: Data can only be read through the view.
    Read, change, delete, insert: Data of the tables contained in the view can be changed, deleted, and inserted through the view.
    Only read access is permitted for database views that are defined through several tables. If a database view contains only one single table, data can be inserted in this table through the view (see Inserts Through Database Views).
    The following status definitions are also possible for maintenance views:
    Read and change: Existing view entries can be changed. However, records cannot be deleted or inserted.
    Read and change (time-dependent views): Only entries whose non-time-dependent part of the key is the same as that of existing entries may be inserted.
    you surely have earned some points here....just let me be clear of the concept behind this
    regards,
    PJ

  • Append table - Regenerating a maintenance view

    People,
    I would like to create one more fied in a standard table, so I will create an append in this table.
    But it has a maintenance view associated to it. As this is a standard table, is there a way to regenerate this maintenance including the new field ?
    Thanks a lot!

    I´m not sure the maintenance view is regenerated.
    This is a standard table and I don´t want to get an access key to solve this.
    Anyone here has this experience?

  • Unable to display table data in Review View

    Hi Experts,
    I have one main view and one review View .In my main view i have one table (Normal Table) and several other input feilds and text views....
    If i click on review button in my main view, am able to see all the data in review view except table data.
    How can i get the table data which i have entered in main view.. the same should display in review view.
    I binded the same node in both main and review. and node is defined under component controller.
    Any ideas?
    Regards
    Farooq.

    Hi,
    I think you already binded in review view also with same node. right? So data will move automatically and display in
    review view also. In WDDOINIT of review veiw read data from that node and use bind_Table.
    Cheers,
    Kris.

Maybe you are looking for

  • ADF 10.1.3.3  Blocking attribute commandbutton does not work

    I can set the blocking="true" for my commandbutton in my jspx and it works fine on my local and on a dev server. (working as expected with the hourglass). In a different dev environment (the one we use to preview to our users) when the user clicks on

  • Xrefs to figure titles in linked FrameMaker files

    In my FrameMaker structured documents, figure titles include both a number and text (for example, "Figure 3: Initial Collector Model"). But cross-references include only the figure number (for example, "as shown in Figure 3"). In my style mappings in

  • Import data to User defined table

    Dear All I created a user define table , it is so simple . and I make it as master object and also define it as a form. I am going to import data from excel file, I also prepared import template form DTW (maintenance interface) but I cannot import da

  • New Adobe Air 1.5.2 Fixes...

    I see this in the dev notes... Before AIR 1.5.2, SWF content embedded in and HTML container in a transparent window could not be displayed. With AIR 1.5.2, SWF content can be displayed with certain wmode settings. http://www.adobe.com/support/documen

  • Slower MacBook Pro with Yosemite

    The computer is very slow and freezes often since downloading Yosemite. Poor and frustrating experience so far. Description du problème : Mon ordinateur est très lent depuis que j’ai installé Yosemite. My computer is running much slower since downloa