How to handle dirty data when uncommittedDataWarning="on"

Hello,
I'm using JDeveloper 11.1.1.4.0
On my JSPs uncommittedDataWarning is set to "on"
If I abandon a transaction on one screen and navigate to another page, it gives the warning message. This is expected. On click 'ok' I want to 'Rollback' any changes that were done. I also want to reset the state to 'non-dirty' so that the message does not popup on other screens over and again.
How do I achieve this?
Regards,
Amar

Hi,
maybe a rollback operation will solve your problem..
Additionally is your case related to this link?
http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html
Regards,
Dimitris.

Similar Messages

  • How to handle missing data when a limit value does not exist

    Hi guys
    I am quite new to all this OLAP stuff and I don't know how to detect the following situation:
    What happens when CREDITT.MYSERIES2 does not exist? the query then returns V1 and V2 populated with the data from CREDIT.MYSERIES1 and CREDIT.MYSERIES3 respectively (and V3 being all NULLs). I have no way of knowing that the limit has not worked on Series2.
    Is there any way to detect this? (perhaps assigning V2 to be all NULLs?)
    Thanks in advance
    Adam
    SELECT
         TRUNC(IND-TO_DATE('01011900','ddmmyyyy')+2),V1,V2,V3
         FROM (                     
              SELECT *                     
              FROM TABLE(                          
                   OLAP_TABLE( 'OLAPFAME.MAG_CRD DURATION SESSION',
                                  'DIMENSION IND AS DATE FROM DAY
                                  MEASURE V1 AS NUMBER FROM AW_EXPR DAILY.DATA(SERIES STATVAL(SERIES, 1))
                                  MEASURE V2 AS NUMBER FROM AW_EXPR DAILY.DATA(SERIES STATVAL(SERIES, 2))
                                  MEASURE V3 AS NUMBER FROM AW_EXPR DAILY.DATA(SERIES STATVAL(SERIES, 3))
                                  ROW2CELL R2C1' ))                          
              MODEL                               
                   DIMENSION BY(IND)                               
                   MEASURES(V1,V2,V3,R2C1)                               
                   RULES UPDATE SEQUENTIAL ORDER())
         WHERE OLAP_CONDITION( R2C1,
                                  'LIMIT SERIES TO ''CREDIT.MYSERIES1'',
                                                 ''CREDITT.MYSERIES2'',
                                                 ''CREDIT.MYSERIES3'';
                                  LMT DAY TO ''21DEC2009'' TO ''31DEC2009'';
                                  LMT DAY REMOVE DAYOF(DAY) EQ 7 OR DAYOF(DAY) EQ 1',
                                  1 )=1

    I am not sure what your issue is entirely because what you posted is not your working code.
    WHERE OLAP_CONDITION( R2C1,
    'LIMIT SERIES TO ''CREDIT.MYSERIES1'',
    ''CREDITT.MYSERIES2'',    <-- this seems incorrect
    ''CREDIT.MYSERIES3'';    <-- semicolon indicates end of statement
    LMT DAY TO ''21DEC2009'' TO ''31DEC2009'';  <-- what is this?
    LMT DAY REMOVE DAYOF(DAY) EQ 7 OR DAYOF(DAY) EQ 1', <-- what is this?
    1 )=1Could you please repost the correct code?

  • How to handle time&date

    can anyone tell me how to handle time&date correctly?using Calendar,GregorianCalendar,TimeZone,Locale
    thank you very much

    This is too large a topic to discuss in depth here. Here is a link to a tutorial on times and dates, and a search link that references many documents on the subject.
    http://java.sun.com/docs/books/tutorial/i18n/format/dateintro.html
    http://onesearch.sun.com/search/developers/index.jsp?and=calendar+&nh=100&phr=how+to&qt=&not=&field=&since=&col=javatecharticles&col=javatutorials&col=devall&rf=0&Search.x=20&Search.y=7
    When you have specific questions, just ask.

  • In  BDC how you handled header data and item data

    In  BDC how you handled header data and item data

    Raja,
    Can you be more clear ?
    Usually you load the header data one and then loop at the item data and then load the item data.
    This example should help you.
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • How to view the date when the Customers credit limit updated in SAP-FSCM?

    How to view the date when the Customers credit limit updated in SAP-FSCM?

    OK you can look at field - LIMIT_CHG_DATE in the table - UKMBP_CMS_SGM via SE16
    I would assume you would want to run it based on a date range.

  • How can I generate data when the link is click on?

    i have written a stackoverflow question ,
    would like some input if you have any , thanks, i would like to stay away from using jquery
    http://stackoverflow.com/questions/23143436/how-can-i-generate-data-when-the-link-is-click -on/23143813?noredirect=1#23143813

    I think you need to rephrase your question and be more specific. Also for me the images you are referring to do not exist. From your question I am interpreting it as "how do I program?"

  • How to handle empty Dats field received from SAP RFC response

    Hi All,
    I am invoking a SAP RFC which gives me a Dats field in response.
    A valid dats fields is successfully received by my pipelines.
    But when an empty Dats field is received, My pipeline fails and i get error.
    How to handle the empty Dats field from SAP

    Hi Anant,
    This is because the legacy SAP adapter accepted RFC messages with date field empty. In the new version, the same call results in an error. WCF-SAP adapter doesn't allow blank XML nodes.
    You need to use the below custom pipeline component as a workaround.
    Refer:
    Pipeline component for enabling legacy behavior in WCF-SAP adapter.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • How to handle The Date error???

    Actually I am using three dropdown list as day,month and year
    day contains 31 items and same values i.e., 1,2,3...31
    and month contains jan,feb,....dec
    year 1981,1982,.....2007
    and I am concateded these three to form date as
    d:=:day||'-'||:month||'-'||:year;
    Now my problem is
    when i am selecting values 31 jun 1980,30 feb 1980 i.e., non existing dates then it is throwing
    "Unhandled trigger ..... "
    please tell me how to handle it?

    There are a number of different exceptions you can get with dates.
    SELECT To_Date('10132007','DDMMYYYY') FROM dual;
    ORA-01843: not a valid month
    SELECT To_Date('99122007','DDMMYYYY') FROM dual;
    ORA-01847: day of month must be between 1 and last day of month
    SELECT To_Date('10-FEB-2007','DDMMYYYY') FROM dual;
    ORA-01858: a non-numeric character was found where a numeric was expectedFor this I would just trap the ORA-01847 and 'when others' exceptions.

  • In BAPI PO CREATION How to handled errors datas

    Hi friends ,
    In BAPI PO CREATION upload the datas How to handle/capture errors datas.?
    arun

    Hi,
    After completion of the program IT_RETURN table will have all the messages in it.
    Loop the IT_RETURN internal table and display the data.
    Regards
    Sudheer

  • How can forbid changing data when using BAPI  'BAPI_MATERIAL_SAVEREPLICA'?

    I am using BAPI  'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
    But this BAPI also can be used for change mode.
    How to forbid the change of MAT data when use this BAPI?
    TKS a lot~~
    I am looking foward to your response~~~

    you have to find out what the user did before your program goes ahead and starts the BAPI.

  • How to handle the Date & Time Object?

    Hi,
    I have big problem.I am working on j2ee application(using jsp & servlets).I am using Jboss App Server. The server is placed in India.
    But there is two offices, one is in India ,another one is in USA.
    But i want to handle the date and timestamp object commonly,
    But this object should be able to calculate their own date & timestamp object( e.g.,India,USA ).How can i solve this issue?.
    Help appreciated!
    P.Saravanan

    Hi,
    I have big problem.I am working on j2ee application(using jsp & servlets).I am using Jboss App Server. The server is placed in India.
    But there is two offices, one is in India ,another one is in USA.
    But i want to handle the date and timestamp object commonly,
    But this object should be able to calculate their own date & timestamp object( e.g.,India,USA ).How can i solve this issue?.
    Help appreciated!
    P.Saravanan

  • How to handle unsaved data in portal through webdynpro ABAP ?

    Hi Experts ,
         I  need to handle unsaved data in SAP Enterprise Portal through webdynpro for ABAP . I got a sdn link which explained some code for this..
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/b76f4169e25858e10000000a1550b0/frameset.htm
    I tired to implement this in EXIT method of the view. but im not able to get this . Can any one help me in this ? .
    Regards ,
    Kalpana .

    Hi ,
    Yes i have checked the code . But the example itself not working when i linked the same with portal . If EXIT is not the right method , Can you help in placing the code in right method ? The code i pasted in EXIT method is 
    data L_COMPONENTCONTROLLER type ref to IG_COMPONENTCONTROLLER .
    data L_API_COMPONENTCONTROLLER type ref to IF_WD_COMPONENT.
    data L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
    L_COMPONENTCONTROLLER =   WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
    L_API_COMPONENTCONTROLLER = L_COMPONENTCONTROLLER->WD_GET_API( ).
    L_PORTAL_MANAGER = L_API_COMPONENTCONTROLLER->GET_PORTAL_MANAGER( ).
    call method L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
      exporting
        DIRTY_FLAG = ABAP_TRUE .

  • How to find the date when object is moved from quality to production server

    Hi Experts,
    I am working with BADI ZMM_PUR_REQ_PROC_001-Method Check and BADI ZME_PROCESS_PO_CUST-Method Check.
    I need to add a check that a particular logic should be implemented only after this object is moved to the production server.
    How can i check the date when an object (in my case this BADI) is moved to the production server?
    <Removed by moderator>
    Thanks in advance.
    Edited by: Vinod Kumar on Aug 1, 2011 10:55 AM

    Hi Sakshi,
    So your reqt is that the documents created after your Transport implementation date should pass the check and others (old ones) should ignore.
    I will recommend, if at all possible, to make all the old documents compatible to your check by doing a separate initial loading /one time activity to avoid this kind of hardcoding.
    IF not at all possible to do so, then I think you should better hardcode your Transport req number and fetch date (AS4DATE) from E070 table and only if any entry exists, use that date as your required date. I believe this will be the date of transport imported in the target system.
    You can avoid hardcoding Transport number by picking latest transport with respect to your object (BADI) using E071 table, but that will go wrong once you send any future changes in this BADI to Prod, so better to hardcode the transport.
    BR,
    Diwakar

  • How can forbid changging data when using BAPI  'BAPI_MATERIAL_SAVEREPLICA'?

    I am using BAPI  'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
    But this BAPI also can be used for change mode.
    How to forbid the change of MAT data when use this BAPI?
    TKS a lot~~
    I am looking foward to your response~~~
    Edited by: lorryhappy on Dec 22, 2009 11:35 AM

    Hi
    You can achieve it in another way..
    Before Passing Data to BAPI , Check whether the material is existing or not..
    If material is existing (Present in Material Master Tables e.g. MARA ) using
    data: l_matnr like mara-matnr.
    Select single matnr from mara into l_matnr.
    IF sy-subrc EQ 0.
    " Material is existing ==> Do Not Pass to BAPI
    else.
    " Material is NOT existing ==> Pass to BAPI for creation.
    endif.
    Repeat above logic for every material in batch..
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • How to handle Valuechange events, when page bean is in request scope

    Hello balusc and forum mates,
    I want to know is there any good way to handle ValueChangeEvents events, when the page's bean in request scope.
    My problem is, I have a page having more than 1 value change event so How can I maintain page values at backing bean. My bean is request scope, I can't change to session scope.
    Please I really need it.

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

Maybe you are looking for

  • Problems with epub3 and iBooks version2

    Problems with fixed layout epub 3 and iBooks version 2 I am producing an epub 3 fixed layout ebook. My query is whether there is a known issue with epub 3 and the old version of iBooks - iBooks 2. The epub has passed verification with epubcheck 3.0.1

  • How can I implement a method to get any kind of class I want?

    All I want is a method( or a class ) : getClassInstance(). i.e. Vector v = someObj.getClassInstance("java.util.Vector"); or Collection c = someObj.getClassInstance("java.util.Collection"); thanks!

  • I Trusted a person but he backed stabed me

    Hello, My name is Gintaras, on the 01/08/2014 to 04/08/2014 one person who i trusted got hold of my skype password and use my nephew's credit card information to buy skype credits for 140 euros. I am trying to get a full refund because the purchases

  • Deferred Tax Asset/Liability

    Hi, Can we configure Deferred tax Assets and liabilities GL in SAP so that the impact on temporary difference will be automatic in the GL and at year end it will calculate the deferred tax Asset or Liability?

  • Fiscal year-report

    1.HOw will compare different fiscal year variant for reporting prupose? 2. How will assigne the business area, and how will get u business areas wise report.