Changing data in table

hello experts
              i have to modify the field value zcount to 2 if zsearch contains value 'yes'in the table zstatus.which is in the active state.please tell me the process of changing the values without creating program.
thanks in advence.
regards
giri.

U can do that using SM31 but selecting the table Zstatus
and using the option to enter condition
you can than select the field zsearch as your condition field. It will ask you for the filter value in which you can give it as Yes...
It would popup with the records from the table zstatus with zsearch as Yes...here you can change the field zcount to 2.

Similar Messages

  • Log changed data in tables

    hi
    I want to hold change data information.
    For example I have table student and one row is inserted.
    Then somebody else changed the name of the student name and phone number.
    I want to hold the changed columns when an update query is executed.
    I looked at change data capture but I think it is about data warehouses and there are 2 databases in that case.
    I do not want to write triggers for all tables.
    I looked at fine grained auditing but I can take the update statement only, I do not know how can I find the changed columns, column's last data and new data.
    How can I do it? Which topic should I research?
    Can you lead me?
    Good Works

    [Flashback Query|http://www.oracle-base.com/articles/9i/FlashbackQuery.php] may be possible. but, There are some restrictions for Flashback query.
    [http://www.oracle-developer.net/display.php?id=210]
    [http://www.dbasupport.com/oracle/ora9i/flashback_Query.shtml]
    [http://www.dbasupport.com/oracle/ora9i/flashback_Query2.shtml]
    [http://www.dbasupport.com/oracle/ora9i/flashback_Query3.shtml]
    Last option is log Minor.

  • Gathering information on which users have changed data in tables

    hi,
    Have a 9.2.0.7 database. today someone made a change to some tables. Is it possible to track which user did this.
    Statspack is not running. I understand that logminer will be able to show me the data changes (I think) but what about the user?
    thanks

    [Flashback Query|http://www.oracle-base.com/articles/9i/FlashbackQuery.php] may be possible. but, There are some restrictions for Flashback query.
    [http://www.oracle-developer.net/display.php?id=210]
    [http://www.dbasupport.com/oracle/ora9i/flashback_Query.shtml]
    [http://www.dbasupport.com/oracle/ora9i/flashback_Query2.shtml]
    [http://www.dbasupport.com/oracle/ora9i/flashback_Query3.shtml]
    Last option is log Minor.

  • How to save history change data on table

    Hi all
    I'm using Oracle Database 11g
    Data of tables often is changed. I want to save history person changed it.
    Anybody help me!
    Thankyou
    Thiensu2810

    Hi
    you can use
    flashback data archieve
    CREATE FLASHBACK ARCHIVE DEFAULT test_archive1
    TABLESPACE example
    QUOTA 1 M
    RETENTION 1 DAY;
    CREATE FLASHBACK ARCHIVE test_archive2
    TABLESPACE example
    QUOTA 1 M
    RETENTION 1 DAY;
    The next statement alters the default flashback data archive to extend the retention period to 1 month:
    ALTER FLASHBACK ARCHIVE test_archive1
    MODIFY RETENTION 1 MONTH;
    The next statement specifies tracking for the oe.customers table. The flashback data archive is not specified, so data will be archived in the default flashback data archive, test_archive1:
    ALTER TABLE oe.customers
    FLASHBACK ARCHIVE;
    The next statement specifies tracking for the oe.orders table. In this case, data will be archived in the specified flashback data archive, test_archive2:
    ALTER TABLE oe.orders
    FLASHBACK ARCHIVE test_archive2;
    The next statement drops test_archive2 flashback data archive:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5009.htm#SQLRF20008
    hope this helps
    Zekeriya

  • Changing data in table level

    Hi friends,
    I want to change the address of ship to party in delivery document and billing document, table level. So anyone can tell me what is the table and fields name to change the address in delivery document and billing document. In LIKP and VBRK I am not able to find the fields. In VL03N main screen below to outbound delivery, ship to party will be there, right to that ship to party name will be there, right to that address button will be there. If you press that we will get the address of ship to party. I want to change the data in that? So I need the table and field of that
    Anyone can help me out?
    Ramesh

    Hi,
    This address actually comes from customer master for partner function WE .
    But in sales order and delivery u can change the address in VA02 and VL02N tcode by going thru the steps u have mentioned .
    Generally in Sales order we can do the chnages and then thru copy control this data from sales order flows to subsequent doc . So u can chnage it in sales order in chnage mode it will be available in Delivery and Invoice.
    In case u don't want to chnage it in sales order but u want to chnage in Delivery then VL02N and then chnage .
    Hope this help

  • 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

  • Change Data Capture How to Tell which you are running Sync or Asyn

    Hi ,
    I am taking over a new system that has change data capture running, but Im really confused how this is running. Most of the CDC is set up using Sync(triggers), but I have about 5 tables that DO NOT have system generated triggers on them. I know Streams is NOT running/configured. I know Capture is not running/configured (because nothing in DBA_CAPTURE table). I can tell that these 5 tables are still getting updated in the change table schema. I can not figure out how the 5 tables that DO NOT have triggers on them are updating the change data set tables.
    I had thought the the 5 tables, must be configured with HOTLOG, but when I look at the CHANGE_SETS table they all (including these 5 tables) are set to CHANGE SOURCE NAME = SYNC SOUCE. I would expected that to be HOTLOG_SOURCE. So I "assume" they aren't set up using Asnc. hot log mode. So maybe the other Async modes are used, but not pushed to another database? Is that possible?
    Any other ideas on how to figure out how the CDC is set up for these 5 tables?
    thanks for your help.

    Thanks for the reply, but I think I must have not stated the problem clearly. I dont WANT to set the source I want to figure out how this CDC is working. I see ALL the sources are currently set to SYNC_SOURCE. Almost all of the tables are set up with system triggers on them, but 5 dont have system triggers, yet the source says SYNC_SOURCE. I did validate that the change tables are getting updated for these tables. my question is how are they getting updated? I "assume" since they dont have system triggers ont eh table they aren't synchoronus cdc (like the other tables are). yet the source says SYNC_SOURCE. What am I missing? How can I tell if the redo log is populating those changes tables? Im pretty sure it is (Becuase there aren't triggers or jobs running), but Im curious if there is a way to tell for sure.
    Thanks,

  • Roles with Change Access to Table Maintenance

    Hello,
    We have many roles that have S_TABU_DIS-Table Maintenance, 02-Change access, *-Auth. Group. Many of these roles have very few transactions and are not Basis\Development related. My questions are what transactions do I need to make sure these roles don't have to so they can't change data in Tables? I know SM30 and SE16, any others? Also second question, should I be worried if these roles do not have the access to start these transactions but do have the access given in the S_TABU_DIS object?
    Thank You,
    Alex

    1. Asides from SM30 and SE16 you already mentioned, 'SE16N' and 'N' come to mind. Maybe there are others.
    2. Yes. You should be worried. Users could get authorizations for any of the aforementioned transactions from another role and get authorization to change all the tables from this role. Bad Stuff.
    I suggest that you figure out why exactly these roles includes S_TABU_DIS object with change authorizations for all table groups. Once you have that figured out - you can take appropriate actions. In my mind, it would be very hard to justify having S_TABU_DIS with 02/* in any role.

  • Approaches to transfer changed data from a table to another table

    Hello expert,
    will you please show me all approaches to automatically detect and transfer changed data from a table to another table ? I don't need detail information, but a little comment for those approaches are more welcome.
    Many Thanks,
    Edited by: 843178 on 19-Dec-2011 2:04 PM

    You will want to review information on replication and similar methods
    In a nutshell:
    Replication allowed data to exist at more than one site and take the Master / original table data and clone it at a different site
    As tranporting all of the table data to a remote / clone site got more and more expensive we developed a method
    to identify just the 'diffs' and only send those from the master to the clone which needed only the diffs to become a clone of the master table
    This has many methods and options, but looking under key words such as
    - distributed transations
    - materialized views
    - replication
    ... are a few categories that will get you started

  • Error While enahling CDC(Change data capture) on Table.

    I am enabling Change data capture (CDC) on SQL server 2012 Enterprise edition(11.0.2100.60)
    . I am able to enable it on Database level with below SQL, but failed to enable on Table level.
    Use DatabaseName
    GO
    Exec sys.sp_cdc_enable_db 
    GO
    EXEC sys.sp_cdc_enable_table @source_schema = N'dbo',
                @source_name = N'TableName', @role_name = NULL
    GO
    Got Error like,
    'msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 623
    Could not update the metadata that indicates table [dbo].[TableName] is enabled for Change Data Capture. 
    The failure occurred when executing the command '[sys].[sp_cdc_add_job] @job_type = N'capture''. 
    The error returned was 22836: 'Could not update the metadata for database DatabaseName to indicate that a Change Data Capture job has been added. 
    The failure occurred when executing the command 'sp_add_jobstep_internal'. 
    The error returned was 14234: 'The specified '@server' is invalid (valid values are returned by sp_helpserver).'. 
    Use the action and error to determine the cause of the failure and resubmit the request.'. 
    Use the action and error to determine the cause of the failure and resubmit the request.'
    Would anyone help me to out of this?
    Thanks in advance..!!

    Related thread:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/fa0c2a52-63b5-4a39-9f35-fe6f0eb21d1d/change-data-capture-on-table?forum=sqldatawarehousing
    Make sure SQL Server Agent is running.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Table for Delivery changed data

    Dear Gurus
    There is a requirement to create a z report based on delivery details. As according to the business process, the delivery weight is changed by z activities somedays after creation of delivery. Is there any table from which i can get the previous (old) value of weight which is now replaced by new weight value. (As this can be seen in delivery change data details, it shows the previous weight value and new weight value but i cant find the table for it)
    Thnx in advance
    Deepak Mehmi

    Hi
    Since Lakshmipati has already answered the question just to add on in CDHDR with VL02N you can find the object class as LIEFERUNG for any change in net weight. You can query in CDPOS with object class as LIEFERUNG as Object class and Object Id as the delivery number (with preceeding zeros-to make it 10 digits). The FNAME would be BTGEW for gross weight and NTGEW would be for net weight. The VALUE_NEW would give the new value and VALUE_OLD would give the old value.
    Thanks
    Indranil

  • How to change data in decision table using excel file in operating system?

    Hello, BRF Experts
    I now brf + for the first time in the current project is being developed.
    Now, project has been facing a big problem.
    Develop system that was developed in the history of decision table in the operating system can be used to update excel file, etc. I do not know whether.
    So, I was tested, but can not change data in decision table.
    [ error message : system is not change allowed ].
    The operating system itself to the current system setting is immutable and check it
    : changes and transports for client-specific object -> no changed allowed
    : cross-client object changes -> no changes to repository and cross-client customizing object.
    Decision table in the operating system can update the details if I want to know what to do.
    Maintenance view can be modified in the operating system as a decision table, I wonder if you can create a view.
    Edited by: Sung-Wook Ha on Jan 13, 2012 2:02 PM

    Hi ,
    Exchanging data with Microsoft Excel is done with the help of the XML-based file format (file extension .XSLX) introduced with Microsoft Excel 2007. If you are using an older version of Microsoft Office, you can download the Microsoft Office Compatibility Pack to upgrade the supported file formats from the Microsoft Download Center ([Exchanging Decision Table Data With Microsoft Excel |http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466]). Once you have downloaded the Compatibility Pack, you have to install it on every workstation that has an older version of Microsoft Office installed.
    Please refer the link-
    [BRFplus-Data exchange with MS Office 2007|http://help.sap.com/erp2005_ehp_05/helpdata/en/b8/e03486d1df48c6baa3c4354f5198ee/frameset.htm]
    Hope this helps.
    Thanks,
    Ajay

  • How to change data element in table?

    Hello all:
          I just need to change data element for a field in some Z table. I know I can do it through SE11 but I just want to make sure if there is anything I should be aware of? Are there any other steps I should perform apart from making changes through SE11? Any information you could provide would be great.
    Thanks.
    Mithun

    Hi Mithun,
    Yes, you can change the table using SE11. After saving, check for errors and activate. Using Menu, Utilities
    -> click on Database Utility and then click on 'activate and adjust database'.
    Hope this helps.
    Thanks,
    Srinivasa
    Message was edited by:
            Srinivasa Bhanuprasad Moningi

  • How to save only changed data of ALV in a local table ?

    Hi everyone,
    I created and alv with cl_gui_alv_grid, and I made it editable
    Now I need that when I click on a button only the changed data to be saved on a local (internal) table
    Is there a way I can do that ?
    I tried with methods like check_changed_data() but they don't return a table like that
    Regards,
    Dren Selimi

    ok than
    class lcl_event_receiver definition.
         methods:
    * Handle Data Changed
         handle_data_changed
         for event data_changed of cl_gui_alv_grid
         importing er_data_changed,
    endclass.                    "lcl_event DEFINITION
    class lcl_event_receiver implementation.
         method handle_data_changed.
              data: ls_good type lvc_s_modi.
              loop at er_data_changed->mt_good_cells into ls_good.
                   read table gt_table into gs_table index ls_good-index. "is your changed row in ALV
                    ls_good-fieldname "is your changed field
                   if ls_good-fieldname eq 'MATNR'.
                        gs_table-matnr " is your changed field old value.
                   endif. "i couldn't find a dynamic solution for old value
                   "if you do not have so many columns in alv you can use this solution
                    ls_good-value "is your changed field new value
                   append these values to your changed field table.
                   modify gt_table from gs_table index ls_good-index.           
              endloop.
              call method g_alvgrid->refresh_table_display.
         endmethod.
    endclass.

  • CDC (Change Data Capture) with 2 Tables

    Hello,
    i want to use the change data capture for the typical Data Warehousing progress (bring the new or updatet table from source to the staging area)
    So i have implemented a mapping with to tables. The source table is S_Account, the target or staging table is W_Account_DS.
    I have connected/mapped the tables and in the next step i goes into property inspector of W_ACCOUNT_DS into the Area Change Data Capture --> Change Data Capture Filter and put into the follow expression Builder
    Select *
    from S_Acccount
    where INOUTGRP1.LAST_UPD_DT = CURRENT_DATE (<-- Validation Succesful)
    and the next Step i make Enabeled is true in the Change Data Capture Area. So i think it should ready for one test case.
    I set in SQL Developer with an update statement the LAST_UPD_DT at 28.03.2012 in this case he should not update/insert anything, right? But he insert the full table.
    I set in SQL Developer with an update statement the LAST_UPD_DT by 2 Columms to 28.03.2012 in this case he should update he should update the full table - 2 columns with the date 28.03.2012, right?
    So what make i wrong or have i forgotten anything? (must set keys by the tables? I think not! If yes why?)
    Must i set anything properties else? Why doesnt´work it?
    I look forward for your replies :)

    Setting up CDC is a fairly complex process with different options. Setting just the filter in OWB is only a very small part.
    There is a blog post below on how to use code templates to do CDC which gives some insight;
    http://www.rittmanmead.com/2009/10/changed-data-capture-and-owb11gr2/
    Plus and older one illustrating how to use Oracle logs;
    http://www.rittmanmead.com/2006/04/asynchronous-hotlog-distributed-change-data-capture-and-owb-paris/
    Cheers
    David

Maybe you are looking for