Save button clicked- but no changes in data

All,
We have lots of forms. Some form spans multiple table in database and some form spans multiple rows in database like a list.
My question is what is the best practice for not changing modified_date on database - if nothing in record is changed.
For example in my form user changes only 1 row out of 30 rows displayed.
Currently we are updating all the 30 rows. So the date modified gets changed.
What is the best practice to update only 1 row.
I could create dirty field in each row and check if row is updated. But then if the user make changes and then re-type- it does not give accurate picture.
Thanks,
Jill

consider capturing the entire row value along with the primary key of all the records that are updated,perhaps on the onclick or onchange event,append it with a separator and then assign it to a hidden field.
Say .the form looks like:
Sr.No EmpNO. EmpName      Age      (Primary Key) 
1.          1               JACK       35        100
2.          2               JILL          20       200if record with key 100 i.e JACK is edited say the Emp Name is changed to MACK the hidden field will contain 1#MACK#100.For Multiple Entries Add Another Separator | for differentiating between records.
At the Java Side,split the string into array.
array[0]=1
array[2]=MACK
array[3]=100.
Now you have the updated values as well as the PID.
Just update the same.
Hope this helps ..

Similar Messages

  • FileDialog.SAVE: trap the "Save" button click event

    Hello All
    Can anyone help me with FileDialog.SAVE, as to how we could trap the Save button click event? Is it possible to actually trap that particular event, rather than just checking for FileDialog.getFile() == null -> which indicates that "Cancel" button was selected.
    Any help would be highly appreciated
    Regards
    Naushin

    You can not do this, because FileDialog uses native dialog and all
    buttons on it are native (there are no java-components for them).
    Thus checking FileDialof.getFile() for null is only way to figure out
    whether user choose some file or not.

  • Set default filename for file save dialog on Save button click

    Hi,
    I am using AxAcroPDF (version 9.0) control to view pdf files in windows forms (C#). The pdf loads into the viewer in the form. Now, when I click on the Save button in the viewer, a Save dialog pops up with a default filename having complete path info.
    If I have loaded the pdf file into AxAcroPDF viewer with filename:
    "C:\Documents and Settings\KB_Kravi\My Documents\CustomerList.pdf"
    then in the save dialog, the default filename will be:
    "C_Documents_and_Settings_KB_Kravi_My Documents_CustomerList.pdf"
    Is there any option to set the default filename in the save dialog to some short name, instead of this lengthy name?
    Thanks,
    Ravi.

    Hi,
    I've found a solution.
    public void Open(string filePath)
    axAcroPDF.LoadFile(filePath);
    //this will set the correct name in the save file dialog.
    axAcroPDF.src = filePath;
    Thanks for your help.
    Freedon

  • I can't change the date on my photos. i click on adjust change and date and it does not give me the earliest date to change

    I can't change the date on my photos in events. I click on adjust date and time of selected photos and the date that I can edit is the oldest photo date and not the earliest. Help?

    iPhoto should be showing you the date of the first photo you selected.
    What do you want to achieve? It should not matter, which photo you select to adjust the time, because all photos will be corrected by the same fixed increment, if you use "Adjust Date and Time".
    If you want to set all photos to the same time, use "Photos > Batch Change > Set Date to" instead.

  • Cfolder - Notification Button click : Mail content change

    Hi Experts,
    Please suggest, as per client requirement, we need to change the mail content, when the 'Notification' Button is clicked in Cfolder by a user for an RFx in SRM.
    Currently we see mail content on click of Cfolder as below:
    Subject: Document "New Document" was created
    You subscribed to Folder "Post Bid Clarification". Document "New Document"
    was created.
    Document "New Document" is part of collaboration "Technical Details".
    Click the following link to go to the object in cFolders.
    (The link must be one line. If your mail client has cut the line off, copy the various parts to the address line of your Web browser to make a complete link.) http:// .........
    This e-mail was sent automatically by cFolders (mySAP PLM Collaboration Folders).
    Regards,
    Gaurav

    Hi Not exactly sure but can you check
    http://wiki.scn.sap.com/wiki/display/PLM/Standard+table-+cFolders
    CFX_NTF_QUEUE     Queue for E-Mail Notifications
    CFX_NTF_CONTENT     Collaboration Folders: Content Data of Notifications
    CFX_NTF_TEMPLATE     Table for storing information about Notification Templates
    CFX_NOTIFICATION     Collaboration Folders: Notifications
    Also try searching in transaction alrtcatdef if you find something related to it .. it contains the deafult text while sending mails

  • Sending mails when save button clicked on KS01 - Cost Center creation

    I Want to send a email to my officials when i entered the data and  click a saved button in KS01 after or before creating Cost Center..

    Hi Ravi,
    The package for ks01 is KBAS.
    In this u have exit COOMKS02 before saving.
    So write logic to send mail in the function module of this user exit which is triggered before saving.
    Regards,
    Vineesh.

  • IPhone5 lock button clicks but that's all it does...

    I called Apple (no store near me) and the tech said because it does click, it can't be a harware issue.  Thus, if I wanted him to tell me how to fix it I would have to pay up for tech support.  Thought I'd try on the forums first.
    I have updated to latest ios, restored, etc.  Obviously I can work around with assistive touch, but would really like a six month old device to actually just work.  (my common wish with apple products, as you can see from my screen name!) 
    Has anyone had this issue turn out to be a fixable software issue?  Thanks!

    Dirty Vegas wrote:
    iwishitjustworked wrote:
    So, the tech was lying to get my money?
    If I'm reading correctly, you called AppleCare.  In order for the AppleCare Advisor to give you advice, you need to be an AppleCare client.  Yes, there is a charge for that.  If the advice turns out to be, "Make a Genius Bar reservation" that would be the excellent advice that you are paying for. 
    The advisor is correct.  Don't call a for-pay service to try to get free service.
    if phone is under hardware wannanty it is an exception and customer does not have to pay anything.
    if customer did restore and everything there is not much more troubleshooting that advisor can do.
    if customer told him he did restore he should have explained replacement options.

  • What are the setting for Save button for saving plan data in WAD template

    Hi,
    i created SAVE button in Webtemplate for saving plan data.But this button is not
    active.is there any setting for this?
    thanks in advance
    chandu

    Hi Chandu,
    The settings to Configure the  Save function.
    Right click the Button Group Item ® Properties ®  * Button    ® 
    Type Caption  ‘Save’ ® Command    ® Select ‘All Commands’ Tab ® 
    De-select ‘Execute Planning Function’ and then select checkbox ‘Save
    Changed Data’ ® Double click on ‘Save Changed Data’ ® OK ® OK ® Save your template.
    *pls assign points,if info is useful*
    Regards
    CSM Reddy

  • The right mouse button on my 8740w has failed (clicks but no result, i.e Cut/Copy/Paste/Delete menu

    My right mouse button clicks but no result, i.e Cut/Copy/Paste/Delete menu does not appear.
    I think the hardware has failed.
    Note the mousepd is not the issue.  The right button is the problem
    Left button works fine

    Same deal with me except the right button has failed twice. You may find that if you push on it past the click with a bit more force it will respond. They swapped the hardware and same thing occurred.
    HP should be ashamed that they would put such awful mouse hardware on its flagship product. Whoever designed it should be fired.
    If HP had any customer loyalty they would offer a hardware update and offer it to those who are still under warranty.
    Suffice to say I will never, ever purchase an HP workstation again.
    Good luck.

  • GGB0 Asset Master Validation of fields on different tabs, on SAVE button

    Hi, Experts.
    For the the validation step in GGB0,  I need to trigger the validation step when the SAVE button clicked in AS01.
    The point is, you have to trigger the validation step with ANY tab-screen in AS01 is ACTIVE ( General , Time-dependent, Allocations ...)
    Requirement:
    When following 2 conditions are satisfied, show error message and let the user to change the Capitalization date.
    Cond.1:  the Capitalization date ( ANLA-AKTIV ) on 'General' tab  is one specific value, YYYYMMDD , not Blank.
    Cond 2 : the City(ANLA-GDLGRP) on 'Allocations' tab includes one special value XXXXX, not Blank.
    I implemented the check and activated with OACV,
    with FGT  = 'A' and logical field group is 002 ( Posting information ) .
    The prerequsite on GB00 is as follows.
    [ (ANLA-GDLGRP <> 'XXXXX' ) AND ( ANLA-GDLGRP <> '' ) ]
    The check  is as follows.
    [ ANLA-AKITIV  <> 'YYYYMMDD' ]
    The current behavior on AS01 is as follows:
    The check works well only when  you click SAVE with 'General' tab active.
    However, it  does NOT work on different tabs ( Allocations, Time-dependent, and so on... )  are active.
    Normally, the users hop around different tabs in AS01, and finally SAVE.
    So  I can not expect which tab is active when the 'SAVE' was clicked....
    Need help & thank you lot in advance

    The link mentioned by you ToonS is not acessible.
    Here is the link:
    http://msdn.microsoft.com/en-us/library/office/gg615466(v=office.14).aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Need to trigger "SAVE" Button in IK12 T-code?

    Hi,
    Scenario: There is custom screen, which branches out from IK11/IK12.
    Here, there is single LUW or "SAVE" Button, which updates IMRG and Z-Custom Table.
    Problem: Whenever the client changes the data in IK12, and doesn't change in Standard SAP Screen IK12, The Exit, EXIT_SAPLIMR0_001 is "NOT" Triggered, since there is NO DATA CHANGE.
    But We need to explicitly call the "SAVE" Button, to make the changes.
    Regards,
    Vijayanand.

    Hi Chandrasekhar,
    Can you explain, in detail.
    Inside the EXIT, EXIT_SAPLIMR0_001, I am writing logic to insert or modify the Z-Table for custom screen.
    Here, I need to make that SAP Updates ie Triggers the "SAVE" Button, so that the logic gets executed for updating the Z-Table.
    Motto: is to have single LUW or SAVE Button.
    Thanks.
    Vijayanand.
    Message was edited by:
            Vijayanand Annamalai

  • Adobe Designer 7.0 save button and ID system needed

    Hello, I need help with create save button what works with older version too.
    I have Adobe designer 7.0 pro
    After click save button you can not changes anymore information.
    Then I need ID making system. It would be club ID. ID will be include personal sex, birthday, and filling date.
    EX: 3290580020505 ( 3- male (4-female), 29.05.80 birthday (day,month,year), 02.05.05 means filling date. (day,month,year)
    When person will fill application and she/he choose sex, birthday, then automatically its will create the ID and its possible to see in ID form.
    Then When click Save button then what is ID number then automatically it adds end of the application form name.
    EX: ID is "3290580020505" and pdf application name is "New member". Then After Save name changes "New member- 3290580020505"
    How it is possible to do and when you do not understand what I mean pls let me know.
    I really need something similar system.

    LiveCycle Reader Extensions Server is server product that is used to unlock or activate functionalities in Reader that only otherwise available in Acrobat. By enabling rights to PDF documents, this allows end users who are using Reader to save, fill in, annotate, sign, and submit PDF documents...
    To learn more about LiveCycle Reader Extensions Server, go to
    http://www.adobe.com/products/server/readerextensions/main.html

  • How to change the date format in Sharepoint 2010 to dd MMM yyyy

    Hi,
    I am looking to change the datetime format with in the modified column from mm/dd/yy to dd MMM yyyy. I dont want to create calculated field with dd MMM yyyy format. I want the actual modified column value to be represented as dd MMM yyyy format.
    Thanks for your help in advance.
    regards
    Kalyan

    I'm not really sure what context you asking to change this for but to change your date time settings -
    Go into Site Settings and under 'Central Administration' there is a link to 'Regional Settings'. Click this and you specify the way dates and times are displayed.
    I have done this and mine displays as DD/MM/YYYY like you are asking.
    My locale is current set to English (United Kingdom) and sort order is general. Even if you're not in the United Kingdom, I can only see this way being your solution as US dates are always set as MM/DD/YYYY.
    http://sharepointythings.blogspot.co.uk

  • No save button for workset

    Hi,
    When moving items up or down in the navigation of a workset, the save button remains greyed.  However, if you make a change and close and reopen the workset the changes are there.  This can be bad if you make an inadvertent change without knowing.  Is there a way to configure it to where you have to hit the save button in order for changes to take affect?
    Any help is greatly appreciated.
    Best Regards,
    Rick

    And how nice it would've been if the separate login requirement where presented to you BEFORE you did the trouble of syncing a whole song!
    I haven't connected my FB or Google+ account with Spotify, but those are the only login options if you wish to support the lyrics creation. So I just spent a good ten minutes adjusting the lyrics for one song, but no Musixmatch/Spotify - you're not getting it! My privacy is worth sooooo much more than helping out with lyrics editing. (What's wrong with using my existing Spotify account, huh?)

  • Problem in activating Radio buttons and need to hit save button

    Hi Gurus,
    I added custom fields in CJ06,CJ07,CJ08 T-CODES. As per user requirement ,  I created radio button fields in sub screen  and user selects radio buttons FROM A1 TO A3  fields and also user wants to click "SAVE button"  in that subscreen, that fields data should store in database table.  Is there  any Note to implement for this and suggest me how to proceed further. 
    Thanks,
    Chiru.
    Edited by: chiranjeevi Rao on Apr 1, 2010 2:24 PM

    Hi Chandrasekhar,
    Can you explain, in detail.
    Inside the EXIT, EXIT_SAPLIMR0_001, I am writing logic to insert or modify the Z-Table for custom screen.
    Here, I need to make that SAP Updates ie Triggers the "SAVE" Button, so that the logic gets executed for updating the Z-Table.
    Motto: is to have single LUW or SAVE Button.
    Thanks.
    Vijayanand.
    Message was edited by:
            Vijayanand Annamalai

Maybe you are looking for

  • Problem in configuring Terms of Payment

    Hello Friends, I'm facing a problem during configuration of payment terms in which i give 15% discount to the customer if paid within 15 days & also the credit period is 15 days for net payment. When i try to configure the same i get an error message

  • EPub graphics are not sized correctly

    ePub graphics are not sized correctly after transfering ePub to my iPad using iTunes. I am running indesign 6.0 on microsoft system 7 and transfering the ePub to my new iPad (32gb  2048 x 1536 resolution). The graphic is set for "custom rasteration"

  • Dynamic select --hopefully simple question

    I have read alot of threads on doing a dynamic select. I am have no knowledge of AJAX so this is tough for me. I have looked at Denes and Carl's examples. I have one question and I hope its a simple one. I have two select lists. The second field is d

  • Changing colors of a border.

    I am working in Photoshop Elements 11.  I am trying to change a border from Black to another color, but it won't change.  Why?

  • No sound on Powerbook 12"

    Hi, I have a 12" Powerbook, with 1.5 ghz processor. I just installed Leopard on it ... The problem is there is no sound. I'm wondering do I need drivers or does it have to do with Leopard? Everything else seems to be working fine. When I press the vo