New function to go to error line in query ??

Hello.
Can you tell me the function to find and go to error line automatically
in Old SQL Developer(1.5.X) or New version ?
I am really expecting the function in the SQL Developer
because i have to spend long time to find the error position
in the long line of query..
Please let me know.
Edited by: user8648962 on 2009. 10. 20 오전 4:12

Hi <please supply your name>,
Just to clarify the problem.
When using the SQL Worksheet , when you run a large query or script.
If there are errors listed in the Script Runner result window. You would like them made hyper-links, so that when clicked they bring you to the correct line in the Worksheet ?
If this is the case you can add a request here at
http://htmldb.oracle.com/pls/otn/f?p=42626:46:::NO:::
At the moment we report the line number. The Worksheet line number can be viewed by rightclicking the Worksheet left handside gutter "Toggle Line Numbers"
Regards,
Dermot
SQL Developer Team.

Similar Messages

  • Error adding new function in order template

    Hi,
    When i am trying to add a new function to order Template under /contolData/Functions/ form data dictonary
    I am getting error :
    Element with same name exist.The following nodes can not be added to the order.
    (no namespace):/ControlData/Functions/MyNewFunction
    (no namespace):/ControlData/Functions/MyNewFunction/componentKey
    Thanks
    Harman

    Hi Harman,
    You might need to be more specific before I can help you. What have you done, and which step you run into the error? I supopse you have created a new "function" Order Component, and created the required Control Data nodes in Data Dictionary (what have you added?), right? So, when you go into the Order Template tab of the new Order Component (which would be empty since it was newly created), and you try to "select from Dictionary" the corresponding ControlData for the function (e.g. /ControlData/Functions/MyNewFunction), that such an error occurs?
    Have you assigned a process for this Order Component? Studio does not allow adding control data to it unless a process is assigned.
    Btw, you should define a namespace for your Order Components (and other orchestration entities). The OSM server uses namespace to locate these entities among cartridges.
    Cheers,
    Daniel Ho
    Product Management -- OSM

  • Error with new function u00E9lement is not in use

    I designed quickly a new function in the backend with no input and only output which give me the url off the bsp server. (since there is nobody in the house who can make the iview bsp template)
    I select the function from find data and put it in the model which gives the output to a store. when I deploy I get an error 1.1
    element 'z retrieve http server' is not in use
    anybody any clue what to do ??
    kind regards
    arthur de smidt

    thanks for the help but I already find out what happenend. I had linked my function direct to a store but apperantly there is no trigger for the function to execute since it is on it's own without input needed. apparently I have to trigger it to implement it in a flow or something like that
    kind regards
    arthur

  • Non riesco a ricevere acquisti fatti su itunes, mi da questo errore :erreu : you have an error in your sql syntax; checkthe manual that corresponds to your mysql server version for the right syntax to use near from news order by id desc at line. cosa devo

    non riesco a ricevere acquisti fatti su itunes, mi da questo errore :erreu : you have an error in your sql syntax; checkthe manual that corresponds to your mysql server version for the right syntax to use near from news order by id desc at line. cosa devo fare?  grazie

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How to do ALV Popup in a new Function module

    Hi experts,
    This is the Client Requirement.
    " Flow Diagram/Pseudo Code:
    Attach a data flow diagram. Write brief pseudo code in plain English.  Be sure to include all access data plans.
    -     FM interface:
    -     Import: company code/ vendor#.
    -     Export: default_line,  type y4ap_t11
    -     Exception: NO_DATA or CANCELED
    In the FM code, past current z_venddefault code, except for write statements. After internal table is generated, show it in ALV popup. On ALV, add a OK/Cancel button. On OK, ensure that one line is selected (otherwise throw warning), and then fill export structure with that line’s G/L account, cost Center, and internal order# fields. Then close the ALV and end FM. For Cancel, just close the ALV end the FM.
    For an example of how to build such popup ALVs, take a look at FM Y4AP_SELECT_APPROVER.
    Unit Test Plan:
    Just use co.code 3000/vend# 1000 to test this FM."
    here i need to do is there is a simple report program by displaying in list.
    But now i need to do is , i have to put that code in a new function module and there i need to display it in alv grid.
    How to do this can anybody help me.
    It's a urgent i need to submit today to client.
    Thank you
    Basu

    Hi,
    Check this.
    select several rows in alv
    It will be helpful.
    Regards,
    J.Jayanthi

  • Calling New Function Module from JAVA ISA b2b

    I need to call a new function module which accepts some parameters as input and
    returns some result parameters back as output.
    These returned value needs to be displayed on the JSP pages of ISA B2B applications.
    Can someone please guide me and provide code snippet on how to do this?
    Thanks in advance.
    Points will be awarded for all relevant and helpful answers.

    Stride,
    I did this on CRM ISA 4.0...  I used the dev and extension guide as a basis - I think the ISA 5.0 guide has the examples and tutorials in a separate document that can also be downloaded from service.sap.com.
    Here’s some info on how to do it although I can't guarantee this is the full solution or that it will work the same for ISA 5.0, and I will probably forget a lot of stuff as its been a few years since I did it!  I also can’t guarantee it is the correct way to do it – but it worked!  Basically, we built a link into the order overview page to display url’s to order tracking websites using an RFC on the backend CRM system.  Hope it helps anyway.
    1. Create RFC enabled function module in backend.
    2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
    [code] <backendobject
         xmlns:isa="com.sapmarkets.isa.core.config"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <configs>
              <!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
              <xi:include
                   href="$
    Template for backend object in customer projects
    Concrete implementation of a backend object
    This implemenation demonstrates how a backend object
    is used to communicate with the CRM system
    @see com.ao.isa.backend.boi.Z_AOFuncBackend#getOrderDeliveryTrackingData(java.lang.String)
    Interface used to communicate with a backend object
    The purpose of this interface is to hide backend implementation details
    from the business objects
    Returns a vector of Z_OrderDeliverTracking objects containing data to link
    to external delivery tracking websites
    @param orderNo The sales order document number
    @return A vector of order tracking objects
    @return
    @return
    @return
    @return
    @return
    @param string
    @param string
    @param string
    @param string
    @param string
    /modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
              <!-- This is an example customer extension. A new Backend Object is registered in the framework using XCM extension mechanism. -->
              <!-- If you write customer extensions you should register your backend objects in the same way. -->
              <!-- Please make sure that you use the correct base configuration (e.g. crmdefault for CRM or r3default, r3pidefault for R/3) -->
              <config
                   isa:extends="../config[@id='crmdefault']">
                   <businessObject
                        type="Z_AO_Custom"
                        name="Z_AO_Custom"
                        className="com.ao.isa.backend.crm.Z_AOFuncCRM"
                        connectionFactoryName="JCO"
                        defaultConnectionName="ISAStateless"/>
              </config>
         </configs>
    </backendobject>
    [/code]
    File com.ao.isa.backend.crm.Z_AOFuncCRM.java looks like this :-
    [code] package com.ao.isa.backend.crm;
    //jco imports
    import java.util.Vector;
    import com.ao.isa.backend.boi.Z_AOFuncBackend;
    import com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem;
    import com.sap.mw.jco.JCO;
    import com.sap.mw.jco.JCO.ParameterList;
    import com.sapmarkets.isa.core.eai.BackendException;
    import com.sapmarkets.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP;
    import com.sapmarkets.isa.core.logging.IsaLocation;
    public class Z_AOFuncCRM
         extends BackendBusinessObjectBaseSAP
         implements Z_AOFuncBackend
         // initialize logging
         private static IsaLocation log =
              IsaLocation.getInstance(Z_AOFuncCRM.class.getName());
         /* (non-Javadoc)
         public Vector getOrderDeliveryTrackingData(String orderNo)
              Vector urlData = new Vector();
              try
                   // get Java representation of function module
                   JCO.Function func =
                        getDefaultJCoConnection().getJCoFunction(
                             "Z_BAPI_CRM_ORDER_TRACKING_URLS");
                   // provide export parameters
                   ParameterList params = func.getImportParameterList();
                   params.setValue(orderNo, "ORDER_NO");
                   func.setExportParameterList(params);
                   // execute function
                   getDefaultJCoConnection().execute(func);
                   // get result table
                   JCO.Table table =
                        func.getTableParameterList().getTable("TRACKING_DATA");
                   int numRows = table.getNumRows();
                   for (int i = 0; i < numRows; i++)
                        // get row
                        table.setRow(i);
                        // create a new Z_orderdeliverytracking object
                        Z_OrderDeliveryTrackingItem trackItem =
                             new Z_OrderDeliveryTrackingItem(
                                  table.getString(0),
                                  table.getString(1),
                                  table.getString(2),
                                  table.getString(3),
                                  table.getString(4));
                        urlData.addElement(trackItem);
                        trackItem = new Z_OrderDeliveryTrackingItem();
                   return urlData;
              catch (BackendException bex)
                   // The following key has to be added to WEB-INF/classes/ISAResources.properties
                   // in order to see the exception correctly
                   log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
              return null;
    [/code]
    And file com.ao.isa.backend.boi.Z_AOFuncBackend.java looks like this:-
    [code] package com.ao.isa.backend.boi;
    //package java.ao.com.ao.isa.backend.boi;
    import java.util.Vector;
    import com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionEventListener;
    public interface Z_AOFuncBackend
         public Vector getOrderDeliveryTrackingData(String orderNo);
    [/code]
    Whilst file com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem.java looks like this:-
    [code]
    package com.ao.isa.businessobject.order;
    // Referenced classes of package com.sapmarkets.isa.businessobject.order:
    //            PaymentType
    public class Z_OrderDeliveryTrackingItem // extends SalesDocument implements OrderData
         private String deliveryDocNo;
         private String goodsIssuedDate;
         private String consignmentNo;
         private String status;
         private String url;
         public Z_OrderDeliveryTrackingItem()
         public Z_OrderDeliveryTrackingItem(
              String delDocNo,
              String GIDate,
              String consNo,
              String status,
              String url)
              this.setDeliveryDocNo(delDocNo);
              this.setGoodsIssuedDate(GIDate);
              this.setConsignmentNo(consNo);
              this.setStatus(status);
              this.setUrl(url);
         public String getConsignmentNo()
              return consignmentNo;
         public String getDeliveryDocNo()
              return deliveryDocNo;
         public String getGoodsIssuedDate()
              return goodsIssuedDate;
         public String getStatus()
              return status;
         public String getUrl()
              return url;
         public void setConsignmentNo(String string)
              consignmentNo = string;
         public void setDeliveryDocNo(String string)
              deliveryDocNo = string;
         public void setGoodsIssuedDate(String string)
              goodsIssuedDate = string;
         public void setStatus(String string)
              status = string;
         public void setUrl(String string)
              url = string;
    [/code]
    3. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification :-
    [code] <BusinessObjectManagers
         xmlns:isa="com.sapmarkets.isa.core.config"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <!-- customer changes in bom-config should be done here by extending/overwriting the base configuration-->
         <xi:include
              href="$/modification/bom-config.xml#xpointer(BusinessObjectManagers/*)"/>
         <!-- This is an example Business Object Manager. It can act as template for customer written Business Object Managers -->
         <BusinessObjectManager
              name="Z_AO-BOM"
              className="com.ao.isa.businessobject.Z_AOBusinessObjectManager"
              />
    </BusinessObjectManagers>
    [/code]
    File com.ao.isa.businessobject.Z_AOBusinessObjectManager.java looks like this:-
    [code] package com.ao.isa.businessobject;
    // Internet Sales imports
    import com.sapmarkets.isa.core.businessobject.management.BOManager;
    import com.sapmarkets.isa.core.businessobject.management.DefaultBusinessObjectManager;
    import com.sapmarkets.isa.core.businessobject.BackendAware;
    Template for a custom BusinessObjectManager in customer projects
    public class Z_AOBusinessObjectManager
         extends DefaultBusinessObjectManager
         implements BOManager, BackendAware {
         // key used for the backend object in customer version of backendobject-config.xml
         public static final String CUSTOM_BOM = "Z_AO-BOM";
         // reference to backend object
         private Z_AOFunc mCustomBasket;
    constructor
         public Z_AOBusinessObjectManager() {
    Method is called by the framework before the session is invalidated.
    The implemenation of this method should free any allocated resources
         public void release() {
    Returns custom business object
         public Z_AOFunc getCustomBasket() {
              if (mCustomBasket == null) {
                   mCustomBasket = new Z_AOFunc();
                   assignBackendObjectManager(mCustomBasket);
              return mCustomBasket;
    [/code]
    And uses file com.ao.isa.businessobject.Z_AOFunc.java which looks like this:-
    [code]
    package com.ao.isa.businessobject;
    // Internet Sales imports
    import com.sapmarkets.isa.core.businessobject.BOBase;
    import com.sapmarkets.isa.core.businessobject.BackendAware;
    import com.sapmarkets.isa.core.eai.BackendObjectManager;
    import com.sapmarkets.isa.core.eai.BackendException;
    import com.sapmarkets.isa.core.logging.IsaLocation;
    // custom imports
    import com.ao.isa.backend.boi.Z_AOFuncBackend;
    import java.util.Vector;
    Template for business object in customer projects
    public class Z_AOFunc extends BOBase implements BackendAware
         // initialize logging
         private static IsaLocation log =
              IsaLocation.getInstance(Z_AOFunc.class.getName());
         private BackendObjectManager bem;
         private Z_AOFuncBackend backendAOBasket;
    Returns a reference to the backend object. The backend object
    is instantiated by the framework.
    @return a reference to the backend object
         private Z_AOFuncBackend getCustomBasketBackend()
              if (backendAOBasket == null)
                   //create new backend object
                   try
                        backendAOBasket =
                             (Z_AOFuncBackend) bem.createBackendBusinessObject(
                                  "Z_AO_Custom");
                        // the backend object is registered in customer version
                        // of backendobject-config.xml using the 'Z_AO_Custom' type
                   catch (BackendException bex)
                        // The following key has to be added to WEB-INF/classes/ISAResources.properties
                        // in order to see the exception correctly
                        log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
              return backendAOBasket;
    This method is needed when a business object has a corresponding
    backend object.
         public void setBackendObjectManager(BackendObjectManager bem)
              this.bem = bem;
    Returns a vector of url links for tracking
    @return vector of urls
         public Vector getOrderDeliveryTrackingData(String orderNo)
              // the call is delegated to the CRM aware backend object
              return getCustomBasketBackend().getOrderDeliveryTrackingData(orderNo);
    [/code]
    4. Edit file config.xml in folder project_root\b2b_z\WEB-INF to add custom actions (the section below is just the custom stuff added at the end of the file – the Z_orderTracking is the relevant one) :-
    [code] <!-- Begin of custom AO action definitions -->
         <action path="/b2b/Z_orderTracking" type="com.ao.isa.order.actions.Z_OrderTrackingAction">
              <forward name="success" path="/b2b/order/Z_orderTracking.jsp"/>
         </action>
         <action path="/catalog/Z_displaySVGPage" type="com.ao.isa.catalog.actions.Z_SVGPageAction">
              <forward name="success" path="/catalog/Z_SVG_fs.jsp"/>
         </action> [/code]
    Which points at Java file com.ao.isa.order.actions.Z_OrderTrackingAction.java which looks like this :-
    [code] package com.ao.isa.order.actions;
    // internet sales imports
    import com.sapmarkets.isa.core.BaseAction;
    import com.sapmarkets.isa.core.UserSessionData;
    // struts imports
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForm;
    // servlet imports
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletException;
    // Internet Sales imports
    import com.ao.isa.businessobject.Z_AOBusinessObjectManager;
    import java.util.Vector;
    This action acts as a template for customer extensions
    public class Z_OrderTrackingAction extends BaseAction
    This method is called by the ISA Framework when the
    action is executed
         public ActionForward doPerform(
              ActionMapping mapping,
              ActionForm form,
              HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException
              // get user session data object
              UserSessionData userSessionData =
                   UserSessionData.getUserSessionData(request.getSession());
              // gettting custom BOM
              Z_AOBusinessObjectManager myBOM =
                   (Z_AOBusinessObjectManager) userSessionData.getBOM(
                        Z_AOBusinessObjectManager.CUSTOM_BOM);
              // get the order number being processed
              String orderDocNumber = request.getParameter("orderNo");
              // pass the order number back to the page
              request.setAttribute("orderNo", orderDocNumber);
              if (orderDocNumber != null)
                   // Get a vector of delivery tracking objects from lower layers (Business Object layer =>
                   // Business Logic Service Layer)
                   Vector trackingTable =
                        myBOM.getCustomBasket().getOrderDeliveryTrackingData(
                             orderDocNumber);
                   String error = "";
                   if (trackingTable != null)
                        if (trackingTable.size() == 0)
                             error = "true";
                        else
                             error = "false";
                   else
                        error = "true";
                   request.setAttribute("errorMessage", error);
                   request.setAttribute("trackingTable", trackingTable);
              return mapping.findForward("success");
    [/code]
    5. I added the call to the function module for page orderstatusdetail.jsp in folder project_root\b2b_z\b2b\order to display a custom page Z_orderTracking.jsp in the same folder.  To do this I added a link into the HTML to call a JavaScript function that passed the current order number to the /b2b/Z_orderTracking.do actionhandler mapped in the config.xml file.
    So, in summary!  Create an RFC; define business managers for it in the XML files; create a new Strut action and supporting Java class; create all the Java class’ for the managers.
    I hope this makes some sense!
    Gareth.

  • Dbms_xmlsave Error line 65

    We are passing a clob to dbms_xmlsave.insertxml successfully for all XML clobs under .5 megs but once we go over that size the Error line 65 "Invalid arguments encountered processing ROW ELEMENT 0 show up. Is this a size limitation for dbms_xmlsave? Is there an approach that can handle clobs over .5 meg?

    Looks like XDB is not installed. You can verify this by doing desc RESOURCE_VIEW. If RESOURCE_VIEW does not exist then you need to install XDB to install the dbms_xmlstore() package
    You need to run the script catqm in $ORACLE_HOME/rdbms/admin. This will add the DBMS_XMLSTORE package. catqm takes 3 arguments. The XDB password, typically XDB, the tablespace to be used for the XDB repository and the name of the temporay tablespace to be used by XDB. Once this has been run DBMS_XMLSTORE() should be there.
    Once XDB has been installed you should get the following:
    SQL> desc dbms_xmlstore
    PROCEDURE CLEARKEYCOLUMNLIST
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    PROCEDURE CLEARUPDATECOLUMNLIST
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    PROCEDURE CLOSECONTEXT
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    FUNCTION DELETEXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           VARCHAR2                IN
    FUNCTION DELETEXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           CLOB                    IN
    FUNCTION DELETEXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           XMLTYPE                 IN
    FUNCTION INSERTXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           VARCHAR2                IN
    FUNCTION INSERTXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           CLOB                    IN
    FUNCTION INSERTXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           XMLTYPE                 IN
    FUNCTION NEWCONTEXT RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    TARGETTABLE                    VARCHAR2                IN
    PROCEDURE SETKEYCOLUMN
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    COLNAME                        VARCHAR2                IN
    PROCEDURE SETROWTAG
    Argument Name                  Type                    In/Out Default?
    CTX                            NUMBER                  IN
    ROWTAGNAME                     VARCHAR2                IN
    PROCEDURE SETUPDATECOLUMN
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    COLNAME                        VARCHAR2                IN
    FUNCTION UPDATEXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           VARCHAR2                IN
    FUNCTION UPDATEXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           CLOB                    IN
    FUNCTION UPDATEXML RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    CTXHDL                         NUMBER                  IN
    XDOC                           XMLTYPE                 IN
    SQL>
    Message was edited by:
    mdrake

  • New Function in Oracle BI

    Hi :)
    I made a new function in PL/SQL transfering BLOB to CLOB.
    i made this function, because I know how to translate CLOB in Oracle BI.
    with this function for example:
    EVALUATE('DBMS_LOB.SUBSTR(%1,40,1)',PACKET_CONTENTS)
    but in my case, this Packet_content is BLOB, so i want to translate it to CLOB and than use the substr function to translate it (or part of it).
    so I tried doing that:
    EVALUATE('DBMS_LOB.SUBSTR(%1,40,1)',EVALUATE('BLOB_2_CLOB(%1)','111'))
    the parameter "111" is a param i give to my function (just for test). and my function should return the results from the PACKET_CONTENTS in CLOB type.
    the answer error i get is the following one:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14027] The navigator cannot handle the following request containing constants only: Evaluate( DBMS_LOB.SUBSTR(%1,40,1),Evaluate( BLOB_2_CLOB(%1),'111') ) as c1. (HY000)
    SQL Issued: SELECT EVALUATE('DBMS_LOB.SUBSTR(%1,40,1)',EVALUATE('BLOB_2_CLOB(%1)','111')) saw_0 FROM RWD ORDER BY saw_0
    Any ideas? or any other information you want to know?
    thanks :)
    P.S: im really new in the Oracle BI things, so I might be do silly things I cant do... so please fix me if you can :)
    thanks !

    Are you trying to return a text string from the BLOB/CLOB? Can you not do this in a database view over the top of your existing table, removing any potential ODBC/OCI issues?
    ie.
    CREATE VIEW test_view AS
    SELECT dbms_lob.substr( blob_column,4000,1) text_column
    FROM <table>;

  • Warning: Function created with compilation errors. ???

    I created a function with a warning:
    Warning: Function created with compilation errors.
    I'd like to know more detailed information about this warning, how to find them?
    If only with this warning, I don't know how to correct the definition of the function.
    BTW, because it is a warning, I just try to run the sql stmt which will call this function:
    SQL> select strdiff(ename, 'FOR') from emp;
    select strdiff(ename, 'FOR') from emp
    ERROR at line 1:
    ORA-06575: Package or function STRDIFF is in an invalid state.
    /* strdiff is the name of function */
    Thanks in advance!

    Hi,
    I think that your posting may be more suited to the PL/SQL forum.
    after the function is created with errors you should try the command:
    show err
    or
    show errors
    this should at least give you some idea of what is wrong.
    regards Michael

  • OBIEE 11.1.1.7-Ago Function Error-[nQSError: 46008] Internal error: File server\Query\Optimizer\SmartScheduler\PhysicalRequestGenerator\Src\SQOSPMarkMultiTargetSupport.cpp

    Hi All,
    I was performing the steps mentioned in Oracle Tutorial"http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/biadmin11g_02/biadmin11g.htm#t10"-BI RPD creation.
    After Using the AGO function data in the Time series metric(Month Ago Revenue) was null always. I updated the DB features in RPD physical layers by selecting support for time series functions.
    After that report started to fail with below error. Please let me know if its a bug and any option to fix it.
    Thanks,
    Sreekanth
    Error
    View Display Error
    Odbc driver returned an error (SQLExecDirectW). 
      Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P 
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46008] Internal error: File server\Query\Optimizer\SmartScheduler\PhysicalRequestGenerator\Src\SQOSPMarkMultiTargetSupport.cpp, line 1680. (HY000) 
    SQL Issued: SELECT 0 s_0, "Sample Sales"."Time"."Year-L1" s_1, "Sample Sales"."Revenue"."Ago-Year Revenue" s_2, "Sample Sales"."Revenue"."Revenue" s_3 FROM "Sample Sales" FETCH FIRST 65001 ROWS ONLY
      Refresh

    I know that there is no relation between "SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Date", "SampleApp Lite"."D0 Time"."Calendar Date", it's also the same thing in my own RPD.
    But as it's working with the 11.1.1.6.2 BP1 version I don't understand why it's not working with 11.1.1.6.9.
    Implicit fact column is not set on my repository, but I don't have any request with only dimensional column, so if my understanding is correct I don't need to use it. Also, the problem appears during the check of the repository not in answers.
    thanks anyway

  • Error parsing feed: invalid XML: Error Line 1: Content isnot allowed in pr

    Hi I am trying t post a new podcast via iTunes but get an error
    Error parsing feed: invalid XML: Error Line 1: Content is not allowed in prolog
    this is my URL
    http://www.rolandjyoung.pwp.blueyonder.co.uk/podcast/dripodepisode1.mp3
    any ideas?

    That's not a feed, it's a web page. Your feed is at
    http://www.blogtalkradio.com/bluespot.rss
    and this can be subscribed to successfully in iTunes.

  • Create new function...inconsistent, process &SAP_GRAC_FUNC_APPR&

    Folks,
    I checked the scn forums for this error but didn't find anything that points to this...hence posting this question.
    On GRC/AC 10.1 / 740 release / SP 0005 / GRCFND_A V1100...I'm trying to add a new function...by adding ACTION 'FB50'...adding PERMISSIONS and when I hit SUBMIT I get this error, see attached snap shot, does anyone know what this error means and how to fix it.
    Thanks in advance,
    Rajiv

    Hi Rajiv,
    looks like an error in MSMP workflow. Similar error was described here: Workflow Error in Function Maintenance
    Please check and let me know if it helped.
    Regards, Andrzej

  • ICWC: Is it possible to create a link in a message in the error line

    Hi,
    after saving a service order in the IC WebClient the success message (including the object id) is shown in the persistent header area of the ICWC - in the error single line. 
    Is there a possibility to have a link in this area? I want to create a link onto the object id to directly get into this order again.
    Thanks for your help.
    Regards,
    Ben

    Hi,
    thanks for your response. Just for the understanding, in my case there are no error messages displayed in the error line. The only visible message is the success note "service ticket XYZ is saved successfully". After saving the ticket correctly we have to navigate to a different view. Changing this is not possible.
    So the new client requirement is to create a link at the "XYZ" (object id) in this error (success) message. But I think there is no possiblity to get a navigational link or a usual html-link at that place.
    Maybe you got some more ideas?
    Thanks and best regards,
    Ben

  • Microsoft JScript Runtime Error, Line: 0, Error: Object Expected?

    Hi,
    I just got a new computer and I have Java 2 Runtime Environment SE v 1.4.2. I keep having problems with it. It says, "Microsoft JScript Runtime Error, Line:0, Error: Object Expected. I have no idea what to do or what is actually causing this. It shows up randomly when I have been using "Dell Jukebox by musicmatch" or even when I'm surfing. Can someone please help me fix the problem?
    "Jay"

    Hi,
    I just got a new computer and I have Java 2 Runtime
    Environment SE v 1.4.2. I keep having problems with
    it. It says, "Microsoft JScript Runtime Error, Line:0,
    Error: Object Expected. I have no idea what to do or
    what is actually causing this. This is not a java err. It is a scripting error.
    It shows up randomly
    when I have been using "Dell Jukebox by musicmatch" or
    even when I'm surfing. Can someone please help me fix
    the problem?
    "Jay" Someone can certainly help you - contact the website's webmaster & send them the err. They wrote it; they have to fix it.

  • Average function in HFM returning error

    Hi
    I have written the following script in HFM calculate routine for calculation of averages. But it gives me an error.
    Has anyone used this function and can point out the error in this please?
    SUB SUBSaVG
    HS.EXP "A#AverageSales = " &Average ("A#Sales","3")
    END SUB

    As far as I know (still on HFM 4.X!), HFM doesn't have a predefined average function. You will need to define a new function in your rules as shown below. I got this from tech support a while back. The parameters are a little different to what you have in your example so you may have to tweak. Is the "3" in your example the period number?
    Function Average(strPOV,strFreq)
         DIM nPERIOD
         DIM strCUM
         DIM i
         If strFreq="PERIODIC" Then
              If HS.PERIOD.ISFIRST=TRUE Then
                   nPERIOD=1
              Else
                   nPERIOD=2
              End If
         ElseIf strFreq="YTD" Then
              nPERIOD=HS.PERIOD.NUMBER()
         Else
              EXIT FUNCTION 'Nothing to do -
         End If
         For i = 0 To nPERIOD -1
              If i= 0 Then
                   strCUM = strPOV &".W#PERIODIC"
              Else
                   strCUM= strCUM &"+"& strPOV &".W#PERIODIC.P#CUR-"&i
              End If
         Next
         Average = "(("& strCUM &") / "& nPERIOD &")"
    End Function

Maybe you are looking for

  • Regarding pop up menu on the right click of a row of a table in a frame

    hi to all, i am a naive in applet and swing. i have some proplem regarding table in a frame. actually i want to open a pop up menu on the right click of a row of a table in the frame.please send the code regarding this.

  • How to play sound after clicking on an object?

    Can anyone explain me how to play a sound in java when I click on a particular object? I have read lots of threads but couldn't find anything. All I want is a short sound(3,4 seconds) to be played each time I click on an object. I know I need to use

  • Raw file opens as jpg

    Can somebody help me. I am running CS3 on MacOS X. with Camera Raw 4.1 plugin. When I open RAW file it is opened on in RAW editor but in Photoshop as a Jpg file with different name. example: initial file:L1010860.RAW when it is opened in photoshop th

  • I get a message that my e-mail address is already in use when trying to set up sync account

    I wanted to change my sync account to use my new e-mail address and I get the message that my e-mail address is invalid and already in use. How can I proceed?

  • Agrupar datos conjunto de series en consulta

    Por favor ayudenme a agrupar las series, ocupo que solo me aparezcan 5 grupos pero la verdad no se como puedo agruparlos para que las series me tomen, sin tanto código. Declare @fecha1 as datetime declare @fecha2 as datetime Set @fecha1 = (SELECT DIS