JTable selection vanishes on data change

Hi,
I have JTable, whose data gets continuously updated by a separate thread. Now, if I select a row inside the table the selection vanishes the moment the contents of the table change. How do I avoid this?

How do you refresh the table?
If you're using the DefaultTableModel and simply adding rows to the end, then there shouldn't be a problem.
If you're replacing the model completely, or clearing and refilling it, then you'll need to take other posters' advice, and keep track of the selected row before doing this.
However, if you are doing this, you should give some thought as to it's effect on the user: people don't like to see things jumping around without any means of control. If the selected row was at the top of the table when I clicked it, then jumps to the bottom of the table, I'm not going to be happy. Even worse is if the data moves the selected row out of the viewable space.

Similar Messages

  • Data changes in JTable

    hi experts
    i'm tring to detect the data change in the JTable. The java.sun.com
    gives one ex on this using "TableModelListener". but the program is
    giving errors on using that. I want to detect the data changes
    and also to save the data in its new form. how can i do it??
    Also, if ur having a large table data and the user changes only one cell , do i have to write the whole table back to the database ???
    Ashish

    here is the code. if i write "implements TableModelListener" then
    an error occurs
    import java.sql.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class TableDisplay extends JFrame implements TableModelListener{
    private Connection connection;
    private JTable table;
    public TableDisplay()
    //using JDBC to connect to a Microsoft ODBC database.
    String url = "jdbc:odbc:trial";
    String username = "ashish";
    String password = "ashish";
    // Load the driver to allow connection to the database
    try {
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    connection = DriverManager.getConnection(
    url, username, password );
    catch ( ClassNotFoundException cnfex ) {
    System.err.println(
    "Failed to load JDBC/ODBC driver." );
    cnfex.printStackTrace();
    System.exit( 1 ); // terminate program
    catch ( SQLException sqlex ) {
    System.err.println( "Unable to connect" );
    sqlex.printStackTrace();
    getTable();
    setSize( 500, 350 );
    show();
    private void getTable()
    Statement statement;
    ResultSet resultSet;
    try {
    String query = "SELECT * FROM shippers";
    statement = connection.createStatement();
    resultSet = statement.executeQuery( query );
    displayResultSet( resultSet );
    statement.close();
    catch ( SQLException sqlex ) {
    sqlex.printStackTrace();
    private void displayResultSet( ResultSet rs )
    throws SQLException
    // position to first record
    boolean moreRecords = rs.next();
    // If there are no records, display a message
    if ( ! moreRecords ) {
    JOptionPane.showMessageDialog( this,
    "ResultSet contained no records" );
    setTitle( "No records to display" );
    return;
    Vector columnHeads = new Vector();
    Vector rows = new Vector();
    try {
    // get column heads
    ResultSetMetaData rsmd = rs.getMetaData();
    for ( int i = 1; i <= rsmd.getColumnCount(); ++i )
    columnHeads.addElement( rsmd.getColumnName( i ) );
    // get row data
    do {
    rows.addElement( getNextRow( rs, rsmd ) );
    } while ( rs.next() );
    // display table with ResultSet contents
    table = new JTable( rows, columnHeads );
         table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    JScrollPane scroller = new JScrollPane( table );
    getContentPane().add(
    scroller, BorderLayout.CENTER );
    validate();
    catch ( SQLException sqlex ) {
    sqlex.printStackTrace();
    private Vector getNextRow( ResultSet rs,
    ResultSetMetaData rsmd )
    throws SQLException
    Vector currentRow = new Vector();
    for ( int i = 1; i <= rsmd.getColumnCount(); ++i )
    /* switch( rsmd.getColumnType( i ) ) {
    case Types.VARCHAR:
    currentRow.addElement( rs.getString( i ) );
    break;
    case Types.INTEGER:
    currentRow.addElement(
    new Long( rs.getLong( i ) ) );
    break;
    default:
    System.out.println( "Type was: " +
    rsmd.getColumnTypeName( i ) );
    currentRow.addElement( rs.getString( i ) );
    return currentRow;
    public void shutDown()
    try {
    connection.close();
    catch ( SQLException sqlex ) {
    System.err.println( "Unable to disconnect" );
    sqlex.printStackTrace();
    public static void main( String args[] )
    final TableDisplay app = new TableDisplay();
    app.addWindowListener(
    new WindowAdapter() {
    public void windowClosing( WindowEvent e )
    app.shutDown();
    System.exit( 0 );

  • Modified Date changes to now by selecting (not opening) vmwarevm file

    Yosemite OSX 10.10.2
    VMware Fusion is currently not running, and it's disabled (an older version not compatible with Yosemite has not yet been upgraded) so I don't think Fusion is doing this....
    I have VM files (.vmwarevm) that were not opened for months. I want to see which is which by viewing the date stamp in Finder. Clicking once shows the old date, then almost instantly it is changed to Now.  Like this:
    Created 2009-04-13, 1:23 PM
    Modified Today, <now>
    Last Opened Today, <now>
    ... but once changed those dates do not change again.
    I found an un-clicked one and it did the same thing, with <now> as the time stamp on that one. Now I have files with slightly different "today" date stamps which is incorrect and not helpful to determine the age of these files.
    It appears something (Preview?) is opening the file to access the content and generate a "recent screenshot" for the current state of the VM.
    I found no other files [edit: no other file types] that behave this way.
    I duplicated and renamed an odt file to .vmwarevm and it does not result in a Modified or Last Opened date change.
    (one of the VMs also doesn't change so I suspect a bad file format).

    Acrobat 9 makes PDF versions 4.0 and higher. You need a PDF version 5.0 to handle transparencies well. PDF version 4.0 doesn't handle transparency effects well at all.
    Pagemaker needs Acrobat 5 to be able to directly export PDF's with custom job settings. It only generates a PDF version 4.0, but works for our needs in Pagemaker.
    I choose to keep both Distiller versions to make our work easier. When you have 20 ads open in Pagemaker, and you send the first one as a postscript through the print window, it sets up the "File, Export" in Pagemaker to use the correct PDF job setting, and then you can just do "File, Export to PDF" for the next 19 ads and it makes perfect PDF's. Works slick instead of having to make postscripts of all 20 ads first and then run them through Distiller. If you only have Distiller 9 installed, it doesn't let you select any custom job settings from your Distiller. Crazy, I know, but that's what I've figured out we have to do to get it to work. Have to have Distiller 5.0 to control PDF settings in Pagemaker and still be able to export from the file menu directly to PDF.
    Distiller 9 is used for all other more advanced design pieces created in InDesign or Photoshop that are saved as a postscript first and PDF's are made the long way in those cases (running postscript through Distiller 9 at the end).

  • How often does Firefox Sync back-up data? I see there is no preference selection allowing you to change the pre-set frequency (whatever that interval may be).

    How often does Firefox Sync back-up data? I see there is no preference selection allowing you to change the pre-set frequency (whatever that interval may be).

    However, the sync action only triggers every 60-minute and there is no user-configurable option provided. Although one can put a Sync icon onto the toolbar for easier access, it is still far from practical needs.
    To unlock this limitation, do the following:
    1) Type “about:config” at the address bar
    2) Search for “services.sync.syncInterval”
    3) Change the value from 3600000 (milliseconds = 3600 seconds = 60 minutes) to any value (in millisecond) of your choice
    4) Close and restart Firefox
    The Sync action will now trigger at the interval you just set.
    from: http://tomtsui.wordpress.com/2011/04/29/modify-firefox-sync-interval/

  • How can I recover from a Botched BATCH DATE CHANGE in iPhoto?

    Botched Batch Date Change iPhoto08
    Short Story: Intending to change the date for one photo I managed to change the dates for all 8,525 images in my iPhoto08 library to the SAME DATE!! I found that the original creation dates were saved in the in the Modified field that appears in the Photo Info Window / File metadata subsection. I would like some help figuring out how to set the Date Created to this File Modified Date that appears in the Photo Info Window.
    GORY DETAILS:
    I used iPhoto08/ Photos menu / BATCH CHANGE... /“Set DATE to 20100723 1:20:54 PM” with “Modify original files” checked. iPhoto changed all 8,525 images to the same date.
    I now realize I should have used Photos menu / Adjust Date and Time ... But the damage was already done. Unfortunately there was no Edit menu / Undo for this operation. ALL 8,525 images have the same date. I checked in the the iPhoto Information sidebar--same date all images.
    Next, as a test, I dragged an image to the desktop and opened it in Graphic Converter7.0.3. The same date “20100723 1:20:54 PM” appeared in the Image Browser List /”Date Created”, “Date Modified”, “Date Captured” metadata fields.
    The following appeared in the Graphic Converter
    Image Preview sidebar (subWindow) going left to right
    Image menu/button
    Date and Time: Friday, July 23, 2010 1:20:54 PM PT
    Exif menu/button
    File date and time: 2010:07:23 13:20:54
    Date and time of original data generation: 2010:07:23 13:20:54
    Unknown tag (36868): 2010:07:23 13:20:54 <- significant?
    ExifTool menu/button
    ExifTool Version Number:8.40
    Warning: [minor] Suspicious MakerNotes offset for tag 0x9001
    ----System----
    File Modification Date/Time: 2010:07:23 13:20:54-07:00
    ----IFDO----
    Modify Date: 2010:07:23 13:20:54
    ----ExifIFD----
    Date/Time Original: 2010:07:23 13:20:54
    Create Date: 2010:07:23 13:20:54
    <<<<<<OH MY GOD >>>>>> the BATCH CHANGE / SET DATE not only RESET the date for EVERY IMAGE in my library, it also changed the date metadata EVERYWHERE inside each individual image file.
    Actually it's my Mom and Dad's iPhoto library containing all the kids and grand kids pictures, family trips, important events, everything. There is no backup. I feel as if I have tipped over a file cabinet containing all our photos. Our “date and event” organized 8,525 image iPhoto library was now as useful as a giant shoebox. On second thought, a shoe box full of real photo prints would be more useful than my iPhoto library because the prints would have the print date stamped on them.
    At this point feeling desperate I closed my eyes and said a quick prayer to Saint Rita - Patron Saint of the Impossible.
    I returned to iPhoto .................and noticed the Show Photo Info MENU item in the Photo Menu.
    I selected it.
    And Low and behold,
    in the Photo Info WINDOW,
    under the Meta data File SUBSECTION, the correct photo creation date appeared -->" Modified: 20071002 05:46:07 PM" I checked different photos ... They all had different FILE MODIFIED dates. These dates were/are the old creation dates! My prayers were answered: THANK YOU SAINT RITA!
    But now I am really stumped! This File Modified Date seems to be some kind of external metadata that is indexed or keyed to each image. How is this metadata stored in the iPhoto library? How can I access this File Modified date? I now turn to you GREAT iPhoto WIZARDS. Pray tell, how can I set the “Creation Date to the file Modified Date” that appears in the Photo Info Window as a (scriptable?) batch process.
    I am on my knees for this one...please help. we have iphoto11 but afraid to upgrade to it. until i know more i don't want to loose this Modified Date metadata.

    thanks for the quick response...
    no simple solution because no backup to restore from
    iPhoto seems to be using file metadata as some sort of index key in the
    Photo Info Window. open up the iphoto library package and take a look at
    the .xml file -- ModDate is used everywhere. hoping to export this data and merge/join it to
    each image.
    still trying to figure it out.
    thanks,
    Tom

  • How do I make a JTable's header sorting actually change the actual table?

    How do I make a JTable's header sorting actually change the actual table?
    Currently, I'm using
    table.setAutoCreateRowSorter(true);to allow the user to sort the table.
    However, I want to be able to load something based on the selected row's index. The problem is that when the table is rearranged, the change appears to only be local, in other words, the actual table isn't changing.
    For instance:
    index 0 "A"
    index 1 "B"
    index 2 "C"
    Sorted in reverse gives me
    "C"
    "B"
    "A"
    But C is still index 2 (instead of 0).
    Thanks in advance.

    Cross posted and answered in the Swing forum.
    [http://forums.sun.com/thread.jspa?threadID=5353865]
    I see this is not your first incidence of cross posting. In future, please post a question once only.
    db

  • Problem writing meta data changes in xmp in spite of enabled settings

    Dear Adobe Community
    After struggling with this for two full days and one night, you are my last hope before I give up and migrate to Aperture instead.
    I am having problems with Lightroom 5 writing meta data changes into xmp and including development settings in JPEG, inspite of having ticked all three boxed in catalog settings.
    In spite of having checked all boxes, Lightroom refused to actually perform the actions. I allowed the save action to take a lot longer than the saving indicator showed was needed, but regardless of this no edits made in the photo would be visible outside Lightroom. I also tried unticking and ticking and restarting my compute.
    Therefore, I uninstalled the program and the reinstalled it again (the trial version both times). I added about 5000 images to Lightroom (i.e. referenced). After having made a couple of changes for one photo in development settings, I tried closing the program. However, then this message was then displayed:
    I left the program open and running for about 5-5 hours, then tried closing the program, but the message still came up so I closed the program and restarted the computer. I tried making changes to another photo, saving and then closing and the same message comes up. The program also becomes unresponsive, and of course still no meta data has been saved to the photo, i.e. when opening it outside Lightroom, the edits of the photos is not shown.
    What do do? I would greatly appreciate any insights, since I have now completely hit the wall.
    Oh yes, that´s right:
    What version of Lightroom? Include the minor version number (e.g., Lighroom 4 with the 4.1 update).
    Lightroom 5.3
    Have you installed the recent updates? (If not, you should. They fix a lot of problems.)
    I installed the program two days ago and then for the second time today.
    What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac".
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
    What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    JPEG
    If you are getting error message(s), what is the full text of the error message(s)?
    Please see screen dumps above
    What were you doing when the problem occurred?
    Trying to save metadata + trying to open images that it seemed I had saved meta data to
    Has this ever worked before?
    No
    What other software are you running?
    For some time Chrome, Firefox, Itunes. Then I closed all other software.
    Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    4 GB 1333 MHz DDR3
    Has this ever worked before?  If so, do you recall any changes you made to Lightroom, such as adding Plug-ins, presets, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers, or installing/uninstalling any programs?
    No, the problems have been there all the time.

    AnnaK wrote:
    Hi Rob
    I think you succeeded in partly convincing me. : ) I think I will go for a non-destrucitve program like LR when I am back in Sweden, but will opt for a destructive one for now.  Unfortuntately, I have an Olypmus- so judging from your comment NX2 might not be for me.
    Hi AnnaK (see below).
    AnnaK wrote:
    My old snaps are JPEG, but I recently upgraded to an Olympus e-pl5 and will notw (edited by RC) start shooting RAW.
    Note: I edited your statement: I assume you meant now instead of not.
    If you start shooting raw, then you're gonna need a raw processor, regardless of what the next step in the process will be. And there are none better for this purpose than Lightroom, in my opinion. As has been said, you can export those back to Lightroom as jpeg then delete the raws, if storage is a major issue, or convert to Lossy DNG. Both of those options assume you're willing to adopt a non-destructive workflow, from there on out anyway (not an absolute requirement, but probably makes the most sense). It's generally a bad idea to edit a jpeg then resave it as a jpeg, because quality gets progressively worse every time you do that. Still, it's what I (and everybody else) did for years before Lightroom, and if you want to adopt such a workflow then yeah: you'll need a destructive editor that you like (or as I said, you can continue to use Lightroom in that fashion, by exporting new jpegs and deleting originals - really? that's how you want to go???). Reminder: NX2 works great on jpegs, and so is still very much a candidate in my mind - my biggest reservation in recommending it is uncertainty of it's future (it's kinda in limbo right now).
    AnnaK wrote:
    Rob Cole wrote:
    There is a plugin which will automatically delete originals upon export, but relying on plugins makes for additional complication too.
    Which plugin is this?
    Exportant (the option is invisible by default, but can be made visible by editing a text config file). To be clear: I do not recommend using Exportant for this purpose until after you've got everything else setup and functioning, and even then it would be worth reconsidering.
    AnnaK wrote:
    Rob Cole wrote:
    What I do is auto-publish to all consumption destinations after each round of edits, but that takes more space.
    How do you do this?
    Via Publish Services.
    PS - I also use features in 'Publish Service Assistant' and 'Change Manager' plugins (for complete automation), but most people just select publish collections and/or sets and click 'Publish' - if you only have a few collections/services it's convenient enough.
    AnnaK wrote:
    Would you happen to have any tips on which plugins I may want to use together with Photoshop Elements?
    No - sorry, maybe somebody else does.
    Did I get 'em all?
    Rob

  • SQL Server data change and Security

    in our environ any user who login with sa they can change any table data.
    so i write trigger to capture changed data like who change, from which IP etc this
    CREATE TRIGGER [TRG_Users]
    ON [dbo].[UserRights] AFTER INSERT, UPDATE, DELETE
    AS
    DECLARE @strIP VARCHAR(MAX)
    SET @strIP=(SELECT dbo.GetCurrentIP())
    IF EXISTS (SELECT * FROM INSERTED) AND EXISTS (SELECT * FROM DELETED)
    --PRINT 'Update happened';
    INSERT INTO Logger(IPAddress,Status)
    VALUES (@strIP,'UPDATE')
    ELSE
    IF EXISTS (SELECT * FROM INSERTED)
    --PRINT 'Insert happened';
    INSERT INTO Logger(IPAddress,Status)
    VALUES (@strIP,'INSERT')
    ELSE
    --PRINT 'Delete happened';
    INSERT INTO Logger(IPAddress,Status)
    VALUES (@strIP,'DELETE')
    CREATE FUNCTION [dbo].[GetCurrentIP] ()
    RETURNS varchar(255)
    AS
    BEGIN
    DECLARE @IP_Address varchar(255);
    SELECT @IP_Address = client_net_address
    FROM sys.dm_exec_connections
    WHERE Session_id = @@SPID;
    Return @IP_Address;
    END
    but the problem is user can change data after disabling the trigger on specific table. so trigger will not fire and user can seamlessly change data.
    so guide me what is the best way to capture data change and log them. so no one can bypass the security. please do not tell me disable sa account because i am looking for different approach to capture the change data. is there any secure way exist in sql
    server 2005/2008 if yes then please discuss here. thanks

    If you have shared SA password with different users you are bound to get these scenarios.Instaed of focussing on how to capture I would like you to talk with different users and only provide them access which is required.Follow policy f minimum privilege
    your environement will be less complex .
    You can use combination of Logon trigger and CDC to capture it.But again why o make things complex by sharing SA password with many users.
    https://www.simple-talk.com/sql/learn-sql-server/introduction-to-change-data-capture-%28cdc%29-in-sql-server-2008/
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Aperture Video Import Problem - from Lumix GH4: Imported clips have their dates changed to the import date.  The files show up on the hard drive but many are not showing up in Aperture.

    Aperture Video Import Problem - from Lumix GH4: Imported clips have their dates changed to the import date.  The files show up on the hard drive with import date not created date, but many of these same files are not showing up in Aperture. Sometimes the clips actually show up with the current import but take on the video information from a previously imported file.

    It was suggested I move this question to IPhoto or IMovie which I did. 
    Well moving to a different discussion group did not provide an answer to this question either. But what I finally did was import one batch of photos and videos into IPhoto for a given day at a time. Working with these I could change the date and times in order to get them in the original sequench taken. Then I would create an album with that batch. These would all be on the same day (IMove was closed for this phase). Then I would open IMovie, generate the thumbnails for that album, and select the album I had created. This was necessary because the importing process in IPhoto was using incorrect dates for my video so it was a real struggle finding them in IMove until I developed this approach.
    I believe that this whole process was so screwy because I was importing from an external hard drive not a camera. I had these photos on a PC and did not have the original cameras to use to import directly which I am fairly sure would have made this easier!

  • Customer master data change -XD02 Disable all filelds except text screen.

    Hi SAP Experts,
    Have  any idea please forward immediately.
    In cusomer master data change XD02 all filelds should not be changed by specified users and the user should be able to update the text screen where as am giving the path below
    XD02>company code data>Extras>Texts>Double click on  accounting text screen. then it directs to text screen.
    here user can update the information.
    Since the Master data fileds can be change by the diffrent team like the details of address.... and the other users team from same dept. should not able to change address...and all other fileds in XD02 except the text screen.
    Is it possible to develop in xd02 . if it is please explore what are the ways...
    Regards
    venkat

    Hi
    As said by GSL goto OB20 and select "change customer centrally" and in the
    general data
    company code data
    sales data
    select the required fields and check the radio button "display"
    if you suppress you cannot find the fields at all
    regards
    prashanth

  • Standard tcode for (mass) data change of internal orders or ... ??

    Hi!
    I really need some info if there by any chance SAP has standard transaction for mass data change of internal orders (more particular, distribution rules in settlement rule section, which can be found in <b>KO02 transaction</b>  ).
    I am trying to change distribution rules for settlement receivers in <b>settlement rule section</b>, that is finish past distribution rules by filling TO PERIOD and TO FISCAL YEAR fields on the right of each rule, and then entering new rules (which i get from external source -flat file, ms excel, csv...).
    If i wanted to import data in SAP i guess i would have to develop a Batch Input. But that would take me some time to develop because it is pretty complicated.
    I found tcode KO08 but i do not really know how to use it. Maybe there is another tcode that i am not aware of?
    I would appreciate any suggestions!
    Thnx, UK

    Hi Srilakshimi,
    If you are familiar with MASS transaction, then you can modify User Responsible field for Internal Orders from transaction KOK2.
    As first step you must create a selection variant in order to define which orders you want to modify. Once selection variant was created, excute transaction with it and you'll get a screen similar to MASS transaction. Select the field you want and massively replace it. Do not forget to save.
    Best Regards!
    Mgitur

  • Issue with Master data change workflow in GRC PC 10.1

    Hi,
    I have configured the work flow for master data changes in GRC PC 10.1, however approver is not able to view the request in inbox where are the organization owner is able to see the review for change request in inbox.
    Please let me know if there is any config where we need to set the approvers for workflow, so that the system creates a request for approver.
    Regards,
    Giridhar

    Dear Giridhar,
    Please, check the following configuration:
    1. Activate the workflow (Path: SPRO -> GRC -> Shared Master Data Settings -> Activate Master Data Changes)
    2. See whether Checkbox "Approval" is ticked for the selected entity
    3. If you activate master data changes, please check whether the correct roles are indicated in the Maintain Custom Agent Determination Rules in the Workflow settings.
    Business Event: 0FN_MDCHG_APPR
    Role: Select the role you gave to the approver
    After performing this configuration, a task must appear in the work inbox.
    Best Regards,
    Fernando

  • Delta data changes are not reflecting from ODS to another infocube

    ODS1 --->Infocube1  - Field1,field2,field3
    ODS2 -
    > Infocube 2  -
    Field 2-1,2-2,2-3,field2-4
    Both datasource information are totally different.
    Delta changes are captured in the field3 in ODS1 and Infocube 1 also.
    Field3 and Field 2-3 is the same field .Infocube 2 - I have included infoobject and populating the value from ODS1-Field3.
    The question is
    Whenever I capture the changes from ODS1-field3 -the similar changes also needs to be updated here in infocube2 -field2- 3.
    Start routine : I have created code like ,
    SELECT field1 field2 field3
      INTO CORRESPONDING FIELDS OF TABLE IT_field
      FROM /BIC/aods1.
    Update rule routine : Select the field2-3 in the characteristic- routine
      READ TABLE IT_field INTO LS_field
      WITH TABLE KEY
      field1 = COMM_STRUCTURE-field2-1
    Field 2 = COMM_STRUCTURE-field2-2.
    Result = LS_field -field2-3.
    If I load the full load to infocube 2  -no problem.
    Is their any other way Can I capture the transactional data changes in infocube 2.
    Advance thanks

    Thanks for quick update. You are right.
    There is no problem from  ODS1 --->Infocube1 - Delta is working properly.
    My question is ,
    ODS1 has a field 3. Whenever new changes happen for this field3 - I have to capture the simialr changes in the Infocube 2 and the fieldis 2-3.
    field3 and field 2-3 is the same field infoobject .
    Whenever the changes occurs inthe tranasation - ODS1-field 3 will capture the changes. How can I capture the similar changes in Infocube 2 and the field 2-3.

  • Table - Issue with Logging Data Changes

    Hi Experts,
    My client's requirement is to log data changes happened in a table which is critical. I've selected 'Log data changes' check box in technical settings of the table. Now, I'm able to see log for all the changes i did after that. But, I'm facing following issues. Kindly help me in fixing the same.
    1. The table is having two fields with same data element. In the change log SCU3, under the field name, field label mentioned in the data element is getting displayed. As, the data element is same for two fields, its difficult to find out which particular field is changed. Is there any way to display table field name instead of field label from data element?
    2. Sometime, even there is change in the data record, I'm able to see a log record in the change log with caption 'Data record unchanged'. What might be the problem and how to resolve?
    Thanks in Advance,
    Siva Sankar.

    Hi Moha Nan,
       You just use ABAP to change the table P? In this way I think it is not change to X table.
    You can upload master data to add navigation,it is a good way to bulid the SID of P table and X
    table .
      Hope it is help to you!

  • Event data changes

    Hi Gurus,
    I am trying to include Event data changes in Process chain and as soon as data load completes want trigger a report with broadcast settings. When i execute process chain, Chain is failing at Event data changes process type with below error.
    <i><i>Error log:
    Java system error: call FM RSRD_X_PRODUCE_PROXY to ProgId BP1TULAP424_PORTAL_WSH on host BP1TULAP424 with SSO not authorized: Missing Password
    Message no. RSBOLAP018
    Diagnosis
    An error occurred in the BI components on the SAP J2EE Engine.
    Procedure
    Contact your system administrator to have the error analyzed in detail.
    Procedure for System Administration
    Start the Visual Administrator, log on to the SAP J2EE Engine and choose "<J2EE_SID>"  ->"Server" -> "Services" -> "Log Viewer".
    The file "defaultTrace.trc" includes detailed information about the error that occurred. In Windows, you can find this file in the Log Viewer under "Cluster <computer name>" -> "Server <server number>" -> "<drive>:\usr\sap\<SID>\JC<INSTANCE>\j2ee\cluster\server<NUMBER>\log". ". In Unix, the file is located under "/usr/sap/<SID>/JC<INSTANCE>/j2ee/cluster/server<NUMBER>/log".
    If the file does not include enough detail about the error, you can increase the log level to obtain more information. To do this, choose "<J2EE_SID>" -> "Server" -> "Services" -> "Log Configurator". On the "Locations" tab page, choose "com" -> "sap" -> "ip" -> "bi" -> "webapplications". Using the selection list on the right side of the screen, you can increase the log level, whereby "DEBUG" represents the log level with the most information. You can save your settings by choosing the "Save" icon. The change to the log level is active immediately. Once you have successfully analyzed the error, you should set the log level back to its default value using the appropriate pushbutton; continuous writing to the log file negatively affects the overall performance of the system.</i></i>
    Am i missing some step, i already have Help SAP link, But all steps defined in the process are configured already. Any help greatly appreciated.
    Best Regards,
    Reddy.

    Hi,
      Have you checked the authorization for scheduling the broadcaster??
    Check the below authorization object ..
    S_RS_BCS :
    (RS_OBJTYPE )ObjectType: Query/Template/Workbook
    (RS_OBJID )ObjectID     : QueryID/TemplateID/WorkbookID
    (RS_EVTYPE)EventType  : DataChange or Timepoint
    (RS_EVID )EventID       : Infoprovider or Timepoint name
    are you sending anyworkbook through broadcaster? if so, you have to install precalculation server..
    Regards,
    Siva.

Maybe you are looking for

  • Mouse problems with Illustrator CS6 and Mountain Lion

    The mouse in Illustrator selects and deselects as it moves over buttons and cells: 1. In Graph data the cells the mouse passes over go dark grey if not already selected, then deselect if they are selected. This makes it very difficult to use the data

  • File Sharing works only with Firewall inactive

    I used to share files with an Xp Pc with no problem on my wifi network. When I upgraded to SL even though I see the pc in finder and the file sharing option is active I can access to my pc only if i stop the firewall. Bye

  • Access Image Rotate Arbitrary Value

    Hi scripters, I just want to get the value of current document's Arbitrary value, In the Menubar Image>Rotate Canvas>Arbitrary how can i do this via javascript indesign CS2 can any one tell me how can i get? Thanks in advance regards a r u l

  • In Need of Consulting Service

    Hi, Does anyone know of a Novell Consultant in the Washington DC metro area who can provide expert consulting service? We want to implement Zenworks Server for monitoring and managing our servers, but will like to talk to an expert first. We are look

  • Does ePrint Really Work?

    I've been trying this for days. Most of the time I get a message that says I'm not authorized to print. I have multiple emails listed and none of them work reliably. I've tried setting things to allow anyone to print but that doesn't work either. Aft