ValidateEntity functionality in Create vs Update

I have the following code in validateEntity() method in EO
if ( (startDate != null) && (endDate != null) && (empNum != null) && (enabledFlag == "Y") )
throw error message
If the IF condition satisfies I throw a validation error message.
Now this is working fine when I create a record but when I do try to update data in a record of the same EO it is not working.
I debugged and found that the IF condition is not getting executed even though it satisifes the condtiion (ie. all the values are NOT NULL and
enabledFlag = 'Y')
I followed the Tutorial examples for the Create and Update functionality on the EO/VO.
Any help is appreciated.

don't compare string with == condition..
Always use "XXX".equals(string) format...
--Prasanna                                                                                                                                                                                                   

Similar Messages

  • How to create an update page

    i want to create an update page using dreamweaver and record set, i succeded but it only updates the database with user id of 1. even if i login as another user with id of 3, it keeps updating the user with id of 1.please help me, a lost. below is my code:
    <?php require_once('Connections/conn_login.php'); ?>
    <?php
    if (!isset($_SESSION)) {
      session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this page
    function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
      // For security, start by assuming the visitor is NOT authorized.
      $isValid = False;
      // When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
      // Therefore, we know that a user is NOT logged in if that Session variable is blank.
      if (!empty($UserName)) {
        // Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
        // Parse the strings into arrays.
        $arrUsers = Explode(",", $strUsers);
        $arrGroups = Explode(",", $strGroups);
        if (in_array($UserName, $arrUsers)) {
          $isValid = true;
        // Or, you may restrict access to only certain users based on their username.
        if (in_array($UserGroup, $arrGroups)) {
          $isValid = true;
        if (($strUsers == "") && true) {
          $isValid = true;
      return $isValid;
    $MM_restrictGoTo = "login.php";
    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {  
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE login SET username=%s, pwd=%s, `role`=%s, firstname=%s, lastname=%s, country=%s WHERE userID=%s",
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['pwd'], "text"),
                           GetSQLValueString($_POST['role'], "text"),
                           GetSQLValueString($_POST['firstname'], "int"),
                           GetSQLValueString($_POST['lastname'], "int"),
                           GetSQLValueString($_POST['country'], "int"),
                           GetSQLValueString($_POST['id1'], "int"));
      mysql_select_db($database_conn_login, $conn_login);
      $Result1 = mysql_query($updateSQL, $conn_login) or die(mysql_error());
      $updateGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    $colname_Recordset1 = "-1";
    if (isset($_GET['userID'])) {
      $colname_Recordset1 = $_GET['userID'];
      $_SESSION['userID'] = $_GET['userID'];
    $colname_Recordset1 = "-1";
    if (isset($_GET[''])) {
      $colname_Recordset1 = $_GET[''];
    mysql_select_db($database_conn_login, $conn_login);
    $query_Recordset1 = sprintf("SELECT userID, username, pwd, `role`, firstname, lastname FROM login WHERE userID = %s", GetSQLValueString($colname_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $conn_login) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Scuba2u</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <?php include('headerScuba2u.php'); ?>
    <div id="main">
        <div id="left">
          <h1>Registration Form</h1>
          <fieldset>
            <legend>Register for our website</legend>
            <form action="<?php echo $editFormAction; ?>" id="form1" name="form1" method="POST">
              <p>
                <label for="firstname">First Name</label>
                <input name="firstname" type="text" id="firstname" size="30" maxlength="40" />
              </p>
              <p>Last Name
                <label for="lastname"></label>
                <input name="lastname" type="text" id="lastname" size="30" maxlength="40" />
              </p>
              <p>Country
                <input name="country" type="text" id="country" size="30" maxlength="30" />
              </p>
              <p>Email
                <label for="email"></label>
                <input name="email" type="text" id="email" size="60" maxlength="60" />
              </p>
              <p>Password
                <label for="pwd"></label>
                <input name="pwd" type="password" id="pwd" size="10" maxlength="10" />
              </p>
              <p>
                <input name="role" type="hidden" id="role" value="guest" />
                <input name="id1" type="hidden" id="id1" value="<?php echo $row_Recordset1['userID']; ?>" />
                <input type="submit" name="submit" id="submit" value="Register" />
              </p>
              <input type="hidden" name="MM_update" value="form1" />
            </form>
          </fieldset>
        </div>
    </div>
    <?php include('footerScuba2u.php'); ?>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

    Temporarily change your id1 field from a hidden field to a text field so you can see if it is being set correctly for the logged in user.

  • BAPI to create and update scheduling agreement (type LZM) in ECC

    Hi,
    We have a requirement to create and update scheduling agreement of type LZM in ECC from an external system.
    Is there a BAPI available for this in ECC 6.0 which can be used?
    The integration is using PI.
    Regards,
    Srivatsan

    Hello,
    Please use the T-code "SE93" and then click on Display option after entering the T-code. After entering into the detail screen of the T-code, you shall find option to click on OBJECT LIST and then enter into the Function Group. Now enter the T-code and then click on function module and a list of function module will be displayed in referrence to the T-code. 
    For your easy reference i have also mentioned the flow.
    SE93 --> Use tcode (eg. VA01) > display> Object list ---> Function Groups --> Tcode ---> Function module.
    Regards,
    Sarthak

  • RFC enabled function module for insert update and delete in a Ztable..

    friends..
    Is there any standatd RFC enabled function module to insert , update and delete data in a custom database-table (Ztable)? if not how can we create it? plz give me the details steps..
    what are the import, export parameters and how to develop and process it.. (for example: suppose fields in the table is Emp_Id, Name, Address)
    Thanks and Regards

    Hi,
    Try this code.
    REPORT ZMMC071Z_RMV.
    TYPE-POOLS : ABAP.
    FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
                   <DYN_WA>,
                   <DYN_FIELD>,
                   <LV_CONDI>.
    DATA: DY_TABLE TYPE REF TO DATA,
    DY_LINE TYPE REF TO DATA,
    XFC TYPE LVC_S_FCAT,
    IFC TYPE LVC_T_FCAT.
    SELECTION-SCREEN BEGIN OF BLOCK F1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_TABLE  LIKE DD02L-TABNAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK F1.
    Evento: At Selection Screen                                          *
    START-OF-SELECTION.
      PERFORM GET_STRUCTURE.
      PERFORM CREATE_DYNAMIC_ITAB.
      PERFORM GET_DATA.
    END-OF-SELECTION.
    *& Form get_structure
    text
    FORM GET_STRUCTURE.
      DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
      XDETAILS TYPE ABAP_COMPDESCR.
      DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
      DATA VL_LENGHT(30).
    Get the structure of the table.
      REF_TABLE_DES ?=
      CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
      IDETAILS[] = REF_TABLE_DES->COMPONENTS[].
      LOOP AT IDETAILS INTO XDETAILS.
        CLEAR XFC.
        XFC-FIELDNAME = XDETAILS-NAME .
        XFC-DATATYPE = XDETAILS-TYPE_KIND.
        XFC-INTTYPE = XDETAILS-TYPE_KIND.
        XFC-INTLEN = XDETAILS-LENGTH.
        XFC-DECIMALS = XDETAILS-DECIMALS.
        APPEND XFC TO IFC.
      ENDLOOP.
    ENDFORM. "get_structure
    *& Form create_dynamic_itab
    text
    FORM CREATE_DYNAMIC_ITAB.
    Create dynamic internal table and assign to FS
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IFC
        IMPORTING
          EP_TABLE        = DY_TABLE.
      ASSIGN DY_TABLE->* TO <DYN_TABLE>.
    Create dynamic work area and assign to FS
      CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
      ASSIGN DY_LINE->* TO <DYN_WA>.
    ENDFORM. "create_dynamic_itab
    *&      Form  get_data
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA .
    *Get data from p_table into internal table <DYN_TABLE>
      SELECT * INTO TABLE <DYN_TABLE>
          FROM (P_TABLE)
    Here you can implemente function DELETE, INSERT.
    ENDFORM.                    " De_para

  • How to create conditional update trigger in sql server

    How to create conditional update trigger in sql server

    You cant create a conditional update trigger. Once you create an update trigger it will get called for every update action. However you could write logic inside it to make it do your activity based on your condition using IF condition statement
    Say for example if you've table with 6 columns and you want some logic to be implemented on update trigger only if col3 and col5 are participating in update operation you can write trigger like this
    CREATE TRIGGER Trg_TableName_Upd
    ON TableName
    FOR UPDATE
    AS
    BEGIN
    IF UPDATE(Col3) OR UPDATE (Col5)
    BEGIN
    ....your actual logic here
    END
    END
    UPDATE() function will check if column was involved in update operation and returns a boolean result
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Creating or Updating BW Queries at runtime using ABAP

    Hi everybody,
    How can we create BW Query programmatically (using ABAP) or How can we update structure of BW queries at run time using ABAP? We have requirement where we want to add/remove characteristics from rows section of query at run time based on user’s input, we are making a BSP module for that, is there any function module provided to create or update BW queries in ABAP?

    Hi Annabelle,
    I think there is a very simple solution to your problem - use lexical parameters.
    You define a user parameter e.g. P_TABLE with a default value e.g. EMP. This must be the name of an existing table. The you write your select like this: SELECT ENAME,SAL from &P_TABLE. This will work as long as the default value is the name of an existing table. You can now change the value of P_TABLE as long as the column names are the same. If the column names also changes then you can write the select as: SELECT &P_COL1 ENAME,&P_COL2 SAL from &P_TABLE.
    Regards,
    Hans Peter Guldager
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by AnnabelleJones:
    Hello!
    I want to create queries and charts, one for each of a number of tables which each have the same format. I dont know how many tables at design time but will do at runtime. Is there any way of creating charts and tables at runtime or will I have to generate a seperate report for each table?
    Thanks for any help!<HR></BLOCKQUOTE>
    null

  • RFC enabled function module to insert , update and delete data in a ZTABLE

    friends..
    Is there any standatd RFC enabled function module to insert , update and delete data in a custom database-table (Ztable)?
    if not how can we create it? plz give me the details steps..
    what are the import, export parameters and how to code and process it.. (for example: suppose fields in the table is Emp_Id, Name, Address. I need to develop a RFM which does the 3 tasks, insert update delete in the same RFM)
    Thanks and Regards

    create a f.n mod in se37 and make it rfc enabled.  ur import parameters are Emp_Id, Name, Address and TASK and u can have an export parameter like result which gives the status of the update. based on task u can insert using keyword INSERT....and update using UPDATE or MODIFY and delete using DELETE. these keyword are not compelte with syntax but need to refer the SAP documentation.

  • Rfc enabled function module for the updating the database table

    Hi,
            I need one rfc enabled function module for the updating the database table from the legacy system.currently i am using the rfc_read_table to read the database table.similarly i need for the update.

    Hi
    I believe you need to create one by yourself
    Max

  • Pls Help me to Create an Updatable report region

    hi,
    can u pls help in creating an updatable report region. as of now i have 2 regions in a page. 1st region is HTML type where we can select Year,Month&Account parameters and do submit.
    2nd region an updatable report region where the report generates according to the SQL query which includes conditions selected as parameters in where clause. even i have the processes to update the data in this report.
    now the problem is i am able to put only one submit button which is functioning for both parameter selection and as well as updating the data in report fields. so the functionality of the report became a bit tricky which is not user friendly to the client.
    whats happening is: after logging in&select the parameters month=Jan,year=2007,account=ALL
    -> If you would like to update the data for Jan’07, you can enter the value in the field and click on ‘Update’ button
    -> After that, if you would like to see the data for Feb’07, as of now you are not able to select the month from drop down list directly from this page and say ‘Update’. You need to log-out and log-in again and select ‘Feb’ for seeing Feb’07 data.
    -> Rather if you directly select the ‘Feb’ month and say ‘Update’ in the same page, it is updating by the New value you entered for ‘Jan’ ( the same thing happens for all the months what ever you select and click on ‘Update’ in the same page without log-out and log-in)
    -> So, the basic thing you have to do while you update the data is, you need to log-out & log-in for seeing or updating different month’s data after making changes to the present month and click on ‘Update’. You can not see correct data if you select the month directly after making changes to the present month’s data. This will cause automatic updating in the selected month.
    sorry for the long description of my problem, but your help in this regard will be appreciated. thanks in advance.
    Best Regards,
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi andy,
    thanks very much for ur reply mite..
    actually i have 2 page processes.
    1 is On Submit-Before Computations and Validations;is to populate
    2 is On Submit-After Computations and Validations;is to update
    both r PL/SQL anonymous blocks.the problem is i couldn't find any triggers like things in process point drop down list.for eg;'when button pressed' or 'when LOV changed' or 'when list changed'(like in forms developer)
    and also i couldn't allocate any processes or functions to button properties in APEX.
    can u pls help in this regard.
    Cheers,
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Updateretriever and "Create an Update"

    From what I can grasp, the "Create an Update" function is used then you want to create a software package to be distributed to all laptops of a given class in your organisation.
    Are there any documentation ready for how to do this? Reason I'm asking, is that there are several small (and a few large) applications that all our laptops SHOULD have installed, that I want to manage the same way we do with the update-retrirever, among them are OpenOffice, Adobe CS3 Master Collection,  Acronis True Image, etc.
    Any pointers to where I can find this documentation would be helpful.
    //Svein
    W500 (4062) with 8GB ram, Seagate 500GB 7200rpm disk

    I looked at that and it does not answer my question. I don't understand what my view should be since I am NOT getting the data for the oracle database. I already have a file from a 3rd party vendor that has the information that I want to insert in a bee batch. So what should my view be???? should it be something like this....
    create view someview as select col1, col2, col3,.... from dual
    where col1, col2. col3 etc correspond to the fields in the file that I have?

  • I found the solution to a Mavericks bug on the Mail program. How can I share it? Several of my mail boxes stopped functioning properly when I updated to Mavericks. After long hours, I discovered that if I change the name of the mailbox, the content works.

    I found the solution to a Mavericks bug on the Mail program. How can I share it? Several of my mail boxes stopped functioning properly when I updated to Mavericks. The title of the mails stored in the mailbox appear, but the content was unavailable.
    After 4 long hours at the phone with the Apple staff unable to help me, I discovered that if I change the name of the mailbox, the contents of the mails stored there become available.
    Please, make this solution available to other people!

    You have found the the way to share it.   Include your problem and its solution in a forum post in the Mavericks forums.   Then mark you own post with a green solved star.
    Note.  You won't get any points for that; points are only awarded where you mark someone else's post as either helpful or solved.

  • How to use a single page for create and update mode.

    Hi,
    I need to develop a single page to be used for both create and update modes.
    I am going to use a variable MODE
    and i will set this in the emp summary page.
    Based on the button clicked by the user i have to render the JSF page.
    For tis if the user selects a perticular and cliks on update thn i will pass the empno to the next.
    so there in the next i will appy a ViewCreiteria on my View Obj to fetch only that row so that only that emp will be displayed ion update mode.
    This is working fione for me.
    So now the issue is
    when the user clicks on CreatEmp button.
    i need to enable my VO for insert operations.
    for this i wrote the code like this in the beforePhase event
    FacesContext ctx = FacesContext.getCurrentInstance();
    ValueBinding valBinding = ctx.getApplication().createValueBinding("#{data}");
    BindingContext bContext = (BindingContext) valBinding.getValue(ctx);
    DCDataControl dcControl = bContext.findDataControl("DataControl");
    Application app = ctx.getApplication();
    ApplicationModule am = (ApplicationModule) dcControl.getDataProvider();
    System.out.println("After Appmodule initiation");
    // get the VO reference and initiate the query
    System.out.println("Before Page VO initiation");
    PrismDmPageSectionViewImpl vo = (ViewImpl)am.findViewObject("View");
    //ViewRowImpl row = (ViewRowImpl) vo.createRow();
    /* TO CREATE AN EMPTY ROW*/
    Row row=vo.createRow();
    System.out.println("New Row is created");
    //vo.createKey(row);
    vo.insertRow(row);
    vo.setCurrentRow(row);
    By doing this a new empty page is rendered.
    But when i fill up the values and click on ok.. i am getting the error like this..
    JBO-27023: Failed to validate all rows in a transaction.
    JBO-27027: Missing mandatory attributes for a row with key null of type View3
    JBO-27014: Attribute Id in View3 is required
    JBO-27014: Attribute PageeId in View3 is required
    Please point me out where i am missing.
    Thanks

    Hi,
    In my opinion you are over complicating things.
    This is what I do for using the sme page as both create and update without all this code.
    1) Create a browse page containing a an adf table with a select one component bound to your view object.
    2) Create an additional edit page containing only an edit form containing fields of your view object that your users must enter in order to add or edit rows.
    3) Link the pages in the JSF diagram with an "edit" navigation case from browse to edit page and a "return" navigation case from edit to browse (make sure that redirect option is NOT set on both cases)
    4) Remove the submit button from the edit page and add two application module bindings for the commit and rollback operations as command buttons in the form footer facet. Make sure that both buttons has an action of return and that their disabled property is set to false. You will probably change their labels to ok and cancel respectively.
    5) Drop a create action for your view object from the data control palette inside your page as a command button and set the action property to edit also.
    3) Set the action property of the view button to edit
    This should basically work without any code from your part. -- at least it does so for me -- if you like to make it a bit more funcy you may add am action listener inside your buttons and set a requeScope variable for example #{requestScope.editing} to true or false depending on the button clicked. Then add a title to your page with a value like #{requestScope.editing == true ? 'Editing record' : 'Adding a new record'}..
    Hope that helps.
    Thanassis

  • Is it still possible to downgrade from ios 6 to ios 5.1.1 on my ipod touch 4th gen as of Sept.24?Also, if I use a backup created AFTER updating to ios 6 when I restore/downgrade to ios 5.1.1, does it become ios 6 again because of the backup?

    Is it still possible to downgrade from ios 6 to ios 5.1.1 on my ipod touch 4th gen as of Sept.24? Also, if I use a backup created AFTER updating to ios 6, when I restore/downgrade to ios 5.1.1, does it become ios 6 again because of the version of ios 6 that I created the backup on?

    There has never been a legit way to downgrade.
    It will always restore to the latest available software.

  • OAM notification exception in OIM 11.1.1.5 during create or update

    Hello experts,
    We keep getting below exceptions in backend during create or update user. I have also read "Exception During User Create Or Update In Oim Logs [ID 1438746.1]" in oracle support that it's a bug and fixed in BP02. We successfully applied the same recently. But still we are getting the below exception at backend. Is there anything else we need to do to overcome below.
    Your input at the earliest would be helpful.
    <OAM Notification Logger> <BEA-000000> <Error sending notifications java.lang.NullPointerException>
    java.lang.NullPointerException
    at oracle.iam.sso.oam.impl.OAMNotificationProvider.sendUserUpdatedNotification(OAMNotificationProvider.java:107)
    at oracle.iam.sso.eventhandlers.RoleGrantNotificationHandler.execute(RoleGrantNotificationHandler.java:117)
    at oracle.iam.sso.eventhandlers.RoleGrantNotificationHandler.execute(RoleGrantNotificationHandler.java:78)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runPostProcessEvents(OrchProcessData.java:1168)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:710)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:744)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeChildProcess(OrchestrationEngineImpl.java:826)
    at oracle.iam.platform.kernel.impl.OrchProcessData.handleAdditionalChanges(OrchProcessData.java:537)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:802)
    Thanks
    DK

    i see this
    facesContext.getViewRoot().getViewId() = /login.jspxare you using the facesContext in your bean or something.. where are you using this..
    is ur bean compiling in the first place.. if the class is not there.. then you would get this error at compile time itself..

  • Default value in LOV field in Create and Update page in OAF

    Hi All,
    I am unable to default LOV field in Create and Update page in OAF.
    I tried in below way :
    OAMessageLovInputBean lovBean1 = (OAMessageLovInputBean)webBean.findChildRecursive("AAA");
    But I am getting developer mode exception, so please guide me how i can set the default value for create and update page instead of using code in process request method in controller.
    Thanks

    Hi,
    1) In case of create, you can default the value either in EOImpl or in AM while initializing the row:
    //in EOImpl
    public void create(AttributeList attributeList)
    super.create(attributeList);
    setXXAttribute(<value>);
    //in AM, VO new row initialization :-
    VOImpl VO = getVO1();
    VO.setMaxFetchSize(0);
    VORowImpl row = (VORowImpl)VO.createRow();
    row.setXXAttribute(<value>);
    VO.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    2) In case of update, execute the VO (also set the where clause if required) in PR method of update page.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Multiple Accounts on same Mac

    Installed TC as airport base and backup via TM. Works great - no problems. Question: I have only backed up my own account, but we have three other user accounts on our Mac. Does each user account need to be backed up to TC, or is my account enough?

  • Message mapping strange behaviour

    Hi, all. I have designed simple message mapping: Source Message mt_Object -ObjectVersion [1..1] --TimeStamp [string][1..1][lenght=13] --UID [string][0..1] -Name [string][0..1] Target Message Z_TEST (imported RFC function description) -TIMESTAMP [stri

  • Evdre Set to Filter Values not Member

    Hello. I'm trying to create a nested EVDRE report to bring back percentages less than 5%.  How could I code this, can I incorporate MDX within the memberset?  Below is an example of what I tried out but it didn't seem to filter to only percentages eq

  • IconURL in JavaPortlet

    Hi. I am getting the following error while trying to specify an iconUrl in a JSR 168 portlet. Any clues? <Mar 1, 2004 11:57:55 AM PST> <Error> <netuix> <BEA-421519> <One or more validat ion error(s) occurred during parsing /portlets/MarketWatchPortle

  • Capturing problems CS4-Windows 7-JVC

    Hi there. I am working for a company that uses a 64-bit Windows 7 computer equipped with Premier CS4. We recently moved offices and had to unplug everything. When we plugged it all back in the Firewire ports stopped working. We changed the Firewire c