BC4J Problem using multiple EntityObjects in a single ViewObject

Hi,
I have found a bug while using multiple EntityObjects in a single ViewObject.
Considere the following example:
Table A:
A_ID
Table B:
B_ID
A_ID (FK) NULLABLE
TABLE C:
C_ID
B_ID (FK) NULLABLE
For each table there is a corresponding EntityObject : AEntity, BEntity and CEntity.
Now building a ViewObject based on CEntity, BEntity and AEntity, where AEntity and BEntity are referenced via their corresponding associtaions, the following problem occurs:
1. As long as both IDs are not NULL everything works fine, but when I set the B_ID attribute of CEntity to NULL I receive a NullPointerException with the detail "null".
2. If the attribute A_ID of BEntity is NULL the values based on AEntity are not updated at all (they keep the value they had for the last row).
Any information or feedback on this issue would be very welcome!
Regards
Frank

Here's a sample code that works for a
LineItem->OrdView->CustomerView case,
  public void setOrdId(Number value)
    //set the boolean if there's a current order.
    boolean hasOrd = (getEntity(1) != null);
    setAttributeInternal(ORDID, value);
    //after the OrdID is set, check if there's a valid Ord Entity in this row.
    if (hasOrd && getEntity(1) == null)
      //if not, then set the Customer Entity to null as well.
      super.setEntity(2, null);
      LinesViewImpl vo = (LinesViewImpl)getViewObject();
      //And force a RowUpdated event for "customer-entity-usage-attributes".
      vo.notifyRowUpdated(findRowSetForRow(null), new oracle.jbo.Row[] {this}, new int[]{6,7});
  } Note that in the above, you have to "override" notifyRowUpdated method in the ViewObjectImpl subclass, so that it's available to the LineViewRowImpl subclass. You can do this
globally by creating a custom subclass of ViewObjectImpl that all the VOs in your application "extends".

Similar Messages

  • How to use multiple hierarchies for a single char in single query

    Hi,
    Is there any way that we can use multiple hierarchies for a single char in single query. I tried and it just allows me to select one hierarchy even if I use hierarchy variable.
    I have a requirement where user wants to see information related to a cost center with different cost center groups in different hierarchies (every year has different cost center group hierarchies).
    Suppose I want to see information related to a cost center from year 2001-2004.in these four year cost center may have been associated to different groups depending upon that year hierarchy. How can I do that?
    Thanks
    Jona

    Nope. Now way to do this.
    There is always just one hierarchy assigned to a characteristic. And even if the hierarchy was time dependent, it only reads it for one key date and not according to transaction data.
    Regards,
    Beat

  • Problem Using Multiple With Statements

    I'm having a problem using multiple WITH statements. Oracle seems to be expecting a SELECT statement after the first one. I need two in order to reference stuff from the second one in another query.
    Here's my code:
    <code>
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy)
    /*Use terms from calculate_terms to generate attendance periods*/
    WITH gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    SELECT *
    FROM gen_attn_terms
    <code>
    I get ORA-00928: missing SELECT keyword error. What could be the problem?

    You can just separate them with a comma:
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy),
    /*Use terms from calculate_terms to generate attendance periods*/
    gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    )Not tested because there are no scripts.

  • Problem using multiple contexts in same thread

    Hello,
    I am having problem using multiple contexts in the same thread. Here is the scenario:
    front-end is calling a ejb1 with a user1 and password. Ejb1 is then calling ejb2
    using user2 and password. I am getting security exception when calling ejb2 with
    the message user1 is not authorized. Looking at the documentation, context 2 should
    be pushed on stack on top of context 1 and context 2 should then be used until
    context.close() is called. It looks like this is not the case in this scenario?
    Regards,
    Jeba Bhaskaran

    I have the GTX670. So pretty much the same.
    When I go to  Edit>Preferences>Playback I see:
    When I select the monitor I am not currently using for Premiere Pro, the Program Monitor shows up full size at 1920X1080 in that monitor.
    While that may not help you, at least you know a similar card can do the job and you know that it should work.. What happens if you drop down to two monitors? Will it work then?
    Also, have you performed the hack that allows Premiere Pro to use the card since that card is not in the file? I have no idea if that is relevant at all, by the way. It is just an attempt at getting our systems to work the same way.

  • How to use multiple tape drive from single client when I want to backup single filesystem?

    Hello All.
    I want to backup 1 filesystem using 4 tape drives for reducing backup time.
    In case of symantec veritas netbackup, they can user "NEW_STREAM" for multi-streaming backup.
    Please anybody let me know that how to do use multiple tape drive for single client.
    1. Backup Source server : Linux (1 client)
    2. Backup Soucre :      /data1  (500GB)
        -> Current directory structure doesn't have sub directory under /data1, just files present under /data1
    If direcotry struceture has a sub-direcotry like( /data1/aaa, /data1/bbb ), Is it availble to use multiple tape drives?
    3. Tape Drive with OSB : LTO6 * 4 drives
    Thank you.

    You would have to create a different dataset for each sub-folder. If you only have files at the top level folder then even the NEW_STREAM option couldn't be used to split the job.
    Organise it into folders and then create datasets in a client folder such as :
    /usr/local/oracle/backup/admin/config/dataset/Linux/data1_aaa
    /usr/local/oracle/backup/admin/config/dataset/Linux/data1_bbb
    Then in the schedule you just specify the Linux folder. In each dataset you list the hostname and the folder name, such as :
    include host Linux
    include path /data1/aaa
    Now it will create a new job for each dataset and therefore each folder.
    Thanks
    Rich

  • How to use multiple tape drive for single filesystem on single client.

    Hello All.
    I want to backup single filesystem with multiple tape drive.
    Incase of Symantec veritas netbackup "NEW_STREAM" for multi-stream backup.
    Backup client has a  single backup filesystem like /data1  directory with 4 LTO6 drives.
    /data1 directory doesn't have a sub-direcotry, just present a files.
    If /data1 directory has a sub-directory like /data1/aaa, /data1/bbb, /data1/ccc , Is it possible to use multiple drives?
    Please anybody answer the questions.
    Thanks advanced.

    See how to use multiple tape drive from single client when I want to backup single filesystem?

  • Using multiple ipods on a single itunes

    I currently have a 40GB ipod and have bought for my wife and daughter 2 2gb ipod nanos'. i have all our music on itunes in one library, how can i download only the songs my wife or daughter want onto their ipods as opposed to downloading every item which is what happens with my ipod currently
    Hope you can help
    Thanks
    Dave

    There are a couple of recommended methods for using more than one iPod on a single computer. Method one is to have individual Mac or Windows user accounts which by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. Each iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists.
    Method two is to set your preferences so that either one or all iPods get updated with only certain playlists within one library. Have a look at this article and see what you think and go for whichever you feel suits your needs best: How To Use Multiple iPods with One Computer
    Another option when using a single library is to set the iPods to manual update: Managing content manually on iPod
    Choosing the update option "automatically update selected playlists only" (called Sync Music - Selected playlists in iTunes 7) allows you to create a playlist specifically for each iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used by the other iPods. Make your playlist a Smart playlist and limit the size to just below the advertised capacity of your iPod ( for example, around 3700MB for a 4GB or 1800MB for a 2GB Mini or Nano). You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes

  • Use multiple LDB in  a single program

    Hi,
    I want to use multiple log Database in a single program, is there a way to acheive the same..
    Thanx.
    Arjun.G

    Hi,
    You can use function module "LDB_PROCESS" to call a second Logical Database from a program where you already assigned one Logical DB.
    There is a documentation and sample program available in every SAP system.
    1. Call transaction ABAPDOCU
    2. Expand node: Database Access > Logical Databases
    3. Double click on node: Calling LDBs using a Function Module
    There you will see an example how this can be achieved.
    <<text removed>>
    Regards,
    Ogeday
    Edited by: Matt on Feb 17, 2009 5:54 AM - please do not ask for points

  • Problems using multiple joins for search

    I am new to dreamweaver and coding and I am battling to get my head around joining tables and using multiple joins to create a search result recordset.
    I have a the following tables setup;
    Venues table
    venueID
    name
    category (text)
    city
    provinceID (numeric)
    country
    maxcapacity
    Province table
    provinceID
    province (text)
    Category Table
    categoryID
    category (text)
    Max Conference Table
    conferencefacilitiesID
    venueID
    maxcapacity
    I am passing the search $_POST variables via a form and displaying it in a results page.
    I have successfully done the search using only one table the problem results in using multiple joins. I cam not sure of the syntax to use but have successfully created the results page, using the outer join to link the province, category and maxcapacity to the venues table. Not all the venues have conferencing so I think need to use outer join for conferencing.
    I can't seem to access the search and not sure if I can use the WHERE command to set varialbe 'category' = varCategory 
    Below is my code which doesn't work;
    SELECT wp_dbt_venues.venuesID, wp_dbt_venues.name, wp_dbt_venues.category, wp_dbt_venues.province, wp_dbt_venues.city, wp_dbt_province.provinceID, wp_dbt_province.province, wp_dbt_conferencefacilties.venueid, wp_dbt_conferencefacilties.maxcapacity
    FROM ((wp_dbt_venues LEFT OUTER JOIN wp_dbt_province ON wp_dbt_venues.province = wp_dbt_province.provinceID)  LEFT OUTER JOIN wp_dbt_conferencefacilties ON wp_dbt_venues.venuesID = wp_dbt_conferencefacilties.venueid)
    WHERE 'category'=varCategory
    I would like to get on variable working and then expand onto the others like WHERE maxcapacity < varCapacity

    Hi bregent
    Thank you for all the help, below is the code. I have clened it up as best I could as dreamweaver seems to add recordset everytime I edit it. I then have to delete the old code. It also seems adds a totalRows variable and moves one of the runtime variables to the totalRows variable. Its all very confusing but its working.
    Results Page
    <?php require_once('Connections/tova.php'); ?>
    <?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;
    if (isset($_POST['delegates'])) {
      $varDel_results = $_POST['delegates'];
    $varProv_results = "-1";
    if (isset($_POST['province'])) {
      $varProv_results = $_POST['province'];
    $varCat_results = "-1";
    if (isset($_POST['category'])) {
      $varCat_results = $_POST['category'];
    mysql_select_db($database_tova, $tova);
    $query_results = sprintf("SELECT wp_dbt_venues.venuesID, wp_dbt_venues.name, wp_dbt_venues.category, wp_dbt_venues.province, wp_dbt_venues.city, wp_dbt_province.provinceID, wp_dbt_province.province, wp_dbt_conferencefacilties.venueid, wp_dbt_conferencefacilties.maxcapacity FROM ((wp_dbt_venues LEFT OUTER JOIN wp_dbt_province ON wp_dbt_venues.province = wp_dbt_province.provinceID)  LEFT OUTER JOIN wp_dbt_conferencefacilties ON wp_dbt_venues.venuesID = wp_dbt_conferencefacilties.venueid) WHERE wp_dbt_venues.category = %s AND wp_dbt_venues.province = %s AND wp_dbt_conferencefacilties.maxcapacity < %s", GetSQLValueString($varCat_results, "text"),GetSQLValueString($varProv_results, "int"),GetSQLValueString($varDel_results, "int"));
    $results = mysql_query($query_results, $tova) or die(mysql_error());
    $row_results = mysql_fetch_assoc($results);
    $totalRows_results = mysql_num_rows($results);
    ?>
    <!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>Untitled Document</title>
    </head>
    <body>
    <p>Search Results</p>
    <table width="200" border="1">
      <tr>
        <td> </td>
        <td>Name</td>
        <td>Category</td>
        <td>City</td>
        <td>Province</td>
        <td>Delegates</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_results['venuesID']; ?></td>
          <td><?php echo $row_results['name']; ?></td>
          <td><?php echo $row_results['category']; ?></td>
          <td><?php echo $row_results['city']; ?></td>
          <td><?php echo $row_results['province']; ?></td>
          <td><?php echo $row_results['maxcapacity']; ?></td>
        </tr>
        <?php } while ($row_results = mysql_fetch_assoc($results)); ?>
    </table>
    <p> </p>
    </body>
    </html>
    <?php mysql_free_result($results);
    ?>
    Search Page
    <?php require_once('Connections/tova.php'); ?>
    <?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;
    mysql_select_db($database_tova, $tova);
    $query_category = "SELECT category FROM wp_dbt_categories ORDER BY category ASC";
    $category = mysql_query($query_category, $tova) or die(mysql_error());
    $row_category = mysql_fetch_assoc($category);
    $totalRows_category = mysql_num_rows($category);
    mysql_select_db($database_tova, $tova);
    $query_province = "SELECT * FROM wp_dbt_province ORDER BY province ASC";
    $province = mysql_query($query_province, $tova) or die(mysql_error());
    $row_province = mysql_fetch_assoc($province);
    $totalRows_province = mysql_num_rows($province);
    ?>
    <!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>Search</title>
    </head>
    <body>
    <p><strong>Advanced Search</strong></p>
    <form action="results.php" method="post" name="form1" target="_blank" id="form1">
      <p>
        <label>Category
          <select name="category" id="category">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_category['category']?>"<?php if (!(strcmp($row_category['category'], $row_category['category']))) {echo "selected=\"selected\"";} ?>><?php echo $row_category['category']?></option>
            <?php
    } while ($row_category = mysql_fetch_assoc($category));
      $rows = mysql_num_rows($category);
      if($rows > 0) {
          mysql_data_seek($category, 0);
                $row_category = mysql_fetch_assoc($category);
    ?>
          </select>
        </label>
      </p>
      <p>
        <label>Province
          <select name="province" id="province">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_province['provinceID']?>"<?php if (!(strcmp($row_province['provinceID'], $row_province['provinceID']))) {echo "selected=\"selected\"";} ?>><?php echo $row_province['province']?></option>
            <?php
    } while ($row_province = mysql_fetch_assoc($province));
      $rows = mysql_num_rows($province);
      if($rows > 0) {
          mysql_data_seek($province, 0);
                $row_province = mysql_fetch_assoc($province);
    ?>
          </select>
        </label>
      </p>
      <p>
        <label>Delegates
          <input name="delegates" type="text" id="delegates" value="" />
        </label>
      </p>
      <p>
        <label>
          <input type="checkbox" name="Facilities" value="golf" id="Facilities_0" />
          Golf</label>
        <br />
        <label>
          <input type="checkbox" name="Facilities" value="game" id="Facilities_1" />
          Game</label>
        <br />
      </p>
      <p>
        <label>Search
          <input type="submit" name="submit" id="submit" value="Submit" />
        </label>
      </p>
    </form>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($category);
    mysql_free_result($province);
    ?>

  • HOW CAN I  USE MULTIPLE INNERJOINS IN A SINGLE SELECT STATEMENT?

    HI,
    I AM SHABEER AHMED,
    I AM GETTING AN ERROR WHILE I ATTEMPT TO EXECUTE A SELECT STATEMENT WITH MULTIPLE INNER JOINS . BECOZ I WANT TO FETCH ITEM DATA, PARTNER DATA  BASED ON HEADER DATA .
    THEN OF COURSE I HAVE FETCH DATA FROM VBAK VBAP VBKD SO LZ SEND ME THE SOLUTION.
    BYE

    Hi,
    1.Just see this:
    SELECT * INTO CORRESPONDING FIELD OF TABLE itab
    FROM t1 INNER JOIN t2 ON t1f4 EQ t2f4
    INNER JOIN t3 ON t2f5 EQ t3f5 AND
    t2f6 EQ t3f6 AND
    t2f7 EQ t3f7.
    2.But better to use for all entries.It increases the performance.
    FOR ALL ENTRIES
    Tabular Conditions
    The WHERE clause of the SELECT statement has a special variant that allows you to derive conditions from the lines and columns of an internal table:
    SELECT ... FOR ALL ENTRIES IN <itab> WHERE <cond> ...
    <cond> may be formulated as described above. If you specify a field of the internal table <itab> as an operand in a condition, you address all lines of the internal table. The comparison is then performed for each line of the internal table. For each line, the system selects the lines from the database table that satisfy the condition. The result set of the SELECT statement is the union of the individual selections for each line of the internal table. Duplicate lines are automatically eliminated from the result set. If <itab> is empty, the addition FOR ALL ENTRIES is disregarded, and all entries are read.
    The internal table <itab> must have a structured line type, and each field that occurs in the condition <cond> must be compatible with the column of the database with which it is compared. Do not use the operators LIKE, BETWEEN, and IN in comparisons using internal table fields. You may not use the ORDER BY clause in the same SELECT statement.
    You can use the option FOR ALL ENTRIES to replace nested select loops by operations on internal tables. This can significantly improve the performance for large sets of selected data.
    Example for ALL ENTRIES
    DATA: TAB_SPFLI TYPE TABLE OF SPFLI,
    TAB_SFLIGHT TYPE SORTED TABLE OF SFLIGHT
    WITH UNIQUE KEY TABLE LINE,
    WA LIKE LINE OF TAB_SFLIGHT.
    SELECT CARRID CONNID
    INTO CORRESPONDING FIELDS OF TABLE TAB_SPFLI
    FROM SPFLI
    WHERE CITYFROM = 'NEW YORK'.
    SELECT CARRID CONNID FLDATE
    INTO CORRESPONDING FIELDS OF TABLE TAB_SFLIGHT
    FROM SFLIGHT
    FOR ALL ENTRIES IN TAB_SPFLI
    WHERE CARRID = TAB_SPFLI-CARRID AND
    CONNID = TAB_SPFLI-CONNID.
    LOOP AT TAB_SFLIGHT INTO WA.
    AT NEW CONNID.
    WRITE: / WA-CARRID, WA-CONNID.
    ENDAT.
    WRITE: / WA-FLDATE.
    ENDLOOP.
    INNER JOINS
    In a relational database, you normally need to read data simultaneously from more than one database table into an application program. You can read from more than one table in a single SELECT statement, such that the data in the tables all has to meet the same conditions, using the following join expression:
    SELECT...
    FROM <tab> INNER JOIN <dbtab> AS <alias> ON <cond> <options>
    where <dbtab> is a single database table and <tab> is either a table or another join expression. The database tables can be specified statically or dynamically as described above. You may also use aliases. You can enclose each join expression in parentheses. The INNER addition is optional.
    A join expression links each line of <tab> with the lines in <dbtab> that meet the condition <cond>. This means that there is always one or more lines from the right-hand table that is linked to each line from the left-hand table by the join. If <dbtab> does not contain any lines that meet the condition <cond>, the line from <tab> is not included in the selection.
    The syntax of the <cond> condition is like that of the WHERE clause, although individual comparisons can only be linked using AND. Furthermore, each comparison must contain a column from the right-hand table <dbtab>. It does not matter on which side of the comparison it occurs. For the column names in the comparison, you can use the same names that occur in the SELECT clause, to differentiate columns from different database tables that have the same names.
    The comparisons in the condition <cond> can appear in the WHERE clause instead of the ON clause, since both clauses are applied equally to the temporary table containing all of the lines resulting from the join. However, each join must contain at least one comparison in the condition <cond>.
    Example for INNER JOINS
    REPORT demo_select_inner_join.
    DATA: BEGIN OF wa,
    carrid TYPE spfli-carrid,
    connid TYPE spfli-connid,
    fldate TYPE sflight-fldate,
    bookid TYPE sbook-bookid,
    END OF wa,
    itab LIKE SORTED TABLE OF wa
    WITH UNIQUE KEY carrid connid fldate bookid.
    SELECT pcarrid pconnid ffldate bbookid
    INTO CORRESPONDING FIELDS OF TABLE itab
    FROM ( ( spfli AS p
    INNER JOIN sflight AS f ON pcarrid = fcarrid AND
    pconnid = fconnid )
    INNER JOIN sbook AS b ON bcarrid = fcarrid AND
    bconnid = fconnid AND
    bfldate = ffldate )
    WHERE p~cityfrom = 'FRANKFURT' AND
    p~cityto = 'NEW YORK' AND
    fseatsmax > fseatsocc.
    LOOP AT itab INTO wa.
    AT NEW fldate.
    WRITE: / wa-carrid, wa-connid, wa-fldate.
    ENDAT.
    WRITE / wa-bookid.
    ENDLOOP.
    Regards,
    Shiva Kumar(Reward if helpful).

  • Using multiple EIM tables in single process section

    Hi ,
    Often we come across a situation where in some required columns are mapped in one EIM table and some mapped in the other EIM table mapped to a given base table.
    Is there a way wherein we can utilize multiple EIM table having mapping of a base table under the same process section with only base table parameter poiting to the target table.?
    Regards,
    Ashutosh

    Hi,
    May be I have misinterpreted what has been mentioned in the EIM admin guide.In the page 41 chapter EIM Configuration File the following has been mentioned for the TABLE paramter.Therefore i was wondering if we can use more than one table in a given process section in IFB file.
    [TABLE           Required. Specifies the name of an EIM table used in this process.
                         *Multiple TABLE parameters may be used to define a process using*
                         *more than one table*.
                         Example:
                         TYPE = EXPORT
                         BATCH = 101
                         TABLE = EIM_ACCOUNT
                         EXPORT MATCHES = S_ORG_EXT, (NAME > ‘A’)
    NOTE: For performance reasons, you should limit the number of
    tables to export or merge in a single process section to five tables or
    fewer.]
    Warm Regards,
    Ashutosh

  • Problem using multiple choice LOV with custom attribute in IAS 10.1.2.0.2

    Hi
    When aplying a multiple choice and selecting multiple selection and saving in the content area , everything looks fine .
    However when looking at the page the selection is only the first one selected and not the miltiple choices I made
    can someone tell me what is going on , does the miltiple selection with custom attribute
    works ??
    thanks in advance
    Igal

    Hi there,
    I don't really understand what you're doing but I used lot of LOV in custom attributes on my custom items and everything works fine.
    Can you explain more your problem ?

  • Problem using multiple Client Certificates

    Hi folks, I had (mistakenly) posted an earlier version of this question to the crypto forum.
    My problem is that I have multiple client certs in my keystore, but only one is being used as the selected certificate for client authentication for all connection�s. So, one connection works fine, the rest fail because the server doesn�t like the client cert being presented.
    I have been trying to get the JSSE to select the proper client certificate by making use of the chooseClientAlias method. (init the SSL context with a custom key manager that extends X509ExtendedKeyManager and implements the inherited abstract method X509KeyManager.chooseClientAlias(String[], Principal[], Socket))
    But, still no luck.. the JSSE is not calling in to the my version of chooseClientAlias, and it just keeps presenting the same client certificate.
    No clue why, any thoughts on how to get the JSSE to call my version of chooseClientAlias?
    Thanks!
    SSLContext sslContext = SSLContext.getInstance("TLS");
    sslContext.init(createCustomKeyManagers(Keystore, KeystorePassword),
                createCustomTrustManagers(Keystore, KeystorePassword),null);
    SSLSocketFactory factory = sslContext.getSocketFactory();
    URL url = new URL(urlString);
    URLConnection conn = url.openConnection();
    urlConn = (HttpsURLConnection) conn;
    urlConn.setSSLSocketFactory(factory);
    BufferedReader rd = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    String line;
    while ((line = rd.readLine()) != null) {
         System.out.println(line);  }
    public class CustomKeyManager extends X509ExtendedKeyManager
        private X509ExtendedKeyManager defaultKeyManager;
        private Properties serverMap;
        public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
            SocketAddress socketAddress = socket.getRemoteSocketAddress();
            String hostName = ((InetSocketAddress)socketAddress).getHostName().toUpperCase();
            String alias = null;
            if(serverMap.containsKey(hostName)){
                alias = serverMap.getProperty(hostName.toUpperCase());
                if(alias != null && alias.length() ==0){
                    alias = null; }
            else {
                alias = defaultKeyManager.chooseClientAlias(keyType, issuers, socket);
            return alias;
    .

    Topic was correctly answered by ejp in the crypto forum..
    namely: javax.net.ssl.X509KeyManager.chooseClientAlias() is called if there was an incoming CertificateRequest, according to the JSSE source code. If there's an SSLEngine it calls javax.net.ssl.X509ExtendedKeyManager.chooseEngineClientAlias() instead.*
    You can create your own SSLContext with your own X509KeyManager, get its socketFactory, and set that as the socket factory for HttpsURLConnection.*
    Edited by: wick123 on Mar 5, 2008 10:26 AM

  • Using multiple wireless networks with Single sign on?

    The university that I currently work for has switched from one wireless SSID to 2 separate SSIDs that separate the student users from the faculty/staff users. At this time only the Faculty Staff can log into STAFF and students can only log into STUDENT...
    I have a few laptop carts that were setup for student use and have single sign on configured for the STUDENT wireless connection. The laptops are on the university's domain so that students have access to the home drives.
    We run into problems when Faculty try to use a laptop to teach a class. They are unable to log in because their credentials are not authorized for the STUDENT wireless network. 
    So...Is it possible to setup 2 wireless profiles (STUDENT and STAFF) with single sign on and give the user an option to choose from?

    Hi,
    Based on your description, I would like to suggest you use Group Policy to configure Wireless Network Settings:
    Using Group Policy to Configure Wireless Network Settings
    http://technet.microsoft.com/en-us/magazine/gg266419.aspx
    Please follow the information from the link above to check the issue.
    If it doesn’t work, I recommend you initial a new thread in our Windows Server Forum for further assistance.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=windowsserver
    Hope it helps.
    Regards,
    Blair Deng
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Using Multiple Keyboard/Mice on single Mac Pro

    Hi Folks,
    I've tried to search this topic, with no joy.
    Basically, I would like to run a Mac Pro with dual monitors, and 2 users, working simultaneously. In this app, I would like each user to be able to run applications on their own screen and use separate Keyboard/Mouse for the applications on their separate screens. The screens would run as an extended desktop, but the applications on each screen would need to recognize their designated I/O (Keyboard/Mouse) device.
    I see plenty about running 2 systems with 1 keyboard/mouse... but not the other way around.
    Has anyone come across this mode of operation before, I am sure it is possible to do.... but would have to be some software behind it, so that the data streams from the proper I/O makes it to the proper application, even when multiple windows of the same app may be running simultaneously (like 2 windows of Safari).
    Any thoughts?
    Dual G4, 17" PB G4   Mac OS X (10.4.9)  

    To give a bit of background behind my interest.
    I homeschool my 2 children, and am looking to purchase a new Mac. In dual monitor mode, I see the possiblity to limit my purchase to one system, where each user is able to have their own monitor and I/O control. An additional advantage is that in Mirror monitor mode, I can control the system, while they are able watch a lesson. Using this method, I would purchase a higher power system which provides my kids plenty of power, even when they are both using the system, and gives me a higher power system when I use it by myself (sort of like a super-user). Basically the best of both worlds, and the actual price resides around the cost of 2 independent systems, but gives me a high power system for other activities.
    I can envision a lot of applications for such activities. Some I could see in a networked environment. I am actually surprized we have not seen any office applications go to the model of multi-player gaming, where many users can work on the same document simultaneously. There are of course database applications which operate in this manner, but I am not aware of any productivity apps.
    Dual G4, 17" PB G4   Mac OS X (10.4.9)  

Maybe you are looking for

  • Error while installing oracle 10.2.0.1

    hi , Iam installing Oracle10g (10.2.0.1) in AIX 5.2 server.while configuring DBCA it shows an error as ORA-12547: TNS lost contact. what could be the reason .how to rectify this error. Thanks in advance, R.Ratheesh

  • What does Single-App plan for Creative Cloud include?

    I've just completed my first year with Creative Cloud, paying for the introductory subscription.  The only App I ever use is Photoshop.  If I move to a Single-App plan do I still get to use TypeKit inclusively with my subscription? Thanks Matt

  • Need to update Pages

    ARGGGGGHHHHHHHH. I have just downloaded yosemite and the new versions of pages etc that comes with it. I am now unable to open half of my files from iCloud. It seems that files that were last saved on work 09 (i.e. the really good old system) open fi

  • Dynamicall​y config/Des​ign GUI?

    Hello, All, This sounds at least for me like an crazy idea. What I want to do is to dynamicallly design the front panel at run time like we design the front panel in development stage. First, we design a GUI which includes buttons, slides, strings...

  • Help on Java Mapping

    Hi all, Plz suggest me any blogs on Java Mapping Concepts. Thank you. Regards Krishna.