Minus takes a lot of time

Hi all,
My problem is as follows.
I made a mapping that in less then a minute populated on of my tables. Then I change it to, before inserting, make a minus with target table, it works fine and takes almost the same time to populate the table, except when the target table is empty, in this case it takes four hours.
If I take the minus it runes ok!
What could be the problem?
Owb 9.2
Oracle database 9.2
Thanks,
Vitor.

I have a splitter control that makes some records to be inserted in a table and some other's to be updated (complex condition to update needed), after the splitter on the flow that will insert i'm making a Minus between this records and the target table (selection MINUS target). When target table is empty it takes a lot of time.
I edited the mapping PL/SQL and try to execute the cursor created to this same flow and it takes the same time. I guess my problem is that the original select is made just for the records that doesn't exist in target table (that's for insert, uses all record's for update). When the target table has most of the records it will select few on the source (to insert) and minus run much faster.
What is odd is that just Original select goes in a few seconds and the minus takes all the time, but i just got 20000 records with 4 small columns, two of them numbers. And target table is empty!!!
I have made several other MINUS instruction in some other databases much more heavy to the system and worked real fast.
Could it be database configuration?
Thanks,
Vitor

Similar Messages

  • Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Try this:
    Close all apps in the Task Bar. Double-click the Home button and hold apps down for a second or two. Tap the minus sign to close app.

  • Server boot takes a lot of time due to JMS persistence file store

    Hi,
    We're using WebLogic 9.2 on a windows machine.
    Recently, we enhanced our application to work with JMS.
    We're using 2 JMS servers on 2 different servers in a cluster, and working with distributed destinations.
    We're using file store as our persistence store.
    Lately, we found that server boot takes a lot of time due to actions which are performed on the file-store.
    Analyzing this problem, we saw that the file size is ~2GB.
    We understand that the file size does not shrink (unless manually compacted), and its size is matching the highest number ever of pending messages in the queues (like a high water-mark).
    We also turned store debug on, using weblogic.Debug.DebugStoreIOPhysical, and we saw a lot of recovery logs after the file-store is opened.
    We've checked and verified that our JMS transactions are completed successfully. We also verified that the number of pending and current messages is 0.
    We've stopped the server gracefully, verifying there are no pending messages.
    However, server boot repeatedly takes ~30 minutes due to heavy work done on the persistence store.
    Compacting or removing the file store eliminates the delay.
    However, we want to avoid manual operations every time we want to boot the server.
    Please share your ideas.
    Thanks,
    Itsik

    The only suggestions I have off the top of my head are:
    * Ensure (1) the host system has at least 2GB (file store size) of free physical memory in addition to the memory used by current processes, and (2) the host system is not rebooted between each WebLogic restart. If you make sure of these two items, then the operating system will implicitly cache the store's file contents in memory even between boots -- when WebLogic subsequently boots the file store, the O/S should serve the file contents up much more quickly.
    * Consider moving to a JDBC store. JDBC store runtime performance is lower, but since you have a typically only have a small amount of records to recover, boot performance should be higher in this case.
    * Not that it helps your particular case, but it happens that we have boot performance enhancements in process for a future release (hopefully a near future release).
    Tom

  • My JSP page takes a lot of time to go to next JSP

    Hi All,
    I have a JSP page which loads dynamically depending on what the user enters. This page works fine for items upto 20-30 but as the number of items increases, my JSP page takes a lot of time to go to the next one. Heres what my JSP looks like:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/WEB-INF/rswtags.tld" prefix="rsw" %>
    <jsp:useBean id="dateFormatIntl" scope="session" type="java.lang.String"/>
    <html>
    <head>
    <title><bean:message key="title.application"/> - <bean:message key='header.return_to_vendor_detail'/></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <%@ include file="rsw_functions.jsp" %>
    <%@ include file="shipment_rtv_functions.jsp" %>
    <script language="JavaScript" type="text/javascript">
    var page = "<bean:message key='header.return_to_vendor_detail'/>"
    var rtvEntryArray = new Array();
    var totalAmtString;
    function setFormValues()
    var rtvEntriesString = "";
    for (var v = 0; v < rtvEntryArray.length; v++)
    var rtvEntryString = rtvEntryArray[v].itemNumber + "~"
    + rtvEntryArray[v].itemQty + "~"
    <rsw:display displayElementName="rtv_reason">
    + rtvEntryArray[v].inventoryStatusCode + "~"
    + rtvEntryArray[v].inventoryStatusName + "~"
    + rtvEntryArray[v].reasonCodeId + "~"
    + rtvEntryArray[v].reasonCodeName + "~" +
    </rsw:display>
    <rsw:display_false displayElementName="rtv_reason">
    + " " + "~"
    + " " + "~"
    + " " + "~"
    + " " + "~" +
    </rsw:display_false>
    rtvEntryArray[v].valid;
    rtvEntriesString = rtvEntriesString + rtvEntryString + ";";
    document.rtvVsatShipmentForm.rtvEntriesString.value = rtvEntriesString;
    function writeItem(itemNumber, itemQty, inventoryStatusCode, inventoryStatusName,
    reasonCodeId, reasonCodeName)
    if(!acquireFakeLock()) return;
    if (!arrayContainsItem(itemNumber, reasonCodeId))
    addEntry(itemNumber, itemQty, inventoryStatusCode, inventoryStatusName,
    reasonCodeId, reasonCodeName, "true");
    else
    setItemQtyReasonArray(itemNumber, itemQty, reasonCodeId, reasonCodeName);
    writeTable(false);
         releaseFakeLock();
    function handleApply()
    <%-- change this if 'please select...' value changes to something other than a space --%>
    if (document.rtvVsatShipmentForm.applyReasonCode.value == " ")
    alert('<bean:message key="error.must_enter_a_reason" />');
    return;
    if (checkQuantityGreaterThenZero(document.rtvVsatShipmentForm.applyQty))
    formatQuantity(document.rtvVsatShipmentForm.applyQty);
    if (document.rtvVsatShipmentForm.applyId.value == '')
    alert("<bean:message key='error.no_dsd_order_entries' />");
    document.rtvVsatShipmentForm.applyId.focus();
    return;
    writeItem(document.rtvVsatShipmentForm.applyId.value,
    document.rtvVsatShipmentForm.applyQty.value
    <rsw:display displayElementName="rtv_reason">,
    document.rtvVsatShipmentForm.selectedInventoryStatus.options[document.rtvVsatShipmentForm.selectedInventoryStatus.selectedIndex].value,
    document.rtvVsatShipmentForm.selectedInventoryStatus.options[document.rtvVsatShipmentForm.selectedInventoryStatus.selectedIndex].text,
    document.rtvVsatShipmentForm.applyReasonCode.options[document.rtvVsatShipmentForm.applyReasonCode.selectedIndex].value,
    document.rtvVsatShipmentForm.applyReasonCode.options[document.rtvVsatShipmentForm.applyReasonCode.selectedIndex].text
    </rsw:display>
    document.rtvVsatShipmentForm.applyId.value = '';
    document.rtvVsatShipmentForm.applyQty.value = 1;
    document.rtvVsatShipmentForm.applyId.focus();
    <rsw:display displayElementName="rtv_reason">
    document.rtvVsatShipmentForm.selectedInventoryStatus.value
    = document.rtvVsatShipmentForm.selectedInventoryStatus.options[0].value;
    selectFromInvStatus();
    </rsw:display>
    totalAmounts();
    function clearFields()
    document.rtvVsatShipmentForm.returnAuth.value = "";
    document.rtvVsatShipmentForm.applyId.value = "";
    document.rtvVsatShipmentForm.applyQty.value = "1";
    document.rtvVsatShipmentForm.applyId.focus();
    document.rtvVsatShipmentForm.selectedInventoryStatus.value = document.rtvVsatShipmentForm.selectedInventoryStatus.options[0].value;
    selectFromInvStatus();
    function getCurrentOptions()
    if (document.rtvVsatShipmentForm.selectedInventoryStatus.value == "AVAILABLE")
    return availableOptions;
    return unavailableOptions;
    function populateDropDown(dropdownField)
         var currentOptions;
    currentOptions = getCurrentOptions();     
    dropdownField.options.length = 0;
    var oPleaseSelectOption = document.createElement("OPTION");
    oPleaseSelectOption.value = " ";
    oPleaseSelectOption.text = "<bean:message key="label.please_select"/>";
    dropdownField.options.add(oPleaseSelectOption);
    for (var i = 0; i < currentOptions.length; i++)
    dropdownField.options.add(currentOptions);
    function selectFromInvStatus()
    populateDropDown(document.rtvVsatShipmentForm.applyReasonCode);
    function initialize()
    document.rtvVsatShipmentForm.applyId.focus();
    createReasonOptionObjects();
    selectFromInvStatus();
    <logic:equal name="rtvVsatShipmentForm" property="returnAuthRequired" value="true">
    if (document.rtvVsatShipmentForm.returnAuth.value == '')
    document.rtvVsatShipmentForm.returnAuth.focus();
    </logic:equal>
    createEntryArray(document.rtvVsatShipmentForm.rtvEntriesString.value, false);
    <rsw:display displayElementName="rtv_reason">
    </rsw:display>
    totalAmounts();
    function next()
    setFormValues();
    if (document.rtvVsatShipmentForm.rtvEntriesString.value == '')
    alert("<bean:message key='error.no_dsd_order_entries' />");
    document.rtvVsatShipmentForm.applyId.focus();
    return;
    <logic:equal name="rtvVsatShipmentForm" property="returnAuthRequired" value="true">
    if (document.rtvVsatShipmentForm.returnAuth.value == '')
    alert("<bean:message key='error.return_auth_required' />");
    document.rtvVsatShipmentForm.returnAuth.focus();
    return;
    </logic:equal>
    if (!validateTextAreaLength(document.rtvVsatShipmentForm.comments,
    "<bean:message key='label.comments'/>", 255))
    return false;
    document.rtvVsatShipmentForm.submit();
    function doBack()
    backLink.href = "<bean:write name='rtvVsatShipmentForm' property='previousAction' />";
    document.rtvVsatShipmentForm.action=backLink.href;
    document.rtvVsatShipmentForm.submit();
    function handleItemLookup()
    window.open(itemLookupLink.href + "?actionToReturnTo=shipment_rtv_vsat_create&fieldToPopulateUponReturn=applyId","RSWLookupWindow");
    </script>
    <jsp:include page="/elements/top_banner2.jsp" flush="true"/>
    <!-- Beginning of Page Body -->
    <body onload="initialize();displayErrors();">
    <form:form action="shipment_rtv_vsat_to_summary.do" style="margin-top:0">
    <input type="hidden" name="fieldToPopulateUponReturn" value="applyId">
    <span style="display:none">
    <html:link styleId="itemLookupLink" href="item_lookup_start.do"></html:link>
    <html:link styleId="backLink" href="dummyLink"></html:link>
    </span>
    <html:hidden property="rtvEntriesString"/>
    <form:hidden property="fromLocationId" />
    <table width="700" class="bgColor" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell" rowspan="3"></td>
    <td class="bodymd" width="125">
    <bean:message key="label.rtv_number" />:
    </td>
    <td class="bodymd">
    <bean:write name="rtvVsatShipmentForm" property="rtvNumber" />
    </td>
    <td class="bodymd">
    </td>
    <td class="bodymd">
    <bean:message key= "label.date" />: 
    </td>
    <td class="bodymd" align="left">
    <bean:write name="rtvVsatShipmentForm" property="createDate"/>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    <td colspan="3"></td>
    <logic:equal name="dateFormatIntl" value="true">
    <td align="left" valign="top" class="bodymd">
    <span class="bodyxsm">(<bean:message key="label.date_format_string_intl"/>)</span>
    </td>
    </logic:equal>
    <logic:notEqual name="dateFormatIntl" value="true">
    <td>
    <span class="bodyxsm">(<bean:message key="label.date_format_string_us"/>)</span>
    </td>
    </logic:notEqual>
    </tr>
    <tr>
    <td class="bodymd">
    <bean:message key="label.status" />: 
    <td class="bodymd">
    <rsw:display displayElementName="rtv_status">
    <form:select property="selectedStatusCode" >
    <form:options name="rtvVsatShipmentForm" property="statusIds"
    labelProperty="statusNames" />
    </form:select>
    </rsw:display>
    <rsw:display_false displayElementName="rtv_status">
    <bean:write name="rtvNonVsatShipmentForm" property="selectedStatus.description" />
    </rsw:display_false>
    </td>
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell"></td>
    <td class="bodymd">
    <bean:message key="label.ship_from_location" />:
    </td>
    <td class="bodymd" colspan="5">
    <bean:write name="rtvVsatShipmentForm" property="fromLocationId" />
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell">
    <td class="bodymd">
    <bean:message key="label.supplier_name" />:
    </td>
    <td class="bodymd">
    <bean:write name="rtvVsatShipmentForm" property="supplierName" />
    </td>
    <td class="bodymd" width="125">
    <bean:message key="label.supplier_number" />: 
    </td>
    <td class="bodymd" colspan="3">
    <bean:write name="rtvVsatShipmentForm" property="supplierId" />
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell">
    <td class="bodymd">
    <bean:message key="label.rtv_paid" />: 
    </td>
    <td class="bodymd" align="left">
    <form:select property="selectedPaymentStatusCode" >
    <form:options name="rtvVsatShipmentForm" property="paymentStatusIds"
    labelProperty="paymentStatusNames" />
    </form:select>
    </td>
    <td class="leadSpacerCell">
    </td>
    </tr>
    <%-- <tr>
    <td class="bodymd">
    <bean:message key="label.check_number" />: 
    </td>
    <td class="bodymd" align="left">
    <form:text name="rtvVsatShipmentForm" property="checkNumber" maxlength="12"/>
    </td>
    </tr>
    --%>
    </table>
    <table width="700" class="bgColor" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td class="spacerCell">
    </td>
    <tr>
    <td class="leadSpacerCell">
    </td>
    <td colspan="3">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td class="bodymd">
    <bean:message key="label.return_authorization_no" />: 
    </td>
    <td class="bodymd" align="left">
    <form:text name="rtvVsatShipmentForm" property="returnAuth" maxlength="12"/>
    </td>
    <td class="leadSpacerCell">
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell">
    </td>
    <td class="bodymd" valign="top">
    <bean:message key="label.supplier_address" />
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell">
    </td>
    <td colspan="6">
    <table border="0">
    <tr>
    <td width="10" rowspan="4">
    </td>
    <td class="bodymd">
    <form:text property="addressLine1" style="width:200" />
    </td>
    <td width="5">
    </td>
    <td class="bodymd">
    <bean:message key="label.city" />: 
    </td>
    <td colspan="3" class="bodymd">
    <form:text property="addressCity" style="width:200" />
    </td>
    </tr>
    <tr>
    <td class="bodymd">
    <form:text property="addressLine2" style="width:200" />
    </td>
    <td width="5">
    </td>
    <td class="bodymd">
    <bean:message key="label.state_or_province" />: 
    </td>
    <td class="bodymd">
    <form:text property="addressStateOrProvince" style="width:80" />
    </td>
    <td class="bodymd">
    <bean:message key="label.postal_code" />: 
    </td>
    <td class="bodymd">
    <form:text property="addressPostalCode" style="width:80" />
    </td>
    </tr>
    <tr>
    <td class="bodymd">
    <form:text property="addressLine3" style="width:200" />
    </td>
    <td width="5">
    </td>
    <td class="bodymd">
    <bean:message key="label.country" />: 
    </td>
    <td colspan="3" class="bodymd">
    <form:text property="addressCountry" style="width:200" />
    </td>
    </tr>
    </table>
    </td>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell">
    </td>
    <td class="bodymd" valign="top">
    <bean:message key="label.comments" />: 
    </td>
    <td>
    <form:textarea property="comments" cols="65" rows="3" onkeypress="limitKeyPress(this, 255)"/>
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td colspan="3" class="horizontalLine">
    </td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    </table>
    <table width="700" cellpadding="0" cellspacing="0" border="0" class="bgColor">
    <tr>
    <td class="leadSpacerCell"></td>
    <td class="bodymdbold"><bean:message key='label.item'/>: </td>
    <td><form:text size="15" property="applyId"/>  </td>
    <td class="bodymdbold"><bean:message key='label.quantity'/>: </td>
    <td><form:text size="8" maxlength="8" property="applyQty" />  </td>
    <rsw:display displayElementName="rtv_reason">
    <td style="display:none" class="bodymdbold"><bean:message key='label.inventory_status'/>: </td>
    <td style="display:none">
    <form:select property="selectedInventoryStatus" onchange="selectFromInvStatus();">
    <form:options name="rtvVsatShipmentForm" property="inventoryStatusCodes"
    labelProperty="inventoryStatusDescriptions" />
    </form:select>
    </td>
    <td class="bodymdbold"><bean:message key='label.reason_code'/>: </td>
    <td>
    <select name="applyReasonCode">
    <%-- <logic:iterate name="rtvVsatShipmentForm" property="rtvReasons" id="reason">
    <option value="<bean:write name="reason" property="code"/>">
    <bean:write name="reason" property="description"/>
    </option>
    </logic:iterate>
    --%>
    </select>
    </td>
    </rsw:display>
    </tr>
    <tr>
    <td class="leadSpacerCell"></td>
    <td class=bodymd>
    <a class="genericLink" href="" onClick="handleItemLookup(); return false"><bean:message key='link.item'/></a>
    </td>
    </tr>
    <tr>
    <td class="leadSpacerCell"></td>
    <td colspan="9" align="left">
    <br>
    <input type="submit"
    value="<bean:message key='button.apply'/>"
    onClick="handleApply();return false;">  
    <input type="button" value="Clear" onclick="clearFields()";></td>
    </tr>
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td class="horizontalWhiteLine" colspan="10"></td>
    </tr>
    </table>
    <table class="bgColor" width="700" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td class="spacerCell">
    </td>
    </tr>
    <tr>
    <td><rsw:errors/></td>
    </tr>
    </table>
    <div id="item_list_div">
    </div>
    <table width="700" cellpadding="0" cellspacing="0" border="0" class="bgColor">
    <tr>
    <td class="spacerCell"></td>
    </tr>
    <tr>
    <td>
    <table width="700" cellpadding="0" cellspacing="0" border="0" class="bgColor">
    <tr>
    <td class="bodymdbold" align="right" nowrap><div id="total_amt_div"></div></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td class="spacerCell"></td>
    </tr>
    <tr>
    <td class="horizontalLine" colspan="3"></td>
    </tr>
    </table>
    <table cellpadding="0" cellspacing="0" border="0" width="700">
    <tr>
    <td class="spacerCell"></td>
    </tr>
    <tr>
    <td class="leadSpacerCell">
    </td>
    <td align="left">
    <input type="button" value="<bean:message key='button.next'/>"
    onclick="next();">
    <input type=button value="<bean:message key='button.back'/>"
    onclick="doBack();">
    <input type=button value="<bean:message key='button.cancel'/>"
    onclick="doSubmit('main', 'main.do');">
    </td>
    </tr>
    </table>
    </form:form>
    <div id="log"></div>
    </body>
    <!-- End of Page Body -->
    <jsp:include page="/elements/bottom_banner2.jsp" flush="true"/>
    <script language="JavaScript" type="text/javascript">
    function handleAction(retVal,position)
    if (retVal != null)
    var command = retVal["command"];
    if (command == "OK")
    updateArray(retVal["id"],
    formatQuantityFromVar(retVal["qty"]), true,
    <rsw:display displayElementName="rtv_reason">
    retVal["inventoryStatusCode"],
    retVal["inventoryStatusName"],
    retVal["reasonCode"],
    retVal["reasonDescription"],
    </rsw:display>
    <rsw:display_false displayElementName="rtv_reason">
    null, null, null, null,
    </rsw:display_false>
    position);
    totalAmounts();
    if (command == "Remove")
    deleteRow(position);
    writeTable(false);
    totalAmounts();
    function showEditWindow(sku, qty,
    <rsw:display displayElementName="rtv_reason">
    inventoryStatusCode, reasonCode,
    </rsw:display>
    position)
    if(!acquireFakeLock()) return;
    var elements = editWindowDiv.document.all;
    elements("editWindowId").value=sku;
    elements("editWindowQty").value = qty;
    <rsw:display displayElementName="rtv_reason">
    elements("editWindowInventoryStatusCode").value = inventoryStatusCode;
    elements("hiddenReasonCode").value = reasonCode;
    </rsw:display>
    var retVal;
    // if (IE6)
    retVal = window.showModalDialog("popup.jsp", editWindowDiv,
    "dialogWidth:335px;dialogHeight:230px;scroll:no;status:no;unadorned:no");
    else
    retVal = window.showModalDialog("javascript:document.write(window.dialogArguments.innerHTML);editWindowInit();",editWindowDiv,
    "dialogWidth:335px;dialogHeight:230px;scroll:no;status:no;unadorned:no");
    handleAction(retVal,position);
         releaseFakeLock();
    function updateArray(itemNumber, itemQty, fromEditWindow,
    inventoryStatusCode, inventoryStatusName,
    reasonCodeId, reasonCodeName, position, supplierCost)
    if (((rtvEntryArray[position].reasonCodeId != reasonCodeId)
    && arrayContainsItem(itemNumber, reasonCodeId))
         ||
         ((rtvEntryArray[position].itemNumber != itemNumber)
         && arrayContainsItemsExceptPos(itemNumber, reasonCodeId, position)))
    deleteRow(position);
    setItemQtyReasonArray(itemNumber, itemQty, reasonCodeId, reasonCodeName, supplierCost);
    else
    var rtvEntry = new Object();
    rtvEntry.itemNumber = itemNumber;
    rtvEntry.itemQty = itemQty;
    rtvEntry.inventoryStatusCode = inventoryStatusCode;
    rtvEntry.inventoryStatusName = inventoryStatusName;
    rtvEntry.reasonCodeId = reasonCodeId;
    rtvEntry.reasonCodeName = reasonCodeName;
    rtvEntry.supplierCost = supplierCost;
    rtvEntry.valid = rtvEntryArray[position].valid;
    rtvEntryArray[position] = rtvEntry;
    writeTable();
    </script>
    <div id="editWindowDiv" style="display:none">
    <html>
    <head>
    <style type="text/css">
    .titleTxt { font-size: 12 ; font-style: italic ; font-weight: bold; color: white ; font-family: arial }
    .bodymd {color: #000000; font-family: arial; font-size: 10pt; text-decoration: none}
    .bodymdbold {color: #000000; font-family: arial; font-size: 10pt; text-decoration: none; font-weight: bold}
    .bgColor { background-color: #efefef }
    </style>
    <title><bean:message key="title.edit_window" /></title>
    <script language="JavaScript">
    function handleOk()
    if (checkQuantityGreaterThenZero(document.editPopupForm.editWindowQty))
    var returnArray = new Array();
    returnArray["id"] = document.editPopupForm.editWindowId.value;
    returnArray["qty"] = document.editPopupForm.editWindowQty.value;
    <rsw:display displayElementName="rtv_reason">
    returnArray["inventoryStatusCode"] = document.editPopupForm.editWindowInventoryStatusCode.options[document.editPopupForm.editWindowInventoryStatusCode.selectedIndex].value;
    returnArray["inventoryStatusName"] = document.editPopupForm.editWindowInventoryStatusCode.options[document.editPopupForm.editWindowInventoryStatusCode.selectedIndex].text;
    returnArray["reasonCode"] = document.editPopupForm.editWindowReasonCode.options[document.editPopupForm.editWindowReasonCode.selectedIndex].value;
    returnArray["reasonDescription"] = document.editPopupForm.editWindowReasonCode.options[document.editPopupForm.editWindowReasonCode.selectedIndex].text;
    </rsw:display>
    returnArray["command"] = "OK";
    window.returnValue = returnArray;
    window.close();
    function handleCancel()
    window.close();
    function handleRemove()
    var returnArray = new Array();
    returnArray["command"] = "Remove";
    window.returnValue = returnArray;
    window.close();
    function init()
    document.title = "<bean:message key="title.edit_window" />";
    document.editPopupForm.editWindowQty.focus();
    <rsw:display displayElementName="rtv_reason">
    createReasonOptionObjects();
    setReasonOptions();
    document.editPopupForm.editWindowReasonCode.value = document.editPopupForm.hiddenReasonCode.value;
    </rsw:display>
    <rsw:display displayElementName="rtv_reason">
    function setReasonOptions()
    var currentOptions;
    document.editPopupForm.editWindowReasonCode.options.length = 0;
    if (document.editPopupForm.editWindowInventoryStatusCode.value == "AVAILABLE")
    currentOptions = availableOptions;
    else
    currentOptions = unavailableOptions;
    for (var i = 0; i < currentOptions.length; i++)
    document.editPopupForm.editWindowReasonCode.options.add(currentOptions[i]);
    </rsw:display>
    var availableOptions = new Array();
    var unavailableOptions = new Array();
    <rsw:display displayElementName="rtv_reason">
    function createReasonOptionObjects()
    var oOption;
    <logic:iterate name="rtvVsatShipmentForm" property="availableInventoryStatusReasons" id="reason">
    oOption = document.createElement("OPTION");
    oOption.value = "<bean:write name="reason" property="code"/>";
    oOption.text = "<bean:write name="reason" property="description"/>";
    availableOptions[availableOptions.length] = oOption;
    </logic:iterate>
    <logic:iterate name="rtvVsatShipmentForm" property="unavailableInventoryStatusReasons" id="reason">
    oOption = document.createElement("OPTION");
    oOption.value = "<bean:write name="reason" property="code"/>";
    oOption.text = "<bean:write name="reason" property="description"/>";
    unavailableOptions[unavailableOptions.length] = oOption;
    </logic:iterate>
    </rsw:display>
    </script>
    <%@ include file="rsw_functions.jsp" %>
    </head>
    <body leftmargin="0" topmargin="0" style="border:4px ridge lightgrey">
    <span style="margin-top:0;margin-left:0,margin-bottom:0;margin-right:0">
    <table cellspacing="0" cellpadding="0" border="0" bordercolor="#000000" width="330">
    <tr>
    <td bgcolor="#ff9999" width="100%" height="1" colspan="2"></td>
    </tr>
    <tr>
    <td bgcolor="#ff0000" height="15" align="left"><span
    class=titleTxt>  <bean:message key="label.edit" /> </span></td>
    <td bgcolor="#ff0000" height="15" align="right"><span
    class="titleTxt"><bean:message key="label.application_title" />   </span></td>
    </tr>
    <tr>
    <td bgcolor="#000000" width="100%" height="1" colspan="2"></td>
    </tr>
    </table>
    </span>
    <form name="editPopupForm" style="margin-top:0;margin-left:0,margin-bottom:0;margin-right:0"
    onsubmit="handleOk();return false;">
    <input type="hidden" name="editWindowPosition" value="">
    <input type="hidden" name="hiddenReasonCode" value="">
    <table cellspacing='0' class='bgColor' cellpadding='0' border='0' width='330'>
    <tr><td> </td></tr>
    <tr>
    <td class='bodymd'>  <bean:message key='label.item'/>:</td>
    <td class='bodymd'><input type="text" name="editWindowId" value="[id]" ></td>
    </tr>
    <tr>
    <!--Start RQST 34502 SIR 61007-->
    <!--td class='bodymd'--><!--  --><!--bean:message key='label.count_quantity'/--><!--:--><!--/td-->
    <td class='bodymd'>  <bean:message key='label.return_quantity'/>:</td>
    <!--End RQST 34502 SIR 61007-->
    <td class='bodymd'><input type="text" maxlength="8" name="editWindowQty" value="[qty]"></td>
    </tr>
    <rsw:display displayElementName="rtv_reason">
    <tr>
    <td style="display:none" class='bodymd'>  <bean:message key='label.inventory_status'/>:</td>
    <td style="display:none" class='bodymd'><select name="editWindowInventoryStatusCode" onchange="setReasonOptions();">
    <option value="AVAILABLE"><bean:message key="label.available"/></option>
    <option value="UNAVAILABLE"><bean:message key="label.unavailable"/></option>
    </select></td>
    </tr>
    <tr>
    <td class='bodymd'>  <bean:message key='label.reason_code'/>:</td>
    <td class='bodymd'><select name="editWindowReasonCode">
    <logic:iterate name="rtvVsatShipmentForm" property="rtvReasons" id="editWindowReason">
    <option value="<bean:write name="editWindowReason" property="code"/>">
    <bean:write name="editWindowReason"

    God Lord! Does anyone else here write JSPs that look like that?
    If I had to maintain that I would shoot myself straight in the temple.
    Sorry, I don't have answer to your question, I just had to say that.
    Do you like your job?

  • Quicktime takes a lot of time to open after last Quicktime or iTunes update

    I have actually no big problems, but its a bit annoying that Quicktime Player takes a lot of time (maybe twice as before) for opening a Quicktime file (mp3 or video file, it doesnt matter).. I think this situation arised after the last Quicktime update or the update before this I dont know for sure. I think the last Quicktime update.. I am using the latest Quicktime which is 7.6 and its Tiger (10.4.11). When Quicktime Player is not opened, and its getting opened for the first time by clicking for instance on a mp3 file, it takes more then 10 seconds to open up, when I click the file Quicktime Player bounces normally as always but then the spinning rainbow beachball is shown for more then 10 seconds before the player window appears. There is no delay when I go open a mp3 from another mp3. The delay occurs only when Quicktime Player is not opened yet (quit/closed) and you click on a Quicktime file then the delay happens during the opening of the player.. Sometimes it doesnt even open the file I clicked, but only Quicktime Player so I have to click the same file again..
    What I tried is :
    deleted all Quicktime player preference files.. Didnt help
    removed all plugins from the Quicktime library.. Didnt help either
    What could the problem possibly be? What can I do to recover it except for installing my system all over again? Will Apple fix this problem with the next update?
    PS: I dont exclude that the latest iTunes update (8.1) can be a cause of this problem. Do you know if the iTunes update also changed/updated something regards Quicktime (Player)?

    Why is an Archive & Install not an option for you? It does NOT delete your applications or your settings, and is NOT the same as an Erase & Install which does.
    In my opinion it will be the only way to get your old G3 working properly again.
    How to Archive & Install:
    http://docs.info.apple.com/article.html?artnum=107120
    This document explains how to correctly reinstall a prior version of Mac OS X in the event that other troubleshooting does not resolve an issue:
    http://docs.info.apple.com/article.html?artnum=25404
    BUT: Don't install older versions of Mac OS than what comes with your computer:
    http://support.apple.com/kb/HT2186?viewlocale=en_US
    Will Apple fix this problem with the next update?
    For 99.9% of users there is no problem to fix.
    But before doing your archive and install, when did you last perform a bit of maintenance?
    Repairing permissions is important, and should always be carried out both before and after any software installation or update.
    Go to Disk Utility (this is in your Utilities Folder in your Application folder) and click on the icon of your hard disk (not the one with all the numbers).
    In First Aid, click on Repair Permissions.
    This only takes a minute or two in Tiger, but much longer in Leopard.
    Background information here:
    http://docs.info.apple.com/article.html?artnum=25751
    and here:
    http://docs.info.apple.com/article.html?artnum=302672
    An article on troubleshooting Permissions can be found here:
    http://support.apple.com/kb/HT2963
    By the way, you can ignore any messages about SUID or ACL file permissions, as explained here:
    http://support.apple.com/kb/TS1448?viewlocale=en_US
    If you were having any serious problems with your Mac you might as well complete the exercise by repairing your hard disk as well. You cannot do this from the same start-up disk. Reboot from your install disk (holding down the C key). Once it opens, select your language, and then go to Disk Utility from the Utilities menu. Select your hard disk as before and click Repair.
    Once that is complete reboot again from your usual start-up disk.
    More useful reading here:
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    http://support.apple.com/kb/TS1417?viewlocale=en_US

  • Import process takes a lot of time to connect to schemas in the RPD

    Hi Gurus,
    I am facing this problem where when I start to import tables from my database into the rpd, it takes hours to load/display the schemas. Once I select tables, the import process takes another hour.
    Does this look like a setting issue on OBIEE end or database connectivity? I can connect to the database through SQL developer within seconds with the same credentials. Its eating a lot into my dev time. Please suggest at the earliest. Much appreciated.
    Thanks,
    Dan

    tried it. It keeps saying connection failed. My problem is my connection is fine. I can connect without the localhost:port/sid. The next step of choosing Tables,views.. that screen too loads within a second. Once I hit next on that screen, it takes a lot of time for my schema to show up.
    My setup here is I hv downloaded the admin tool only, created a dsn connection and trying to import tables in online mode. All connections work fine but they take a lot of time.
    I just need to validate if its a database connecticity issue or obiee connectivity.

  • Select of database takes a lot of time

    Dear all,
    myabe its a simple question but it is not for me. I do select the FAGLFLEXA table (standard table) and it takes a lot of time.
    here my selection:
    select * from faglflexa into table gt_flexa
       where    docnr  in   s_belnr
        and     rbukrs eq   p_bukrs
        and     ryear  eq   p_gjahr.
    Maybe its better to select all keyfields YES it is, but I need all data of the selected data . Now my question is: It is also possible to active a indices for this standard table ? when yes how it is the best way to do this ?
    best regards
    Moderator message: this has been discussed many times, please search in the ABAP performance sub-forum.
    Please Read before Posting in the Performance and Tuning Forum
    locked by: Thomas Zloch on Aug 12, 2010 3:13 PM

    Of course you can add an index - the best fields depends on your WHERE clause and field usage.  How broad is the doc number selection?  Have you traced the selection?  It doesn't really make sense that you'd need a secondary index with those fields unless you're not using the DOCNR specification or it's very broad.

  • New ImageIcon(path) takes a lot of time

    Hi.
    I do "new ImageIcon(path)" in while loop (the path is changes) and it takes a lot of time, why? It happens only when the path is different.
    If the path will be always the same it work good and quick
    Thnaks in advance.

    You're right that the preloading will also take time, but it will attempt to load all the images asynchronously. Several images may be loaded simultaneously, thereby shortening the overall time taken.
    // Start the images loading
    Image[] images = new Image[paths.length];
    for(int idx = 0; idx < paths.length; idx++) {
      images[idx] = Toolkit.getDefaultToolkit().getImage(paths[idx]);
    // Images might not have been loaded at this point - but are loading in the background
    // Create icons for our images
    for(int idx = 0; idx < images.length; idx++) {
      // This will wait for the image to finish loading but the other images will continue to load at the same time
      icons[idx] = new ImageIcon(images[idx]);
    }While the first icon is waiting for its image to finish loading the other images may also be getting downloaded, thereby shortening the time taken for the operation.
    There's no guarantee this will be any faster since the image loading could be bottlenecked elsewhere (such as on your file system) but it may be worth a try.
    Hope this helps.

  • A large universe takes a lot of time to be opened in Designer

    Hi All.
    When opening a large universe (I can't tell at the moment how large...) it takes a lot of time to open it. a lot of time can be up to two hours (I guess even more).
    Well, I have been told that there's a way to open universe in Designer without the Designer verifying objects/tables/whatever in the opened universe, and that can help me open it quickly.
    Does anybody knows how to do it ?
    Thanks you very much
    Ehud.

    Hello,
    can you tell us what is the size of this Universe in terms of:
    number of tables, number of objects, size of the .unv file?
    Also, is this behaviour specific to this universe or you have other universes having the same problem?
    Last, are you 'opening it' as in File/Open or importing it as in 'File/Import...' ?
    Thanks
    PPaolo

  • Message are sending from Business Process take a lot of time

    Hallo,
    in my BP there is the problem that the sending takes a lot of time. I see for example that mapping are not going. How can find the problem; the queues are empty. This seams a generell problem because all processes are effected.
    Thanks in advance,
    Frank

    Frank,
    Can ou give more details?
    Are you using a BPM? What are the steps in the BPM? What is the step that is taking a lot of time etc?
    Meanwhile, this tuning guide will prove handy,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad">SAP Exchange Infrastructure Tuning Guide XI 3.0</a>
    Regards
    Bhavesh

  • Page using Coolite Combos take a lot of time to load

    I´m using a WEB page that use Coolite combos (now Ext.Net controls). These combos has around 400 to 500 rows of data (aroud 50 bytes each row).
    If I use Google Chrome (last version) or Internet Explorer 8 the page is loaded inmediatly, but using Firefox 3.6.18, 4.0 or 5.0 take a lot of time, between 7 and 20 seconds to load. The load indicator (a green circle) freeze also.
    If you need, I can publish a sample page with the Coolite combos, please say me if you need it.
    Thanks in advance, Jose

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • TS3276 why does it take a lot of time to fetch my mails from yahoo server whenever i open the mail icon?

    why does it take a lot of time whenever i open mail icon from yahoo server?

    Go to Mail Preferences > General Tab > and the second line should say how often it will check for new messages

  • When i try to send a picture or a video with imessage on my iphone 4, it sends it with text messages and not imessage and it takes a lot of time ! How can i fix this ? thanks :)

    Hey guys ,
    When i try to send a picture with imessage to an another iphone it's sends it with text messages (not all the times but often) and it takes a lot of time ! Who could I fix this ?
    Thanks anyway ,
    guitarist young

    For Instagram you can try and uninstall and reinstall the app and see if that fixes it. But if not you can try and resetting all settings, Settings>General>Reset>Reset All Settings.

  • I can´t download ios 5.0.1 in my iphone 4, it takes a lot of time

    I can´t download IOS 5.0.1 in my iphone 4, it takes a lot of time. I´ve tried using itunes 10.5 in my pc

    Temporarily disable your computer's anti-virus software and any firewalls, then try again.

  • HT3576 I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in

    I accidently cleared the push notifications on my i pad and now i want to see them back.is there any way to see them,because i have to see all the application what the notifications was for.it takes a lot of time.i am isking this to save my time in future

    I found one other way to do it.  I just deleted them all out of my iTunes library. Now I can re-import them from Window's My Music file with the original artists' names intact.
    Thanks for your help, Matt!

Maybe you are looking for

  • How can I make my XSLT processor accept html code ?

    In my applications the Oracle xslt processor wont accept simple HTML tags within an XML source while transforming the source into HTML. Both processors either will throw parser exceptions or ignore the HTML code in the XML source completely, though o

  • Function Keys not working properly after recent update today.

    Sat C855 - today I downloaded the 2 recent updates & now my function keys aren't working properly. Anyone one else have that problem? What can I do?

  • Pay to Function

    Hi All, I m Fresher In B1 I have Problem About Pay To Function. I Have Entered Pay To Address In Business master Data For Vendor, But it Is Not Displayed In A/P Invoice & Outgoing Payments Windows. Pz. Give me answer .....................

  • Cost benefit analysis for using XI 3.0

    Hi, Does anyone have a cost benefit analysis document for using XI 3.0 versus developing point to point interfaces ? I need something that can easily justify and sell the idea of using XI over going down the custom path for point to point development

  • Wi-fi woes

    I'm running Lion 10.8.5 on a slightly older MacBook Pro (13-inch, Mid 2010) and have been having occasional problems with the Wifi not being to detect any wireless networks, particularly after the laptop wakes up from sleep mode. Sometimes I get an e