Checking which fields were modified by the user

Hi
I could not find an answer for this in this forum. I have an Apex 3 page with a few fields, and after the page is submitted, in a post-submit PL/SQL process, I need to know what fields were modified by the user.
I know that I can save the original field values in hidden fields, but this is cumbersome especially if there is a big number of fields. Is there a built-in functionality to do this?
Thanks
Luis

Thanks Timo.
I am using ADF Data Control (which are created from Web Service proxy) to display/update the data.
In the backing bean, the operation that is invoked at the time persisting data is as follows:
public void commitOperation {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("operationA");
DCIteratorBinding dciter = (DCIteratorBinding)bindings.get("someIterator");
for(int i=0; i<dciter.getViewObject().getEstimatedRowCount(); i++)
Row row=dciter.getRowAtRangeIndex(i);
SomeObject someObject= new SomeObject ();
someObject.setAttr1(row.getAttribute("Attrbute1").toString());
someObject.setAttr2(row.getAttribute("Attribute2").toString());
objectList.add(someObject);
operationBinding.getParamsMap().put("param1", objectList);
ResultObject result = (ResultObject) operationBinding.execute();
Inside the for loop (or any other place in the backing bean), I would like to figure out if the row was modified by the user. Please let me know if how to get that. If ADF provides this automatically, that would be GREAT.
Thanks,
Ash K

Similar Messages

  • ADF table: How to find out which rows were modified by the user

    Hi,
    I am using ADF table to display data that can be modified by the user (ReadOnly = false in the input text). I need to find out which rows were modified by the user, and only update (persist) those rows in the database.
    Is there an easy way to find out which rows were modified by the user.
    I am NOT particularly concerned with which columns were modified as I would update the entire row (if any data in that row is modified).
    I am using Oracle JDeveloper version 11.1.1.3.
    Thanks,
    Ash K

    Thanks Timo.
    I am using ADF Data Control (which are created from Web Service proxy) to display/update the data.
    In the backing bean, the operation that is invoked at the time persisting data is as follows:
    public void commitOperation {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("operationA");
    DCIteratorBinding dciter = (DCIteratorBinding)bindings.get("someIterator");
    for(int i=0; i<dciter.getViewObject().getEstimatedRowCount(); i++)
    Row row=dciter.getRowAtRangeIndex(i);
    SomeObject someObject= new SomeObject ();
    someObject.setAttr1(row.getAttribute("Attrbute1").toString());
    someObject.setAttr2(row.getAttribute("Attribute2").toString());
    objectList.add(someObject);
    operationBinding.getParamsMap().put("param1", objectList);
    ResultObject result = (ResultObject) operationBinding.execute();
    Inside the for loop (or any other place in the backing bean), I would like to figure out if the row was modified by the user. Please let me know if how to get that. If ADF provides this automatically, that would be GREAT.
    Thanks,
    Ash K

  • "Read items that were created by the user" and inconsistent permissions

    Hi!
    I have enabled the option "Read items that were created by the user" and "Create items and edit items that were created by the user" in the advanced settings of a list. Indeed when a user creates an item in that list, that item is visible
    only by that account and other accounts cannot see it.
    However when the user opens the "Shared With" dialog he/she sees all users there, giving him/her the impression that the item is visible to everyone! Why is that? This is very confusing since this "Shared With" feature is the only way
    for a user to tell who can see an item.

    Let it make it more clear. User A creates Item 1. Users B creates Item 2. When User A sees the contents of the list he sees Item 1 only. When User B sees the contents of the list he sees Item 2 only. As expected.
    The problem is that if User A selects Item 1 and then clicks on 'Shared With' button on the ribbon, he will get pop up that indicates that the Item 1 is Shared with User B. Which is not true since User B cannot see the item. So User A wrongly assumes
    that Item 1 is Shared with User B!
    Dimitris Papadimitriou, Software Development Professional

  • How to get the specific name of the workset which is currently selected by the user in sap portal 7.0

    Dear Expert,
    I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
    But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
    I am using portal 7.0.
    Thanks & Regards,
    Patralekha

    Hi Expert,
    I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
    But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
    But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
    INavigationService is available there.
    But didn't get any proper discussion on this interface for the same requirement.
    Can you please help me.
    Thanks & Regards,
    Patralekha

  • Order Date should not be modifiable by the user

    Hi,
    I want  to do ordered date is don't modifiable by the user when they selected  order type in Order Management Super User Responsibility ,Please help me  If anybody done earlier I am not aware of form
    personalization .
    Thanks&Regards,
    Mannala Krishna.

    Hi Nagesh
    Thanks for your replay,
    I had done this through form personalization and moved into Prod it is working fine
    Thanks,
    Krishna Mannala

  • How to check which administrator had modified the AD Group properties

    Dear Sir,
    Some one had modified a Distribution group (removed email address). I checked it in group properties and last modified was on 22/09/14. How to find which administrator had modified.
    I dont have access to domain controller. Is there any way to find it?
    thanks in advance.
    Karan

    Hello,
    this will be logged on DCs and also auditing must be configured correct that this will show up in the event viewer from a DC.
    Without access to the DC contact your administrators and let them find out.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • How to check which fields of a table are changed

    Hi
    I have a FM in which i pass VBAK and VBAP. I store records of table in internal tables and update the values during execution and at the end of this i have to cpmare VBAK and VBAP with internal tables to chcek which field value is changed in both VBAK and VBAP. Its not possible to check all fields bcause there are so many fields in VBAK and VBAP. Can any body help me.
    Thanks and Regards
    Aditya

    Hi,
    Try using where used list.
    click on the field. pree F1. select Technical Info from the pop-up. then from the field data, double click one the field name. it will navigate to the table/structure where the field is used. double click on the field there or
    press CntrlShiftF3.
    It will give you the where used list.
    Pls reward poins if useful.
    Regards,
    Chandru

  • Checking a field in VA01 at the time of saving

    Hi,
    I want to check a field at item level in VA01 at the time of saving the document. Can anyone tell me about the user exit I should look for.
    Thanks,
    Salman Zahir

    Thanks Suresh,
    I have put a break point is the include RV60AFZC, but it is not stopping while saving the document, it stops  when I do other activities.  Actually in the Item Detail I want to check that account assignment group is not blank. If it is I want to show a error message.
    Thanks ,
    Salman

  • Which field shows me that, the Sales Order is under CREDIT BLOCK?

    Hi Experts,
    I know that, I can see weather the Sales Order is under Delivery block, by looking VBAK-LIFSK.
    So, pls. let me know that, weather the Sales Order is under CREDIT BLOCK? which field, table telle me?
    thanq

    Hi,
    Look for field CMGST in VBUK or
    CRBLB check box in KNKK table.
    thanks
    Dan

  • Which field changes will bring the delta into BW

    Hi,
    On which field changes the delta will bring data into SAP BW. let us say if you bring the data from 2LIS_13_VDITM, any key figure changes in VF02 will bring the data? Only few characterstic changes it will bring the delta data. What and all those characterstics for delta identifies?
    Let us say I have added few fields in this extractor from custom table, If I would like to bring the delta for the field changes which lies in custom table, Can I do it by creating custom Business Transaction Events?
    advance thank you very much.

    Hi SHarsha,
    delta update implemented using the characteristic 0RECORDMODE, it describes records to be updated or added.
    Alex

  • How to create a role which contains few query for the user

    Hi,
    I need a create a role in the security which should contain few custom BI queries and then assign the users to the role.
    Even I have to assign the vendor to their unique vendor number in the security perespective for the created BI Reports.
    Thanks!!

    Try this link  http://www.sapecc.com/bw_security/bw_security_newquery.htm

  • How to use Fonts which are not installed on the users computer?

    I need to use various fonts in an applet without forcing the user to install them. I have found this method
    createFont(int fontFormat, InputStream fontStream)
    Returns a new Font with the specified font type and input data.
    How can I use this or any other routines to catch the font placed somewhere on the internet?
    Sincerely,
    Trevor Hardcastle

    In java 1.3.1, the type parameter has to be Font.TRUE_TYPE, which just leaves you with the problem of determining the correct fontStream parameter. You can easily obtain an InputStream for a remote resource by creating a URL to the resource (which presumably must specify a .TTF font file), and then using the method URL.openStream().
    Be aware, however, that if you want to access URLs from within an applet, then there are security implications of trying to retrieve data from remote machines other that the one directly hosting the applet (read up on applets and security policies).

  • Which autorization i need for the user XISUPER

    I need to look the information, review it and reconfigure again the content from my Exchange profile, i am conecting to the url:
    http://xanpro:50000/exchangeProfile/index.html
    but when i put the user (XISUPER) and the corresponding password i got the next error:
      403   Forbidden
      SAP J2EE Engine/6.40 
      You are not authorized to view the requested resource.
    Details: No details available
    Somebody knows which autorization i need it. Thks in advance.

    Hi Sergio,
    This is a detailed step by step procedure for creating a user:
    - On your SAP Web AS host, create the user below with at least the following parameters (transaction SU01).
    <b>User</b> : XISUPER
    <b>Last name (Tab: Address)</b> : <your_name>, for example XI Super
    <b>Password / User Type (Tab: Logon Data)</b> : <init_password> / Dialog
    <b>
    Role (Tab: Role)</b> :
    AP_BC_AI_LANDSCAPE_DB_RFC
    SAP_SLD_ADMINISTRATOR SAP_XI_ADMINISTRATOR
    SAP_XI_CONFIGURATOR SAP_XI_CONTENT_ORGANIZER
    SAP_XI_DEVELOPER SAP_XI_MONITOR
    The SAP_XI* roles are composite roles
    - Save, and exit SU01
    - You must now log on to the Integration server host with the user XISUPER, to switch the initial password to a valid password.
    - You must restart the J2EE engine to transfer the user creation to the J2EE
    Also go through this link for more details,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/95d7d490-0301-0010-ce93-c58f9a3cde0b
    Regards,
    abhy
    Message was edited by: Abhy Thomas

  • How to store the data, which should accessed by all the users

    I want to store some data into some variables, which has to be accessed by all the users on the webserver. i think it has to be stored in the application memory but if any body gives the code it will be clear to me .
    Thank Q
    K.Srinivas

    if it is for the same webapplication you can keep it in static attributes in a class which can be loaded at the time of server startup

  • How to find out which jobs are connected to the user

    Hello, i have a question, but i was unable to find the answer. The problem is that our internal consultant left the company, and there are certain jobs that run under his account. We want now to switch this jobs to other accounts. The problem we are facing is how to find out what jobs, or job steps are connected with his account, so we can safely demote his account, so that no other jobs will be run under his account. Thank you very much
    Sincerely,
    Luka Prijic

    the only reliable way to do this is by scanning table TBTCP using the person's userID in field AUTHCKNAM and filtering by job statuses: scheduled, released, ready and active (sorry I can't remember the code#'s off top of my head, something like P=scheduled, S=scheduled...you have to look it up).   When you search SM37 it only permits you to scan by the userID who created the job, but it won't tell you if a different userID is defined in a job step.  That's why you need to scan TBTCP.  Don't forget that you should also check for a user's open Workflow items before deletion.
    I noticed some posts in this forum that suggest a userID should never be deleted, only locked, added to a special user group, and all role assignments removed.  However I've never worked somewhere that does this.

Maybe you are looking for

  • Aperture not uploading to Mobile Me gallery

    I have a iMac and MacBook with Aperture 2.1.4 and MacOS 10.6.4. I have been trying to upload a new gallery to my Mobile Me site, to no avail. It goes through the motions like it is uploading, but the gallery never appears when I go to it. I have trie

  • Can't get videos on N96

    Okay I have a feeling this is just me being really stupid, but I've wasted a ridiculous amount of time encoding videos over and over again that I hope someone can just give me a simple answer. I have movies that I ripped off the DVDs (legit) using VL

  • Probblems Net Weaver Developer Studio (NWDS) caused by Internet Explorer 7

    Hi, I figured out that the view designer in NWDS does not work properly. It managed to draw a preview of a view but after a change the preview desappeared and I sow a window with the message: "The browser cannot display the webpage" and so on. After

  • Browser not resizing

    Hello all. I have a 600 x 400 (pixel) Flash movie embedded in HTML. I am having trouble getting the browser to resize to the exact dimensions of the Flash movie. I've removed the browser's inherent margins but it still won't resize. I guess it could

  • Jsf pages extension

    Hi! I have one question: JSF has defined any extension for the pages like struts has .jsp? .jsf or .faces, or something like that! I can put what I want? Like .asdfsfd? Thank you!!!