Data validation query change

hi experts
I got request to change one data validation query.
In the existing query,I see three parts...in top(first part) part,we have one query view from One cube.....when we come to middle part(second)..it has one query view from second cube.....finally,the third and bottom part contains some excel formulas which substract middle part(second) total from top part(first) total and shows the result....
so when I run the query it automatically populates top part(first) from one cube and second part(middle) from other cube and shows result in third and bottom part...
my change request is:
I donot need to change the top part(first)...I need to change middle part(second view from top)....but I donot know how to change this one....if I search on technical name of this whole Datavalidation query ...it just shows query corresponding the top part of this data validation query....
Please advise how to do this  if any of you have idea
Regards,
SChand
Edited by: SChandx200 on Aug 10, 2010 8:10 AM

Hi,
There can be one of the two erason,
Either source data got corrupt. In your case the data in fltfile was not appropriate yesterday,, May be..
Or someone has change the Info package/Process chain for load the data and change that again today. (Check if is there any Info Package routine is written and got changed recently.
I hope it will help.
Thanks,
S

Similar Messages

  • Last changed date of query showing old date

    Hi All,
    We have made a change to a query (description change) and saved.  When we open the Analyzer we still see the old description and also the last changed date shows an old date.  Not the latest date the query was last changed on.  We tried generating the query in RSRT, but no luck.
    Can someone let us know what we can do?
    Thanks!

    Hi Kams,
    We are using the Analyzer, log out back in, etc...
    As mentioned we did a regenerate by RSRT 'generate'
    any other ideas?

  • Can you change the data model query dynamically based on its parent query

    Hi
    Question:
    I have a data model query q1 and q2 is the child of q1
    Say q1 returns 2 rows and and
    for the first row
    i want q2 to be select 1 from table1
    for the second row
    i want q2 to be select 1 from table2
    Basically i want to build the q2 dynamically
    for each row fetched in q1.
    Can this be done?
    If so where do i write the code to achieve this
    Thanx in advance.
    Suresh

    One simple (but not very realistic) example:
    1. DATABASE TABLES AND DATA
    CREATE TABLE dept_all (
    deptno NUMBER (2),
    dname VARCHAR2 (20),
    in_usa CHAR (1) DEFAULT 'Y')
    INSERT INTO dept_all VALUES (10, 'DEPT 10', 'Y');
    INSERT INTO dept_all VALUES (20, 'DEPT 20', 'N');
    INSERT INTO dept_all VALUES (30, 'DEPT 30', 'Y');
    CREATE TABLE emp_usa (
    empno NUMBER (4),
    ename VARCHAR2 (20),
    deptno NUMBER (2))
    INSERT INTO emp_usa VALUES (1001, 'EMP 1001', 10);
    INSERT INTO emp_usa VALUES (1002, 'EMP 1002', 10);
    INSERT INTO emp_usa VALUES (3001, 'EMP 3001', 30);
    INSERT INTO emp_usa VALUES (3002, 'EMP 3002', 30);
    CREATE TABLE emp_non_usa (
    empno NUMBER (4),
    ename VARCHAR2 (20),
    deptno NUMBER (2))
    INSERT INTO emp_non_usa VALUES (2001, 'EMP 2001', 20);
    INSERT INTO emp_non_usa VALUES (2002, 'EMP 2002', 20);
    2. DATABASE PACKAGE
    Note that Oracle Reports 3.0 / 6i needs 'static' ref cursor type for building Report Layout.
    So, in package specification we must have both ref cursor types, static for Report Layout
    and dynamic for ref cursor query.
    CREATE OR REPLACE PACKAGE example IS
    TYPE t_dept_static_rc IS REF CURSOR RETURN dept_all%ROWTYPE;
    TYPE t_dept_rc IS REF CURSOR;
    FUNCTION dept_query (p_where VARCHAR2) RETURN t_dept_rc;
    TYPE t_emp_rec IS RECORD (
    empno emp_usa.empno%TYPE,
    ename emp_usa.ename%TYPE);
    TYPE t_emp_static_rc IS REF CURSOR RETURN t_emp_rec;
    TYPE t_emp_rc IS REF CURSOR;
    FUNCTION emp_query (
    p_in_usa dept_all.in_usa%TYPE,
    p_deptno dept_all.deptno%TYPE)
    RETURN t_emp_rc;
    END;
    CREATE OR REPLACE PACKAGE BODY example IS
    FUNCTION dept_query (p_where VARCHAR2) RETURN t_dept_rc IS
    l_dept_rc t_dept_rc;
    BEGIN
    OPEN l_dept_rc FOR
    'SELECT * FROM dept_all WHERE ' || NVL (p_where, '1 = 1') || ' ORDER BY deptno';
    RETURN l_dept_rc;
    END;
    FUNCTION emp_query (
    p_in_usa dept_all.in_usa%TYPE,
    p_deptno dept_all.deptno%TYPE)
    RETURN t_emp_rc
    IS
    l_emp_rc t_emp_rc;
    l_table VARCHAR2 (30);
    BEGIN
    IF p_in_usa = 'Y' THEN
    l_table := 'emp_usa';
    ELSE
    l_table := 'emp_non_usa';
    END IF;
    OPEN l_emp_rc FOR
    'SELECT * FROM ' || l_table || ' WHERE deptno = :p_deptno ORDER BY empno'
    USING p_deptno;
    RETURN l_emp_rc;
    END;
    END;
    3. REPORT - QUERY FUNCTIONS AND DATA LINK
    FUNCTION q_dept RETURN example.t_dept_static_rc IS
    BEGIN
    -- "p_where" is a User Parameter
    RETURN example.dept_query (:p_where);
    END;
    FUNCTION q_emp RETURN example.t_emp_static_rc IS
    BEGIN
    -- "in_usa" and "deptno" are columns from Parent Group (G_DEPT)
    RETURN example.emp_query (:in_usa, :deptno);
    END;
    Of course, we must create Data Link between Parent Group (G_DEPT) and Child Query (Q_EMP).
    Regards
    Zlatko Sirotic

  • Excise Invoice Cancellation on Date validation only

    Hi Experts,
    i am having critical requirement from Business, which is not available in SAP Standard, So i need help from you guys...
    Excise invoice can be cancelled on the same day of system/posting date. but when the system date and posting dates are not matching it should through error..
    Example  : i created Excise invoice on 17th june,2011 this is posting date of excise invoice, if i try to cancell on 17th june , it should allow.
                        but when i try to cancell the excise invoice on 18th june (system date) , it should not allow to cancell and it say Error !!!
    i heard there will be possible through User Exit  OR Function Module OR Routins ... Please help me
    Thanks and Regards
    Madhu

    Dear Madhusudhanan,
    Following are the list of User Exits available for J1IIN
    J_1I7_USEREXIT_EXCISE_BEF_SAVE User exit after the excise header and details are written and they can changed in J1IS  , J1IIN and Automatic creation of Excise Invoice.
    J_1I7_USEREXIT_EXINV_ADDL_DATA User exit for Excise Invoice Additional Data    in J1IS and J1IG                 
    J_1I7_USEREXIT_J1I5_MATFORM    User exit for J1I5 material form changes                           
    J_1I7_USEREXIT_J1I5_VALIDATE   User exit for subsequent J1I5 data validation                      
    J_1I7_USEREXIT_J1IEX_BEF_SAVE User exit for J1IEX before the data is saved                    
    J_1I7_USEREXIT_J1IEX_CHANGE    User exit for changing data before display             
    J_1I7_USEREXIT_J1IS_BASE_VALUE User exit to Change base value in J1IS                
    I strongly believe that the first exit will serve the purpose.
    Now if you are cancelling it using J1IH, Check the following thread.
    J1IH-User Exit
    Thanks & Regards,
    Hegal K Charles

  • Data Validation - a feature that Numbers really needs.

    Right now, the newly purchased Numbers app for iPad/iPhone is little more than a crippled document viewer for me because numbers doesn't support 'data validation' (as implemented in excel).
    Its not a hard concept and likely utilized in a LOT of spreadsheets on the planet.  Not supporting such a critical feature is a problem, as it makes numbers, at least for me, rather pointless as an authoring tool since I cannot change or update data in my worksheet without likely corrupting the document's data integrity.
    Hopefully, someone at Apple is working on fixing this.
    Given that one cannot use data validation - how do I lock down a spreadsheet so I don't accidentally change cell contents?
    The fact that there is no 'undo' button on the iPhone version that I do get on the iPad (same app) makes it worse.. I'm occasionally and unintentionally dragging selections of stuff around the page really hosing up the iPhone spreadsheet.
    So I need to just remember what needs to be updated, update the excel spreadsheet when I can, then delete the iWork-iCloud doc, upload the replacement, then refresh the iPhone/iPad version.. very cumbersome and not at all 'cloud-like' or usefull.
    Apple developers.. are you paying attention?

    Yeah I know that apple likely has the same system as Microsoft in sending general support to a forum such as this. And maybe thae same stupid moron that not paying attention to the forums if their users is a food idea.
    That doesn't change the point of the issue nor that apple directs ,e here to ask said question
    Written in the iPad split soft keypad that covers up the forum post I'm typing. Joy

  • Date validation

    Hi ,
    I have a created an textbox with date picker as (dd-mon-yyyy) .
    Now i want to create a validation on it for the format (dd-mon-yyyy) .
    I have created a pl/sql code with type "function returning error text".
    Begin
    If :P4_END_DATE IS NOT NULL THEN
    if :P4_END_DATE <> to_date(:P4_END_DATE ,'DD-MON-YYYY') then
    return 'END DATE should be in "DD-MON-YYYY" Format';
    end if;
    END IF;
    End;
    When i type in like 20-NOV-08 it gives error as 'START DATE should be in "DD-MON-YYYY" Format',
    but when i change month like 20-11-2008 , it actually gives error
    ORA-01843: not a valid month
    Error ERR-1024 Unable to run "function body returning text" validation.

    Hello,
    You have duplicated this post, see my answer here -
    Re: Date validation in "DD-MON-YYYY" Format,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Date validation in " DD-MON-YYYY"

    Hi ,
    I have created a textbox with date picker as (dd-mon-yyyy) .
    Now i want to create a validation on it for the format (dd-mon-yyyy) .
    I have created a pl/sql code with type "function returning error text".
    Begin
    If :P4_END_DATE IS NOT NULL THEN
    if :P4_END_DATE != to_date(:P4_END_DATE ,'DD-MON-YYYY') then
    return 'END DATE should be in "DD-MON-YYYY" Format';
    end if;
    END IF;
    End;
    When i type in like 20-NOV-08 it gives error as 'START DATE should be in "DD-MON-YYYY" Format',
    but when i change month like 20-11-2008 , it actually gives error
    ORA-01843: not a valid month
    Error ERR-1024 Unable to run "function body returning text" validation.
    Edited by: Vaibss on Nov 25, 2008 2:09 AM
    Edited by: Vaibss on Nov 25, 2008 2:10 AM

    Hello,
    Duplicate post -
    Date validation in "DD-MON-YYYY" Format,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Issue with data Validation while migrating from one application to another

    Hi All,
    I am having a strange issue Kindly please help me .
    I have a data form which have data validation on each cell.The dataform is quite large and contain data for 4 accounts and year (Jan to Dec) combination .The issue is that I when I migrate this data form to other application which is just the replica of the main application. The validation on each cells changes its reference points.
    I have 5 more similar data form and I need to migrate then to other application and also on production sever. Is there any way that while exporting and importing them using formutil.cmd or other way that the validation cells reference does not change its reference point.
    For ex I have validation on Cell A5,A6..........AA6 after migrating it changes to A1,A1.........AA1.
    I am using 11.1.2.1.0 version of Hyperion Planning
    Kindly please help.
    Thanks in advance
    Vikash
    Edited by: user11391767 on Nov 30, 2011 10:47 AM

    Hi Mehmet,
    I tried using the FormDefUtil.cmd .But by using this the reference points of validation changes to first cell when imported.
    Thanks
    Vikash

  • Date Validation problem in form with report

    Hi,
    I am stuck on this date validation issue in a form with report that I am working on-
    I have an Active_date_start and an Active_date_end field. I want to validate the form in such a way that if the user enters the Active_date_end < active_date_start then it should error out appropriately asking to change the active_end_date . Also another problem is that the changes are made to the active_date_end they should reflect in the table. How do I accomplish this.
    Appreciate all the help offered.
    Thanks.

    Hi,
    Thanks for the code.Now the APPLY CHANGES works fine except that it throws an error when I change the end date to a date which is less than the start date . So it does show me my error and does not go further but also shows me the error -
    Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306: wrong number
    or types of arguments in call to 'NVL' ORA-06550: line 1, column 7: PL/SQL: Statement
    ignored Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306:
    wrong number or types of arguments in call to 'NVL' ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I looked up the error number and it says its a generic error type where the error can be found on the line number specified. But in this case how and where do I look for the error line?. This is the code I am using-
    DECLARE
    vACTIVE_DATE_START DATE;
    vACTIVE_DATE_END DATE;
    BEGIN
    vACTIVE_DATE_START := TO_DATE(:P4_ACTIVE_DATE_START, 'DD/MM/YYYY');
    vACTIVE_DATE_END := TO_DATE(:P4_ACTIVE_DATE_END, 'DD/MM/YYYY');
    IF vACTIVE_DATE_END < vACTIVE_DATE_START THEN
    RETURN 'End date is before start date';
    ELSE
    RETURN NULL;
    END IF;
    END;
    My base table has the active_date_start as NOT NULL. Now I have the exact same code for APPLY CHANGES
    in other form and it works fine not giving the above error. I am at a loss to know how I can get rid of the error.
    Any suggestions!.
    Thanks in advance,
    A

  • Date Validation - a Nightmare for ME!

    Hi, I searched the forum and came up with some code that works for me partially. I am still having problems with getting the end result that is needed.
    I need to do a date validation where the begin date is less than end date. Below is the syntax..It works but when I put in the correct end date i still get the error message athough the date is correct. Also if I set the focus back to the field and correct the date it still set focus back... I'm sure it is something simple that I am missing
    ----- form1.subformpage1.empnsubform.DateTimeField2::exit - (JavaScript, client) -------------------
    if (DateTimeField2.formattedValue>=DateTimeField1.formattedValue);
    xfa.host.messageBox("Incorrect Date range");
    What am I missing? Yes I still struggle with writing scripts!!!!
    thanks

    I have a similar thing on one of my forms, the fields are "Date Submitted" and "Date Needed" and I need to validate that the Date Submitted date occurs before the Date Needed date.  If it does not, it prompts a response dialog box and asks for a new DateNeed to be entered.  Here is the code I used: (I'm by no means an expert at code)<br /><br />//This just sets the values of the date/time fields to variables, and then checks for a null value.  If null, it changes the rawValue to an empty string for inserting into database.  If not null, it leaves the existing rawValue unchanged. Unless you're writing info to a database, you probably wouldn't need this.<br /> <br />var DateSubmit = form1.MainForm.Info.DateSubmitted.rawValue == null ? "" : form1.MainForm.Info.DateSubmitted.rawValue;<br />var DateNeed = form1.MainForm.Info.DateNeeded.rawValue == null ? "" : form1.MainForm.Info.DateNeeded.rawValue;<br /><br />if (DateNeed<DateSubmit)<br /><br />{<br /><br />     var dateResponse = xfa.host.response("The Date Needed date must be later than the Date Submitted date.\nPlease enter new date below: (MM/DD/YYYY format)", "Date Needed Error");<br /><br />     var myDate = new Date(dateResponse);<br /><br />     var myFormattedDate = util.printd("dd mmm yyyy", myDate);<br /><br />     form1.MainForm.Info.DateNeeded.formattedValue = myFormattedDate;<br /><br />}<br /><br />BTW, I have this as code on a submit button that does all of my validations and then writes a new record to a database.  But I think you could also do this on the exit event of the second date/time field if needed. The variable declarations at the top would be slightly different.<br /><br />Lynne

  • Trouble with a data validating loop.

    So I tried to make a data validation loop to make sure no single number in an array are the same.
    At first I thought it was working fine, but after the sixth test, I noticed I had two of the number "5".
    Based on looking at my code, it seems like it could work, but I could not be seeing something significant.
    Anyone have any advice or suggestions?
    Oh and also, MAX_PICK is a static final int set to 47
    picks[0] = randomNumbers.nextInt(MAX_PICK);
    picks[1] = randomNumbers.nextInt(MAX_PICK);
    picks[2] = randomNumbers.nextInt(MAX_PICK);
    picks[3] = randomNumbers.nextInt(MAX_PICK);
    picks[4] = randomNumbers.nextInt(MAX_PICK);
    while(!valid)
         for(int i=0;i<=4;i++)
             if     (picks[i] == picks[0] ||
                  picks[i] == picks[1] ||
                  picks[i] == picks[2] ||
                  picks[i] == picks[3] ||
                  picks[i] == picks[4])
                       picks[i] = randomNumbers.nextInt(MAX_PICK);
             valid = true;
    }One thing I just noticed is also, lets say i = 4 and when it compares picks[i] to picks[4] , it will go in the statement anyway, causing it to change picks[4] to another number which could by chance be the same as picks[3]. Is there a way around this? I was thinking about maybe a while loop with the condition the if statement has, but then the loop would run forever. Any insight?
    Much Appreciated.

    * Created on 2007&#24180;10&#26376;10&#26085;
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    import java.util.*;
    public class MyRan {
         static int picks[];
    public static void main(String args[]) {
         int MAX_NUM = 5;
         picks = new int[5];
         Random generator2 = new Random( System.currentTimeMillis() );
         //                    picks[j] = generator2.nextInt(MAX_PICK+1);
         System.out.println("======");
         for(int i=0;i<=4;i++)
         picks[i] = generator2.nextInt(MAX_NUM)+1;
         while(!check(picks))        
                for (int i=0; i<5; i++)
                      for (int k=0; k<5; k++)
                            if (i!=k)
                                 boolean genSuccess = false;
                                 if (picks==picks[k])
                                  while (!genSuccess)
                                       picks[k] = generator2.nextInt(MAX_NUM)+1;
                                       if (picks[i]!=picks[k])
                                            genSuccess = true;
         for (int i=0; i<5; i++) {
              System.out.println(picks[i]);
    public static boolean check(int input[])
         int duplicateCount = 0;
         for (int i=0; i<input.length; i++)
              for (int k=0; k<input.length; k++)
                   if (i!=k)
                        if (input[i]==input[k])
                             duplicateCount++;
         if (duplicateCount>0)
              return false;
         else
              return true;

  • Form Data Validations

    Imagine there is a field called "Username" ,"Password" and "Submit button".
    I want to implement following validations on click of "Submit" button.
    1 . Please enter Username.
    2.  Username should have a length of 10 characters.
    3.  Please enter Password.
    I want the validation procedure in 2 ways.
    1. The process of validation by indvidual criteria
    Example:
    displaying each validation message by validating all bussiness criteria one by one.
    That is in the above "Username" will be validated first.
    If user enters value it will check for number of characters less then 10.
    If this is passed then need to check for password entry.
    2.  Validating complete form at once
    Validating complete form for all bussiness conditions and displaying them at once.
    Please provide any links for data validations.

    Hey Raghu,
    you can implement a method like checkFields() in the "@@begin others" part of your view which returns a boolean value. When you press the "SUBMIT"-button it is checked whether every mandatory field is filled with the correct data. There you can implement the logic of your query.
    Here is an example for the method <b>checkFields()</b>:
    /** Checks whether the mandatory input fields are filled with regular data. */     
      private boolean checkFields()
         if ( wdContext.currentFreightrequestElement().getTitleInputField() == null ||
                   wdContext.currentFreightrequestElement().getTitleInputField().trim().length() == 0 )
              wdComponentAPI.getMessageManager().
                   reportContextAttributeMessage(wdContext.currentFreightrequestElement(),
                   wdContext.nodeFreightrequest().getNodeInfo().getAttribute(ATTRIBUTE_TITLE_INPUT_FIELD),
                   IMessageFreightRequestComponent.ERROR__01,
                   null,
                   false);
              return false;
    The important thing is the <b>reportContextAttributeMessage()</b> which highlightens a field you want to check.
    In the action-part you can use parts of the following code:
    boolean success = false;
         if ( checkFields()) {
              success = wdThis.wdGetRequestComponentController().executeSave();
         if (success == true)
              IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
              String dialogText = wdComponentAPI.getTextAccessor().getText("TEXT_03");
              IWDConfirmationDialog dialog =
                   wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText, controllerInfo.findInEventHandlers("createNewRequest"),wdComponentAPI.getTextAccessor().getText("TEXT_04"));
              dialog.addChoice(controllerInfo.findInEventHandlers("returnToWelcomeView"), wdComponentAPI.getTextAccessor().getText("TEXT_05"));          
              dialog.setTitle(wdComponentAPI.getTextAccessor().getText("TEXT_02"));
              dialog.show();          
    So far,
    Domingo

  • Is there a equivalent of "Data Validation" function in Numbers?

    Hi, I think this question have been asked before in 2009. But there's no conclusive answer. I just imported a medium complexity xlsx sheet into Numbers, "data validation have been removed data retained" message appeared. Is there a equivalent function in Numbers? Or can we construct one? The reason this is important is when using the Macs we are ok and less likely to "fat finger" the data entry. However with a iPad and especially the iPhone, we are more likely to "fat finger" the data entry and therefore a scroll wheel or drop-down list function will help.
    If anyone has a helpful answer that will be great!
    Ken
    ===

    "Data Validation" as such is not supported in Numbers.
    Numbers '09 does support two means of restricting data choices to a pre-determined list of choices:
    Pop-up menu is a cell format that provides a pop-up list of choices from which a value may be selected. Value not on the menu cannot be inserted (except by changing the cell's format, then entering the values manually).
    Slider and Stepper are two more cell formats. Both provide a mechanism for inserting numeric values, with the minimum, maximum and increment values set in the cell format inspector.
    The numeric values set by the Slider or Stepper can be used, in a separate cell, to lookup a text value from a table of possible values.
    The Numbers for iOS feature set is a subset of the one available in Numbers '09. I don't know if Pop-up menus, Sliders or Steppers are supported in the iOS version,
    Regards,
    Barry

  • Help: How to call a user defined function in a data block query?

    I created a string aggregation function in the program unit, see reference:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    I now like to call the function in my data block query. I got the error: ORA-00904: 'concatenate_list' invalid identifier.
    Please help.
    Thank you in advance.
    Jimmy

    Hi,
    You can write UDFs in java in Graphical mapping to enhance your XI Graphical mapping functionality
    The steps for doing it would be:
    1. Click on Create New function Button found on Bottom left corner on your XI Mapping window.
    2. Write your java code.
    3. Run the Mapping Test as usual.
    >>The module that is given here ...where and how it is used.
    The adapters in the Adapter Framework convert XI messages to the protocols of connected external systems and the other way around. When doing so, some
    functionality might need to be added specific to a situation which is possible with the use of custom modules.
    Typical example would be validation of file content when using a File Adapter or modification of the message payload to a common content structure which is not supported by any of the standard SAP modules.
    An Adapter module is developed as an Enterprise Java Bean and is called locally by the Adapter.
    An example on modules :
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805">How to develop a module for reading file name in a sender file adapter XI 3.0</a>
    Cheers,
    Chandra

  • Viewset - active view and data validation problem

    Hey there,
    I've a problem while using a viewset (1 col, 2 rows) and the data-validation in the wdDoBeforeAction() method.
    My application works basically like this:
    The first view is displayed with 2 mandatory input fields. Upon the evaluation result of the entered data in these fields, a corresponding second view will be displayed. The input fields in the first view are set to read only and a button named "Change" appears. This button triggers an action which fires and outbound-plug to an empty view, so that the second view disappears and resets the "read only" properties of the input fields in the first view, so that the user can enter new data.
    The problem is, that the second view contains input fields itself, which are validated in the wdDoBeforeAction() method of this view. The navigation is cancelled if an error occurs. Well, this is fine if i want to submit (pressing the button "Approve" in the second view) this data and proceed, but if i want to go back to the first view (by hitting the "Change" button), i want to discard all information entered in the second view and i dont want this data to be validated. It's quite annoying if u just want to correct the first views data but have to enter correct values for the second view in order to get through the second views checks..
    I hope that's clear enough, otherwise i will upload a screenshot to clarify.
    Thx in advance
    Regards
    Pascal

    Hi Pascal,
    although I wont prefer to do so for reasons of readability, you could use wdDoProcessbeforeAction to control your view-flow.
    Take a look at the example, I have two Buttons with two actions, one is set on "Validate", the other is not (guess which on is the validating ).
    You can get the action triggered inside the doBefore ... method and determine whether or not the checkbox is set.
    So put your code to validate the input in the i(isValidting) branch and your problems are solved.
    Keep in Mind: I would delegate the Validation from the view to the controller, handle the validation myself with custom coding and then check in the view controller if any errors occured.
    hope that helped,
    Jan
      //@@end
      public void wdDoBeforeAction(com.sap.tc.webdynpro.progmodel.api.IWDBeforeAction validation)
        //@@begin wdDoBeforeAction
           IWDAction currentAction = validation.getCurrentAction();
           if (currentAction == null) return;
           String action = currentAction.getText();
           boolean isValidating = currentAction.isValidating();
           if (isValidating) {
                wdComponentAPI.getMessageManager().reportException(action);
           } else {
                wdComponentAPI.getMessageManager().reportSuccess(action);
        //@@end
    Edited by: Jan Galinski (Holisticon) on Sep 8, 2009 3:15 PM

Maybe you are looking for

  • SQL Server 2012 - Dropping Snapshots takes hours

    We recently did a SQL Server upgrade from 2005 to 2012. We have a nightly job that drops a snapshot of an active database. The snapshots gets created again later in the day. Before upgrading, in SQL 2005 the Job that drops the snapshots used to finis

  • Airport Express Bridge Mode Cutting Out?

    I recently wasn't able to bring internet to my bedroom, so I bought an Airport Express.  I didn't want to have to buy a modem, so I threw it in another room where I could get internet with my Airport Extreme.  Then, I put bridge mode on my Express so

  • How to connect Oracle Linux 6 on vmware without GUI

    Hi Guys, I've setup Oracle Linux 6 as Vmware Guest (on External Driver) and Windows 7 as Host. And I'm running Oracle EBS R12 on Linux. When I'm login to VMWare the Linux starts up with GUI which is just a waste of resources. Please let me know how c

  • Scrollable result set fails with doubles

    Hi there, i have a strange behaviour using the 10g thin JDBC driver: Using a scrollable result set the driver fails reading a BINARY_DOUBLE value from the result set with rs.getDouble(column) as long as the value is not null. The SQLException reports

  • Windows 8 lagging and slow response but CPU never above 33%

    Hello, I have an up-to-date windows 8.1 running on a dell inspiron 1520 laptop with a T7100 cpu with 4gb memory and an ssd hard drive. My computer frequently lags even with just browsing with IE11 - I can even out type it sometimes - however when I l