"FND: Diagnostics" profile option is disabled

Hi,
When I choose the system administration responsibility and click on JSP class information under Diagnostics, I get a message "FND: Diagnostics" profile option is disabled. What should I do to avoid this message and see the ouput.
Thanks.

Hi All,
Thanks much for your help. The FND:Diagnostics setting at site level did help. The other levels are disabled. I actually did not bounce apache. After enabling FND:Diagnostics at site level, logged out and logged in again and this helped.
Thanks.

Similar Messages

  • What is "FND : Diagnostics %"  profile option used for ?

    What is "FND : Diagnostics %" profile option used for ?
    How is it different from "FND : Debug%" profiles ?

    I guess my above update was misleading (Sorry for that) .. Please find below more details about (FND: Diagnostics) and (FND: Debug Log Enabled):
    Both profile options are used to configure logging, the difference between them is (FND: Debug Log Enabled) is a database profile option used to configure logging while (FND: Diagnostics) is used to configure logging to screen.
    Logging to screen provides:
    - The ability to enable logging on a per HTTP request or per HTTP session basis.
    - Dynamic configuration which does not require restarting any servers or changing any log profiles.
    - A convenient lightweight mechanism to diagnose performance issues. Each message is timestamped to the millisecond.
    If Logging to Screen is enabled, then the Java log messages generated for a particular HTTP Request-Response are buffered in memory and appended to the end of the generated HTML page.
    This feature does not affect any existing configurations of file or database logging. File or database logging continues to behave per the configured middle tier log properties and/or log profile values.
    Note that this mechanism currently provides only Java layer messages. Regular file or database logging should be used if messages from other layers (e.g., PL/SQL) are needed.
    In brief ..
    FND: Diagnostics (Self-Service) --> To see this, Login as that user and navigate to self-service, Click the Diagnostics link in the upper right corner
    - Default = “No”
    - Recommendation = “No”
    - Requires APPS password to use Examine function
    - Usually set to “Yes” during development

  • Page Erroring if Fnd:Diagnostics profile is not set...

    Hi,
    When I run the OAF page and click on Apply the page was erroring as the Fnd:Diagnostics profile was not set I could not see the reasons for error. So I enabled the Fnd:Diagnostics profile at the responsibility level and when I openeed the page and clicked on apply, now the page is not erroring out. Is there any connection between this profile with the pages erroring out? Note: I am using pageContext.writeDiagnostics to log the comments....
    Thanks,
    Srikanth

    Hi,
    I am facing the similar issue
    but in my development instance it is working fine when i click on Yes or No button in my Dialog page,
    the issue arises when i try it out in my TEST instance or in SUPPORT instance,
    how can this work fine in one instance and fail in the others.
    The code in my PFR:
    String action = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
    String parrowid = pageContext.getParameter("paramRowid");
    OAApplicationModule am=(OAApplicationModule)pageContext.getApplicationModule(webBean);
    if ("deleterecord".equals(action))
    OAViewObject vo = (OAViewObject)am.findViewObject("HyperionNPIEOVO1");
    OAException dmsg=new OAException(" Do you wish to delete the Record? Please Confirm ");
    OADialogPage dpage=new OADialogPage(OAException.CONFIRMATION,dmsg,null,"","");
    dpage.setOkButtonLabel("Yes");
    dpage.setNoButtonLabel("No");
    dpage.setOkButtonToPost(true);
    dpage.setNoButtonToPost(true);
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setPostToCallingPage(true);
    java.util.Hashtable ht=new java.util.Hashtable(1);
    ht.put("rowid",parrowid);
    ht.put("action",action);
    dpage.setFormParameters(ht);
    pageContext.redirectToDialogPage(dpage);
    if(pageContext.getParameter("DeleteYes")!=null)
    System.out.println("In Dialog");
    String s2=pageContext.getParameter("rowid");
    String s1=pageContext.getParameter("action");
    Serializable paramDel[] = {s1, s2};
    am.invokeMethod("deleteMethod",paramDel);
    plzzz provide me your valuable suggestions on this.
    Thanks in Advance,
    Afzal.
    Edited by: Afzal on Sep 20, 2011 9:28 PM

  • Page erring if FND Diagnostics profile is not set

    Hi,
    I did see the old thread, but I do not have the same code issue.  Here is the part of my CO code that seems to be erring.  This is a dialog page with Yes/No button and error occurs when the Yes button is clicked.  If is set the FND Diagnostics profile, the error goes away.  Any help is greatly appreciated.
    TIA,
    Alka
    if (pageContext.getParameter("YesButton")!=null)
          //am.invokeMethod("applyBatch");
          HashMap cpParameters = new HashMap();
          String requestId = "";
          requestId = am.invokeMethod("newBatch").toString();
          String id = ""+ requestId + "";
          cpParameters.put(requestId, id); 
          //Test modifying the followint to call DCRD_OKS_MASS_UPD_VIEW_REQ
          String url="OA.jsp?akRegionCode=FNDCPREQUESTVIEWPAGE&akRegionApplicationId=0&REQUESTID=requestId";
          pageContext.setForwardURL(url
                                   ,null //not needed as we are retaining menu context
                                   ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                   ,null //not needed as we are retaining menu context
                                   ,cpParameters //pass the hashMap that contains values for all of the parameters
                                   ,true //retain AM
                                   ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                   ,OAWebBeanConstants.IGNORE_MESSAGES);

    public class OksBatchCO extends OAControllerImpl
      public static final String RCS_ID="$Header: https://svn.datacard.com/svn/oracle_erp/dev/trunk/dcrd/java/src/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchCO.java 71353 2013-10-22 14:58:23Z haycrae $";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        //Check for back navigation
        if (!pageContext.isBackNavigationFired(false))
          TransactionUnitHelper.startTransactionUnit(pageContext, "OksBatchesTxn");
          if ((pageContext.getParameter("Ok") == null)  && pageContext.getParameter("Cancel") == null)
              super.processRequest(pageContext, webBean);
          OAApplicationModule am = pageContext.getApplicationModule(webBean);
          OksBatchesVOImpl batchvo = (OksBatchesVOImpl)am.findViewObject("OksBatchesVO1");
          OAHideShowHeaderBean lineHS = (OAHideShowHeaderBean) webBean.findChildRecursive("BatchLinesHSRN");
          OAHideShowHeaderBean contractHS = (OAHideShowHeaderBean) webBean.findChildRecursive("ContractDtlsHSRN");
          OAHideShowHeaderBean billHS = (OAHideShowHeaderBean) webBean.findChildRecursive("BillingPeriodsHSRN");
          OAMessageComponentLayoutBean batchDetailView = (OAMessageComponentLayoutBean) webBean.findChildRecursive("BatchDetailsViewRN");
          OAMessageComponentLayoutBean batchDetail = (OAMessageComponentLayoutBean) webBean.findChildRecursive("BatchDetailsRN");
          OAButtonBean applyButton = (OAButtonBean) webBean.findChildRecursive("ApplyBatchBtn");
          OAMessageComponentLayoutBean itemDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("ItemDfltsRN");
          OAMessageComponentLayoutBean acctSiteDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("AcctSiteDfltRN");
          OAMessageComponentLayoutBean acctSiteFFDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("AcctSiteFFDfltsRN");
          OAMessageComponentLayoutBean BusPurDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("BusPurDfltsRN");
          OASubTabLayoutBean s = (OASubTabLayoutBean)webBean.findChildRecursive("BatchLinesSTRN");
          OAMessageComponentLayoutBean contractDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("ContractDtlsRN");
          OAAdvancedTableBean billPeriods = (OAAdvancedTableBean) webBean.findChildRecursive("BillingPeriodsRN");
          String batchId = pageContext.getParameter("batchId");
          String viewOnly = pageContext.getParameter("viewOnly");
          System.out.println("batchId is "+batchId);
          System.out.println("viewOnly is "+viewOnly);
          if(!pageContext.isFormSubmission())
            if(batchId == null || batchId.equals(""))
              Serializable[] parameters = {null};
              am.invokeMethod("createBatch", parameters);
              lineHS.setRendered(Boolean.FALSE);
              batchDetailView.setRendered(Boolean.FALSE);
              batchDetail.setRendered(Boolean.TRUE);
              contractHS.setRendered(Boolean.FALSE);
              billHS.setRendered(Boolean.FALSE);
              applyButton.setText("Next");
            else
              Serializable[] params = {batchId};
              am.invokeMethod("createBatch", params);
              lineHS.setRendered(Boolean.TRUE);
              batchDetailView.setRendered(Boolean.TRUE);
              batchDetail.setRendered(Boolean.FALSE);
              contractHS.setRendered(Boolean.TRUE);
              billHS.setRendered(Boolean.TRUE);
              Serializable[] parameters = {batchId};
              am.invokeMethod("initDetails", parameters);
              applyButton.setText("Apply");
          OksBatchesVORowImpl row = (OksBatchesVORowImpl)batchvo.first();
          if ("Y".equals(viewOnly) && batchId != null && !batchId.equals(""))
             ClientUtil.setViewOnlyRecursive(pageContext, webBean);
             row.setAttribute("NotUpdate", Boolean.FALSE);
             //Do not show update button if the batch is not updatable
             if((row.getAttribute("BatchStatus")!=null&&!row.getAttribute("BatchStatus").equals("")&&row.getAttribute("BatchStatus").equals("CANCELLED")||row.getAttribute("BatchStatus").equals("COMPLETE")))
               row.setAttribute("Update", Boolean.FALSE);
             else
             row.setAttribute("Update", Boolean.TRUE);
          else if ("N".equals(viewOnly) && batchId != null && !batchId.equals(""))
            if(row.getAttribute("BatchStatus")!=null&&!row.getAttribute("BatchStatus").equals("")&&!row.getAttribute("BatchStatus").equals("CANCELLED") && !row.getAttribute("BatchStatus").equals("COMPLETE"))
              row.setAttribute("NotUpdate", Boolean.TRUE);
              row.setAttribute("Update", Boolean.FALSE);
              if(row.getAttribute("BatchStatus")!=null&&!row.getAttribute("BatchStatus").equals("")&&!row.getAttribute("BatchStatus").equals("NEW"))
                if(row.getIbProcCount()!=null && !row.getIbProcCount().equals(new Number(0)))
                  ClientUtil.setViewOnlyRecursive(pageContext, itemDflt);
                if(row.getWrtyProcCount()!=null && !row.getWrtyProcCount().equals(new Number(0)))
                  OAMessageLovInputBean contractNumber = (OAMessageLovInputBean)webBean.findChildRecursive("ContractNumber");
                  contractNumber.setReadOnly(Boolean.TRUE);
                if((row.getOksProcCount()!=null && !row.getOksProcCount().equals(new Number(0))) || (row.getCompleteCount()!=null && !row.getCompleteCount().equals(new Number(0))))
                  ClientUtil.setViewOnlyRecursive(pageContext, contractDflt);
                  ClientUtil.setViewOnlyRecursive(pageContext, billPeriods);
                  row.setAttribute("NotUpdate", Boolean.FALSE);
                  row.setAttribute("Update", Boolean.FALSE);
                ClientUtil.setViewOnlyRecursive(pageContext, acctSiteDflt);
                ClientUtil.setViewOnlyRecursive(pageContext, acctSiteFFDflt);
                ClientUtil.setViewOnlyRecursive(pageContext, BusPurDflt);
            else
              row.setAttribute("NotUpdate", Boolean.TRUE);
              row.setAttribute("Update", Boolean.FALSE);
          else
            row.setAttribute("NotUpdate", Boolean.TRUE);
            row.setAttribute("Update", Boolean.FALSE);
          //Set Approved as default open tab
          if( !s.isSubTabClicked(pageContext))
            s.setSelectedIndex( pageContext, 0);
            Serializable[] parameters1 = {"SITES"};
            am.invokeMethod("tabDefault",parameters1);
          System.out.println("viewOnly="+viewOnly);
          OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)webBean.findChildRecursive("SourceFileName");
          // set file name display
          OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "SourceFileName");
          uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
          if (batchId != null)
            String countS = "";
            String countI = "";
            String countW = "";
            String countO = "";
            String countC = "";
            String countCc = "";
            OAViewObject linevo = (OAViewObject)am.findViewObject("OksBatchesVO1");
            if(!linevo.isExecuted())
              linevo.executeQuery();
            countS = linevo.first().getAttribute("SiteCount").toString();
            countI = linevo.first().getAttribute("IbCount").toString();
            countW = linevo.first().getAttribute("WrtyCount").toString();
            countO = linevo.first().getAttribute("OksCount").toString();
            countCc = linevo.first().getAttribute("CancelCount").toString();
            countC = linevo.first().getAttribute("CompleteCount").toString();
            OALinkBean siteLink = (OALinkBean)webBean.findChildRecursive("Sites");
            siteLink.setText("Sites ("+countS+")");
            OALinkBean ibLink = (OALinkBean)webBean.findChildRecursive("Instances");
            ibLink.setText("Instances ("+countI+")");
            OALinkBean wrtyLink = (OALinkBean)webBean.findChildRecursive("Warranties");
            wrtyLink.setText("Warranties ("+countW+")");
            OALinkBean oksLink = (OALinkBean)webBean.findChildRecursive("Contracts");
            oksLink.setText("Contracts ("+countO+")");
            OALinkBean ccLink = (OALinkBean)webBean.findChildRecursive("Cancelled");
            ccLink.setText("Cancelled ("+countCc+")");
            OALinkBean cLink = (OALinkBean)webBean.findChildRecursive("Complete");
            cLink.setText("Complete ("+countC+")");
            //Message after Apply button is clicked
            if(pageContext.getParameter("apply")!=null && pageContext.getParameter("apply").equals("Y"))
              OksBillingPeriodsVOImpl billvo = (OksBillingPeriodsVOImpl)am.findViewObject("OksBillingPeriodsVO2");
              OksBillingPeriodsVORowImpl billrow = (OksBillingPeriodsVORowImpl)billvo.last();
              if(billrow!=null)
                if(billrow.getEndDate()!=null && row.getEndDate()!=null && billrow.getEndDate().dateValue().getTime()!=row.getEndDate().dateValue().getTime())
                  OAException confirmMessage = new OAException("Billing Schedule end date does not match Contract end date.  Please make sure to fix the Billing Schedule.",OAException.WARNING);
                  pageContext.putDialogMessage(confirmMessage);
            OAAdvancedTableBean oatb = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN");
            UINode uinode = oatb.getTableActions();
            ((OAWebBean)uinode).setRendered(true);
            OAAdvancedTableBean oatb1 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN1");
            UINode uinode1 = oatb1.getTableActions();
            ((OAWebBean)uinode1).setRendered(true);
            OAAdvancedTableBean oatb2 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN2");
            UINode uinode2 = oatb2.getTableActions();
            ((OAWebBean)uinode2).setRendered(true);
            OAAdvancedTableBean oatb3 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN3");
            UINode uinode3 = oatb3.getTableActions();
            ((OAWebBean)uinode3).setRendered(true);
            OAAdvancedTableBean oatb4 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN4");
            UINode uinode4 = oatb4.getTableActions();
            ((OAWebBean)uinode4).setRendered(true);
            OAAdvancedTableBean oatb5 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN5");
            UINode uinode5 = oatb5.getTableActions();
            ((OAWebBean)uinode5).setRendered(true);
        else
          if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "OksBatchesTxn",    true))
            OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
            pageContext.redirectToDialogPage(dialogPage);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        OksBatchesVOImpl batchvo = (OksBatchesVOImpl)am.findViewObject("OksBatchesVO1");
        Row batchrow = batchvo.getCurrentRow();
        String batchId = pageContext.getParameter("batchId");
        System.out.println();
        if (pageContext.getParameter(EVENT_PARAM).equals("applyBatch"))
          if(batchId==null||batchId.equals(""))
            //Check if file is a .csv
            String fileName = batchrow.getAttribute("SourceFileName").toString();
            System.out.println("Source File Name is "+fileName);
            if(!fileName.endsWith(".csv"))
              throw new OAException("File is not of type .csv.  Please upload the correct file.", OAException.ERROR);
            String batchNumber = batchrow.getAttribute("BatchNumber").toString();
            OAException confirmMessage = new OAException("The program Datacard Load Source File will be submitted for Batch Number "+batchNumber);
            OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
                                                       confirmMessage,
                                                       null,
            String yes = "Ok";//pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
            String no = "Cancel";//pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
            dialogPage.setOkButtonItemName("YesButton");
            dialogPage.setNoButtonItemName("NoButton");
            dialogPage.setOkButtonToPost(true);
            dialogPage.setNoButtonToPost(true);
            dialogPage.setPostToCallingPage(true);
            dialogPage.setOkButtonLabel(yes);
            dialogPage.setNoButtonLabel(no);
            pageContext.redirectToDialogPage(dialogPage);
          else
            am.invokeMethod("applyBatch");
            pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=Y&apply=Y"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                            ,null //not needed as we are retaining menu context
                                            ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                            ,null //not needed as we are retaining menu context
                                            ,null //pass the hashMap that contains values for all of the parameters
                                            ,true //retain AM
                                            ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                            ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter(EVENT_PARAM).equals("cancelBatch"))
          //String debugMode="Y";
          am.invokeMethod("cancel");
          if(batchId!=null && !batchId.equals(""))
            pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=Y"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                      ,null //not needed as we are retaining menu context
                                      ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                      ,null //not needed as we are retaining menu context
                                      ,null //pass the hashMap that contains values for all of the parameters
                                      ,true //retain AM
                                      ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                      ,OAWebBeanConstants.IGNORE_MESSAGES);
          else
            pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchesSrchPG"
                                      ,null //not needed as we are retaining menu context
                                      ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                      ,null //not needed as we are retaining menu context
                                      ,null //pass the hashMap that contains values for all of the parameters
                                      ,true //retain AM
                                      ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                      ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter("YesButton")!=null)
          //am.invokeMethod("applyBatch");
          HashMap cpParameters = new HashMap();
          String requestId = "";
          requestId = am.invokeMethod("newBatch").toString();
          String id = ""+ requestId + "";
          cpParameters.put(requestId, id); 
          //Test modifying the followint to call DCRD_OKS_MASS_UPD_VIEW_REQ
          String url="OA.jsp?akRegionCode=FNDCPREQUESTVIEWPAGE&akRegionApplicationId=0&REQUESTID=requestId";
          pageContext.setForwardURL(url
                                   ,null //not needed as we are retaining menu context
                                   ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                   ,null //not needed as we are retaining menu context
                                   ,cpParameters //pass the hashMap that contains values for all of the parameters
                                   ,true //retain AM
                                   ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                   ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter("NoButton")!=null)
          am.invokeMethod("cancelBatch");
          pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchesSrchPG"
                                          ,null //not needed as we are retaining menu context
                                          ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                          ,null //not needed as we are retaining menu context
                                          ,null //pass the hashMap that contains values for all of the parameters
                                          ,true //retain AM
                                          ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                          ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.isLovEvent())
          String lovInputSourceId = pageContext.getLovInputSourceId();
          if ("AccountNumber".equals(lovInputSourceId))
            Serializable[] params = {"Account"};
            am.invokeMethod("defaultValuesFromTemplate", params);
          else if ("Period".equals(lovInputSourceId))
            String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
            Row currentRow = am.findRowByRef(rowReference);
            if(currentRow!=null)
              String seq = currentRow.getAttribute("SeqNum").toString();
              System.out.println("Period seq is "+seq);
              String item = "UOM";
              Serializable[] parameters = {item, seq};
              am.invokeMethod("validateUOM", parameters);
          else if("TemplateName".equals(lovInputSourceId))
            Serializable[] params = {"Template"};
            am.invokeMethod("defaultValuesFromTemplate", params);
        else if ("updateBatch".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancel");
          pageContext.setForwardURL(
                                "OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=N"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                , null //not needed as we are retaining menu context
                                ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                ,null //not needed as we are retaining menu context
                                ,null //pass the hashMap that contains values for all of the parameters
                                ,true //retain AM
                                ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
                                ,OAWebBeanConstants.IGNORE_MESSAGES);       
        else if ("tabSites".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"SITES"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabInstances".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"INSTANCES"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabWarranties".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"WRTYS"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabContracts".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"CONTRACTS"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabCancelled".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"CANCELLED"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabComplete".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"COMPLETE"};
          am.invokeMethod("tabDefault",parameters);
        else if ("cancelNewLine".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancelLine");
          am.invokeMethod("post");
          Serializable[] parameters = {"NEW"};
          am.invokeMethod("tabDefault",parameters);
        else if ("cancelErrorLine".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancelLine");
          am.invokeMethod("post");
          Serializable[] parameters = {"ERROR"};
          am.invokeMethod("tabDefault",parameters);
        else if ("cancelProcessLine".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancelLine");
          am.invokeMethod("post");
          Serializable[] parameters = {"INPROCESS"};
          am.invokeMethod("tabDefault",parameters);
        else if ("addRows".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("In addRow");
          if(batchrow.getAttribute("ContractId")!=null)
            am.invokeMethod("addRow");
          else
            throw new OAException("Please enter a contract number before creating billing schedule.", OAException.ERROR);
        else if ("deletePeriod".equals(pageContext.getParameter(EVENT_PARAM)))
          Boolean notlast = Boolean.FALSE;
          OksBillingPeriodsVOImpl billvo = (OksBillingPeriodsVOImpl)am.findViewObject("OksBillingPeriodsVO2");
          Row rows[] = billvo.getAllRowsInRange();
          //System.out.println("total rows = "+billvo.getFetchedRowCount());
          for(int i=0; i<rows.length; i++)
            OksBillingPeriodsVORowImpl rowi = (OksBillingPeriodsVORowImpl)rows[i];
            System.out.println("SeqNum = "+rowi.getSeqNum().toString());
            if(!rowi.getSeqNum().equals(billvo.getFetchedRowCount()) && rowi.getPeriodMultiSelect()!=null&&rowi.getPeriodMultiSelect().equals("Y"))
              notlast = Boolean.TRUE;
          if(notlast)
            OAException confirmMessage = new OAException("Since deleting one of these sequences will cause a break in billing periods, all of the subsequent sequences will be deleted.  To proceed please click Ok");
            OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
                                                       confirmMessage,
                                                       null,
            String yes = "Ok";//pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
            String no = "Cancel";//pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
            dialogPage.setOkButtonItemName("YesDelButton");
            dialogPage.setNoButtonItemName("NoDelButton");
            dialogPage.setOkButtonToPost(true);
            dialogPage.setNoButtonToPost(true);
            dialogPage.setPostToCallingPage(true);
            dialogPage.setOkButtonLabel(yes);
            dialogPage.setNoButtonLabel(no);
            pageContext.redirectToDialogPage(dialogPage);
          else
            Serializable[] params = {"Last"};
            am.invokeMethod("deletePeriod", params);
        else if (pageContext.getParameter("YesDelButton")!=null)
          Serializable[] params = {"NotLast"};
          am.invokeMethod("deletePeriod", params);
          pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=N"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                    , null //not needed as we are retaining menu context
                                    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                    ,null //not needed as we are retaining menu context
                                    ,null //pass the hashMap that contains values for all of the parameters
                                    ,true //retain AM
                                    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
                                    ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter("NoDelButton")!=null)
          pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=N"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                    , null //not needed as we are retaining menu context
                                    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                    ,null //not needed as we are retaining menu context
                                    ,null //pass the hashMap that contains values for all of the parameters
                                    ,true //retain AM
                                    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
                                    ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if ("levelPeriods".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("Passed sequence is "+pageContext.getParameter("pSeqNum"));
          String item = "LEVEL_PERIODS";
          String seq = pageContext.getParameter("pSeqNum");
          Serializable[] parameters = {item, seq};
          am.invokeMethod("validateUOM", parameters);
        else if ("uomperperiod".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("Passed sequence is "+pageContext.getParameter("pSeqNum"));
          String item = "UOM_PER_PERIOD";
          String seq = pageContext.getParameter("pSeqNum");
          Serializable[] parameters = {item, seq};
          am.invokeMethod("validateUOM", parameters);
        else if ("enddate".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("Passed sequence is "+pageContext.getParameter("pSeqNum"));
          String item = "END_DATE";
          String seq = pageContext.getParameter("pSeqNum");
          Serializable[] parameters = {item, seq};
          am.invokeMethod("validateEndDate", parameters);

  • Disable profile option updation at user level

    I want to disable the profile option HR: Security Profile or for that matter any other profile option at user level. The user should be able to see the value set by the system administrator (Field should be grayed out) and user should not be able to update it.
    How to do it??

    Try a personalization combined with custom PLSQL, like this:
    1) Acces System Profiles
    2) Help->Diagnostics->Custom Code->Personalize
    3) In the newly displayed Form Personalization form, create a line with a description like this: Prevent modification of USER_VISIBLE_VALUE
    4) In the Conditions tab, set Trigger Event = WHEN-NEW-ITEM-INSTANCE
    5) Set Trigger Object = PROFILE_VALUES.USER_VISIBLE_VALUE
    6) In the Condition text area, enter:
    apps.xxror_test_sysprofile(:PROFILE_VALUES.USER_PROFILE_OPTION_NAME,'USER')=1
    7) Set Processing Mode to Both
    8) Switch to the Actions tab and create two actions:
    first:
    type = property
    description = Don't update
    Language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=UPDATE_ALLOWED
    value=false
    second:
    type=property
    description=Don't enter
    language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=ALTERABLE_PLUS
    value=false
    9) Repeat steps 3-8 if desired for other levels, such as:
    Prevent modification of SITE_VISIBLE_VALUE
    Prevent modification of APPL_VISIBLE_VALUE
    Prevent modification of RESP_VISIBLE_VALUE
    Prevent modification of SERVER_VISIBLE_VALUE
    Prevent modification of ORG_VISIBLE_VALUE
    paying attention to update the corresponding names for xxx_VISIBLE_VALUE.
    10) Create the following PLSQL function:
    CREATE OR REPLACE function xxror_test_sysprofile (
    prof_opt_name in varchar2,
    lvl in varchar2
    return number
    is
    v_ret number;
    s_prof varchar2(1024);
    s_uname varchar2(100);
    s_lvl varchar2(10);
    begin
    -- returns 0 if the user "uname" must be granted access the profile named "prof_opt_name" at the "lvl" level
    -- returns 1 if the user "uname" must be forbidden to access such a profile at such a level.
    -- important assumption: the "lvl" parameter may have only one of the following values:'SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG'
    -- or else this function will return 1, thus forbidding the access
    s_uname:=substr(upper(trim(nvl(fnd_profile.value('USERNAME'),''))),1,100);
    if s_uname in ('MY_ADMIN_1','MY_ADMIN_2','SYSADMIN') then
    v_ret:=0; -- no restrictions
    else
         if s_uname in ('MY_POWERUSER_1','MY_POWERUSER_2') then
         -- restrict to only the below mentioned profiles
         s_prof:=substr(upper(trim(nvl(prof_opt_name,''))),1,1024);
              s_lvl:=substr(upper(trim(nvl(lvl,''))),1,10);
              if
              (s_prof like '%WHATEVER%')
              then
                   if s_lvl in ('SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG') then
                        v_ret:=0; -- level acceptable for these users on these profiles
                   else
                        v_ret:=1; -- unknown level, so reject
                   end if;
              else
                   -- these users may not access these profiles, so reject
                   v_ret:=1;
              end if;
         else
              if s_lvl = 'SITE' then
              -- no way any other user than those above may modify site-level profiles
              v_ret:=1;
              else
                   -- any other user than those above may modify lower-level profiles, but
                   -- for now reject all
                   v_ret:=1;
              end if;
         end if;
    end if;
    return v_ret;
    end;
    Pls be aware that testing first on a test instance is always advisable.

  • ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit

    Hi All,
    I have a issue major issue while running Pages from Jdeveloper. The pages are erroring out.
    I guess it has something to do with Profile Options- MO: Operating Unit.
    Its very urgent.Can anybody help.
    Below is the ERROR STACK related to the same
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = AppsConnectionManager.appsInitialize(int,int,int,int,Connection):23120,-1,-1,0,oracle.jdbc.driver.OracleConnection@9aba32; REASON = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
    ; ERRNO = 20001;
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:988)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2650)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2584)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2564)
         at oracle.apps.fnd.common.WebAppsContext.createTransaction(WebAppsContext.java:2610)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:504)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:525)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-20001: FND-ORG_ID PROFILE CANNOT READ: N, OPTION, MO: Operating Unit
    ORA-06512: at "APPS.FND_MESSAGE", line 498
    ORA-06512: at "APPS.FND_CLIENT_INFO", line 141
    ORA-06512: at "APPS.FND_GLOBAL", line 1977
    ORA-06512: at "APPS.FND_GLOBAL", line 2171
    ORA-06512: at "APPS.FND_GLOBAL", line 2313
    ORA-06512: at "APPS.FND_GLOBAL", line 2251
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2650)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2584)
         at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2564)
         at oracle.apps.fnd.common.WebAppsContext.createTransaction(WebAppsContext.java:2610)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:504)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Thanks,
    Sombit.

    Hi,
    Can you please let me know where we can set the custom property MULTIORG_ENABLED in AM?Please see (Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]) -- Search for "MULTIORG_ENABLED".
    Thanks,
    Hussein

  • Does FND:Developer Mode Profile Option changes requires apache bounce?

    Hi All,
    Am getting the following warning message in one of my page. Observed that, the profile option value FND: Developer Mode in the instance is Yes. I have changed it to NO since the recommended settings of this profile option is NO as Oracle stated in the Developer Guide. But, still am getting the warning message. Does this change require apache bounce or am I missing anything to get rid of error?
    +++
    Query has exceeded 500 rows. Potentially more rows exist. please restrict your query
    +++
    Note: I have checked all the VO in this page, but, none of the query behaves returns more than 500 rows. None of the VOs executed blindly.
    Regards,
    Soorya

    Saurabh,
    I got a clue on this issue. Not sure, will it be helpful.
    User clicks on the base page link, which takes him to details page. When i redirect the user from base page to details page, am setting the retainAM value as Y as one of the parameter of the link url.
    Am getting the warning message when the value of retainAM is Y. If it is N, it is not throwing the warning message. Any idea, what could be the reason?.
    I feel, it might execute the VO's in the AM. Is my guess make sense?
    Regards, Soorya

  • Trace is still getting generated even after disabling the profile option Initialization SQL Statement - Custom

    Hi All,
    we have a problem with profile option "Initialization SQL Statement - Custom". we have set this at user level. after some time, we have cleared the profile option value for this user.
    But we can still see the generated trace files are getting updated. we did checked this trc files from path returned from below query.
    select name, value
    from   v$parameter
    where  name like 'user_dump_dest';
    Please help us on how to resolve this issue. we are using Oracle Apps R 12.1.2 version.
    Thanks in advance
    Raghava

    Before logging out we suspect that he closed the browser instead of logout link.
    What if you make the user logout, can you reproduce the issue then?
    We have verified the profile options for this user and found that value is cleared for profile Initialization SQL Statement - Custom.
    How do you know that the files were generated for this user and because of this profile option? Have you verified profile options for all users at all level?
    Thanks,
    Hussein

  • Questions on FND Diagnostics in 11.5.10 Base version

    Hi,
    We have 2 instances. One is 11.5.10 base version and the other is 11.5.10 CU3.
    Doing, Diagnostics > Show Log on Screen > Statement (1) , is fine in CU3.
    However, when I do that in 11.5.10 BASE I am not getting the debug messages like,
    oadbtransactionimpl.writeDiagnostics(this, "start validate", 2);
    I get the following which proves logging is on
    "Warning - Low-level logging is currently enabled. Your application will not perform as well while Low-level logging is on."
    I am seeing some logging information at the button pages.
    But I don't see anything under
    Debug LogHost: ga005hds.unix.us.ups.com:8192:16920: Thread[Thread-19465,10,main] Aug 24, 2006 12:19:14 PM EDT
    [Elapsed Millisec]:Level:[Module]:Message
    Do I have to set a profile option or something?
    Thanks
    Sandeep

    It's the MDS DB connection problem. 11.5.10 failed to get the uix definitions from MDS to display the HOME PAGE.
    Check $ORACLE_HOME/iAS/network/admin/VIS10_s859346/tnsnames.ora
    Use OAM -> Site Map -> AutoConfig (System Configuration Section) -> System (Tab) -> System
    to change the DB connection

  • Dynamical change read only property of  columns based on a profile option

    Hi,
    We are attempting to change a Oracle iProcurement(ShoppingCartPG) which has certain readonly columns by default.
    However, we need to make these columns updateable based on a responsibility level profile option. The code goes something like this.
    if readonly_profile_option = "TRUE"
    {make columnA property = readonly}
    else if readonly_profile_option = "FALSE"
    {make columnA property = updateable}
    I read the guide about switchers and it seems confusing (to me). So if someone can provide an example with some pseudocode that will be helpful.
    Also, can I dynamically add an LOV to column A if readonly is false? Of course the LOV should be disabled if readonly.
    Thanks a lot

    Hi,
    Thanks for the feedback.
    Tapash,
    Switchers definitely don't make sense.
    Raffy,
    Didn't know it was that simple. I always thought that the controller fires--> then the page renders --> then the VO attributes get poulated. Basing my understanding on this flow, I though that the bean properties can only be set in controllers and not in VOs(via SPEL). I'll try it tomorrow.
    Aprreciate your comments on the following.
    Our requirement is to make an Oracle seeded field(SupplierName in iProcurement) updateable and with an LOV . Oracle has seeded it as ReadOnly.
    I have two options.
    1. If I change the readonly property in jedeveloper(I cannot access it via personalization) and add SPEL that would be upgrade 'unsafe' customizing - I think.
    2. So I thought I'll extend the controller, substitute it and use
    messageLOVInputText SupplierNameBean=webbean.findChildRecursive("SupplierName");
    if{profle=not_read_only)
    {SupplierNameBean.setReadOnly(false)};
    else
    {SupplierNameBean.setReadOnly(true)};
    This is more upgrade safe. I have talked to the iProc development team and they are fine with it.

  • Item Validation Organization is not Appearing in LOV in profile options

    Dear All,
    Item Validation Organization is not Appearing in LOV of the Profile options.
    OE: Item Validation Organization
    QP : Item Validation Organization
    Regards,
    John

    Hi,
    Enable profile 'FND: Personalization Seeding Mode', clear the cache and check if this solves your problem.
    --Sushant                                                                                                                                                                                                                                                           

  • Setting 'MO: Security Profile or MO: Operating Unit profile option' - Urgen

    All,
    Version: 12.0.4
    Module: Purchasing
    I'm trying to invoke the PO_CHANGE_API1_S.record_acceptance to send the Advance shipment Notice doc to Oracle R12. On invocation I'm getting the following error
    ORA-20001: APP-FND-02902: Multi-Org profile option is required+
    set either MO: Security Profile or MO: Operating Unit profile option+
    1. How do I set this profile option?
    2. Is it required to set both security and OU profile option?
    3. At what level(site,appln,resp,user,ou,...) should I set the profile?
    Please help me.
    Thanks,
    Sen

    Hi,
    You can set those profile options from System Administrator responsibility > Profile > System.
    Please see these docs for details.
    Note: 602141.1 - R12 - Error ORA-20001, APP-FND-02902 Accessing Profile Classes Form With Multi-Org Access Control (MOAC) Enabled
    Note: 338332.1 - App-Fnd:02902: Multi-Org Profile Option Is Required. Ora-20001
    Note: 393560.1 - How To Prevent the Profile Option MO: Operating Unit being set to NULL at Site Level?
    Regards,
    Hussein

  • Profile options at USER level in EBS r12

    Hi Gurus
    I'm an new to Oracle EBS can some one help with this,
    1. Turn on debugging using the following profile options at USER level :
    FND: Debug Log Enabled : Yes
    FND: Debug Log Level : Statement
    2. Run the Create Accounting Program
    3. Derive debug message using the following query and upload in excel format :
    SELECT substr(module,1,70), MESSAGE_TEXT, timestamp, log_sequence
    FROM fnd_log_messages msg, fnd_log_transaction_context tcon
    WHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_ID
    AND tcon.TRANSACTION_ID = <’Accounting program ‘ request ID>
    ORDER BY LOG_SEQUENCE
    4. Upload the LOG and OUTPUT files for the :
    - Create Accounting
    - Accounting Program
    Will be waiting for you reply.
    Best Regards
    Babu.

    Hi Babu,
    FND: Debug Log Enabled : Yes
    FND: Debug Log Level : Statement
    - Navigate to sysadmin responsibility > profile > system
    - Find for the respective profiles eg: FND: Debug Log Enabled
    - Set your desired value.
    2. Run the Create Accounting Program
    Run the create accounting conncurrnet program View > Request > New from the respective module
    SELECT substr(module,1,70), MESSAGE_TEXT, timestamp, log_sequence
    FROM fnd_log_messages msg, fnd_log_transaction_context tcon
    WHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_ID
    AND tcon.TRANSACTION_ID = <’Accounting program ‘ request ID>
    ORDER BY LOG_SEQUENCE
    Run this query from backend, and provide the Concurrent ID of the Create accounting program (replace this at <’Accounting program ‘ request ID>)
    - Create Accounting
    - Accounting Program
    Upload the the logfile and output files of the respective program and the output of the above query.
    I believe this is an action plan from the SR, you may also get the assistance from the SR itself and they will help you. Anyways let us know if you need any assistance
    Thanks &
    Best Regards

  • Profile option update at responsibility level from backend

    Hi,
    I referred few online and oracle support document to update the profile option from backend. I was able to change the profile option at site level, but when I am trying to update the profile at responsibility ( or any level such as user etc), I am unable to do so. Though the script says that profile option has been updated, it doesn't show up when I check on frontend.
    EBS 11.5.10.2
    DB 11.2.0.1
    The script which I use to change profile at site level is this:-
    DECLARE
    stat boolean;
    BEGIN
    dbms_output.disable;
    dbms_output.enable(100000);
    stat := FND_PROFILE.SAVE('SITENAME', 'ABDVLP', 'SITE');
    IF stat THEN
    dbms_output.put_line( 'Stat = TRUE - profile updated' );
    ELSE
    dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
    END IF;
    commit;
    END;
    I tweaked the above script to include the responsibility level change, but its not changing. Both the below scripts are not making any changes.
    SCRIPT - 1
    DECLARE
    stat boolean;
    BEGIN
    dbms_output.disable;
    dbms_output.enable(100000);
    stat := FND_PROFILE.SAVE('ICX_DISCOVERER_LAUNCHER', 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]', 'RESP',51889,671);
    IF stat THEN
    dbms_output.put_line( 'Stat = TRUE - profile updated' );
    ELSE
    dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
    END IF;
    commit;
    END;
    Note: I found the responsibility id from the below query
    SELECT responsibility_id  ,application_id
         FROM fnd_responsibility_tl
        WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
    ===============================================================================
    SCRIPT-2
    DECLARE
       stat           BOOLEAN;
       resp_id        NUMBER;
       appl_id        NUMBER;
       resp_appl_id   NUMBER;
    BEGIN
       DBMS_OUTPUT.DISABLE;
       DBMS_OUTPUT.ENABLE (100000);
       -- Set the Profile Option value at responsibility level
       SELECT responsibility_id, application_id
         INTO resp_id, resp_appl_id
         FROM fnd_responsibility_tl
        WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
       stat :=
          fnd_profile.SAVE
             (x_name                        => 'ICX_DISCOVERER_LAUNCHER',   -- Profile name you are setting
              x_value                       => 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]',   -- Profile value you are setting
              x_level_name                  => 'RESP',   -- Level that you're setting at: 'SITE','APPL','RESP','USER', etc.
              x_level_value                 => resp_id,   -- Default NULL Level value that you are setting at, e.g. user id for 'USER' level. X_LEVEL_VALUE is not used at site level.
              x_level_value_app_id          => resp_appl_id,   -- Default NULL. Used for 'RESP' and 'SERVRESP' level; Resp Application_Id.
              x_level_value2                => NULL   -- 2nd Level value that you are setting at.  This is for the 'SERVRESP' hierarchy.
       IF stat
       THEN
          DBMS_OUTPUT.put_line ('Stat = TRUE - profile updated');
       ELSE
          DBMS_OUTPUT.put_line ('Stat = FALSE - profile NOT updated');
       END IF;
       COMMIT;
    END;

    I tried to change at SERV level and still the profile never gets updated. Kindly help.

  • Profile option

    Hi Everyone,
    Versions :
    Database :11.0.1.7
    Applications : R12.1.3
    I want to change the below profile option at the User level(shankar) in the backend applications. Please help me.
    Fnd: Debug log enabled to NO from YES
    Fnd: Debug log level to Statement
    Fnd: Debug log module to %
    Thanks,
    shubha

    Hi;
    Please review:
    Reg:apps profile
    How to list E-Business Suite Profile Option values for all levels using SQLPlus [ID 201945.1]
    How to Search all of the Profile Options for a Specific Value [ID 282382.1]
    How To Find All Users With A Particular Profile Option Set? [ID 367926.1}
    How to Change Profile Option Value Without Forms? [ID 943710.1]
    profile options
    Regard
    Helios

Maybe you are looking for

  • Machine will not boot into Windows!!

    I formatted a 32 GB partition in NTFS, then successfully installed Windows XP Pro along with Leopard Bootcamp drivers. All was well. And then I tried to restart. I held the "Option" key until the Mac OS and Windows drives showed. Selected the Windows

  • Positioning objects in a JTabbedPane

    Is the any way to specify the positioning of an object in a JTabbedPane? I am placing JPanels which contain JLabels and JTextFields into tabs of a JTabbedPane. All the panels are centered in the tab panes. This is annoying because one panel contains

  • How to maintain the data while popping a screen?

    Hi all, I am having a screen in which I am using the set data() method and populating the values. After this I am pushing a new screen. So when I come back to the original screen using popview(), I am not able to maintain the data on that screen as i

  • TWO QUESTION,PLEASE HELP!!!,THANKS

    I had set up the stream replication environments, which are from OLTP A to Warehouse C and from OLTP B to Warehouse C respectively, A--->C B--->C and I build two APPLY PROCESSES TO apply changes origins from two source A and B, the operating system i

  • WoW, wine and the x3100

    Just made the switch back to linux, due to a job I may be getting. Major issue's with WoW though. So I'm pretty much going to post a screen shot. I've tried many different WTF configs, and the default still give me this problem so I'm not going to po