How to find if a field is updated in ADF-BC

Hi,
I have two pages displayed .
Both the pages display data from DB as form data.
When I edit any of the fileds in one page[ex:first page] and navigate to another,I need to display a warning message that some fields are modified..do u wish to save/cancel.
If no fields are modified ,then the warning message need not be displayed.
How can I achieve this?
Please suggest.
Thanks,
Praveen

Field by field in the underlying EntityImpl you can call isAttributeChanged(int). You could create EO transient attributes on the fields you interested in, and expose them through your VOs.
An easier way at the JSF level is to grab the associated data control and discover if the associated transaction is dirty.
CM.

Similar Messages

  • How to find for ex : kunnr is updating how many database tables

    Hi all
    How to find for ex : kunnr is updating how many database tables .
    Rgds
    Rafi .

    hi rafi
    go to se15->abap dictionary->fields->table fields-> give kunnr at  field name text box->press f8.
    then it will show ,in how many tables the kunnr field exist.the kunnr field updates those tables.
    don't forget reward points.
    kiran

  • How to find the Databse field used in which Transaction

    Hi,
    I have one query about:
    How to find the particular field from the Database table, used in which transaction?
    Bottomline:  I want to find the LIKP- LIFEX field, used in which Transaction. I know it is related to inbound delivery, but i couldn't find it in which transaction it is.
    Thanks in advance.
    Jai.

    Hi Jai,
    The field is called External ID which equal to LIKP-LIFEX or RV50A-VERUR_LA (structure).
    Path:
    Goto -> Header -> Administration -> External ID.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • How to find the structure fields data in database tables?

    how to find the structure fields data in database tables?

    Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related.  There are several other more general ABAP related forums.

  • How to find out important fields in table like MARA?

    How to find out important fields in a table for example like MARA?
    Details: In R/3 or ECC table for example MARA;
    1) How to find out what are the important fields?
    2)Does the table have only key figures not characteristics right?
    3) There are so many tables in FI; Can you please tell me what are the important tables?
    4) There is any easy automatic way to figure out that the particular datasource for example 2lis_02_item is pulling data from so and so table. I like to know the process not the results please.
    Thanks in advance.
    York.

    Hi York,
       Let me go by points:
    1. There is nothing like important fields ... The question could be Key fields ... the fields which identify a record uniquely ... If you go to SE11, and go inot the dispaly of MARA table ... you will see that there is tick mark under key to indicate that the field is a key field ... All the fields which are so marked would identify a record in the table uniquely. If your question is otherwise ... (Important fields) ... then it depends on the purpose you wnat to meet ... Some fields might be important for me but not for you ... so there is not hard nad fast rule for important fields.
    2. No... Tables in R/3 or ECC would contain both Key figures and characteristics.
    3. Important tables in FI would be BKPF, BSEG and BSET.
    4. The procedure for finding out which table are used by say 2lis_02_item would be different from that of other non LO/LIS extractors.
    In case of LO/LIS turn on the trace (below process) while populating the setup tables and for thoers while executing RSA3.
    1. Open one session and go to ST05, click on "Activate Trace"
    2. Open another session and execute the transaction you want to track for the tables it is going to hit.
    3. Go to the session of point 1 above and click on DEACTIVATE TRACE
    4. Click on DISPLAY Trace
    This will show you all the tables that were hit while extracting data. Point to remember here is ... it will hit some standard tables as well ... so you will have to filter out what is relevant from what is not.
    Hope this helps.
    best regards,
    Kazmi

  • How to find a crm field in the bi content

    Hi all,
    in r/3 we have been using rsosfieldmap table to find the infoobject existing in the bi system and can u tell me how to find the crm field whether that particular infoobject is existing or not in the bicontent.
    Regards,
    Naveen

    HI Naveen,
    Check for the filed source table -- next find the data source used--> you can search in help.sap.com for the related BI content BW info objects
    Rsosfiledmap table is used to find the respective Bw filed to which its mapped. this table can be used only if the fileds are already mapped and exisintg in use in BW system.
    i guess u can use the same table to find the Bw info obejct(only if the CRM data source is replicated n used in BW system).
    Regards
    KP

  • How to find out which field belongs to which table

    Dear all
             How to find out this "Field name:-  LFSNR" belongs to which table.
    regards
    M.Chandra mohan

    Hi
    You can go to SE84.
    ABAP Dictionary --> Fields --> Table fields
    Enter field name and execute. You will get list of table where this field is exist.
    hope it helps
    regards
    Srinivas

  • How to find values for fields of  PROPERTIES  in cl_crm_documents= create_w

    Hi  everyone ,
    I am attaching files from local disk to CRM Opportunity by using method cl_crm_documents=>create_with_file .
    I am able to see files in SAP frontend portal , but the problem is some of the fields in properties tab coming blank .
    So how to find the NAME and VALUE fields of PROPERTIES structure in create_with_file  .
    Right now i am passing below fields these ar coming
    "-----Filling Properties structure
        ls_prop-name   = 'KW_RELATIVE_URL'.
        ls_prop-value  = wa_path-ls_name.
        APPEND ls_prop TO lt_prop.
        ls_prop-name   = 'DESCRIPTION '.
        ls_prop-value  = 'Strategy paper for action plan1' .
        APPEND ls_prop TO lt_prop.
    ls_prop-name  = 'LANGUAGE'.
        ls_prop-value = sy-langu.
        APPEND ls_prop TO lt_prop.
    but fileds like Attachment Type , Document Status ,  Line of Business , Business Year and Country of LE are not coming
    as i frontend is a CRM custom application to mentain opportunity .
    at prasent i am passing attribute Names and default values of these fields to properties structure  but then also i am unable to see it in front end.
    Please help if anybody knows where to find the NAME and VALUE fields for thse parameters.
    Regards
    Chetan

    I used insert statement to populate these fields in table CRMD_KW_DOC_GEN as these are custom fields.
    Regards
    Chetan

  • How to find a specific field name for the sapscript?

    Hi all,
    I have to print out the ship-to party in a sales quotation, but I can't find out which field should I use in the sapscript, how to find out?
    I tried to retrieve VBCO2-KUNWE, VBPAPO-KUNNR, VBPAV-KUNNR, but nothing returns.
    Thanks.

    Hi ,
    Can you check
    Table VBPA with PARVW = 'WE' and VBELN and POSNR.
    VBPA-KUNNR  -Ship to Party.
    Lanka

  • How to find out what the latest update is for something from apple's site?

    i've never been able to do this, and has been a recurring problem for many years:
    how can you, using apple's web site -- presumably the support or downloads section -- find out what the latest update for/of a certain product is?
    without going into the details, the software update app is of no use to me.
    for example, i have a airport extreme base station 54 mbps. how do i go about finding out what it's latest software is? do such products not have a web page which has the latest update linked to from it?
    why is it so hard, impossible i find, to find out what the latest software is?
    any pointers much appreciated. (i'm not particularly looking for the answer to "what't the latest update for a airport extreme base station 54 mbps?" but a general method for finding out the latest update for anything using apple's web site)
    thanks very much.

    If you use the Advance Search function:
    http://search.info.apple.com/
    you can filter results to give downloads for the search words airport extreme base station. The return will be in date order from newest to oldest. Yo ucan also designate word pairs of groups to narrow the search.

  • How to find R/3 fields to BI InfoObjetcs .

    Hi,
    I have R/3 fields , but now i want to find corresponding BI Infoobjects , Pls let me know how to find it.
    I have tried RSOSFIELDMAP, 90% Infoobjects are not available i nBI.
    Note : I have Created generic datasource and now i want to store the data in DSO.
    Pls help me .
    Regards,
    Nithi.

    Hi,
    Use the follwoing table for finding InfoObjects
    RSDIOBJ----
    Directory of all InfoObjects
    RSDIOBJT----
    Texts of InfoObjects
    RSDIOBJ----
    Directory of all InfoObjects
    RSDIOBJT----
    Texts of InfoObjects
    RSDATRNAV------- Navigation Attributes
    RSDATRNAVT------- Navigation Attributes
    RSDBCHATR------- Master Data Attributes
    RSDCHABAS------- Basic Characteristics (for Characteristics,Time Characteristics, and Units)
    RSDCHA -
    Characteristics Catalog
    RSDDPA -
    Data Package Characteristic
    RSDIOBJCMP -
    Dependencies of InfoObjects
    RSKYF -
    Key Figures
    RSDTIM -
    Time Characteristics
    RSDUNI -
    Units
    Thanks
    Reddy

  • How to find internal table fields from which table.

    Hello Experts,
    I have to use a dynamic select inner join query.
    SELECT (lv_string)
      FROM (from_tab)
      INTO CORRESPONDING FIELDS OF TABLE <fs_itab1>
      WHERE (where_tab).
    ELSEIF table_1 NE ''.
      SELECT *
      FROM (table_1)
      INTO CORRESPONDING FIELDS OF TABLE <fs_itab1>
      WHERE (where_tab).
    in that LV_string is dynamicaly select. from a structure which is a combination of say  VBAK and VBAP
    i have to
    CONCATENATE 'VBAK~' wa_fields-fname INTO str_temp.
    CONCATENATE lv_string str_temp INTO lv_string SEPARATED BY space
    CONCATENATE 'VBAP~' wa_fields-fname INTO str_temp.
      CONCATENATE lv_string str_temp INTO lv_string SEPARATED BY space.
    with there identifire....how to find that...
    Regards,
    Ketan.

    Ketan,
    I believe you CAN find this only when you are creating lv_string from your structure (or whatever it is).
    So paste that code that what is your 'structure' type and on what conditions you want to Fill lv_string from it.
    in that LV_string is dynamicaly select. from a structure which is a combination of say VBAK and VBAP
    If you have a custom or standard Structure from which you need to fill lv_string, then you should have no worries to full VBAK~ or VBAP~ because fieldnames will be always unique in any Structure and hence ~ additions are not necessarily needed.
    The issue can be in the case where you are picking few fields each from std tables VBAK and VBAP in your lv_string and
    your "(from_tab)" is an inner join condition. I believe in that case you should be able to identify VBAK~ and VBAP~ while populating lv_string itself. Also you can use DB view MASSVBAP.
    Regards,
    Diwakar

  • How to find tables and fields in the standard program.

    Hi to all,
                  I am very new to ABAP,
                i am willing to write Report ,that is  if i enter  the vendor number i have to get item,quantity , name...with dateetc....
    My approach was :  i went to ME2L and i gave vendor number and date in that then i got some data ,then i got the program of that list ( it was there in  bottom right) i.e, SAPMSSY0 .
               Then i entered in SE38,in that i go with Display Object LIst to find out the tables and fields,but i failed to found.
    My question is : I can write the reports if i know the fields and tables location....
                              Here i want to know the ,if i enter the Vendor No, i have to get the regarding information about that NO,_for that i have to know the fields and tables_ of item and cost ....every thing ...
           if my question was not clear please ask me i will explain you again...
          Can you help me how to find...
    Thanks in Advance
    Bhanu.

    Hi Bhanu,
       Goto transaction SE84 then follow the path
    SE84-->ABAP DICTIONARY--->FIELDS---->TABLE FIELDS-->ENTER THE TABLE OR FIED NAME you want to find
        and EXECUTE the programm you will get all the information regarding that field or table.
        Hope this solves your problem.
    Thank you,
    Pavan.
    Edited by: PAVAN CHANDRASEKHAR GANTI on Sep 1, 2009 12:57 PM
    Edited by: PAVAN CHANDRASEKHAR GANTI on Sep 1, 2009 12:58 PM

  • How to find R/3 field  tech name with the help of BW fields.

    Hi ,
    How will i come to know that particular R/3 field is mapped to BW field.
    for .e.g
    I have BW Fields in Cubes , how can i see the R/3 field tech names for that .I can see in Infosource , but for few areas i am not able to find the infosource in sap help.com.
    Pls let me know how to find the R/3 Fields for BW Fields?
    Regards,
    Nithi.

    Hi
    These are the following approaches used
    1.) Check the SAP BI Content website "http://help.sap.com/saphelp_nw70/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm". From here find your datasource . here u can get a list of fields in the datasource along with your R3 field and infobject.
    2.) Go to Transfer rules structure of the cube or DSO, there u wuld  be able to see all fields in Datasource structure fields, See the left pane and right pane. there u will se ur R3 fields and Infoobjects of BW along with their mapping.
    3.) Follow this process
    in R/3 system - use tcode SE11 ->ROOSFIELD -> GIVE Extract Structure & Field Name > Check Records with Version D and A.
    NOTE : Make sure the fields of the datasource in R3 are not hidden , otherwise you wont be able to vierw ur data.
    From
    ManesH

  • How to find the no of rows updated

    Hello,
    Is there any way to find the no of rows updated using a anony.. block
    example
    begin
    update test set cost=3244 where dept='IT';
    update test set cost=3434 where dept='retail';
    end;
    is there any way here.

    user7351276 wrote:
    yes I had tried this but have around 6000 statements like this.Are you looking to get 6000 counts? Then you'd need 6000 calls to SQL%ROWCOUNT.
    Of course, I would be extremely suspicious of a process that had 6000 very similar SQL statements. It would almost certainly be preferable to do something like load a mapping table and to issue a single update, i.e.
    CREATE TABLE mapping_table (
      cost number,
      dept varchar2(10)
    INSERT INTO mapping_table( cost, dept ) VALUES( 3244, 'IT' );
    INSERT INTO mapping_table( cost, dept ) VALUES( 3434, 'retail' );
    UPDATE test t
       SET cost = (
        SELECT m.cost
          FROM mapping_table m
         WHERE m.dept = t.dept )
    WHERE EXISTS (
        SELECT 1
          FROM mapping_table m
         WHERE m.dept = t.dept );
    dbms_output.put_line( 'A total of ' || sql%rowcount || ' rows updated.' );Justin

Maybe you are looking for